Skip to content

Refresh the staging API from main - #321

Merged
admdly merged 8 commits into
mainfrom
codex/automatic-staging-api
Nov 14, 2026
Merged

admdly merged 8 commits into
mainfrom
codex/automatic-staging-api

Conversation

@admdly

@admdly admdly commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Deploy the named staging Preview from each validated main build. Reuse the artifact and isolated staging migration bindings, serialize writes with other Preview migrations, then check the public extensions endpoint. Production deployment remains independent and packaging stays disabled.

Use the directory's named staging Preview at https://staging-extensions.fossbilling.workers.dev for HTTP cache invalidation. Keep transport selection in the Cloudflare adapter and retain the production service binding. Preview resources no longer require a separate frontend Worker.

Use GitHub's documented queue: max on migration/staging jobs so concurrent branches cannot replace a pending staging deployment.

Retain the old frontend Worker and the unused resource variable key until this merges, because existing API main/older branch deployments still reference them; then remove those remaining references and retire the Worker.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 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
🔒 Security Review ✅ Completed 2026-11-14T11:33:50.490274Z 61d3718 PR opened
ℹ️ 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.

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Deploying Preview to Cloudflare (api)

Preview URL: https://codex-automatic-staging-api-api.fossbilling.workers.dev/ (commit 7c7e776)

This URL reflects your latest successful Preview deployment.

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) Details
Build: Success ✅
Deployment: Success ✅
https://d20e8b2f-api.fossbilling.workers.dev/ 7c7e776 2026-11-14T15:55:58.285Z View logs ↗
Build: Success ✅
Deployment: Success ✅
https://660320f3-api.fossbilling.workers.dev/ cb55b31 2026-11-14T15:47:26.977Z View logs ↗
Build: Success ✅
Deployment: Success ✅
https://9bcb0822-api.fossbilling.workers.dev/ ea6c5e7 2026-11-14T15:39:52.704Z View logs ↗
Build: Success ✅
Deployment: Success ✅
https://425b45dc-api.fossbilling.workers.dev/ 1e35e89 2026-11-14T15:09:27.310Z View logs ↗
Build: Success ✅
Deployment: Success ✅
https://7d8559a5-api.fossbilling.workers.dev/ cea22a3 2026-11-14T14:28:55.654Z View logs ↗
Build: Success ✅
Deployment: Success ✅
https://9e2ff5d1-api.fossbilling.workers.dev/ 17bc615 2026-11-14T11:47:20.899Z View logs ↗
Build: Success ✅
Deployment: Success ✅
https://40c909e7-api.fossbilling.workers.dev/ 5df5046 2026-11-14T11:38:35.673Z View logs ↗
Build: Success ✅
Deployment: Success ✅
https://252436f8-api.fossbilling.workers.dev/ 61d3718 2026-11-14T11:33:09.536Z View logs ↗

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread .github/workflows/ci.yml Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 1 file (changes from recent commits).

Requires human review: Adds an automated CI job that applies D1 migrations to the staging/Preview environment and deploys the staging Worker on every push to main, plus README documentation.

Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 1 file (changes from recent commits).

Requires human review: Automates staging Preview migrations and deployment on every main push; queue: max only serializes concurrent runs and does not change the operational policy.

Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 1 file (changes from recent commits).

Requires human review: Adds a staging CI job that applies remote D1 migrations and deploys the public staging API Preview on every main push; queue:max only serializes pending runs, so the deployment policy change still needs human sign-off.

Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 6 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread services/api/README.md Resolved
@admdly admdly self-assigned this Nov 14, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 2 files (changes from recent commits).

Requires human review: Adds a staging CI job deploying the API Preview and applying remote D1 migrations on every main push, and switches Preview revalidation from a service binding to HTTP; both are operational/deployment policy decisions needing human sign-off.

Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 2 files (changes from recent commits).

Requires human review: Adds automatic staging Preview deployments with remote D1 migrations on every main push and switches Preview revalidation from a service binding to HTTP; both are operational and security decisions needing human sign-off.

Turn on auto-fix | Re-trigger cubic

@admdly
admdly merged commit 1dee741 into main Nov 14, 2026
25 checks passed
@admdly
admdly deleted the codex/automatic-staging-api branch November 14, 2026 15:59
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