feat: expose Step Functions executions to automation - #368
YoungJinJung wants to merge 1 commit into
Conversation
- Add a read-only failure-first execution JSON command and MCP tool. - Report the 200-execution cap and document the stable contract.
|
Warning Review limit reachedNext included review available in 30 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (9)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
This PR successfully exposes Step Functions executions through the CLI and MCP interface with consistent patterns and comprehensive test coverage. The implementation follows existing conventions for resource queries, properly handles error cases, and includes appropriate pagination warnings. The failure-first triage ordering and 200-execution limit are clearly documented and tested.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
YoungJinJung
left a comment
There was a problem hiding this comment.
Reviewed head f79d9cb. I read the complete nine-file diff, tests, issue context, CI, prior reviews, comments, and inline discussion. The bounded 200-execution query, stable failure-first ordering, conservative cap signal, UTC serialization, CLI/MCP wiring, permissions, and documentation are aligned; no actionable concerns remain. Local validation passed: make test, make build, schema inspection, and git diff --check. Approval and merge remain for an independent reviewer because this GitHub identity authored the PR.
youngjinjung-linq
left a comment
There was a problem hiding this comment.
Reviewed head f79d9cb. I read the complete nine-file diff, tests, CI, issue context, prior reviews, comments, and inline discussion. The bounded Step Functions query, stable failure-first contract, conservative cap signal, UTC serialization, CLI/MCP wiring, permissions, and documentation are aligned; no actionable concerns remain. Local validation passed: targeted tests, make test, make build, schema inspection, and git diff --check.
Summary
unic resources step-function-executions --state-machine <arn> --jsonusing the existing failure-first execution ordering.list_step_function_executionsover MCP with strict arguments andstates:ListExecutionsmetadata.Related Issues
Refs #360
Validation
go test ./internal/cli ./internal/mcp ./internal/services/aws -run "TestStepFunction|TestCatalogFeaturesHaveAgentSurfaceDecision|TestReadOnlyOperation|TestMCPCapabilities" -count=1make testmake buildgit diff --check./unic schema resources step-function-executions --jsonChecklist
docs/branch-naming-harness.mddocs/documentation-harness.md)docs/pages updated if architecture, auth, config, or workflow changed