Repository navigation
fix(ci): reject invalid frozen contracts for Docker aliases - #144129
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 10, 2026, 11:21 AM ET / 15:21 UTC. ClawSweeper reviewWhat this changesMakes three Docker validation aliases check their existing plugin or upgrade contracts before reporting successful admission, with regression coverage. Merge readiness⛔ Blocked before merge - 1 item remains This remains a useful, focused repair: current main still skips the three consumer mappings identified in the linked review. No actionable correctness or security finding remains in this patch. Priority: P2 Review scores
Verification
How this fits togetherRelease validation combines a selected OpenClaw revision with trusted tooling and requested Docker lanes. Its admission command checks committed contracts and returns a validation record or an error before downstream execution. flowchart TD
A[Requested Docker lanes] --> B[Lane to consumer mapping]
C[Selected committed source] --> D[Existing contract validators]
E[Verified trusted tooling] --> D
B --> D
D --> F{Contracts valid?}
F -->|Yes| G[Admission record]
F -->|No| H[Error without admission]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +179, Other +5. Total +184 across 2 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep lane admission aligned with the existing wrapper-owned contracts while preserving supported legacy behavior and unrelated-lane isolation. Do we have a high-confidence way to reproduce the issue? Yes, from source: on fetched main, select one of the three aliases alone with frozen mode enabled and an invalid required contract; the missing mapping skips its validator. The linked report records nine failing CLI cases; this review did not execute them. Is this the best way to solve the issue? Yes. Extending the existing mapper is the narrow repair, and the regression tests exercise the actual admission entrypoint while preserving valid and disabled-mode behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ce954d8f2c09. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
Fixes #144123
Related: #144023 and #144023 (comment).
Additional instructions
MUST: Keep Allow edits from maintainers enabled for this PR so maintainers
can help update the branch when needed.
This is a same-repository branch; maintainers can update it through repository permissions.
What Problem This Solves
Resolves a problem where Docker-only frozen validation selections could report successful admission without checking the plugin or upgrade contracts that their existing wrappers require.
Why This Change Was Made
Map
plugins-offlineto the existing plugin consumer, androot-managed-vps-upgradeplusupdate-restart-authto the existing upgrade-survivor consumer. Keep the existing families, authorization-off behavior, and unrelated CLI-backend, first-hop, self-upgrade, and user-journey lanes unchanged.This is an admission repair, not a workflow-wiring, release-policy, dependency, or registry change.
Persistent schema, stored data, and read/write contracts are unchanged; the mapper reuses existing wrapper validators. The June/July fixtures prove admission compatibility, not data migration.
User Impact
These selected lanes now reject invalid release metadata, missing extended-stable scenarios, and unreadable required committed files before emitting an admission record. Valid current/legacy contracts and legitimate absent-file fallback remain supported.
Evidence
docker.lanes, with no explicit consumer.