Skip to content

Add HTTP input lifecycle and reconnect state - #12

Draft
mjc wants to merge 9 commits into
mjc/abav1-214-stack-04-worker-binary-transferfrom
mjc/abav1-214-stack-05-worker-http-input-lifecycle
Draft

Add HTTP input lifecycle and reconnect state#12
mjc wants to merge 9 commits into
mjc/abav1-214-stack-04-worker-binary-transferfrom
mjc/abav1-214-stack-05-worker-http-input-lifecycle

Conversation

@mjc

@mjc mjc commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Stack 6 of 13. Depends on 04-worker-binary-transfer.

This adds authenticated HTTP input downloads alongside socket transfers, unifies pending/local input state, defers results while disconnected, removes owned inputs after successful jobs, and replays complete CRF progress metadata on reconnect.

The worker can now select shared-local, socket, or HTTP delivery without conflating ownership. Reconnects retain observable job progress, and cleanup removes only worker-owned inputs.

Tests added in this branch cover delivery/resume phase selection, pending chunk finalization, HTTP download progress, reconnect retention of CRF updates, local-path cleanup exceptions, owned-input removal, and stable two-decimal serialization for outbound progress and score fields.

@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: dcb706af-57dc-4b9d-8e41-5f37870640a8

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