Skip to content

Prevent Lightsail SSH certificate expiry during deployments - #139

Open
crohr wants to merge 4 commits into
mainfrom
auto/fix-lightsail-ssh-expiry
Open

Prevent Lightsail SSH certificate expiry during deployments#139
crohr wants to merge 4 commits into
mainfrom
auto/fix-lightsail-ssh-expiry

Conversation

@crohr

@crohr crohr commented Aug 10, 2026

Copy link
Copy Markdown
Member

Summary

  • record the expiration returned with Lightsail SSH access details
  • replace expiring AWS credentials with a run-scoped Ed25519 key after initial SSH readiness
  • enforce a 12-hour server-side expiry and remove the key best-effort when deployment finishes
  • rebuild the bundled Linux amd64 action binary

Validation

  • make test
  • mise exec -- go test ./...
  • mise exec -- go test -race ./internal/pullpreview ./internal/providers/lightsail
  • mise exec -- go vet ./...
  • upx -t dist/pullpreview-linux-amd64
  • clean GPT-5.6-sol xhigh adversarial review

Closes #138

@crohr

crohr commented Aug 10, 2026

Copy link
Copy Markdown
Member Author

@codex review

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.

Lightsail SSH certificate expires during longer deployments

1 participant