Skip to content
This repository was archived by the owner on Jun 24, 2026. It is now read-only.

Add browser stress test for Connect demo - #629

Open
hvsr-uw wants to merge 2 commits into
commaai:masterfrom
hvsr-uw:stress-connect-test
Open

hvsr-uw wants to merge 2 commits into
commaai:masterfrom
hvsr-uw:stress-connect-test

Conversation

@hvsr-uw

@hvsr-uw hvsr-uw commented Jun 21, 2026

Copy link
Copy Markdown

Addresses #292

I added a small browser stress test for Connect and hooked it into ./test.sh.

The test uses public demo mode and runs through the main demo flow in Chromium. It checks the dashboard, demo device page, and demo route page on both desktop and mobile.

I kept it intentionally small so it can run as part of the normal test script without turning into a large fuzzing setup. It checks for the main things mentioned in the issue: page crashes, uncaught errors, serious console errors, blank/stuck pages, failed non-media requests, 500+ responses, and long-pending non-media requests.

It does not use real comma credentials or real device data. It also avoids actions that could change account or route state, like unpairing, billing/subscription actions, checkout, route privacy changes, or account mutation.

I tested this in Codespaces.

Passed:

  • bun run stress
  • bun biome ci
  • bun tsc
  • bun lines
  • bun bundle-size

Full bun run test run / ./test.sh is currently blocked by an unrelated Mapbox geocoding expectation in src/map/geocode.spec.ts. I checked clean upstream/master at 342d3db, and it fails the same way there. PR #622 looks like it already fixes that drift, so I left it out of this PR to keep this focused.

@github-actions

Copy link
Copy Markdown

Changes:

No line counts changed

Total lines: 4738 (0)

@github-actions

github-actions Bot commented Jun 21, 2026 •

Copy link
Copy Markdown

deployed preview: https://629.connect-d5y.pages.dev

Welcome to connect! Make sure to:

  • read the contributing guidelines
  • mark your PR as a draft until it's ready to review
  • post the preview on Discord; feedback from users will speedup the PR review

Mobile

Desktop

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant