Skip to content

feat(oabctl): fix bootstrap, create, apply, and exec commands#1160

Open
chaodu-agent wants to merge 23 commits into
mainfrom
fix/bootstrap-sg-description
Open

feat(oabctl): fix bootstrap, create, apply, and exec commands#1160
chaodu-agent wants to merge 23 commits into
mainfrom
fix/bootstrap-sg-description

Conversation

@chaodu-agent

@chaodu-agent chaodu-agent commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

Multiple fixes and improvements to oabctl CLI:

Bootstrap

  • Fix non-ASCII em dash in SG description (AWS rejects non-ASCII)

Create (oabctl create)

  • Use GHCR image URIs (ghcr.io/openabdev/openab*) instead of ECR
  • Add all backends: kiro, claude, codex, gemini, copilot, opencode, hermes, grok, cursor, mimocode, antigravity
  • Add CPU/memory sizing selection with Fargate-valid combinations
  • Always create dedicated SG per agent (no selection prompt)
  • Reuse existing SG if duplicate name exists

Apply (oabctl apply)

  • Inject config.toml as base64 env var (CONFIG_B64) — no aws CLI needed in container
  • Add awslogs log configuration to container definition
  • Add execution role and task role ARNs to task definition
  • Enable ECS Exec on service create/update
  • Use ecsctl's wait_for_stable (better progress output, no 5-min timeout)

Exec (oabctl exec)

  • Resolve agent name directly from ECS (no ecsctl alias dependency)
  • oabctl exec kiro-demo -- bash finds running task automatically

Other

  • Default --cluster to oab for get/delete commands
  • Add Rust build cache to CI workflow

Build

gh workflow run build-oabctl.yml --ref fix/bootstrap-sg-description -f target=macos-arm64

@chaodu-agent chaodu-agent requested a review from thepagent as a code owner June 20, 2026 01:59
@chaodu-agent chaodu-agent force-pushed the fix/bootstrap-sg-description branch from 30d4d48 to 23dce45 Compare June 20, 2026 03:14
@chaodu-agent chaodu-agent changed the title fix(bootstrap): replace em dash with ASCII in SG description feat(oabctl): fix bootstrap, create, apply, and exec commands Jun 20, 2026
@chaodu-agent

This comment has been minimized.

- F1: SG creation now matches InvalidGroup.Duplicate specifically, propagates other errors
- F2: CONFIG_B64 size check (8KB limit) with clear error message
- F3: IAM role pre-flight validation before register_task_definition
- F4: Replace too_many_arguments with ManifestParams struct
@chaodu-agent

This comment has been minimized.

@chaodu-agent

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant