Repository navigation
Conversation
|
@codex review Please review exact head |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bdaff4923d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
💡 Codex Reviewsynapse/scripts/reconcile-uploads.ts Lines 8 to 11 in bdaff49 If ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review Please re-review exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4073162c27
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Please review exact head |
|
@codex review Please review exact head |
|
@codex review Please review exact head |
|
@codex review Final focused review request for exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b4edb4ab6a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Please review exact head |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f8de3ee318
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex address that feedback Address the one remaining unresolved review finding on |
|
To use Codex here, create an environment for this repo. |
|
@codex review Please review exact head |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 431d7da80c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
camster91
left a comment
There was a problem hiding this comment.
Fresh exact-head validation requested for f4dd3c9c1bbc833b314de13a7a76a846fdcd40c3. The latest cleanup-path finding is fixed: the maintenance connection now proves the exact idempotent ALTER DATABASE … ALLOW_CONNECTIONS true operation before any target freeze. Please verify no new recovery-safety findings across the unchanged five-file scope.
|
@codex review Please review exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f4dd3c9c1b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Please review exact head |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1f0877757c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const missingReferenced = [...referenced].filter( | ||
| (filename) => !regularFiles.has(filename) | ||
| ); |
There was a problem hiding this comment.
Quiesce uploads while creating the backup
When an attachment deletion overlaps npm run backup after pg_dump but before tar, stageFilesForDeletion can move the file into .trash while the dump still retains its attachment row; backup then exits successfully, but this new top-level completeness check rejects the resulting artifact as unrestorable. Fresh evidence beyond the prior comment is that the current code now detects the missing file during restore, exposing that the producer still certifies an archive its own restore workflow cannot accept. Quiesce upload mutations or coordinate/validate the database and filesystem snapshots before reporting backup success.
Useful? React with 👍 / 👎.


Purpose
Harden issue #29 backup/restore tooling so a later disposable runtime proof cannot succeed against the wrong upload tree, a contaminated database, unsafe schema metadata, a raced restore target, hidden prepared work, an incomplete upload archive, user-created objects hidden in system-named schemas, or an unrecoverable connection freeze.
Exact reviewed head
1f0877757c79e16ebdc0b91b68f1ecf8059449c3Final focused recovery contract
./uploads;pg_restore --clean;OPERATIONS.mdand contract tests pin these fail-closed boundaries.Scope
Exact base:
b45170409543684a75579a13d7bdd6d8f8ffe8e8.Effective diff remains exactly five recovery-focused files:
OPERATIONS.mdscripts/backup.shscripts/reconcile-uploads.tsscripts/restore-drill.shtests/backup-restore.test.tsNo deployment, production data, Docker host, DNS, email provider, billing, dependencies, migrations, product features, or CI workflow changes.
Exact-head verification
For
1f0877757c79e16ebdc0b91b68f1ecf8059449c3:CI Build / Buildfailed before executing workflow steps, consistent with the existing hosted-runner incident rather than an observed application/test failure.Approval boundary
This PR is ready for merge review, but merging remains a separate explicit owner approval. #29 external Docker/restore execution remains another separate action-time approval after merge and must bind to the resulting
mainSHA/image. This PR is correctness preparation only and is not runtime restore evidence.