fix: stabilize auth client registration (WealthLedger/frontend#95) #122

Merged
codex-bot merged 1 commits from fix/95-stabilize-auth-client-registration into develop 2026-10-28 16:59:09 +03:00
Owner

Closes #95

  • configureAuthClient effect now depends on [clearSession, refresh, user] instead of running every render; user tracks token presence, which the client publishes as session state.
  • Unmount cleanup stays a separate effect so re-registration does not briefly publish "no session" to subscribers.
  • Regression test: rerender does not re-register; unmount clears.

Checks: npm run verify.

Closes #95 - `configureAuthClient` effect now depends on `[clearSession, refresh, user]` instead of running every render; `user` tracks token presence, which the client publishes as session state. - Unmount cleanup stays a separate effect so re-registration does not briefly publish "no session" to subscribers. - Regression test: rerender does not re-register; unmount clears. Checks: `npm run verify`.
ksv741 added 1 commit 2026-10-28 16:34:31 +03:00
fix: stabilize auth client registration (WealthLedger/frontend#95)
Frontend verify / commits (pull_request) Successful in 37s
Frontend verify / security (pull_request) Successful in 10s
Frontend verify / verify (pull_request) Successful in 5m51s
19fe99695c
ksv741 force-pushed fix/95-stabilize-auth-client-registration from c6f2f2eedc to 19fe99695c 2026-10-28 16:34:31 +03:00 Compare
codex-bot scheduled this pull request to auto merge when all checks succeed 2026-10-28 16:34:59 +03:00
codex-bot merged commit 5796d2d789 into develop 2026-10-28 16:59:09 +03:00
codex-bot deleted branch fix/95-stabilize-auth-client-registration 2026-10-28 16:59:10 +03:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WealthLedger/frontend#122