Feature/add agent project support#213
Conversation
|
@nathaniel-itential @jennlu330 Duplicate of #209 - which was already merged and completed approx. 50% of the changes in this PR. Can you resubmit this PR with the below diff that #209 didn't cover?
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
f4e044c to
022f228
Compare
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
@jennlu330 @nathaniel-itential Everything looks good overall. Build and full test suite pass locally, no conflicts, and the new create/delete/copy/clear commands work as expected. One issue to fix before I merge: The agent project handler is now registered twice in internal/handlers/handlers.go. PR #209 already added NewAgentProjectHandler(rt, descriptors) under the "Flow Agent handlers" section (around line 145), and this PR adds it again under "Automation Studio handlers" (line 108). The result is that every agent-project command shows up twice in the help output: Agent Project Commands: This hits all the verbs (get, describe, create, delete, copy, clear, import, export). Execution still works since Cobra dispatches to the first match, but the help text is visibly broken. Since your PR groups agent projects under their own section now, removing the old registration at line 145 is the right fix. One nit, non-blocking: the new test fixture is under testdata/2023.2/agent-projects/ while the existing agent project fixtures live in agent-project-service/. Might be worth consolidating for consistency. Fix the duplicate registration and I'll merge. |
|
Will do! |
…ate fixtures Removes the duplicate NewAgentProjectHandler registration under Automation Studio handlers (already registered under Flow Agent handlers by PR itential#209). Moves create.success.json fixture into agent-project-service/ alongside existing fixtures and removes the now-empty agent-projects/ directory. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Description
Adds agent project support. Needed for asset promotion with the launch of FlowAI.
Type of Change
Changes Made
Added a resource, service, handler, and runner for agent project support. Added required tests and configured agent projects in ipctl setup as dictated by the contributing doc.
Testing
Ran created service tests and tested against live uat environment.
Checklist
make setupor relevant profiletype: subject)enhancement,bug,documentation,refactor,chore)