Repository navigation
refactor(scripts): centralize upgrade survivor version floors - #146975
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. |
|
Codex review: blocked before merge. Reviewed September 13, 2026, 7:53 AM ET / 11:53 UTC (Revision 2). ClawSweeper reviewWhat this changesCentralizes minimum release versions for upgrade-test scenarios and adds the missing type declaration for an existing baseline constant. Merge readiness⛔ Blocked before merge - 1 item remains No blocking findings. This useful, maintainer-authored cleanup remains absent from current main. The earlier migration-proof blocker is resolved: the patch preserves scenario selection and does not change upgrade execution or persisted data. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw’s upgrade-test planners combine requested scenarios with published baseline versions. This policy determines which combinations become Docker validation jobs. flowchart LR
A[Requested scenarios] --> C[Upgrade test policy]
B[Published baseline versions] --> C
C --> D{Supported combination?}
D -->|Yes| E[Grouped Docker jobs]
D -->|No| F[Combination omitted]
Before merge
Agent review detailsSecurityNone. PR surfaceOther -51. Total -51 across 2 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep one private version-floor table and the existing planner contract, with the exact-version exception explicit and existing boundary coverage retained. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR removes repeated planning logic rather than fixing a reported runtime defect; source comparison establishes the preserved selection rules. Is this the best way to solve the issue? Yes. A private table consolidates the existing policy without adding a competing owner or changing callers, and the declaration matches an already-exported constant. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 59773963d180. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
* commit '2d87daf04b78992382299d552f15ac84a86a23ed': (1815 commits) fix(ui): distinguish tool activity with semantic icons (#147207) fix(linux): recover completed Quick Chat replies without resending (#146048) feat(desktop): unify Tauri title bar and window controls (#147097) refactor(test): share plugin fixture server shims (#147225) perf(gateway): defer worker workspace execution imports (#143496) fix(gateway): post-ack webhook work fails with "Async work scope is closed" (#144801) refactor(scripts): centralize upgrade survivor version floors (#146975) fix(ci): check publication registries before FRV fanout (#147184) fix(qa): align system-agent delegation with channel contracts (#145905) improve: reduce repeated chat message identity work (#147210) fix(channels): remove stale pre-tool previews from Slack and Telegram (#147106) fix: keep catalog discovery scoped and execution lazy (#147159) fix: serialize reclamation worker shutdown with foreground writes (#147178) test(sessions): cover abrupt committed transcript recovery (#143984) fix: stop transcript storms during context overflow recovery (#147202) fix: reduce CPU overhead for small history and usage reads (#147205) fix: resume tasks after tools finish and the model times out (#147203) refactor(scripts): share SQLite reliability message waits (#146900) feat(exec): configure approval reviewer thinking and fastMode (#147192) test: remove redundant Bonjour module headers (#146981) ...
What Problem This Solves
Upgrade-survivor scenario planning repeats the same minimum-version decision in six branches.
User Impact
The planner selects the same scenarios and baseline groups. Exact abandoned-update selection, permissive tags and missing baselines, and every version floor are preserved.
Why This Change Was Made
A private table keeps the six minimum versions with their scenario names and one comparison path. The existing custom-plugin baseline export also gains its missing declaration. Production changes: −51 lines; tests: unchanged.
Evidence
docker-e2e-plan.test.tsandtargeted-docker-lane-groups.test.tscover all six floors, aliases, and ordered grouping. All 114 docker-e2e-plan cases passed in hosted job103716640994, including the six floors and aliases.Exact-head CI passed at
3871c0edc0e7ed2733f8d86032b4c7f4e0508bb5(attempt1); aggregate gate103717980024 succeeded.Compatibility proof requested in review: this module is pure planning policy. It reads scenario and baseline strings and returns the same selection decisions; all six floors, permissive unparsed baselines and the exact
[email protected]abandoned-update exception remain. No persisted data, store, schema, migration or upgrade-execution code changes. The 19,200 policy and 3,024 actual planner comparisons plus 114 hosted planner cases verify the unchanged planning contract. A data migration is not applicable; no Docker upgrade execution is claimed.