Add compose commands#51
Conversation
|
Firetiger deploy monitoring skipped This PR didn't match the auto-monitor filter configured on your GitHub connection:
Reason: PR adds compose commands to the CLI tool, not changes to API endpoints (packages/api/cmd/api/) or Temporal workflows (packages/api/lib/temporal). To monitor this PR anyway, reply with |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8b77da2. Configure here.

Summary
hypeman compose plan,hypeman compose up, andhypeman compose downTesting
go test ./..../scripts/lint./scripts/buildNote
Medium Risk
Introduces new resource-reconciling commands that create/replace/delete instances, ingresses, and images based on hashed specs; mistakes could impact running infrastructure if tags/naming collide or replacement behavior is misunderstood.
Overview
Adds a new
hypeman composecommand group (plan,up,down) that applies a v1 YAML workload file by rendering desired images/instances/ingresses, diffing against existing resources, and executing create/replace/delete actions.The implementation tags managed instances/ingresses with compose ownership metadata plus a rendered-spec hash to make re-applies idempotent, block unmanaged name conflicts, and require an explicit
--replacefor immutable changes;upcan optionally wait for instances to reachRunning.Updates documentation to introduce Compose usage and adds an OTel collector example, and bumps the
hypeman-goSDK dependency (plusyaml.v3) to support the new params and YAML parsing.Reviewed by Cursor Bugbot for commit 8b77da2. Bugbot is set up for automated code reviews on this repo. Configure here.