Skip to content

Fi 687 godo environment - #1185

Merged
SSharma-10 merged 7 commits into
digitalocean:mainfrom
aguan-hue:fi-687-godo-environment-id
Oct 24, 2026
Merged

SSharma-10 merged 7 commits into
digitalocean:mainfrom
aguan-hue:fi-687-godo-environment-id

Conversation

@aguan-hue

Copy link
Copy Markdown
Contributor

Continues work from #1182.

Changes it so that godo passes both EnvironmentID and AgentID to the APIs instead of setting one to the other. In addition removes the mismatch check, API was changed to handle this case so godo should receive an error from the APIs it calls rather than checking in the client.

nhenning-do and others added 6 commits October 21, 2026 10:07
Accept agent_id or environment_id on request helpers, always send
agent_id on the wire, and decode both fields on responses.
Align consent/session path comments with the OpenAPI param name and lead dual-read mismatch errors with environment_id.
When neither AgentID nor EnvironmentID is set, nudge callers toward environment_id.
Resolve AgentID or EnvironmentID client-side, then emit environment_id so adoption metrics are not stuck on agent_id. Still accepts AgentID as a deprecated input alias.
@aguan-hue
aguan-hue marked this pull request as ready for review October 22, 2026 22:40

@kjlee27 kjlee27 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nhenning-do nhenning-do left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@SSharma-10
SSharma-10 merged commit 9ab5223 into digitalocean:main Oct 24, 2026
8 checks passed
@SSharma-10 SSharma-10 mentioned this pull request Oct 26, 2026
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.

4 participants

⌂ 换网址