Skip to content

fix(release): skip unavailable frozen Telegram scenarios - #160190

Merged
RomneyDa merged 4 commits into
mainfrom
release-ci/telegram-frozen-scenario-1790569200
Sep 28, 2026
Merged

RomneyDa merged 4 commits into
mainfrom
release-ci/telegram-frozen-scenario-1790569200

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

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-recovery was missing from that catalog and sparse checkout. FRV therefore ran a post-candidate contract twice against candidate f773aa06a1a9 and 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

  • Final head: 2318b3278aa on release-ci/telegram-frozen-scenario-1790569200.
  • Candidate remains frozen and unchanged: f773aa06a1a93b36b050f1a3f4b57d3d91311541.
  • Prior exact-head CI run 36397465130 was fully green (115 jobs, zero failures) before the mechanical conflict rebase.
  • Telegram frozen-source regression: 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.
  • Signal regression failed pre-fix because SIGTERM entered the absolute-only fallback; post-fix it passes and reports node failed (SIGTERM) without fallback.
  • Control UI comparator regression: 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.
  • Exact-head CI run 36399265398 exposed 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.
  • Complete six-file changed-surface gate — passed, including formatting, i18n verification, all affected typecheck lanes, dead-export scans, and lint.
  • Fresh AutoReview through the CI race repair — scoped clean through P2.
  • LOC: trusted tooling/workflows +26 net; tests +62 net. Tooling growth adds frozen-source ownership, exact Vite config selection, and fatal signal handling; the remainder is regression coverage.
  • FRV failure evidence: https://github.com/openclaw/openclaw/actions/runs/36377333577 (attempts 1 and 2).

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@RomneyDa
RomneyDa marked this pull request as ready for review September 28, 2026 06:08
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Sep 28, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 28, 2026
@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 28, 2026, 5:20 AM ET / 09:20 UTC (Revision 8).

ClawSweeper review

What this changes

The 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
Reviewed head: 2318b3278aa768a3d5944a3b6bb3a564ea248bf1
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The repair follows existing owners and has focused regression evidence; acceptance of the weaker historical-base comparison remains a release decision.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: The member-authored PR is exempt from the external-contributor proof gate. Its body reports a production comparator run against a broken historical base, with candidate absolute limits enforced; focused tests cover frozen-scenario omission and signal failure. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The member-authored PR is exempt from the external-contributor proof gate. Its body reports a production comparator run against a broken historical base, with candidate absolute limits enforced; focused tests cover frozen-scenario omission and signal failure. No stored-data contract changes.
Evidence reviewed 11 items Frozen-source selection: The PR adds the prepared-delivery scenario to the source-presence catalog; the resolver writes unavailable default scenario IDs for the package runner to omit.
Workflow source checkout: The workflow now includes that scenario path in the frozen-source sparse checkout, so the resolver can distinguish presence from absence.
Actual Telegram runner boundary: The package runner applies omitted IDs only to the default scenario selection; explicit scenario requests remain explicit.
Findings None None.
Security None None.

How this fits together

Release 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]
Loading

Decision needed

Question Recommendation
May release qualification pass on absolute Control UI budgets when a historical base build exits nonzero, even though the two relative CSS growth checks cannot run? Accept the bounded fallback: Allow absolute-only qualification with the visible warning, retained candidate checks, and fatal signal handling.

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

  • Resolve merge risk (P1) - Any ordinary nonzero historical UI build now skips the startup and largest CSS growth comparisons. A build failure unrelated to historical source incompatibility could therefore pass while CSS grows beyond the relative limit but remains under absolute ceilings.
  • Complete next step (P2) - Obtain release/performance owner acceptance of the absolute-only fallback for ordinary nonzero historical UI builds.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

PR surface

Tests +62, Config +1, Other +25. Total +88 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 3 64 2 +62
Docs 0 0 0 0
Config 1 1 0 +1
Generated 0 0 0 0
Other 2 30 5 +25
Total 6 95 7 +88

Review metrics

Metric Value Why it matters
Production and test growth tooling/workflow +26 net lines; tests +62 net lines The production growth has a stated purpose: frozen-source selection, explicit build configuration, and controlled fallback behavior.

Merge-risk options

Maintainer options:

  1. Accept absolute-only qualification (recommended)
    Approve the warned fallback for a nonzero historical build while retaining candidate absolute limits and fatal signal handling.
  2. Limit fallback to known incompatibility
    Identify historical source failures eligible for fallback and keep other build failures fatal.

Technical review

Best 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.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This repairs bounded release qualification failures without changing the shipped user runtime.
  • merge-risk: 🚨 automation: A historical build failure can make CI skip two relative CSS growth checks while still passing absolute limits.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The member-authored PR is exempt from the external-contributor proof gate. Its body reports a production comparator run against a broken historical base, with candidate absolute limits enforced; focused tests cover frozen-scenario omission and signal failure. No stored-data contract changes.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Record release-owner acceptance of absolute-only qualification for nonzero historical builds, or narrow which failures qualify.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (7 earlier review cycles)
  • reviewed 2026-09-28T06:15:56.044Z sha cdbb2b6b473b0626ad83b7fc02f64f8a039cc7f8 :: blocked before merge. :: none
  • reviewed 2026-09-28T06:34:56.244Z sha 6b6e81c :: needs changes before merge. :: none
  • reviewed 2026-09-28T07:02:43.962Z sha c8a0228 :: blocked before merge. :: [P2] Keep signal-terminated base builds fatal
  • reviewed 2026-09-28T07:52:39.396Z sha 84c9dba3226ea06cb356ff81a7589e37f9cdc648 :: blocked before merge. :: [P2] Reject signal-terminated historical UI builds
  • reviewed 2026-09-28T08:07:07.526Z sha 66ca67737277e63578a2dbfcb1c0485a8d038c7f :: blocked before merge. :: [P2] Reject signal-terminated historical UI builds
  • reviewed 2026-09-28T08:34:24.042Z sha 70607142e446b4c325fea78d2ffa2a977e5d9f5b :: blocked before merge. :: none
  • reviewed 2026-09-28T08:53:26.057Z sha f1aa139 :: needs maintainer review before merge. :: none

@RomneyDa
RomneyDa force-pushed the release-ci/telegram-frozen-scenario-1790569200 branch from cdbb2b6 to 6b6e81c Compare September 28, 2026 06:28
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Sep 28, 2026
@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head c8a0228b28b50d23d888d39a323569f575642731 adds the broken-base comparator path required to validate this repair without weakening candidate absolute performance budgets. Focused regression, the real current-main reproduction, complete changed gate, and fresh AutoReview through P2 are clean; the PR body has exact evidence.

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 28, 2026
@RomneyDa
RomneyDa force-pushed the release-ci/telegram-frozen-scenario-1790569200 branch from c8a0228 to 84c9dba Compare September 28, 2026 07:45
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Final rebased head is 84c9dba3226ea06cb356ff81a7589e37f9cdc648. It integrates the exact current-main qualification repairs from #160187 (with original authorship), preserves the frozen candidate f773aa06a1a9, and has clean focused regressions, complete changed-surface gate, and fresh P2 AutoReview.

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa
RomneyDa force-pushed the release-ci/telegram-frozen-scenario-1790569200 branch from 84c9dba to 66ca677 Compare September 28, 2026 08:00
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Rebased once more after GitHub reported a real conflict with new main. New main independently landed the canonical inventory test and duplicate-export deletion, so those duplicate patches were dropped. Final head 66ca67737277e63578a2dbfcb1c0485a8d038c7f retains only the missing release-tooling repairs; 36/36 focused tests, the complete changed gate, and fresh P2 AutoReview are clean. Candidate f773aa06a1a9 remains unchanged.

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot removed the app: web-ui App: web-ui label Sep 28, 2026
@RomneyDa
RomneyDa force-pushed the release-ci/telegram-frozen-scenario-1790569200 branch from 66ca677 to 7060714 Compare September 28, 2026 08:27
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Final head 70607142e446b4c325fea78d2ffa2a977e5d9f5b addresses the exact P2 finding: ordinary historical source failures retain absolute-only validation, while signal-terminated builds are fatal. The regression failed pre-fix and passes post-fix. All five changed test files now have single-worker costs in the PR body; complete changed gate and fresh P2 AutoReview are clean. Candidate f773aa06a1a9 remains unchanged.

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 28, 2026
@RomneyDa
RomneyDa force-pushed the release-ci/telegram-frozen-scenario-1790569200 branch from 7060714 to f1aa139 Compare September 28, 2026 08:45
@RomneyDa

Copy link
Copy Markdown
Member Author

Post-green conflict reconciliation is complete at f1aa139250faad57eed7bf28c1619f3f4171ca55.

  • Took merged fix(ci): repair qualification planning and recovery regressions #160187's prerelease-planner implementation and removed the overlapping branch patches.
  • Preserved only the distinct Telegram frozen-source and Control UI comparator repairs.
  • Focused rebase sanity: Telegram 48/48; Control UI comparator 1/1.
  • Complete five-file changed-surface gate: passed.
  • Candidate remains frozen and unchanged at f773aa06a1a93b36b050f1a3f4b57d3d91311541.

This is the single post-green rebase sanity pass; no release candidate content changed.

@RomneyDa

Copy link
Copy Markdown
Member Author

Exact-head CI run 36399265398 found one root failure: checks-ui-e2e (1/9) timed out after observing the rename RPC but before the session owner completed its asynchronous list reconciliation.

The branch now fixes that flaky-by-construction assertion at 2318b3278aa:

  • no timeout increase or retry;
  • wait for the post-patch sessions.list owner boundary before checking rendered title;
  • exact E2E file passed 15/15 cases across three consecutive runs;
  • complete six-file changed gate passed;
  • fresh AutoReview is scoped-clean through P2.

Release candidate remains unchanged at f773aa06a1a93b36b050f1a3f4b57d3d91311541.

@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Sep 28, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

Maintainer/release-owner decision: accept the bounded absolute-only fallback for an ordinary nonzero historical Control UI build.

Rationale:

  • the historical source is frozen and cannot be repaired in place;
  • the candidate build, precompressed sidecars, startup JS ceiling, CSS ceiling, and per-asset ceilings remain mandatory;
  • the missing output is limited to comparisons that mathematically require base metrics;
  • the warning makes the reduced comparison explicit;
  • signal termination remains fatal and cannot enter the fallback.

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.

@RomneyDa
RomneyDa merged commit 4dbabc4 into main Sep 28, 2026
161 checks passed
@RomneyDa
RomneyDa deleted the release-ci/telegram-frozen-scenario-1790569200 branch September 28, 2026 09:32
@RomneyDa

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 29, 2026
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant