test: adds diagnosis for launchArgs monitoring#30240
test: adds diagnosis for launchArgs monitoring#30240christopherferreira9 wants to merge 4 commits into
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c6acce5. Configure here.
…-launch-args # Conflicts: # .github/workflows/run-e2e-workflow.yml
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - skip-smart-e2e-selection label found All E2E tests pre-selected. |
|





Description
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Medium Risk
Primarily affects E2E/test-only paths, but it adds new network proxy/diagnostic hooks in
shim.jsand posts extra data during app startup, which could impact test stability if misconfigured.Overview
Adds an end-to-end diagnostics pipeline to make CI failures easier to debug. The app now records launch-argument/test config details on a shared
globalThistestConfig, appends those details to fixture fetch URLs, and posts structured diagnostics (including remote feature flag update phases) back to the host mock server during E2E runs.On the test runner side,
MockServerE2Eaccepts/e2e-diagnostics, stores a bounded history, and includes recent diagnostics in “live request” failure errors;FixtureHelper.withFixturescaptures rich failure artifacts (screenshots, view hierarchy, redacted metadata, mock-server/feature-flag request info) via a newtests/framework/E2EDiagnostics.ts, and the E2E GitHub Actions workflow now archives/uploads these diagnostics artifacts on failures.Reviewed by Cursor Bugbot for commit 4c7a838. Bugbot is set up for automated code reviews on this repo. Configure here.