Repository navigation
chore: every TODO(#N) cites an open issue (#829) - #830
Merged
Merged
Conversation
CLAUDE.md requires a TODO to reference an issue so a reader can check whether the deferral still stands. All six references named closed issues, which answers that question with "resolved" when the opposite is true. The two live deferrals are refiled: deep-comparing a replayed response body is now TODO(#817), and S3 prefix-level rate limits are TODO(#818). The four #495 mentions describe a TODO that #695 retired, so they are reworded to state the concern as history rather than as open work. #495 stays cited — it is the issue that recorded the concern and the reason the instance-type catalog is small. Comment and prose only; no behaviour change.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Closes #829.
CLAUDE.md requires a
TODOto cite an issue, and the reason is that a reader should be able tolook the number up and find out whether the deferral still stands. All six references in the tree
named closed issues, so the convention was actively misleading rather than merely stale.
The two live deferrals are refiled. Neither has been done, so each gets a current number:
emulator/replay.go:330—TODO(#6)→TODO(#817), deep-comparing a replayed response body.emulator/quota.go:151—TODO(#22)→TODO(#818), S3 prefix-level rate limits.The four
#495mentions are history, not work. #695 retired that TODO in v0.107.0 by applyingthe five modellable
DescribeInstanceTypesfilters and listing the other fifty-two as accepted andinert. The prose still said "retires TODO(#495)" in the present tense, which reads as an open item;
it now states what the concern was. #495 stays cited in all four places — it is the issue that
recorded the concern, and (at
ec2_filters.go:622) the reason the seeded instance-type catalog isdeliberately small. Two of the four were also rewrapped, since the edit left them ragged.
No fail-before test, deliberately. There is no behaviour to assert on: the change is comments
and one test's doc comment. The proof is the grep in #829's acceptance criteria —
grep -rn 'TODO(#' --include='*.go' .now reports#817and#818and nothing else, both open.Verification