Repository navigation
fix(ci): keep released-reader status policy private - #197244
Conversation
The released-reader gate consumes the status set only inside its owner. Remove its unused export while preserving all accepted statuses and row-loss verdicts. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR makes the released-reader gate’s accepted-status set private to its module. Example: The script export audit examines ACCEPTED_REFRESH_STATUSES.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR makes the smallest complete repair to an unused internal export, preserves catalog gate behavior, and has no actionable findings. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe catalog comparison CLI passes released-reader observations into this gate, which returns acceptance or rejection based on refresh status and published row counts. flowchart LR
A[Candidate catalog] --> B[Released reader comparison CLI]
B --> C[Reader observations]
C --> D[Released reader gate]
D --> E[Publication verdict]
Technical reviewBest possible solution: Keep the status set private while retaining the existing exported gate functions and behavior. Do we have a high-confidence way to reproduce the issue? Current-main source confirms an exported constant with only a same-module consumer; no target code or tests were executed. Is this the best way to solve the issue? Removing the export fixes the ownership mismatch directly without adding exceptions, changing callers, or altering publication policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 29c445e7843f. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
PR surfaceOther -4. Total -4 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 11, 2026, 9:32 AM ET / 14:32 UTC. |
|
Merged via squash.
|
The released-reader gate consumes the status set only inside its owner. Remove its unused export while preserving all accepted statuses and row-loss verdicts. Co-authored-by: steipete <[email protected]>
What Problem This Solves
Fixes the script unused-export finding in main’s dependency check for the released-reader catalog gate.
User Impact
No user-visible or catalog publication behavior change. Accepted refresh statuses, rejection and published-row-loss checks remain unchanged.
Why This Change Was Made
The released-reader guard introduced in
6a5ac74exported its status-policy set despite consuming it only inside the same owner. Keep that implementation detail private; all consumed gate functions remain exported. Current main has the identical baseline module. No ignore, allowance, baseline growth or assertions change. This fixes one exact finding, not the other dependency failures.Contributor credit: Peter Steinberger and Ayaan (obviyus).
Work sessions
Linked for team reference; these sessions aren’t public.
Evidence