Commit Graph
24 Commits
Author SHA1 Message Date
henryruhs c7531b333c return session and fork via /process 2026-11-07 09:53:03 +01:00
henryruhs c4f227de3f fix test 2026-11-06 10:39:42 +01:00
henryruhs bf9150d124 expose stages to WS /process 2026-11-06 08:33:50 +01:00
Henry Ruhs efbfc93753 refactor process manager (#1270)
* refactor process manager

* refactor process manager

* refactor process manager

* use httpx2 for ci
2026-11-05 18:53:47 +01:00
henryruhs 1ba2c7ce1c make multi usage more solid 2026-11-04 09:17:24 +01:00
henryruhs 5d8ea90bf0 go back to forks 2026-11-03 23:13:48 +01:00
Henry RuhsandClaude Opus 5.5 588a775faf move process lifecycle to the job (#1266)
Claude-Session: https://claude.ai/code/session_01Cd6JuxiVXYNPCDii9go2eh

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 16:54:05 +01:00
henryruhs dc9ee9044f limit session to 32, fix test 2026-11-01 21:07:45 +01:00
henryruhs 793c81f9e9 fix test 2026-11-01 19:26:03 +01:00
Henry RuhsandClaude Opus 5.5 647be8bb15 allow refresh after the access token expired (#1261)
* 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>
2026-10-31 23:19:36 +01:00
Henry Ruhs b80eb3961b revamp-api-managers (#1255)
* 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
2026-10-21 12:21:26 +02:00
henryruhs bab4dd96fb set the markers for busy upload 2026-10-19 23:36:10 +02:00
henryruhs 29116feca8 fix job related tests 2026-10-19 22:26:06 +02:00
henryruhs 6205a0db11 rename websocket_store to websocket_manager 2026-10-19 20:23:27 +02:00
henryruhs 73f2965d40 rename rtc_store to rtc_manager 2026-10-19 20:15:55 +02:00
henryruhs 1f5a1caf6d fix lint 2026-10-19 11:46:01 +02:00
henryruhs d543a67f65 fix style drift part5
 Conflicts:
	facefusion/apis/stream_video.py
	tests/apis/test_stream_video.py
2026-10-19 11:13:57 +02:00
Henry RuhsandClaude Opus 5.5 d0752f033d job cancellation via api (#1250)
* 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>
2026-10-19 09:19:55 +02:00
henryruhs 6cc5ca0c93 fix style drift part4 2026-10-18 20:34:31 +02:00
henryruhs 94bc1b2dd6 fix style drift part3 2026-10-18 20:29:33 +02:00
henryruhs 0ae64347c2 fix style drift part1 2026-10-18 17:03:05 +02:00
henryruhs 4c1e3ef909 a session that is busy cannot be destroyed 2026-10-09 09:25:29 +02:00
henryruhs 628779863f improve code coverage part13 2026-10-08 17:18:57 +02:00
henryruhs bcf4432202 tests now follow codebase structure 2026-10-07 11:48:06 +02:00