Repository navigation
fix(ci): pin iOS screenshot evidence to workflow revision - #136334
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: blocked before merge. Reviewed September 2, 2026, 11:30 PM ET / September 3, 2026, 03:30 UTC. ClawSweeper reviewWhat this changesThe PR makes iOS screenshot-evidence collection and reduction use a parser copied from the workflow revision into the CI harness, with coverage for same- and split-revision checkouts. Merge readiness⛔ Blocked before merge - 3 items remain Keep this maintainer-authored PR open: it fixes a real current-main split-revision gap, and the patch uses the narrow workflow-owned harness boundary with focused coverage. No blocking correctness finding was identified; the remaining merge blocker is the in-progress exact-head CI required by the prior review cycle. Priority: P2 Review scores
Verification
How this fits togetherFull Release Validation can execute a newer CI workflow against an older target checkout. The CI harness supplies workflow-owned tooling to iOS screenshot capture and evidence reduction, which produce the validation manifest consumed by the release workflow. flowchart LR
A[Workflow revision] --> B[CI harness checkout]
C[Historical target checkout] --> D[iOS screenshot capture]
B --> E[Workflow-owned evidence parser]
D --> E
E --> F[Validated screenshot manifest]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +55, Config +8, Other -3. Total +60 across 7 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the single workflow-owned parser closure, rather than broadening the harness or retaining target-side parser execution, and merge only after the exact-head workflow validates sparse materialization. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main runs the target-side parser while the current parser enforces workflow-defined screenshot topology, and the focused real-Git fixture constructs divergent workflow and candidate revisions. This review did not execute the fixture because the review checkout is read-only. Is this the best way to solve the issue? Yes: the workflow revision owns screenshot topology, while the target checkout remains the captured artifact source; materializing the parser and its only relative import in the existing harness is narrower than copying a broader repository snapshot or weakening validation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 3100ba535f1d. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
b40aa84 to
3a322a7
Compare
|
@clawsweeper re-review Please review exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Release-owner proof decision for exact head
Fresh Sol/high autoreview is scoped-clean with no actionable P0/P1 findings. Exact-head CI run |
|
Maintainer proof-sufficiency decision for exact head
This resolves the prior ClawSweeper proof-sufficiency and production-delta rank-up items. The latest attempted ClawSweeper publication produced no artifact or actionable finding and is classified as review infrastructure; its durable exact-head retry remains pending. Main movements through |
f6e3b84 to
7acfc98
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
7544125 to
b132412
Compare
b132412 to
e2c5a7a
Compare
|
Merged via squash.
|
* commit '13b1f71c7010baaf2394555198e2fc04bef03586': (283 commits) fix(ui): retire stale MCP feedback across context changes (#128490) fix(agents): clarify set-identity workspace output (#126320) fix(auth): preserve OAuth metadata during session SDK refresh (#127988) fix(agents): recover catalog worker after generation mismatch (#127712) fix(memory-wiki): reject out-of-range claim confidence (#125656) ci: remove redundant contract runs and costly test work (#137220) fix(release): assert the Codex CLI pin the candidate declares (#137136) test(voice-call): reuse shared guards and deferred gates (#137262) fix(cron): isolate scheduler-disabled shared-store writes (#131733) fix(telegram): surface allowed custom reactions in react guidance (#129817) test(infra): reuse the shared npm call presence guard (#137254) fix: generated images disappear after failed tool calls (#131226) fix(docs): match source anchor checks to published sections (#137157) fix(backup): preserve audit capture across slow snapshots (#130962) fix(release): preserve legacy gh log reads (#137016) fix(memory-core): make forget rewrites atomic (#131383) fix(agents): write settings atomically (#131431) fix(plugins): keep the memory indexing runtime with the selected slot owner (#131779) fix(ci): pin iOS screenshot evidence to workflow revision (#136334) test(logging): remove redundant stderr spy casts (#137238) ... # Conflicts: # scripts/e2e/lib/codex-release-package-assertions.mjs
…36334) * fix(ci): pin iOS screenshot evidence harness * fix(ci): update screenshot harness checkout owner * fix(ci): register screenshot evidence entrypoint * fix(ci): keep screenshot argument parser private * test(ci): accept executable modes under restrictive umask
What Problem This Solves
Fixes an issue where a Full Release Validation run targeting an older commit could package iOS screenshot evidence with the target commit's parser even though screenshot-family ownership came from the newer workflow revision. When Watch capture moved from the iPhone shard to the iPad shard, that split-SHA mismatch made valid evidence fail topology validation.
Failure evidence: https://github.com/openclaw/openclaw/actions/runs/33627219129
Why This Change Was Made
The workflow revision now owns the screenshot evidence parser and its direct runtime dependency through
.ci-harness, alongside the existing workflow-owned actions. Both same-revision and split-revision platform/Linux checkout paths materialize those exact files, while the candidate workspace remains unchanged.The shard collector and Linux reducer execute the workflow-owned parser. Target-side parser invocations are removed.
User Impact
Maintainers can run Full Release Validation against historical tags or SHAs without screenshot evidence being interpreted by stale target-side topology rules.
Evidence
main: the focused split-revision checkout cases and iOS workflow assertion fail because the harness does not own the evidence parser.75 passedacross:test/scripts/ci-platform-checkout.test.tstest/scripts/ios-release-fastlane-gates.test.tsactionlint .github/workflows/ci.ymloxfmt --checkon all three changed filesgit diff --check origin/main...HEADscripts/check-workflows.mtsreached its Python tool bootstrap but the configured package mirror does not yet providepre-commit==4.6.2; no workflow validation defect was reported.Architectural owner: workflow-revision checkout harness.
Sibling coverage: both
platformandlinux-node, same-revision index export and split-revision sparse fetch.LOC: workflow/tooling
+14/-10(net+4); tests+65/-11(net+54).