The GitHub Actions job "Benchmarks PR Comment" on texera.git/main has failed. Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run: 3b0b1dba154671da9172833b2b0722c5c54b82df / Meng Wang <[email protected]> test(frontend): add spec for AuthGuardService (#5459) ### What changes were proposed in this PR? Adds a unit spec for `AuthGuardService`, which previously had none. Covers `canActivate()`: - logged-in user → returns `true`, no redirect - logged-out user at the root url → returns `false`, redirects to `ABOUT` with `returnUrl: null` - logged-out user at a deep link → returns `false`, redirects to `ABOUT` preserving the `returnUrl` Follows `frontend/TESTING.md` (Vitest): reuses `StubUserService` for `UserService`, spreads `commonTestProviders` for `GuiConfigService`, and mocks `Router` inline. ### Any related issues, documentation, discussions? Closes #5453. ### How was this PR tested? `yarn test --include='**/auth-guard.service.spec.ts'` → 3 passed. `prettier --check` clean. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-4-7) Report URL: https://github.com/apache/texera/actions/runs/27653078434 With regards, GitHub Actions via GitBox
