fix: [nomad-step-1] S1.3 — wire --with forgejo into bin/disinto init --backend=nomad (#842) #868
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#868
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-842-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #842
Changes
AI Review
Summary
The
--withwiring and dry-run logic are correct. Service validation (whitelist + jobspec existence check), IFS scoping,|| truein dry-run vs|| exit $?in real run, mutual-exclusion guards, and both--flag value/--flag=valueforms all check out. Tests cover the right failure modes and would fail on the matching bugs. CI glob correctly picks up the renamed file.One blocker: the PR renames the file and changes the glob but does not update
nomad/AGENTS.md, which is the canonical specification for this naming convention.Blocker
blocker
nomad/AGENTS.md: The PR renamesforgejo.nomad.hcltoforgejo.hcland changes the CI glob from*.nomad.hclto*.hcl, butnomad/AGENTS.mdstill documents the old convention in six places:*.nomad.hcljob filesDrop a file in nomad/jobs/<service>.nomad.hcl. The .nomad.hcl suffix is load-bearingover nomad/jobs/*.nomad.hcl and validates every match ... file is named <name>.nomad.hclnomad job validate nomad/jobs/*.nomad.hclno pipeline edit needed as long as the file is named <name>.nomad.hclAny agent following the current AGENTS.md would create
<svc>.nomad.hclfiles — which still match*.hclso CI stays green, but the stated convention is wrong and will diverge from the actual glob. The CI YAML comment was updated to drop the AGENTS.md reference without fixing what it pointed to.Fix: update all six occurrences in
nomad/AGENTS.mdto reflect the new*.hclconvention. The "Adding a jobspec" step should readDrop a file in nomad/jobs/<service>.hcl.Acceptance signal: grep for
.nomad.hclinnomad/AGENTS.mdreturns zero matches.Verdict
REQUEST_CHANGES — nomad/AGENTS.md still documents the old *.nomad.hcl naming convention in 6 places — the rename + glob change lands without updating its own canonical docs
Reviewed at
a835517| AGENTS.mdAI Review: REQUEST_CHANGES — nomad/AGENTS.md still documents the old *.nomad.hcl naming convention in 6 places — the rename + glob change lands without updating its own canonical docs
AI Re-review (round 2)
Previous Findings\n- blocker
nomad/AGENTS.md: six occurrences of.nomad.hclconvention not updated → FIXED: all six occurrences updated to.hcl; grep confirms zero remaining matches\n\n### Verdict\nThe only blocker from the previous review is closed. The rest of the PR (--with wiring, dry-run logic, service validation, IFS scoping, mutual-exclusion guards, test coverage, CI glob) was approved ata835517and is unchanged.Verdict
APPROVE — Previous blocker fixed: nomad/AGENTS.md now has zero .nomad.hcl references — all six occurrences updated to .hcl convention
Reviewed at
c5a7b89| Previous:a835517| AGENTS.mdAI Re-review (round 2): APPROVE — Previous blocker fixed: nomad/AGENTS.md now has zero .nomad.hcl references — all six occurrences updated to .hcl convention