Skip to content

Fix child task compute provider inheritance - #1225

Merged
daniel-lxs merged 1 commit into
developfrom
codex/inherit-child-compute-provider
Aug 11, 2026
Merged

Fix child task compute provider inheritance#1225
daniel-lxs merged 1 commit into
developfrom
codex/inherit-child-compute-provider

Conversation

@daniel-lxs

Copy link
Copy Markdown
Member

What changed

  • Inherit the authenticated source task run's compute provider for run-token child launches when the request does not specify one.
  • Preserve explicit compute-provider overrides and the existing deployment-default behavior for ordinary user-token launches.
  • Cover Docker and Modal inheritance plus explicit override behavior.

Root cause

Agent-launched child tasks omit computeProvider, so fresh-task routing selected the deployment default instead of the provider that ran the parent. Verification and delegated work could therefore execute on a different backend from the environment they were intended to reproduce.

Impact

Child tasks now stay on the parent's compute backend by default, while callers that explicitly choose a provider retain that choice.

Validation

  • Targeted API test: 17 passed
  • @roomote/api TypeScript check
  • Changed-file formatting and ESLint
  • pnpm lint:fast
  • pnpm check-types:fast
  • pnpm knip

@roomote-community

roomote-community Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

No code issues found. See task

Reviewed 396dae4

@daniel-lxs
daniel-lxs marked this pull request as ready for review August 11, 2026 20:04
@daniel-lxs
daniel-lxs merged commit 4ea3723 into develop Aug 11, 2026
18 checks passed
@daniel-lxs
daniel-lxs deleted the codex/inherit-child-compute-provider branch August 11, 2026 20:10
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