Repository navigation
Enable disaster-recovery backups: multi-store exporter, Access-gated DR UI, one-button restore #904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
dd6ad4d
feat(dr): production-side exporter, StorageRunner import, dr-restore …
cursoragent 00c05ab
feat(dr): control-plane Access-gated UI, sealing, drill, graduated pr…
cursoragent 50f736b
docs(dr): solo-operator runbook rewrite, trust registries, real DR id…
cursoragent 664fbc6
test(dr): pin reviewed restore identities in trust registry guardrail
cursoragent e439087
docs(dr): extend backup-control-plane primitive roots for exporter an…
cursoragent c5c9c97
feat(dr): pin live manifest verifying key and registry entries
cursoragent c3e1c31
fix(dr): render absent verification states as muted dashes on dashboard
cursoragent 75bb891
fix(dr): harden restore, sealing, auth, and exporter per independent …
cursoragent cfd2d16
test(dr): silence expected error logs under repo console-spy harness
cursoragent 972963f
style: format primitives.yaml
cursoragent 87cb09c
fix(dr): match live D1 export polling semantics (fast completion, exp…
cursoragent 26309ab
fix(dr): use crypto.DigestStream (Workers runtime) and surface stream…
cursoragent 1c0d565
Merge main; fix preview.yml formatting from #903
cursoragent 1065d07
fix(dr): verify every sealed blob, strict D1 import completion, align…
cursoragent 5fd03b4
fix(dr): CodeRabbit review — JWKS timeout, dump checksum verify, resu…
cursoragent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: DR secret escrow | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| seal-escrow: | ||
| name: Seal SECRET_STORE_KEY into DR backup bucket | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 26 | ||
| cache: npm | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Seal and upload escrow blob | ||
| env: | ||
| ESCROW_SECRET_VALUE: ${{ secrets.SECRET_STORE_KEY }} | ||
| ESCROW_PASSPHRASE: ${{ secrets.SECRET_ESCROW_PASSPHRASE }} | ||
| ESCROW_LABEL: secret-store-key | ||
| DR_BACKUP_ACCOUNT_ID: ${{ secrets.DR_BACKUP_ACCOUNT_ID }} | ||
| DR_BACKUP_BUCKET_NAME: ${{ secrets.DR_BACKUP_BUCKET_NAME }} | ||
| DR_BACKUP_ACCESS_KEY_ID: ${{ secrets.DR_BACKUP_ACCESS_KEY_ID }} | ||
| DR_BACKUP_SECRET_ACCESS_KEY: | ||
| ${{ secrets.DR_BACKUP_SECRET_ACCESS_KEY }} | ||
| run: node tools/disaster-recovery/seal-escrow.ts | ||
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.