ci: adr check fails in CI because the linked-issue check needs forge auth #491
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#491
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What happens
Every
ci / gaterun since 2026-09-14 fails on theadr-checkstep:bba01b38moved the records fromdocs/adr/todocs/decisions/. The samego run ./cmd/madtea adr checkstep now runs the MADR checks, and one of them reads the records' linked issues on the forge. The CI job has no madtea auth, so the step fails before any request. The comment above the step inscripts/gate.shstill says "Local-only, no credentials needed", which was true only for the legacy tree.Run 195 (
6bb57261) was the last green gate. Run 199 (bba01b38) was the first failure.Decision
adr check --offlinetoadr check --skip-remote-issues(MCPskip_remote_issues). CI is not offline; it only skips the remote part. The check's--offlinehas not shipped in a release, so the rename breaks no user.adr new --offlinekeeps its name.finishdoes not run a repo's gate.Acceptance
adr check --skip-remote-issuesand MCPskip_remote_issues=truerun only the file checks.--offlineis gone fromadr check.scripts/gate.shpasses--skip-remote-issueswhen CI runs it, and its comment says what runs where.ci / gateis green again onmain.Fixed in PR #503, merge commit
05eb2ac9.adr check --offlineis nowadr check --skip-remote-issues(MCPskip_remote_issues):internal/cmd/adr/adr.go,internal/mcp/tools_adr.go,internal/service/adr/adr.go.scripts/gate.shgained--skip-remote-issues, and.forgejo/workflows/ci.ymlrunsgate.sh --no-conformance --skip-remote-issues.docs/decisions/0036-ci-checks-only-the-adr-record-files.md).Verified before merge: a full local
./scripts/gate.shpasses all 18 steps, with adr-check reading the linked issues../scripts/gate.sh --fast --skip-remote-issues, the path CI takes, passes.