Skip to content

fix(worker): bound avatar result waits and retain call ownership - #135

Closed
austinjiann wants to merge 1 commit into
codex/reviewed-person-exclusionsfrom
codex/bounded-lhm-wait
Closed

austinjiann wants to merge 1 commit into
codex/reviewed-person-exclusionsfrom
codex/bounded-lhm-wait

Conversation

@austinjiann

Copy link
Copy Markdown
Collaborator

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:check passed. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant