Skip to content

fix(docs): the Not-implemented table and its refusals cite open issues, and CI checks they stay open - #590

Merged
scttfrdmn merged 3 commits into
mainfrom
fix/567-closed-issue-citations
Oct 6, 2026
Merged

scttfrdmn merged 3 commits into
mainfrom
fix/567-closed-issue-citations

Conversation

@scttfrdmn

Copy link
Copy Markdown
Owner

Fixes #567.

The stale citations, and a second copy the issue didn't mention

README's "Not implemented" table cited #165 (directory chmod/chown) and #167 (directory xattrs) as tracking those gaps. Both issues implemented the operations for files and were closed as completed. The directory halves were never done.

The ENOTSUP warnings behind the same two refusals carry the same numbers: slog.Warn(..., "issue", 165) in DirectoryNode.Setattr and "issue", 167 in DirectoryNode.Setxattr. So an operator reading the log was pointed at a closed issue too.

Change

The gate

internal/config/tracked_gaps_test.go, in two halves, the same way the label gate is split:

  • TestTrackedGapCitationsAreFound (offline, always runs) collects issue links from README's ### Not implemented section and every "issue", N log field in non-test Go code under internal/, cmd/ and pkg/. Floors: at least 5 table rows and at least 2 log fields.
  • TestTrackedGapCitationsAreOpen (API) checks each cited issue's state with gh issue view, using the same 30-second timeout reasoning as labelsFromGitHub.

Where it runs: #567 suggested a build tag or a scheduled job, because it needs the network. I put it in the existing labels job instead. That job already has gh, an issues:read token, and a check that fails when the API half skips. The same check is extended here, plus a check that the test reported PASS, so a future rename can't drop it from the -run pattern without anything going red. The cost is under 1.5 s of API calls per PR. A stale citation is caught on the next PR rather than on a timer.

No new job, so no new required check to add to branch protection.

Verification

go test -race ./internal/config/ ./internal/fuse/ is clean.

Mutation Result
README link back to #165 ❌ issue #165 ("C4-3: …") is CLOSED … README.md, line 4 of the Not implemented section
log field back to 167 ❌ issue #167 … internal/fuse/xattr.go:420
### Not implemented heading renamed ❌ both tests: heading not found
one log field renamed "tracking" ❌ found 1 … log fields, expected at least 2
control: a closed-issue link added outside the section ✅ passes, as it should

🤖 Generated with Claude Code

…s, and CI checks they stay open (#567)

README's contract table cited #165 and #167 as tracking directory
chmod/chown and directory xattrs. Both issues implemented those operations
for files and were closed as completed; the directory halves went with them.
The ENOTSUP warnings behind the two refusals logged the same numbers.

Both gaps are still real and unchanged, confirmed in DirectoryNode.Setattr
and DirectoryNode.Setxattr. Filed as #588 and #589, and both the README rows
and the log fields now cite those. Every other issue link in README was
checked by hand: #245 and #240 are closed, correctly, because they cite
finished work as history rather than tracking a gap.

TestTrackedGapCitationsAreOpen checks every issue link in README's Not
implemented section and every "issue", N log field in non-test Go code
against the issue's state. It runs in the labels job, which already has gh
and an issues:read token, and that job now fails if the API half skips or
does not report PASS. TestTrackedGapCitationsAreFound is the offline half,
with floors on the section's rows (5) and the log fields (2).

Mutations: README back to #165 and the log back to #167 each fail naming
the issue and the citing location; renaming the heading and renaming the log
field each fail the reach floors; a closed-issue link outside the section is
the control and passes.
@scttfrdmn
scttfrdmn merged commit 0c54412 into main Oct 6, 2026
42 checks passed
@scttfrdmn
scttfrdmn deleted the fix/567-closed-issue-citations branch October 6, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

README's contract table cites two closed issues (#165, #167) as tracking gaps that are still open

1 participant