Skip to content

Recover outstanding dev and TestFlight releases overnight - #385

Merged
n0rpan merged 5 commits into
mainfrom
ci/nightly-release-recovery
Dec 3, 2026
Merged

n0rpan merged 5 commits into
mainfrom
ci/nightly-release-recovery

Conversation

@n0rpan

@n0rpan n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

First step of the CI/release split

Normal main deliveries stay in place. At 00:17 and 03:17 UTC, a separate workflow checks whether main CI is idle and hands an exact main SHA to the existing release workflow. That run uses the existing verified dev/TestFlight positions and in-flight TestFlight receipts. It skips work that's already covered. A stale request does no release work, and a manual dry run does not dispatch CI.

This does not reduce the merge-group matrix, publish to Google Play, change signing credentials, or authorize automatic code fixes. Google Play needs a verified internal-track upload and delivery marker after the bundle work in #352. After the recovery path is verified, scope the merge gate without weakening platform-sensitive checks. Keep deterministic failure triage and repair PRs separate from automatic infrastructure retries.

Validation

  • Seven delivery unit tests passed, including dev-only, TestFlight-only, pending receipt and no-op recovery cases.
  • Both YAML files parsed; Bash syntax and a simulated GitHub CLI run verified idle dispatch, busy deferral, stale SHA, dry run and missing status handling.
  • No production dispatch or signing was triggered from this branch. After merge, rehearse the dispatcher in dry-run mode, check a no-op with current markers, and monitor the first actual recovery through existing publication and verification jobs.

Coordination

#362 renames the delivery helper and its tests to app/ci/, and #382 touches the CI workflow. Reconcile with the newest main before merging; keep the native/browser split and run the relocated delivery tests if #362 lands first.

@n0rpan
n0rpan marked this pull request as ready for review December 3, 2026 15:15
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T19:05:20.890477Z 3573217 Draft marked ready
🔒 Security Review ✅ Completed 2026-12-03T19:06:34.481849Z 3573217 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/queue e0a27c5

@n0rpan

n0rpan commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator Author

In line to merge. Commit 3573217 is reviewed with nothing blocking; it has entered the merge queue.

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/queue 3573217

@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

@codex security review

Asked for by the maintainer’s queue request, for commit 3573217.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 3573217b80

ℹ️ 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".

@n0rpan
n0rpan added this pull request to the merge queue Dec 3, 2026

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

@codex security review

The earlier request got a code review of 3573217, but the security review entry still names the previous head. Please run the security review for the current head 3573217.

@n0rpan
n0rpan removed this pull request from the merge queue due to a manual request Dec 3, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 3573217b80

ℹ️ 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".

@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/queue 3573217

@n0rpan
n0rpan marked this pull request as draft December 3, 2026 19:04
@n0rpan
n0rpan marked this pull request as ready for review December 3, 2026 19:04
@n0rpan
n0rpan added this pull request to the merge queue Dec 3, 2026
@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

I tested your recovery head 3573217 together with #389 at b5d3ed4. The shared caller keeps the exact-SHA/stale distinction and retains manual dev/TestFlight behavior. Android follows the planner on both dispatch paths. All 82 combined CI helper tests passed. #389 leaves your nightly scheduler here. I am watching the landing order and will reconcile the caller and tests on #389 if your change lands first.

Merged via the queue into main with commit 92633cf Dec 3, 2026
28 checks passed
@n0rpan
n0rpan deleted the ci/nightly-release-recovery branch December 3, 2026 20:47
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.

1 participant