Skip to content

fix: release inventory checks fail after publication deferral - #150333

Merged
fuller-stack-dev merged 3 commits into
mainfrom
codex/publication-inventory-contract-repair-20260916
Sep 16, 2026
Merged

fuller-stack-dev merged 3 commits into
mainfrom
codex/publication-inventory-contract-repair-20260916

Conversation

@steipete

@steipete steipete commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

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-changed passes, including the selected typecheck, lint, formatting, and repository guards. Fresh isolated P0–P2 review is scoped-clean. git diff --check passes.

CI at 1578403d90f735793f5956de5ff17569c032b128 completed successfully: 28 passed, 18 skipped. ClawSweeper reviewed that exact head with no actionable findings.

Conflict resolution at f420f8ae10187c5dd6eb346490e7fdf1826e8006 incorporates main 6caadadb6762bc39a3da3d1c40e22dbf657e8a5c, 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.

@clawsweeper

clawsweeper Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review September 16, 2026 22:11
@openclaw-barnacle openclaw-barnacle Bot added the maintainer Maintainer-authored PR label Sep 16, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 16, 2026
@fuller-stack-dev

fuller-stack-dev commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Downstream #92223 now hits this exact inventory failure on 3bb9d62e3321ed3aff1b01417953cb51193d30b9 (failed job): 95 npm packages versus the stale expected 98. I reviewed this existing one-file fix; the full sorted npm and ClawHub comparisons preserve missing/extra/duplicate detection.

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 src/scripts/ci-changed-scope.test.ts. I applied the exact two assertion line wraps already qualified in #92223; whitespace-stripped contents are identical, and the targeted formatter/diff checks pass. Published by normal fast-forward as 1578403d90f735793f5956de5ff17569c032b128, preserving the original inventory commit. New exact-head CI: https://github.com/openclaw/openclaw/actions/runs/35157952748. Native review is refreshed; prepare/merge remain gated on that run and current review. No source-policy change or product proof replay.

@clawsweeper

clawsweeper Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 6:57 PM ET / 22:57 UTC (Revision 3).

ClawSweeper review

What this changes

The 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
Reviewed head: f420f8ae10187c5dd6eb346490e7fdf1826e8006

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, maintainable test simplification with preserved inventory coverage and no actionable findings.
Proof confidence 🌊 off-meta tidepool Not applicable: The maintainer-authored PR changes only test assertions; the external-contributor runtime gate does not apply, and supplied producer-test results remain supplemental validation.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The maintainer-authored PR changes only test assertions; the external-contributor runtime gate does not apply, and supplied producer-test results remain supplemental validation.
Evidence reviewed 6 items Verified introduced change: The pinned base-to-head diff changes only the inventory test. Complete sorted arrays retain missing, extra, and duplicate-entry detection relative to the publisher inventories, including the four explicitly expected core packages.
Current-main necessity: Fetched main retains the fixed 95 npm and 91 ClawHub assertions. The supplied GitHub context identifies #150341 as merged; it fixes the immediate failure but does not implement this PR's complete npm comparison.
Publisher ownership and independent coverage: The release-plan producer and publisher adapters consume the shared publication collector; the existing manifest predicate owns bundled-only deferral. Unchanged fixture assertions independently specify core package output, and neighboring tests reject malformed manifests, duplicate plugin sources, and core-name collisions.
Findings None None.
Security None None.

How this fits together

Release 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]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests -14. Total -14 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 8 22 -14
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 8 22 -14

Review metrics

None.

Technical review

Best 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.

Labels

Label justifications:

  • P3: The immediate main failure is already corrected; the remaining change simplifies test maintenance without changing publication behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The maintainer-authored PR changes only test assertions; the external-contributor runtime gate does not apply, and supplied producer-test results remain supplemental validation.

Evidence

What I checked:

  • Verified introduced change: The pinned base-to-head diff changes only the inventory test. Complete sorted arrays retain missing, extra, and duplicate-entry detection relative to the publisher inventories, including the four explicitly expected core packages. (test/scripts/release-plan-producer.test.ts:1828, f420f8ae1018)
  • Current-main necessity: Fetched main retains the fixed 95 npm and 91 ClawHub assertions. The supplied GitHub context identifies test(release): align publisher inventory with deferred plugins #150341 as merged; it fixes the immediate failure but does not implement this PR's complete npm comparison. (test/scripts/release-plan-producer.test.ts:1828, 64c653e11b68)
  • Publisher ownership and independent coverage: The release-plan producer and publisher adapters consume the shared publication collector; the existing manifest predicate owns bundled-only deferral. Unchanged fixture assertions independently specify core package output, and neighboring tests reject malformed manifests, duplicate plugin sources, and core-name collisions. (scripts/release-plan-producer-core.mts:363, f420f8ae1018)
  • Re-review continuity: The inventory test is byte-identical to the previous reviewed head. The supplied previous review has no findings, and the maintainer discussion explicitly supports retaining the exact-array simplification. (test/scripts/release-plan-producer.test.ts:1775, f420f8ae1018)
  • Area history and release-check limits: Current-main history records Peter Steinberger and Jason (Json) on the inventory test, including the merged count correction at 75ba5e3. That correction is dated 2026-09-16T16:36:38-06:00. No containing local tag was returned; inspecting the latest release's test blob and deeper blame failed because required Git objects could not be retrieved, so shipped inclusion and exact line introduction are not claimed. (test/scripts/release-plan-producer.test.ts, 75ba5e3fae5c)
  • Validation scope: The captured PR body reports a focused before/after producer test and successful prior-head checks. This review ran no tests under the read-only restriction; the pinned diff passes whitespace checking and the checkout remains clean. (test/scripts/release-plan-producer.test.ts:1775, f420f8ae1018)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • fuller-stack-dev: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-09-16T22:19:09.557Z sha 1eec99d :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T22:35:35.850Z sha 1578403 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. and removed P2 Normal backlog priority with limited blast radius. labels Sep 16, 2026
@fuller-stack-dev
fuller-stack-dev merged commit 8d823fa into main Sep 16, 2026
80 checks passed
@fuller-stack-dev
fuller-stack-dev deleted the codex/publication-inventory-contract-repair-20260916 branch September 16, 2026 23:20
@fuller-stack-dev

Copy link
Copy Markdown
Member

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants