Repository navigation
fix(ci): keep frozen mobile candidates releasable - #139441
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: needs maintainer review before merge. Reviewed September 5, 2026, 6:23 PM ET / 22:23 UTC. ClawSweeper reviewWhat this changesUpdates mobile release validation to accept frozen app code with newer trusted tooling, reject forbidden changes in intermediate commits, and document and test those rules. Merge readiness✅ Ready for maintainer review This repair remains necessary: current main still rejects frozen candidates after trusted tooling advances. No blocking defect was found in the introduced changes, and the prior review contained no findings to resolve. Priority: P2 Review scores
Verification
How this fits togetherThe mobile release authority validates a release branch and exact commit before the iOS and Android beta workflows access signing assets or upload builds. Its approval receipt is revalidated before protected operations and immutable release recording. flowchart TD
A[Release branch and exact commit] --> C[Validate frozen code ancestry]
B[Trusted workflow tooling] --> C
C --> D[Check each candidate commit]
D --> E[Regenerate release metadata]
E --> F[Issue approval receipt]
F --> G[Revalidate permissions and run state]
G --> H[Protected upload and release recording]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +313, Docs +2, Config +38. Total +353 across 4 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep frozen code and trusted tooling as separate inputs to the existing authority, preserving exact metadata regeneration and live permission checks. Do we have a high-confidence way to reproduce the issue? Yes, from source: freeze a metadata-only candidate, advance main independently, and dispatch using the newer workflow commit; current main rejects the candidate's ancestry. This review did not execute that scenario. Is this the best way to solve the issue? Yes. Repairing the shared authority covers both platforms while retaining trusted regeneration; rebasing frozen candidates or relaxing aggregate-diff checks would undermine the intended release contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9dd869ec98eb. 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.
|
* origin/main: (95 commits) perf(build): avoid unrelated gateway artifact scans (#127757) fix(update): deliver terminal progress after long updates (#139289) fix(ui): show session hover cards for local chat URLs (#139384) perf(ui): reuse unchanged transcript key snapshots (#139400) fix(ui): make subagent sessions view-only (#139381) fix: open agent state on SQLite builds without extensions (#139487) perf(skills): detach cached metadata from source strings (#139478) fix(ui): show primary user in multi-agent profile hero (#136736) perf(sessions): stop decoding the session row four times per SQLite entry patch (#136361) refactor(exec): share package-manager option scans (#139482) fix(ci): authorize frozen mobile release candidates (#139441) fix: avoid session deletion slowdown in large session stores (#139467) perf(gateway): reuse node invocation idle timers (#139354) fix(auth): preserve selected profiles across plugin scopes (#139413) fix(discord): retain voice input until transcription completes (#139484) fix(agents): name Gateway storage failures in run-failure copy (#139409) fix: keep subagent checks responsive in large session stores (#139450) fix(memory): index notes when optional embeddings cannot start (#139463) fix: refresh pending approvals when reopening chat (#139457) fix(tooling): preserve Git hook choices during install (#139461) ...
What Problem This Solves
Fixes an issue where a valid frozen mobile release candidate became impossible to publish whenever unrelated commits reached
mainafter the Code SHA was frozen. It also closes a validation gap where a forbidden candidate commit followed by a revert could disappear from the aggregate Code-to-target diff.Why This Change Was Made
The authority now derives one frozen Code SHA from the release target and the trusted workflow Tooling SHA. It requires that Code SHA on the Tooling SHA's first-parent history, walks a bounded linear candidate suffix commit by commit, and permits only regular-file modifications to the five generated release metadata paths. Candidate bytes are regenerated with current trusted tooling against the frozen Code SHA metadata baseline.
No workflow inputs, configuration, receipt schema, credential access, release-ref behavior, or store operation changed.
No changelog entry: this repairs internal beta-release authorization without changing shipped app behavior.
User Impact
Release operators can keep a qualified iOS/Android Code SHA frozen while unrelated work continues landing on
main, without weakening candidate-history validation.Evidence
28cb715babe37375ea5fc4ba9bee9280653289e6.git diff --checkpassed at the exact commit.