Reuse the SystemGroup session instead of signing in on every fetch #51

Merged
rhino merged 1 commits from cursor/reuse-systemgroup-session into main 2026-11-22 05:21:44 +00:00
Owner

Summary

  • Keep the SystemGroup cookies in the Django session and reuse them for later order fetches.
  • Sign in again only when that session is rejected, so a refresh does not sign the account out elsewhere.

Test plan

  • Sign in on the orders page, refresh, and confirm orders still load.
  • A second fetch does not create a new SystemGroup login.
  • Signing out clears the saved cookies.
## Summary - Keep the SystemGroup cookies in the Django session and reuse them for later order fetches. - Sign in again only when that session is rejected, so a refresh does not sign the account out elsewhere. ## Test plan - [ ] Sign in on the orders page, refresh, and confirm orders still load. - [ ] A second fetch does not create a new SystemGroup login. - [ ] Signing out clears the saved cookies.
rhino added 1 commit 2026-11-22 05:17:56 +00:00
rhino changed title from WIP: Reuse the SystemGroup session instead of signing in on every fetch to Reuse the SystemGroup session instead of signing in on every fetch 2026-11-22 05:21:39 +00:00
rhino merged commit 7760fbbd0c into main 2026-11-22 05:21:44 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rhino/product-slip#51