Commit Graph
10 Commits
Author SHA1 Message Date
Austin Mroz c286fbecd3 Support auth token in orchestration connection 2024-07-19 14:21:47 -05:00
Austin Mroz 1b8ed8a661 Add command for dumping logs 2024-07-03 16:55:07 -05:00
Austin Mroz 8e16554331 Unify Error responses, signing, caching
Error responses are now always part of a dict with lowercase error as
key.

Files are cached across restarts by url. Likely needs additional
testing for checkpoints.

Fixed an error where booleans could not be eserialized as part of the
change to sign file uploads.
2024-07-03 03:03:49 -05:00
Austin Mroz 9a42e29b49 Fruther orchestration implementation
Responses to orchestration are now wrapped and contain always contain a
message id to keep requests syncronized.

On connection failure, a reconnection is attempted.

Execution time is tracked and included in response data.

Response urls are now signed
2024-07-03 01:58:16 -05:00
Austin Mroz c3f11fa212 I attempt to keep socket open on exception
Exceptions while executing a command are now caught and sent back to the
socket server
2024-06-29 17:56:27 -05:00
Austin Mroz 1089d6e68f Orchestrate by outbound websocket
Responsiveness has been a point of major frustration when debugging.
In an attempt to isolate performance issues and move closer to the end
goal of sophisticated orchestration, an additional means of control has
been added where workers connect to a control server and open a
websocket for two-way communications
2024-06-29 15:26:37 -05:00
Austin Mroz 31e677ba25 Pass on_call args without parsing
With improved logging, I believe I misinterpreted the original error
message. The version of comfy used inside the current container is out
of date, and has fewer args for call_on_start.
2024-06-28 01:29:01 -05:00
Austin Mroz 0e0856ffcb Explicitly define args for wrapped server start 2024-06-27 14:01:41 -05:00
Austin Mroz 58d3d9e475 Fix ready probe, nested target folders
Fixed a minor mistake in reference used for readyness queue

When creating the linked file on disk, subfolder are created first if
needed
2024-06-26 18:40:04 -05:00
Austin Mroz 0b3f5fca9d Include orchestration, rework execution wrapping
Orchestration code (mostly endpoints for probes) was intended as a
seperate plugin, but given the tight tying of asynchronous dependency
code, it has been included in this history and will likely be branched
off as a dedicated repo not available for non client/server
architectures.

much of the execution wrapping code has been moved into a wrapper on
execute instead of recursive executed. This cleans up logic and fixes
issues with collecting all outputs when multiple output nodes exist
2024-06-25 15:49:21 -05:00