Skip to content

Document Agent Configs openapi dependency (MARSOHS-741) - #708

Open
nveerdixit wants to merge 3 commits into
digitalocean:OHS_endpointsfrom
nveerdixit:MARSOHS-741-agent-configs
Open

Document Agent Configs openapi dependency (MARSOHS-741)#708
nveerdixit wants to merge 3 commits into
digitalocean:OHS_endpointsfrom
nveerdixit:MARSOHS-741-agent-configs

Conversation

@nveerdixit

Copy link
Copy Markdown

Summary

  • Add skipped mocked tests for Hosted Agents /v2/agents/configs (list/get/create/delete/sessions)
  • Point DO_OPENAPI_COMMIT_SHA.txt at openapi#1213 (867b2e7)
  • No Autorest regen in this PR — waits on openapi publish / make generate

Test plan

  • Tests skip until Client.agents.list_configs exists (same pattern as MARSOHS-551 sessions placeholder)
  • After openapi#1213 lands: regen via workflow or SPEC_FILE=... make generate, then unskip/extend tests

Notes

  • Stacks on Hosted Agents Origin pydo placeholder (MARSOHS-551)
  • Clone / search deferred (739 / MARSOHS-774)

Made with Cursor

@nveerdixit

Copy link
Copy Markdown
Author

Local test evidence (MARSOHS-741)

pydo Autorest regen is blocked until openapi#1213 publishes; this PR documents the openapi commit pointer + mocked test stub.

Validated the underlying /v2/agents/configs* API against local harness-api http://127.0.0.1:8080 (same contract pydo will generate from):

GET/POST /v2/agents/configs → 200/201
GET/DELETE /v2/agents/configs/{id} → 200/204 (then 404)
GET /v2/agents/configs/{id}/sessions → 200

Related:

nveerdixit and others added 2 commits August 17, 2026 12:27
Update DO_OPENAPI_COMMIT_SHA to openapi#1207 (1835a59). Full Autorest
regen is deferred; add skipped mocked test stubs documenting the
sessions Origin surface until clientgen can run.
Add skipped mocked tests for /v2/agents/configs and point DO_OPENAPI_COMMIT_SHA at openapi#1213 tip. Autorest regen is blocked until that PR publishes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@nveerdixit
nveerdixit force-pushed the MARSOHS-741-agent-configs branch from 2391bb1 to de8154f Compare August 17, 2026 07:02
@nveerdixit
nveerdixit changed the base branch from main to OHS_endpoints August 18, 2026 09:29
Credential slots carry configured, and manifest advisories come back on
create only: a get re-reads the same manifest but omits them, so the
create fixture is now separate from the get fixture.

Keep DO_OPENAPI_COMMIT_SHA.txt on the published spec: the Agent Configs
openapi change is on hold, and pointing clientgen at an unmerged commit
would break regeneration for everyone.
@nveerdixit
nveerdixit force-pushed the MARSOHS-741-agent-configs branch from 25532d9 to 26125d1 Compare August 18, 2026 10:38
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