Skip to content

refactor(qa-lab): trim dead export surface - #107016

Merged
steipete merged 4 commits into
mainfrom
codex/burn-dead-exports-qa-lab-44
Jul 14, 2026
Merged

steipete merged 4 commits into
mainfrom
codex/burn-dead-exports-qa-lab-44

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Production-mode Knip still grandfathered 48 internal QA Lab exports. Most existed only for direct helper tests or redundant type access, which kept implementation details in the module surface.

Why This Change Was Made

  • Privatize 44 unused constants, types, helpers, and test seams.
  • Delete the dead process-stat parser and transport wait wrapper.
  • Route behavior coverage through retained production owners, including the Multipass runner, gateway config mutation APIs, transport adapter, scorecard readers, and suite-summary readers.
  • Preserve the four intentional dynamic/test seams: gateway boundary testing, QA workspace testing, runtime parity testing, and session-store retry delay control.
  • Keep public QA Lab barrels and runtime behavior unchanged.

User Impact

No user-facing behavior change. QA Lab's internal TypeScript surface is smaller, while meaningful path, Unicode, timeout, retry, redaction, live-environment, and report behavior coverage remains.

Evidence

  • Dead-export baseline: 1,163 to 1,119 overall; anchored extensions/qa-lab/src/** rows 48 to 4; baseline diff +0/-44.
  • Production source: +36/-97 (net -61). Tests: +458/-642 (net -184). Total including baseline: +494/-783.
  • Testbox tbx_01kxf6xj8kmtf7v420vc87yh4w, Actions run 29300905060: regeneration byte-stable at 1,119, exact deadcode green, formatting green across 297 files, type-aware lint green across 295 files, 30 focused files / 693 tests green, extension production types and full test types green.
  • Fresh split autoreview (credential fixtures redacted from the review bundle): clean 0.91 for the 60-file safe bundle; the Multipass review found one lost executable-script forwarding assertion, which was restored through the production transfer boundary; rerun clean 0.91.
  • Latest-main movement after proof was six commits with no QA Lab or dead-export baseline overlap.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts extensions: qa-lab size: XL maintainer Maintainer-authored PR labels Jul 14, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready at signed head af08d9b6cecb6d4207fe3bdd70f77aaabcf22a4a.

  • Testbox tbx_01kxf6xj8kmtf7v420vc87yh4w, Actions run 29300905060: exact production Knip regeneration byte-stable at 1,119; deadcode, formatting, type-aware QA Lab lint, extension production types, and full test types green.
  • Focused QA Lab proof: 30 files / 693 tests green, including production-path Multipass credential transfer/redaction, gateway config mutation retries, transport waits, reports, and live adapter aliases.
  • Fresh autoreview: safe bundle clean 0.91; Multipass review finding fixed and rerun clean 0.91.
  • Baseline +0/-44; anchored QA Lab rows 48 to 4. No public barrels changed. The six newer main commits have no QA Lab or baseline overlap.

Known gap: hosted CI is still starting; maintainer-requested focused direct landing uses the exact Testbox proof above.

@steipete
steipete merged commit 44fcbc6 into main Jul 14, 2026
78 of 82 checks passed
@steipete
steipete deleted the codex/burn-dead-exports-qa-lab-44 branch July 14, 2026 02:32
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 14, 2026
* refactor(qa-lab): narrow report and config exports

* refactor(qa-lab): keep live test seams private

* refactor(qa-lab): remove dead runtime wrappers

* chore(deadcode): refresh QA Lab export baseline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab maintainer Maintainer-authored PR scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant