Repository navigation
fix(release): isolate private Telegram QA harness - #120088
Conversation
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed August 6, 2026, 9:40 PM ET / August 7, 2026, 01:40 UTC. ClawSweeper reviewWhat this changesBuilds the private Telegram QA runtime from the trusted harness checkout and exposes it only to Docker test manifests while retaining the installed npm package as the system under test. Merge readinessKeep open for normal maintainer handling: current main still has the package-acceptance boundary failure, and this PR’s targeted harness-side repair appears correct. The member-authored, maintainer-labeled PR should merge only after refreshed exact-head release acceptance evidence. Priority: P2 Review scores
Verification
How this fits togetherPackage acceptance resolves an immutable npm candidate, then runs Telegram scenarios in Docker. Private QA runtime code is intentionally built from the trusted harness checkout while the installed package remains the tested CLI and distribution. flowchart LR
A[Package candidate] --> B[Package acceptance]
C[Trusted harness ref] --> D[Private QA runtime build]
B --> E[Telegram Docker runner]
D --> E
E --> F[Installed candidate CLI and distribution]
E --> G[Telegram QA results]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +56, Config +10, Other +15. Total +81 across 6 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase or refresh against current main, then demonstrate one exact-head run where the trusted private runtime is mounted while the npm candidate remains authoritative. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main imports a qa-runtime entry that the npm package deliberately omits, while the Docker path redirects execution to that installed candidate. The review did not execute the credentialed release scenario. Is this the best way to solve the issue? Yes. Building the private runtime from the trusted harness checkout and exposing it only through ephemeral Docker manifests preserves the package candidate as the system under test instead of publishing or overlaying private QA files. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 01281ad9f860. 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 (1 earlier review cycle)
|
51376dd to
1c6bd66
Compare
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
Rank-up move disposition:
|
|
Merged via squash.
|
* origin/main: (58 commits) fix(test): restart shared gateway after migration convergence (openclaw#120089) fix(ui): make active-run steering reliable (openclaw#120083) fix(telegram): preserve voice fallback text test(swift): preserve queued websocket frames (openclaw#120106) fix: reject missing oxlint shard selectors (openclaw#120096) test(channels): align prerelease fallback catalog spec (openclaw#120092) fix(node-cli): warn when systemd user lingering is disabled after install (openclaw#118430) fix(diagnostics): preserve CLI turn usage totals (openclaw#120100) fix(gateway): derive lock and coordinator paths from the resolved state dir (openclaw#120110) fix(release): isolate private Telegram QA harness (openclaw#120088) test(agents): exercise execution attribution ingress guard fix(gateway): defer attribution until admission succeeds refactor(agents): centralize exact execution attribution fix(google): accept base64url provider media (openclaw#116204) fix(plugins): warn when registerHook uses a typed hook event name (openclaw#118601) fix(canvas): serve Content-Length on A2UI HEAD responses (openclaw#117961) fix(gateway): make doctor dreaming timestamp comparators NaN-safe (openclaw#118749) fix(heartbeat): explain target-none skips (openclaw#119689) fix(security): stop recommending retired install-policy bypasses (openclaw#120011) fix(plugins): preserve startup release during repair (openclaw#120085) ... # Conflicts: # CHANGELOG.md # src/config/sessions/session-accessor.sqlite-transcript-write.ts
What Problem This Solves
Resolves a release-check failure where Telegram package acceptance loaded a private QA runtime that is intentionally absent from the npm candidate, causing the candidate test to stop before scenarios ran.
Why This Change Was Made
The trusted workflow checkout now builds and mounts its private QA runtime separately while the package candidate remains authoritative for the CLI,
/app/dist, dependencies, and public plugin SDK. Only the two ephemeral container manifests receive the privateqa-runtimeexport; the public npm package remains unchanged.User Impact
No shipped product behavior changes. Maintainers can run Telegram acceptance against an immutable package candidate without publishing private QA files or coupling the harness to the candidate source SHA.
Evidence
node scripts/run-vitest.mjs test/scripts/npm-telegram-live.test.ts test/scripts/package-acceptance-workflow.test.ts(186 passed)actionlint .github/workflows/package-acceptance.yml .github/workflows/npm-telegram-beta-e2e.ymlbash -n scripts/e2e/npm-telegram-live-docker.shnode --check scripts/e2e/lib/npm-telegram-live/prepare-package.mjsoxfmt --checkandgit diff --checktbx_01kzcssdx17k9tns7jv3bw385k: privateqaRuntimebuild and both artifact assertions passedAI-assisted: yes. The complete diff and validation results were reviewed before submission.