Repository navigation
ci(update): fail main when the installed package exceeds the updater entry budget - #197269
Merged
Merged
Conversation
… cell The 47,500-entry budget check only ran in Package Acceptance, which main never reached on a schedule (Update Migration is blocked at image prep), and the hourly published-driver cell uses the latest published driver, which degrades past the walk cap instead of refusing. So #196079 pushed main past the 50,000 entries that 2026.9.x updaters enforce without any CI going red. Measure the tree the published driver actually installed and assert the same release budget, so scheduled main validation goes red within the hour. Refs #196079
#196079 let the transcript worker's private build reach Doctor's cold-restore graph, which pushed the installed package past the 50,000 entries that 2026.9.x updaters accept; #197153 fixed the import edge. Build the retirement-read worker with its real private config and require it to stay small, so the edge cannot come back unnoticed: 5,408 emitted files before #197153, 58 after. Refs #196079 Refs #196418 Co-authored-by: RoboClaw <[email protected]>
The published-driver cell imports scripts/check-openclaw-installed-package-budget.mts, which the harness did not mount, so the cell would fail on import.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
November 11, 2026 15:47
Contributor
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 12, 2026
…entry budget (openclaw#197269) * ci(update): enforce the installed-tree budget in the published-driver cell The 47,500-entry budget check only ran in Package Acceptance, which main never reached on a schedule (Update Migration is blocked at image prep), and the hourly published-driver cell uses the latest published driver, which degrades past the walk cap instead of refusing. So openclaw#196079 pushed main past the 50,000 entries that 2026.9.x updaters enforce without any CI going red. Measure the tree the published driver actually installed and assert the same release budget, so scheduled main validation goes red within the hour. Refs openclaw#196079 * test(sessions): bound the retirement-read worker build openclaw#196079 let the transcript worker's private build reach Doctor's cold-restore graph, which pushed the installed package past the 50,000 entries that 2026.9.x updaters accept; openclaw#197153 fixed the import edge. Build the retirement-read worker with its real private config and require it to stay small, so the edge cannot come back unnoticed: 5,408 emitted files before openclaw#197153, 58 after. Refs openclaw#196079 Refs openclaw#196418 * ci(update): mount the installed-tree budget module in the Docker harness The published-driver cell imports scripts/check-openclaw-installed-package-budget.mts, which the harness did not mount, so the cell would fail on import.
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.
Related: #196079, #196418, #197153
What Problem This Solves
Fixes: nothing in CI goes red when a change pushes the installed package past the 50,000 entries that published 2026.9.x updaters accept, so main can silently become uninstallable for those users.
User Impact
No user-visible change. Scheduled main validation now fails within the hour when the npm-installed package exceeds the release budget, before such a build can be released and strand 2026.9.9 and 2026.9.36 (extended-stable) users on the built-in updater.
Why This Change Was Made
#196079 let the transcript worker's private build reach Doctor's cold-restore graph. The installed tree grew from about 45,400 to 50,927 entries, and published 2026.9.9 and 2026.9.36 updaters refused main with "Package rollback verification entry limit exceeded". #197153 (from #196418) removed that import edge. That fixed the regression, but nothing had caught it.
This PR closes both gaps:
Rejected alternatives:
Evidence
All native runs were on Crabbox AWS c7a.8xlarge, with packages relabelled 2026.11.30 and npm 12.
dist/config/sessions/transcript-*Published updater lanes ran
openclaw update --yes --tag <tarball>from fresh published installs with a managed systemd Gateway:--channel stable)Guard and test:
measureInstalledPackageTree+evaluateInstalledPackageBudget): reports["entries"]on the 50,927-entry tree and[]on the fixed tree.scripts/e2e/published-driver-update-docker.shwith abuild:ci-artifactscandidate of this head and thelatestdriver (2026.11.3) passed. It wroteinstalled-tree.jsonwith 45,855 entries, so the mount and the assertion run inside the container.git diff --check, the test-lines ratchet (33-line allocation) andtsgo:coreare clean.Review:
Credit: the regression test comes from RoboClaw's #196418, credited as co-author.