fix(qa): stabilize primary smoke runtime evidence#99784
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 3, 2026, 11:49 PM ET / 03:49 UTC. Summary PR surface: Tests +33, Config +5. Total +38 across 4 files. Reproducibility: yes. source inspection plus PR CI context gives a high-confidence path: current main lacks a shared tarball export for smoke Docker lanes and passes profile-expanded absolute OTEL output dirs into a child Review metrics: 3 noteworthy metrics.
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:
Next step before merge
Security Review detailsBest possible solution: Land after exact-head QA Smoke and required CI finish successfully, or with explicit maintainer acceptance of the targeted proof and runner-resource tradeoff. Do we have a high-confidence way to reproduce the issue? Yes, source inspection plus PR CI context gives a high-confidence path: current main lacks a shared tarball export for smoke Docker lanes and passes profile-expanded absolute OTEL output dirs into a child Is this the best way to solve the issue? Yes, this is the right layer for preserving stronger Docker smoke coverage: reuse the existing AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9d68f877ac3e. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +33, Config +5. Total +38 across 4 files. View PR surface stats
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
|
* fix(qa): restore fast smoke profile evidence * fix(qa): reuse one package across smoke Docker lanes * fix(qa): keep OTEL smoke output repo-relative
Related: #99705
Related: #99737
Related: #99368
What Problem This Solves
Fixes two recent QA Smoke CI regressions while preserving the stronger primary runtime coverage:
qa-otel-smoketo executable script evidence, but the profile runner expands${outputDir}to an absolute path while the childqa suiteCLI requires a repo-relative output path. That made current-main smoke runs fail after all gateway scenarios and both Docker scenarios had passed.Why This Change Was Made
OPENCLAW_CURRENT_PACKAGE_TGZDocker E2E contract.tsdownceiling.This does not move primary evidence back to focused Vitest tests and does not add a profile-specific scenario allowlist.
User Impact
Contributors retain packaged-runtime Docker coverage without duplicate package builds. The OTEL runtime producer can also run correctly through the profile's shared script adapter instead of deterministically failing after the rest of the smoke profile succeeds.
Evidence
tsdownpackage builds approaching the 8 GB heap ceiling.tbx_01kwnj0ja36rjm5r9gyah51xbjqa-otel-smokethen failed solely because the absolute profile artifact path violated the child CLI contract.git diff --checkand focusedoxfmt --check— passed.