Repository navigation
fix(release): skip unavailable frozen Telegram scenarios - #160190
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 28, 2026, 5:20 AM ET / 09:20 UTC (Revision 8). ClawSweeper reviewWhat this changesThe branch skips a Telegram recovery scenario absent from frozen package source, uses absolute Control UI asset budgets when a historical comparison build fails, and waits for session-list reconciliation in a browser test. Merge readiness⛔ Blocked before merge - 3 items remain Current main still lacks the two release-tooling repairs, and the merged related PR covers different work. The earlier signal-handling finding is addressed. The remaining question is whether release qualification may omit relative CSS growth checks when a historical base build fails. Priority: P2 Review scores
Verification
How this fits togetherRelease validation combines a frozen package source with trusted Telegram test scenarios and runs only the scenarios that source supports. A separate Control UI gate builds candidate and historical source, then checks compressed asset sizes. flowchart LR
A[Frozen package source] --> C[Scenario availability check]
B[Trusted Telegram scenarios] --> C
C --> D[Telegram package validation]
E[Candidate and historical UI source] --> F[Build comparison]
F --> G[Asset budget gate]
Decision needed
Why: The fallback makes the reported frozen-candidate qualification possible, but it intentionally weakens one CI gate for every ordinary historical build failure; accepting that boundary is release policy. Before merge
Agent review detailsSecurityNone. PR surfaceTests +62, Config +1, Other +25. Total +88 across 6 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep Telegram selection tied to frozen source and retain hard UI asset ceilings, with an explicit release-owner rule for when a failed historical build may disable relative CSS checks. Do we have a high-confidence way to reproduce the issue? Yes. The linked release-validation attempts failed against a frozen candidate, and current-main source shows that the new default scenario is absent from its frozen-source omission catalog; this read-only review did not rerun the job. Is this the best way to solve the issue? Unclear pending release-owner acceptance of the UI fallback. The Telegram repair uses the existing source-presence resolver, and the comparator preserves candidate absolute checks and fatal signals. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f319fd36a3c8. LabelsLabel changes: No label changes. Label 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)
|
cdbb2b6 to
6b6e81c
Compare
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review Exact head |
|
🦞👀 Re-review progress:
|
c8a0228 to
84c9dba
Compare
|
@clawsweeper re-review Final rebased head is |
|
🦞👀 Re-review progress:
|
84c9dba to
66ca677
Compare
|
@clawsweeper re-review Rebased once more after GitHub reported a real conflict with new |
|
🦞👀 Re-review progress:
|
66ca677 to
7060714
Compare
|
@clawsweeper re-review Final head |
|
🦞👀 Re-review progress:
|
7060714 to
f1aa139
Compare
|
Post-green conflict reconciliation is complete at
This is the single post-green rebase sanity pass; no release candidate content changed. |
|
Exact-head CI run The branch now fixes that flaky-by-construction assertion at
Release candidate remains unchanged at |
|
Maintainer/release-owner decision: accept the bounded absolute-only fallback for an ordinary nonzero historical Control UI build. Rationale:
I am not narrowing this to specific compiler error text: historical toolchain/source incompatibilities are not a stable string contract, and such a list would recreate the frozen-source coupling this owner boundary removes. This resolves ClawSweeper's maintainer decision and records the optional Rank-up move as applied. |
|
Merged via squash.
|
…0190) * fix(release): gate frozen Telegram delivery scenario * fix(ci): validate repairs against broken UI bases * fix(ci): reject interrupted UI comparison builds * test(ui): await rename reconciliation before render assertion
What Problem This Solves
Fixes: extended-stable package Telegram validation rejects a frozen candidate when trusted-main tooling adds a scenario that the candidate source does not contain.
User Impact
Release validation now tests only Telegram scenario contracts present in the frozen package source. The candidate remains unchanged; all changes are trusted-main tooling required to obtain valid qualification evidence.
Why This Change Was Made
The frozen-source omission resolver already gates later Telegram scenarios by source presence, but
telegram-prepared-delivery-recoverywas missing from that catalog and sparse checkout. FRV therefore ran a post-candidate contract twice against candidatef773aa06a1a9and failed on behavior introduced later by #146361.The Control UI performance comparator also stopped when a historical base could not build. It now still verifies candidate precompressed assets and enforces every absolute JS/CSS/asset ceiling, while omitting only unavailable base-relative growth checks. Candidate and base Vite configs are selected explicitly; a signal-terminated build remains fatal.
The final rebase takes the prerelease-planner repair from merged #160187 and drops that now-upstream duplicate. The remaining branch contains only the distinct Telegram and Control UI repairs.
Evidence
2318b3278aaonrelease-ci/telegram-frozen-scenario-1790569200.f773aa06a1a93b36b050f1a3f4b57d3d91311541.36397465130was fully green (115 jobs, zero failures) before the mechanical conflict rebase.OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs test/scripts/npm-telegram-live.test.ts— 48/48 passed; 3.61 s wrapper / 2.45 s Vitest.node failed (SIGTERM)without fallback.OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs test/scripts/control-ui-performance-base.test.ts— 1/1 passed; 6.88 s wrapper / 5.70 s Vitest.pnpm ui:check-performance:base e7d6bd8fab28956db0867c9e7211f5b193ec177d— passed against the actually broken base; candidate startup JS was 372,133 B against the 372,347 B absolute limit.36399265398exposed an unrelated loaded-shard race in the session rename E2E: the assertion observed the outbound patch before the session owner completed its list reconciliation. The test now waits for that owner boundary without increasing timeouts; the exact file passed 15/15 cases across three consecutive runs.