• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 38426451352
84%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dependabot/uv/dependencies/pip/django-filter-26.2
DEFAULT BRANCH: master
Ran 13 Oct 2026 04:02PM UTC
Jobs 10
Files 920
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Oct 2026 03:57PM UTC coverage: 83.313%. Remained the same
38426451352

push

github

web-flow
feat(frontend): auth status tracking DEV-1860 (#7656)

### đŸ“Ŗ Summary

Signing in now returns you to the page you were trying to reach, and the
app notices when your session changes in another tab. Hidden behind
feature flag.

### 💭 Notes

Ports allauth's `determineAuthChangeEvent` / `flow2path` from their
react-spa example.

Changes here:

- **`jsapp/js/auth/authStatus.ts`** — reads `GET /auth/session` into a
flat `AuthStatus`
- **`jsapp/js/auth/AuthChangeRedirector.tsx`** — reacts to the auth
status changes and causes a redirect - mounted twice, once per app tree
(`app.jsx`, `auth/routes.tsx`)
- **`jsapp/js/auth/authRedirects.ts`** — a switch saying where each
event leads
- **`jsapp/js/auth/nextUrl.ts`** — reads and writes `?next=` with some
safety
- **`jsapp/js/auth/flowRoutes.ts`** — flow → screen mappings
- **`jsapp/js/auth/authGate.ts`** — the guard decision as testable
function; used in **`requireAuth.tsx`** / **`RequireAnonymous.tsx`**
- **`jsapp/js/auth/routes.tsx`** — `/auth/authenticate/totp` and
`/auth/authenticate/recovery-codes` now redirect to the login screen
instead of rendering a placeholder. These are our SPA routes; Django's
own `/accounts/2fa/authenticate/` is untouched

### 👀 Preview steps

1. â„šī¸ have an account, a project, and `authRedesignEnabled` turned on
2. sign out, then paste a deep link into the address bar — e.g. your
project's **Project → Settings** page, `/#/forms/<uid>/settings`
3. 🔴 [on main] you land on the login screen and, after signing in, on
the project list — you get to go find that page again yourself
4. đŸŸĸ [on PR] you land on `/#/auth/login?next=â€Ļ` with the project
settings path in `next`, and signing in drops you straight on **Project
→ Settings**
5. now open the app in two tabs, both signed in
6. sign out in tab 1, then switch back to tab 2 — focusing it is what
makes it re-check the session
7. đŸŸĸ tab 2 sends you to `/#/auth/login` with `?next=` set to whatever
you were looking at — no ghost session, no half-l... (continued)

10553 of 13884 branches covered (76.01%)

33585 of 40312 relevant lines covered (83.31%)

5.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38426451352.1 13 Oct 2026 04:02PM UTC 915
43.44
2 38426451352.2 13 Oct 2026 04:02PM UTC 915
49.6
3 38426451352.3 13 Oct 2026 04:03PM UTC 915
52.64
4 38426451352.4 13 Oct 2026 04:03PM UTC 917
53.88
5 38426451352.5 13 Oct 2026 04:03PM UTC 917
44.72
6 38426451352.6 13 Oct 2026 04:04PM UTC 917
50.85
7 38426451352.7 13 Oct 2026 04:04PM UTC 918
68.04
8 38426451352.8 13 Oct 2026 04:04PM UTC 915
58.3
9 38426451352.9 13 Oct 2026 04:07PM UTC 917
59.38
10 38426451352.10 13 Oct 2026 04:08PM UTC 920
70.48
Source Files on build 38426451352
  • Tree
  • List 920
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 9a5ad5a5 on github
  • Prev Build on main (#38404730197)
  • Next Build on main (#38429220402)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc