Skip to content

fix: pre-seed ~/.secrets in VM to skip interactive gh auth login#18

Merged
amcheste merged 1 commit intomainfrom
fix/vm-credentials-noninteractive
Mar 29, 2026
Merged

fix: pre-seed ~/.secrets in VM to skip interactive gh auth login#18
amcheste merged 1 commit intomainfrom
fix/vm-credentials-noninteractive

Conversation

@amcheste
Copy link
Copy Markdown
Owner

Summary

  • The VM acceptance test was blocking at gh auth login because setup.sh calls setup-credentials.sh whenever ~/.secrets is absent (always true in a fresh VM).
  • This PR pre-seeds ~/.secrets with placeholder values before running setup.sh, so the credentials check passes and the interactive wizard is skipped entirely.
  • The placeholders satisfy the grep -q 'ANTHROPIC_API_KEY="..*"' check in setup.sh:78 — all values are non-empty strings.

Test plan

  • Re-run scripts/vm-acceptance-test.sh locally — should now complete without blocking on gh auth login
  • Verify CI validate checks pass

🤖 Generated with Claude Code

setup.sh calls setup-credentials.sh (which blocks on gh auth login)
whenever ~/.secrets is absent. Pre-seeding placeholder values before
running setup.sh lets the VM acceptance test run fully unattended.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@amcheste amcheste merged commit 026a4de into main Mar 29, 2026
3 checks passed
@amcheste amcheste deleted the fix/vm-credentials-noninteractive branch March 29, 2026 21:59
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