Skip to content

test: fail closed on unknown recording provider commands - #1728

Merged
thymikee merged 1 commit into
mainfrom
test/provider-fixtures-fail-closed
Aug 11, 2026
Merged

test: fail closed on unknown recording provider commands#1728
thymikee merged 1 commit into
mainfrom
test/provider-fixtures-fail-closed

Conversation

@thymikee

Copy link
Copy Markdown
Member

Summary

Make the Android recording provider fixture fail closed when production executes an unmodeled command. Explicitly model process enumeration and recording-artifact commands, and align the native-manifest fixture with the production contract where export quality is optional.

This makes provider transcript drift fail loudly instead of returning a fabricated successful result. It is the first bounded Tier A hardening step from #1680; it does not introduce a generic virtual-device framework.

Validation

The new tracer was first observed red with Missing expected rejection against the previous catch-all response. Tightening then exposed and replaced two hidden fixture assumptions: unmodeled process enumeration and a falsely required export-quality field.

pnpm check:affected --run passes, including formatting, lint, full typecheck, Fallow, and four related provider-integration files with 8/8 tests.

@github-actions

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
JS raw 2.17 MB 2.17 MB +330 B
JS gzip 709.4 kB 709.5 kB +98 B
npm tarball 836.8 kB 836.9 kB +94 B
npm unpacked 2.91 MB 2.91 MB +330 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 26.8 ms 26.1 ms -0.7 ms
CLI --help 65.4 ms 64.2 ms -1.2 ms

Top changed chunks:

Chunk Raw diff Gzip diff
dist/src/session.js +190 B +58 B
dist/src/screenshot-result.js +61 B +32 B
dist/src/interaction.js +23 B +8 B
dist/src/selector-runtime.js +41 B +1 B

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Aug 11, 2026
@thymikee
thymikee merged commit 57fc0f9 into main Aug 11, 2026
28 checks passed
@thymikee
thymikee deleted the test/provider-fixtures-fail-closed branch August 11, 2026 09:30
@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-11 09:30 UTC

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

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant