Description
Full flow integration test covering the complete lifecycle.
Test Flow
- Simulate App installation webhook → installation record created
- Simulate push with
.krakenkey.yml → config parsed, reconciliation triggered
- Reconciler requests cert via mocked ACME service → cert issued
- Deploy to mocked GitHub Secrets API → secret set
- Check run posted to mocked GitHub API → verified
- Simulate second push with no config change → reconciliation skipped (SHA match)
- Simulate push with cert approaching expiry → renewal triggered
- Simulate PR with invalid config → failing check run
Acceptance Criteria
Description
Full flow integration test covering the complete lifecycle.
Test Flow
.krakenkey.yml→ config parsed, reconciliation triggeredAcceptance Criteria