Repository navigation
fix: expose project agentId through the managed-agents proxy - #847
Closed
devin-ai-integration[bot] wants to merge 2 commits into
Closed
devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
The CLI's project binding (oc link) reads agentId — the canonical primary-agent id — from project responses. publicProject dropped the field, so 'link --create-project' could never bind a fresh project. Co-Authored-By: Mohamed <mo@digger.dev>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Co-Authored-By: Mohamed <mo@digger.dev>
Contributor
Author
|
Closing — this fix was landed independently on main as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
publicProjectin the managed-agents proxy droppedagentId— the canonical primary-agent id the CLI reads from project responses. Since the binding fix (4259909),opencomputer link --projectandlink --create-projectresolveproject.agentIdthrough this endpoint; with the field stripped, binding a checkout to any project fails withProject <name> has no primary agent to bind.Fresh projects hit this unconditionally: the project exists (create succeeded) but can never be bound.Repro:
opencomputer login→opencomputer link --create-project foo→ CLI creates the project, then fails atbindingForbecauseagentIdis undefined.The proxy already reads
agentIdfrom the upstream project to synthesize theagentslist — it just never returned it. This adds...(agentId ? { agentId } : {})to the public shape and updates the project-proxy test to expect the field.Verified end-to-end: deployed to a dev api-edge,
link --create-project→deploy→session createnow completes on a fresh example.Link to Devin session: https://app.devin.ai/sessions/1fba978da01b46b0b064847b00455303
Open in Devin Desktop: https://app.devin.ai/desktop/session/1fba978da01b46b0b064847b00455303?variant=devin
Requested by: @motatoes
Polylane reviews this pull request when you ask: