* allow refresh after the access token expired
The session lives 10 minutes and the access token is valid for the first
half. The session guard checks the access window, while refresh, teardown,
session count and fork validation keep checking the session window. A
request declined with 401 can now refresh and resend.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cd6JuupGDM8y2cpHrkJq6D
* minor change
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* revamp reference system
* revamp reference system
* revamp reference system
* revamp reference system
* rename to reference face maps
* rename to reference face maps
* rename to reference face maps
* fix ci
* fix logic part1
* fix logic part2
* fix logic part2
* fix logic part3
* sort out ini, program and normalize
* sort out ini, program and normalize
* fix lint
* get rid of matrix reader
* revamp groups again
* revamp groups again part2
* revamp groups again part2a
* revamp groups again part2a
* minor typo
* switch to selector map to support source averaging
* save map different in state
* adjust the normalize of maps
* refactor
* refactor
* refactor
* refactor
* better test
* resolve find_match_group_index
* minor improvements
* find closes faces
* find closes faces
* fix according to code review
* migrate types fixes, ignore old gradio type violations
* migrate types fixes, ignore old gradio type violations
* make downloader more robust
* same terminate for run_ffmpeg_with_progress like run_ffmpeg has
* fix tiny drifts
* fix cast of temperature.gpu
* update dependencies
* fix typo
* bring both http manager and websocket manger to pass stress suite
* add download to is_busy
* standalone return are forbidden
* fix test
* use local_id variable
* use local_id variable
* experimental amd_adlx support
* experimental amd_adlx support
* reorder
* move methods out of libraries
* driver version for amd_smi
* driver version for amd_smi
* driver version for amd_adlx
* driver version for amd_adlx
* make detect_graphic_devices idiotic
* uniform interface for devices
* uniform interface for devices part2
* uniform interface for devices part3
* fix ci
* fix version in amd adlx
* fix None for version lockup
* introduce shutdown for queue
* introduce shutdown for queue
* make it solid
* test queue shutdown in stream senders and receivers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix test
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* first shot for job cancelation via api
* move helper to job manager
* adjust coding style
* add some test
* fix lint
* inline helpers
* fit JobId and StepIndex into the system
* clean stuff
* move towards v4
* back to v4 - job manager and runner remain stupid
* reduce mocks
* fix cancellation
* fix cancellation
* harden testing with invalid case
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>