Repository navigation
fix: release inventory checks fail after publication deferral - #150333
Conversation
|
🦞👀 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. |
|
Downstream #92223 now hits this exact inventory failure on I am preparing the canonical native landing handoff for this prerequisite, with no competing source edits or replacement PR. Required CI and the final ClawSweeper result remain binding. If you already own an active landing operation, please keep it and I will consume the verified merged main in #92223. CI follow-through: the original head also hit an unrelated merged-main formatting failure in |
|
Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 6:57 PM ET / 22:57 UTC (Revision 3). ClawSweeper reviewWhat this changesThe PR replaces fixed release-package counts with complete npm and ClawHub inventory comparisons against the existing publisher collectors. Merge readiness✅ Ready for maintainer review No actionable defects found. Main already fixes the stale counts, but this maintainer-backed PR retains a useful inventory-check simplification absent from main. Priority: P3 Review scores
Verification
How this fits togetherRelease planning reads committed package metadata to determine which packages publishers should release. This test checks that the generated plan matches both publishers while retaining an explicit list of core npm packages. flowchart TD
A[Committed package metadata] --> B[Publication eligibility]
B --> C[Publisher collectors]
B --> D[Release plan inventory]
E[Expected core packages] --> F[Exact inventory comparisons]
C --> F
D --> F
F --> G[Test passes or reports mismatch]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -14. Total -14 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep publication eligibility with the existing manifest predicate and verify release-plan parity through complete inventories plus independent fixture contracts. Do we have a high-confidence way to reproduce the issue? Not applicable to the remaining cleanup: current main already corrects the stale counts, and no new failing behavior was identified. Is this the best way to solve the issue? Yes. Complete array equality checks publisher parity without maintaining separate totals, while independent fixture and collision tests remain intact. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 64c653e11b68. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Merged via squash.
|
…aw#150333) * test(release): compare complete publisher inventories * style(ci): format changed-scope fixture assertions --------- Co-authored-by: Jason (Json) <[email protected]>
What Problem This Solves
The release-plan inventory test expected 98 npm and 94 ClawHub packages after #149587, while the deliberate publication deferral in #150316 leaves 95 npm and 91 ClawHub packages eligible.
Main subsequently corrected the fixed counts in #150341. This PR retains the reviewed simplification: compare complete publisher inventories instead of maintaining duplicate package counts.
User Impact
Keeps release inventory coverage aligned with the canonical publishers. Plugin distribution and publication eligibility remain unchanged.
Why This Change Was Made
Compare the complete sorted npm package list against the four core package names plus the canonical npm plugin collector, and retain the exact ClawHub comparison. Exact arrays detect missing, extra, and duplicate entries without maintaining a second package-count inventory.
Evidence
On main
89f7971fc8e9c48f8b849bdff51533d39051d00e, the original focused inventory case fails with 95 actual npm packages versus 98 expected. The same case passes with this one-file change, exercising the real release-plan producer against committed package metadata. The selected check contains exact npm and ClawHub comparisons; the other 107 cases were not selected.Canonical
check-changedpasses, including the selected typecheck, lint, formatting, and repository guards. Fresh isolated P0–P2 review is scoped-clean.git diff --checkpasses.CI at
1578403d90f735793f5956de5ff17569c032b128completed successfully: 28 passed, 18 skipped. ClawSweeper reviewed that exact head with no actionable findings.Conflict resolution at
f420f8ae10187c5dd6eb346490e7fdf1826e8006incorporates main6caadadb6762bc39a3da3d1c40e22dbf657e8a5c, including #150341 and the landed formatting correction. The inventory test is byte-identical to the reviewed head, contributor ancestry is preserved, and the net diff is one test file. New exact-head CI is required before landing.