Commit Graph
43 Commits
Author SHA1 Message Date
henryruhs 4988bae2ff revamp how cli renders 2026-11-07 15:08:49 +01:00
henryruhs 886d560c07 revamp how cli renders 2026-11-07 13:55:18 +01:00
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 72dc5d1ad0 process manager stages (#1271)
* introduce stages finally

* introduce stages finally

* introduce stages finally
2026-11-06 08:28:43 +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
henryruhs e4b5865cd9 make stream solid 2026-11-03 22:40:00 +01:00
henryruhs 27ab60813f fix tests 2026-11-03 21:49:06 +01:00
henryruhs cd0c75e424 rename things in stream manager 2026-11-03 21:38:01 +01:00
henryruhs e661adb520 rename things in stream manager 2026-11-03 21:30:01 +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 c6b13c32a7 post correct recent pr 2026-11-03 09:19:51 +01:00
Henry RuhsandClaude Fable 5.1 9b00b79182 fix/stop-all-sessions (#1264)
* stop every session on exit

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cd6JuxiVXYNPCDii9go2eh

* log api start before serving, test api route

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cd6JuxiVXYNPCDii9go2eh

* move all to its place

* move all to its place

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 09:12:01 +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
henryruhs a128f74c3c more testing 2026-10-31 23:21:48 +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
henryruhs fdb45a3a5e add test 2026-10-31 11:10:52 +01:00
Henry Ruhs 7d042f697c introduce api origin (#1256)
* introduce api origin

* introduce api origin

* add test

* adjust test

* adjust test

* moving it to cors section
2026-10-22 08:48:11 +02: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 dd66c2d139 fix lint 2026-10-19 20:51:24 +02:00
henryruhs 2e06c15e52 introduce http manager 2026-10-19 20:40:16 +02:00
henryruhs bd9e71e26b rename websocket_store to websocket_manager 2026-10-19 20:30:34 +02:00
henryruhs a714275a65 rename websocket_store to websocket_manager 2026-10-19 20:27:56 +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 2292de1136 minor change 2026-10-19 11:36:37 +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 c3e7b6248c Use queue shutdown (#1253)
* 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>
2026-10-19 11:08:20 +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 e7875f8c5c improve code coverage part7 2026-10-07 18:13:37 +02:00
henryruhs bcf4432202 tests now follow codebase structure 2026-10-07 11:48:06 +02:00