Skip to content

[Refactor] Split broker adapter lifecycle responsibilities#723

Merged
mrubens merged 1 commit into
developfrom
refactor/broker-adapter-lifecycle-3ituu93fg1byy
Jul 23, 2026
Merged

[Refactor] Split broker adapter lifecycle responsibilities#723
mrubens merged 1 commit into
developfrom
refactor/broker-adapter-lifecycle-3ituu93fg1byy

Conversation

@roomote-roomote

Copy link
Copy Markdown
Contributor

Created by Roomote. Follow up by mentioning @roomote-roomote or in the web UI.

What changed

Split the Roomote broker adapter's signed HTTP transport and command-stream lifecycle handling into focused collaborators. The public compute-provider client contract, broker request error export, and existing sandbox, snapshot, and file-write behavior remain unchanged.

Why this change was made

The broker adapter had become a second owner of lifecycle-heavy execution logic alongside the direct Modal adapter. Isolating broker signing and NDJSON command handling makes provider behavior easier to evolve and test without coupling it to the client facade.

Impact

No user-visible behavior change is intended. Broker command execution retains Modal-compatible output delivery, detached-process reconciliation, and exit polling while the adapter is substantially easier to maintain.

@roomote-roomote

roomote-roomote Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

No code issues found. See task

Reviewed 86e3948

@mrubens
mrubens marked this pull request as ready for review July 23, 2026 16:42
@mrubens
mrubens merged commit e2f3cb5 into develop Jul 23, 2026
16 checks passed
@mrubens
mrubens deleted the refactor/broker-adapter-lifecycle-3ituu93fg1byy branch July 23, 2026 16:43
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.

2 participants