mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-09-30 12:33:13 +00:00
* fix(3cx): refresh the OAuth token before it expires The worker kept one 3CX access token for the life of the process, so the 8am queue update failed with 401 after the one-hour token lifetime. * fix(3cx): ignore a client secret this process already replaced A slower caller still holding the pre-rotation secret could write it back over the new one. The swap now happens under the auth lock, and a retired secret is dropped. * fix(3cx): adopt a new client secret only after login succeeds A candidate secret is tried before it replaces the current one, so a revoked secret cannot stick and a later revert to a working secret still takes effect. A failed re-login after 401 returns the original API response. |
||
|---|---|---|
| .. | ||
| test_blocks.py | ||
| test_changelog.py | ||
| test_portal_ops.py | ||
| test_ring_scheduler.py | ||
| test_schedule.py | ||
| test_secrets.py | ||
| test_sentry_init.py | ||
| test_side_effects_holidays.py | ||
| test_three_cx_client.py | ||