Repository navigation
fix(docs): the Not-implemented table and its refusals cite open issues, and CI checks they stay open - #590
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
ENOTSUPwarnings behind the same two refusals carry the same numbers:slog.Warn(..., "issue", 165)inDirectoryNode.Setattrand"issue", 167inDirectoryNode.Setxattr. So an operator reading the log was pointed at a closed issue too.Change
type: enhancementandpriority: lowand left out of the milestone, because the current refusals are correct behaviour.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 implementedsection and every"issue", Nlog field in non-test Go code underinternal/,cmd/andpkg/. Floors: at least 5 table rows and at least 2 log fields.TestTrackedGapCitationsAreOpen(API) checks each cited issue's state withgh issue view, using the same 30-second timeout reasoning aslabelsFromGitHub.Where it runs: #567 suggested a build tag or a scheduled job, because it needs the network. I put it in the existing
labelsjob instead. That job already hasgh, anissues:readtoken, 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-runpattern 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.issue #165 ("C4-3: …") is CLOSED … README.md, line 4 of the Not implemented sectionissue #167 … internal/fuse/xattr.go:420### Not implementedheading renamed"tracking"found 1 … log fields, expected at least 2🤖 Generated with Claude Code