Skip to content

chore: planning labels move to Tracker lines, and stale comments say what the code does now - #1219

Merged
DrunkOnJava merged 2 commits into
mainfrom
chore/comments-tracker-labels
Oct 31, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
chore/comments-tracker-labels

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Comments only; no code changes. From a read-only code-quality pass over src/ (files open PRs are editing were left alone).

  • Planning labels: 26 plain // comments carried planning labels (SEC-12, WRT-05, L5B-09.4, B70 and others) outside a // Tracker: line. CLAUDE.md keeps those labels to Tracker lines. tools/ci/api-doc-ids.py checks only /// and //!, so CI never caught these. Each label now sits on its own // Tracker: line, or is dropped where the label added nothing, and the sentence explaining why stays.
  • Stale comments:
    • redact.rs pointed to tests below that no longer exist (test: delete the never-run unit tests in src, with end-to-end checks where nothing else covered them #1126).
    • corpus.rs documented an invariant_run_threshold option that does not exist; runs are at least 8 bytes.
    • walker.rs justified a default with test fixtures that no longer exist.
    • partition_ifc_export_overrides.rs called the owner-offset read "kept for API compatibility", yet nothing calls it.
    • elem_table.rs described the rough parser as kept for old callers; the ElemTable probes and examples are what use it.

No changelog fragment (no user-visible change).

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 31, 2026 07:58
@DrunkOnJava
DrunkOnJava merged commit 89a9c10 into main Oct 31, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the chore/comments-tracker-labels branch October 31, 2026 15:43
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.

1 participant