Skip to content

refactor(qa-lab): split web UI renderer - #106537

Merged
steipete merged 2 commits into
mainfrom
codex/refactor-qa-lab-ui-render
Jul 13, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/refactor-qa-lab-ui-render

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Closes #106493

What Problem This Solves

QA Lab's web renderer lived in one 4,219-line module that mixed public state types, the application shell, result and evidence rendering, and the full capture inspector. Small renderer changes required navigating and reviewing the entire surface.

Why This Change Was Made

Split the renderer along existing ownership seams while keeping ui-render.ts as the stable public entrypoint. Shared state and utilities, shell/content/evidence views, and capture model/view concerns now live in focused modules; every changed production TypeScript file stays at or below 500 lines. No behavior or dependency change is intended.

User Impact

No user-visible behavior change. Maintainers get smaller review units and clearer capture-rendering ownership.

Evidence

  • Final-head Blacksmith Testbox tbx_01kxe39rjqnse03p2jzvn5t93n: pnpm test extensions/qa-lab/web/src/ui-render.test.ts — 9/9 passed (run 29264577276).
  • Changed gate passed remotely: formatting, extension production/test typechecks, extension lint, database/sidecar guards, and import-cycle check.
  • Fresh autoreview split into bounded semantic slices: capture model/format and capture view slices clean; two shared-slice claims rejected against the unchanged original implementation and existing pretty-ms manifest/lock entries.
  • git diff --check clean.

@steipete steipete self-assigned this Jul 13, 2026
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime cli CLI command changes scripts Repository scripts labels Jul 13, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready proof:

  • Prepared head: ae293d5ddbafbd4b563405e7171ba0e567fbb728.
  • Exact-head CI: run 29265464900 completed successfully with zero failed jobs.
  • Focused renderer proof: Blacksmith Testbox tbx_01kxe39rjqnse03p2jzvn5t93n, pnpm test extensions/qa-lab/web/src/ui-render.test.ts, 9/9 passed (run 29264577276).
  • Remote changed gate passed formatting, extension production/test typechecks, extension lint, database/sidecar guards, and import-cycle checks.
  • Fresh bounded autoreview completed with no accepted/actionable findings. Two shared-slice claims were rejected against the unchanged original formatter and existing pretty-ms manifest/lock entries.
  • scripts/pr review-validate-artifacts 106537 and OPENCLAW_TESTBOX=1 scripts/pr prepare-run 106537 passed.

Known proof gap: no browser screenshot run; this is a behavior-stable module split with no intended visual change.

@steipete
steipete merged commit e0facfc into main Jul 13, 2026
132 of 136 checks passed
@steipete
steipete deleted the codex/refactor-qa-lab-ui-render branch July 13, 2026 16:21
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 14, 2026
* refactor(qa-lab): split web UI renderer

* refactor(qa-lab): split web UI renderer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui cli CLI command changes extensions: qa-lab gateway Gateway runtime maintainer Maintainer-authored PR scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor QA Lab web renderer into bounded modules

1 participant