Skip to content

Transfer worker inputs over the socket - #11

Draft
mjc wants to merge 7 commits into
mjc/abav1-214-stack-03-worker-session-protocolfrom
mjc/abav1-214-stack-04-worker-binary-transfer
Draft

Transfer worker inputs over the socket#11
mjc wants to merge 7 commits into
mjc/abav1-214-stack-03-worker-session-protocolfrom
mjc/abav1-214-stack-04-worker-binary-transfer

Conversation

@mjc

@mjc mjc commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Stack 5 of 13. Depends on 03-worker-session-protocol.

This wires Phoenix binary frames into resumable worker input transfers, adds input-resend state, keeps the socket alive while jobs run, and publishes CRF and transfer progress with job identity and throughput.

Workers can receive remote inputs over the existing channel, recover a missing resumed input, and report enough phase/progress metadata for the coordinator to distinguish transfer, search, and failure states.

Tests added in this branch prove Phoenix-enveloped binary chunks decode correctly, malformed framing is rejected, resumed transfers request missing input, pull-work payloads describe local-input availability, CRF progress/result events match the coordinator contract, transfer rates and metadata serialize correctly, and worker phases choose the right local or transferred input path.

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: e1bf4ffd-b0af-4e54-a7e7-4f6f652834e2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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