Skip to content

ci(docs): validate Wrangler Pages runtime [Codex] - #1340

Merged
jderochervlk merged 6 commits into
masterfrom
ci/wrangler-pages-runtime-check
Sep 14, 2026
Merged

jderochervlk merged 6 commits into
masterfrom
ci/wrangler-pages-runtime-check

Conversation

@jderochervlk

@jderochervlk jderochervlk commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Updates Wrangler to 4.130.0 and adds a local dev-server smoke test to the pull-request workflow.

Why

A Wrangler update can require a newer compatibility_date than a stale project configuration provides. The resulting dev-server failure is reproducible in this workflow run.

CI scope

The Wrangler job compiles ReScript, then verifies that Wrangler can start the Docs Pages and Guide local dev servers and serve their static readiness endpoints. It intentionally does not exercise route-level application behavior, the complete React Router build, or Pages Functions; those are outside this startup check.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-13T17:41:44.281776Z 694b0f4 New commits
ℹ️ 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.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
guide 2d862e0 Commit Preview URL

Branch Preview URL
Sep 14 2026, 01:19 PM

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2baf473e2f

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

Comment thread .github/workflows/pull-request.yml Outdated
Comment thread .github/workflows/pull-request.yml Outdated
Comment thread .github/workflows/pull-request.yml Outdated
Pin the Docs compatibility date, wait for a successful Pages response, and align deployment workflows with the workspace Wrangler version.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 694b0f4b32

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

Comment thread .github/workflows/pull-request.yml Outdated
@github-actions

Copy link
Copy Markdown
Contributor

Guide Cloudflare deployment

⛅️ wrangler 4.130.0
────────────────────
🌀 Building list of assets...
✨ Read 16 files from the assets directory /home/runner/work/rescript-lang.org/rescript-lang.org/apps/guide/build/client
🌀 Starting asset upload...
No updated asset files to upload. Proceeding with deployment...
Total Upload: 0.31 KiB / gzip: 0.22 KiB
Worker Startup Time: 0 ms
Uploaded guide (4.51 sec)
Worker Version ID: 87ba6fc6-4704-49e7-a2d3-cb18e92b32ac
Version Preview URL: https://87ba6fc6-guide.rescript.workers.dev
Version Preview Alias URL: https://ci-wrangler-pages-runtime-ch-guide.rescript.workers.dev

To deploy this version to production traffic use the command wrangler versions deploy

Changes to non-versioned settings (config properties 'logpush' or 'tail_consumers') take effect after your next deployment using the command wrangler versions deploy

Changes to triggers (routes, custom domains, cron schedules, etc) must be applied with the command wrangler triggers deploy

@github-actions

Copy link
Copy Markdown
Contributor

Cloudflare deployment

Deployement ID: 2b859d89-8f57-4a1c-bae1-290f9841e7df
Deployment Environment: preview

⛅️ wrangler 4.130.0
────────────────────
✨ Compiled Worker successfully
Uploading... (8768/8770)
Uploading... (8769/8770)
Uploading... (8770/8770)
✨ Success! Uploaded 2 files (8768 already uploaded) (1.27 sec)

✨ Uploading _redirects
✨ Uploading Functions bundle
🌎 Deploying...
✨ Deployment complete! Take a peek over at https://2b859d89.rescript-lang.pages.dev
✨ Deployment alias URL: https://ci-wrangler-pages-runtime-ch.rescript-lang.pages.dev

@jderochervlk
jderochervlk enabled auto-merge (squash) September 14, 2026 13:37
@jderochervlk
jderochervlk merged commit c9a63ae into master Sep 14, 2026
10 checks passed
@jderochervlk
jderochervlk deleted the ci/wrangler-pages-runtime-check branch September 14, 2026 16:27
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.

2 participants