Skip to content

feat(browser): wire transport faults into scenarios - #2214

Merged
chubes4 merged 1 commit into
mainfrom
feat-2208-browser-transport-faults
Aug 4, 2026
Merged

feat(browser): wire transport faults into scenarios#2214
chubes4 merged 1 commit into
mainfrom
feat-2208-browser-transport-faults

Conversation

@chubes4

@chubes4 chubes4 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • expose the canonical transport-fault model through public browser actions and scenarios
  • preserve preview routing/network policy, block service-worker bypass, and isolate schedules per browser context
  • publish secret-safe matched/consumed/unmatched evidence with bounded teardown and structural replay identity

Fidelity

  • browser HTTP(S) routing is supported for navigation, fetch, XHR, and subresources with service workers blocked
  • server-side WordPress HTTP traffic remains owned by the existing WordPress HTTP adapter
  • timeout, refusal, reset, malformed response, and truncation are Playwright-level emulations rather than socket-level faults
  • Playwright cannot cancel an underlying route.fetch; bounded teardown reports remaining fetches and timed-out honestly

Testing

  • npm run build
  • npm run test:adversarial-runtime (21 passed)
  • npm run test:browser-scenarios
  • PLAYWRIGHT_BROWSERS_PATH=/home/opencode/.cache/ms-playwright npm run test:browser-actions-environment (9 passed)
  • PLAYWRIGHT_BROWSERS_PATH=/home/opencode/.cache/ms-playwright npm run test:browser-transport-faults (5 passed)
  • npm run test:recipe-validation-descriptors
  • git diff --check

Closes #2208

@chubes4
chubes4 merged commit ca73d47 into main Aug 4, 2026
4 checks passed
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(browser): wire transport-fault models into browser scenarios

1 participant