Repository navigation
fix(ci): run Telegram release QA from trusted harness - #103207
Conversation
|
Codex review: needs changes before merge. Reviewed July 10, 2026, 1:06 PM ET / 17:06 UTC. Summary PR surface: Source +1259, Tests +895, Config +2269, Other +510. Total +4933 across 21 files. Reproducibility: yes. Exact-head source deterministically shows the trusted workflow is orphaned, the old candidate-owned command remains active, credentials persist, raw Telegram token forms are not redacted, and archive validation has unsafe worst-case resource behavior. Review metrics: 3 noteworthy metrics.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge
Security Review findings
Review detailsBest possible solution: Make the active release checks call the trusted reusable workflow, remove or fail closed the old candidate-owned path, keep candidate credentials absent, use complete shared secret redaction, and enforce archive memory and CPU bounds before extraction. Do we have a high-confidence way to reproduce the issue? Yes. Exact-head source deterministically shows the trusted workflow is orphaned, the old candidate-owned command remains active, credentials persist, raw Telegram token forms are not redacted, and archive validation has unsafe worst-case resource behavior. Is this the best way to solve the issue? No. The trusted-harness/candidate-runtime split is the right architecture, but this implementation does not yet enforce that boundary at the active entry point or across credentials, evidence, and hostile archives. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8d5f7e27b2ff. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +1259, Tests +895, Config +2269, Other +510. Total +4933 across 21 files. View PR surface stats
Security concerns:
Acceptance criteria:
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
d8a0993 to
8cfb693
Compare
|
Land-ready update for exact head All earlier blocking findings are resolved:
Exact proof:
No release branch or publication state was touched by this PR lane. |
|
Merged via squash.
|
* fix(ci): use trusted Telegram QA harness * fix(ci): restrict trusted Telegram QA candidate * fix(ci): isolate trusted Telegram QA candidate * fix(ci): harden Telegram QA process boundary * fix(ci): pass Telegram QA release gates * test(qa): stub Telegram env explicitly * fix(ci): harden Telegram release QA boundary * test(ci): harden trusted workflow and memory guards
Fixes #103188
What Problem This Solves
Release validation for an older selected ref could execute that candidate's Telegram QA harness and scenarios. That left current regression assertions unproven against the release candidate and allowed the candidate checkout to share the trusted runner process boundary.
Why This Change Was Made
The Telegram release lane now:
github.workflow_shaThe candidate runtime is isolated from workflow secrets and trusted workspace state while current scenarios remain owned by the trusted workflow.
User Impact
Release maintainers get current Telegram QA assertions against the exact candidate runtime/plugin SHA, with explicit provenance and process-boundary evidence. There is no product runtime change.
Evidence
6a37b44dcf73ed739eab70e9d43eb0aa37df794ctbx_01kx6d9kf82x9ywjgtepvvkyab(run29107041853)pnpm check:changed: passed both extension tsgo lanes, extension/scripts lint, and all guardsAUDIT_RESULT=PASS6e02b93a63f4e50600b1a96f055ad01711bfaf5f08da6e223b6f7331663b6a42334b98545129f16c62711956efc33a12972980c0b947431e9487d555f4bb706dbb2c01aeaf5aaf23cf441183af2502f752c84b2c341e48199b54d8bcbd212d3factionlintpassed for the touched release workflowszizmorpassed for.github/workflows/openclaw-release-telegram-qa.yml