Repository navigation
delegate_task to a linked environment without the project: offer clone + create instead of failing #31919
johan-acevedo
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem.
delegate_taskwithtarget.environmentIdfails when that environment has no project for the repository:(RemoteDelegation.ts#L160-L188)
With several linked machines, projects drift: each machine has a different subset. A lead agent that spreads work across machines either hits this error or has to run clone + create first, per machine and per repository.
Idea. An opt-in on the target, for example
target.provisionProject: true. When the repository has no project there, the delegation clones it and creates the project on that environment, then continues. Alternatively, one tool that does clone + create in a single call.Open questions
Related: #30265, #26527. Observed on t3 v0.1.8-nightly.20261106.4247.
All reactions