Skip to content

test(release): harden QA and live validation - #108589

Merged
steipete merged 1 commit into
mainfrom
codex/fix-qa-suite-runtime-test
Jul 16, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/fix-qa-suite-runtime-test

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Full Release Validation found four deterministic release-test failures at the exact main and beta heads:

  • QA suite runtime tests still mocked a dependency removed by the package Telegram harness refactor.
  • The subagent fanout scenario opened the SQLite session store while child transcript FTS writes could still be in flight, producing an integrity-check checksum mismatch.
  • The QA smoke planner silently dropped the Luna scenario because a live-provider constraint was modeled as a universal provider constraint.
  • Z.AI live smoke probes could spend a 64-token cap entirely on hidden reasoning and return no visible text.

Main evidence: https://github.com/openclaw/openclaw/actions/runs/29467929304

Beta evidence: https://github.com/openclaw/openclaw/actions/runs/29467824681

Why This Change Was Made

This removes the retired QA runtime mock, waits for child completion markers before each raw session-store integrity read, preserves mock Luna smoke coverage while retaining the live OpenAI assertion, refreshes the deliberate plugin SDK demotion count, and gives Z.AI one larger retry only when the provider explicitly reports token truncation.

The Z.AI retry remains fail-closed for empty non-truncated responses.

User Impact

No product behavior change. Release validation becomes deterministic and continues to catch real QA store corruption, smoke-coverage loss, and live-provider failures.

Evidence

  • pnpm test extensions/qa-lab/src/suite-runtime-flow.test.ts extensions/qa-lab/src/scenario-catalog.test.ts extensions/qa-lab/src/ci-smoke-plan.test.ts src/plugins/compat/registry.test.ts src/agents/zai.live.test.ts — focused non-live suites green (50 tests; live file correctly excluded without credentials)
  • Mock subagent-fanout-synthesis QA suite — passed 1/1 on Testbox lease tbx_01kxmec71p40avwcre567wjf4m
  • pnpm check:changed — green on the same Testbox lease (typecheck, format, lint, import-cycle and repository guards)
  • Fresh autoreview — clean, no actionable findings (0.87 confidence)

No changelog: test and release-harness reliability only.

@steipete steipete self-assigned this Jul 16, 2026
@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling extensions: qa-lab size: S maintainer Maintainer-authored PR labels Jul 16, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready proof complete for exact head 846c1c570669201e0aa6f6460f905ed5922fda5a.

Known proof gap: the credentialed Z.AI retry is covered by the next exact-head Full Release Validation live lane. The retry remains limited to explicit length truncation; other empty responses still fail.

@steipete
steipete merged commit de3f792 into main Jul 16, 2026
142 of 146 checks passed
@steipete
steipete deleted the codex/fix-qa-suite-runtime-test branch July 16, 2026 03:45
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling extensions: qa-lab maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant