Repository navigation
fix(worker): bound avatar result waits and retain call ownership - #135
Closed
austinjiann wants to merge 1 commit into
Closed
austinjiann wants to merge 1 commit into
austinjiann wants to merge 1 commit into
Conversation
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Frozen-avatar and tracked-animation calls could wait indefinitely for a queued provider result even when worker execution time was bounded. Both entrypoints now use startup plus execution time as their result-wait allowance, recording app, profile and call identity for recovery. Timeout, interruption or a post-submission receipt-write failure requests cancellation only of the submitted call; retained receipts continue to block resubmission.
No model, inference inputs, retry allowance or quality thresholds change. Cancellation is a request, not proof of termination or zero spend; image builds and output download still need an overall operator deadline.
Validation: 2,745 Python tests passed; Ruff and
bun run format:checkpassed. Tests cover ownership persistence, effective timeouts, cancellation failures, partial-output recovery and no resubmission. The city frozen-avatar call completed on the prior code; this PR does not claim that its visual quality improved.Stacked on #134. The underlying tracking experiments remain draft and have not passed all-person visual acceptance.