Conversation
Bash script that exercises the full droplet lifecycle: create (no Tailscale), verify SSH config, run commands over SSH, destroy, and verify cleanup. Designed for CI reuse with env-var overrides and trap-based cleanup on failure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Runs the lifecycle test every Monday at 06:00 UTC (also manually triggerable via workflow_dispatch). Uses the smallest droplet size to minimize cost. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The zsh PROMPT string contains `%` sequences that Jinja2 interprets
as template syntax. Wrap in {% raw %}...{% endraw %} to preserve
the literal prompt definition.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add E2E test requirement to critical rules, document the test in both CLAUDE.md and README.md development sections, and add a `make e2e` target. Fix help grep pattern to include digits so `e2e` appears. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/e2e/test_lifecycle.sh) that exercises the full create → SSH → destroy workflow against a real DigitalOcean droplet.github/workflows/e2e.yml) to run the E2E test on a schedulePROMPTin the cloud-init templatemake e2etargetTest plan
shellcheck tests/e2e/test_lifecycle.sh— passes with only informational notesmake help—e2etarget appears in output./tests/e2e/test_lifecycle.shlocally with valid config — full lifecycle completes🤖 Generated with Claude Code