Skip to content

feat: auto-discover stack in bucket add#22

Merged
drernie merged 3 commits intomainfrom
feat/auto-discover-stack
Apr 7, 2026
Merged

feat: auto-discover stack in bucket add#22
drernie merged 3 commits intomainfrom
feat/auto-discover-stack

Conversation

@drernie
Copy link
Copy Markdown
Member

@drernie drernie commented Apr 7, 2026

Summary

  • bucket add now auto-discovers the CloudFormation stack when no cached metadata exists, removing the need to run quiltx stack first
  • If the user is already logged in (quilt3 configured), _ensure_stack_payload() calls find_matching_stack() inline and caches the result

Context

When documenting quiltx bucket add in quiltdata/quilt#4803, we realized there's no good reason to require quiltx stack as a prerequisite — if the user has quilt3 configured, we already have the navigator_url and can discover the stack dynamically.

Test plan

  • Updated test_add_no_stack_cachetest_add_no_stack_cache_auto_discovers to verify auto-discovery
  • All 30 bucket tests pass

🤖 Generated with Claude Code

drernie and others added 3 commits April 6, 2026 19:16
Instead of requiring users to run `quiltx stack` before `bucket add`,
auto-discover and cache the CloudFormation stack metadata on first use.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@drernie drernie merged commit 6b99c02 into main Apr 7, 2026
1 check passed
@drernie drernie deleted the feat/auto-discover-stack branch April 7, 2026 15:47
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