test(e2e): verify the /settings renderer fix by un-fixme'ing profile + sessions (BUNYIP-176) #198
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-176-settings-ci-crash"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Re-enables
account/profile.spec.tsandaccount/sessions.spec.ts(un-test.fixme) to verify the/settingschromium renderer fix that #197 merged but never exercised, and removes the temporaryDEBUG=pw:browserstep frome2e.yml.Why
/settingsconsistently killed the chromium renderer process on the CI runner, between navigation-commit andDOMContentLoaded, on an icon-heavy page (the request trail at death ends at the FontAwesome kit CSS shards;/membershipsurvives with fewer icons). #197 landed the proposed fix ---disable-gpu+--no-sandbox, alongsidechannel: 'chromium',--disable-dev-shm-usage, and api-after-account-ui project ordering - but profile + sessions, the only two specs that render/settings, were lefttest.fixme"until rooted". So the fix sits unverified behind a skip. This PR is the verification: run those two specs against the hardened launch config.DEBUG=pw:browseris dropped because it floods the log and tells us nothing about a renderer death (the browser process exits cleanly). Thetrace.zipartifact - already recorded bytrace: 'on-first-retry'and published by the failure-path upload step - is the right instrument if it still fails.Outcome
--disable-gpuis confirmed as the fix; BUNYIP-176 closes and/settingscoverage is restored.trace.zipis the next data point, isolating the FontAwesome kit CSS as the trigger.🤖 Generated with Claude Code
The request-context rewrite surfaced a latent bug that the old render-crashing spec never reached: GET /v1/users/me/sessions returns 200 but the sessions count parsed as 0. The endpoint wraps its payload in bunyip-api's success envelope and nests the list under `sessions`, so the real shape is { data: { sessions: [...] } } (confirmed against bunyip-web/src/api/mod.rs parse(), which reads `.data`, and handlers/user.rs list_sessions, which emits `{ sessions }`). The test read top-level `.sessions`, one layer short, so it always saw 0. Read body.data.sessions instead. #BUNYIP-176 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>