Skip to content

feat(cli): add production test hooks - #201

Merged
zackees merged 1 commit into
mainfrom
feat/production-test-hooks
Jul 13, 2026
Merged

zackees merged 1 commit into
mainfrom
feat/production-test-hooks

Conversation

@zackees

@zackees zackees commented Jul 13, 2026

Copy link
Copy Markdown
Member

Closes #181.

Summary

  • add the --test production-testing mode with ready/total deadlines, screenshots, interval capture, logs, deterministic exit codes, and contained teardown
  • capture real WebGL frames through the shipped Tauri/WebView renderer with authenticated local test-control endpoints
  • document CI/agent usage and add filename, timeout, error-classification, endpoint, and CLI-contract tests

The deferred --test-cmd bridge is tracked in #200.

Validation

  • bash lint
  • soldr cargo test --workspace (213 library tests, 3 viewer tests, doctest)
  • Blink single capture: exit 0, nonblank 1280x22 PNG
  • Blink interval: exactly 10 files 000 through 009
  • page error / compile failure / ready timeout / total timeout: exits 2 / 1 / 125 / 124
  • NoisePlusPalette WebGL capture: 1280x1280, all 1,638,400 pixels nonblack
  • post-run process audit: zero surviving viewer/server processes
  • /clud-review: clean after three cycles

@zackees
zackees merged commit 7229055 into main Jul 13, 2026
22 checks passed
@zackees
zackees deleted the feat/production-test-hooks branch July 13, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cli): built-in production-testing hooks — screenshot, console log capture, auto-exit for agentic verification

1 participant