Skip to content

chore: move to wrangler for deployments - #1026

Open
avivkeller wants to merge 3 commits into
mainfrom
wrangler
Open

avivkeller wants to merge 3 commits into
mainfrom
wrangler

Conversation

@avivkeller

@avivkeller avivkeller commented Aug 11, 2026 •

Copy link
Copy Markdown
Member

No description provided.

@avivkeller
avivkeller requested a review from a team as a code owner August 11, 2026 17:04
@vercel

vercel Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api-docs-tooling Error Error Sep 30, 2026 2:44pm UTC

Request Review

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Terminated ⛔

View logs ↗
3e32240 2026-09-30T15:02:55.083Z View logs ↗
  • Build: Failed ❌

View logs ↗
38d892f 2026-09-30T14:58:12.828Z View logs ↗
  • Build: Failed ❌

View logs ↗
d4c7114 2026-09-30T14:03:59.527Z View logs ↗
  • Build: Failed ❌

View logs ↗
df8c1cd 2026-08-11T17:22:41.799Z View logs ↗
  • Build: Failed ❌

View logs ↗
61cdc58 2026-08-11T17:18:02.665Z View logs ↗
  • Build: Failed ❌

View logs ↗
7e08199 2026-08-11T17:13:44.705Z View logs ↗
  • Build: Failed ❌

View logs ↗
5446a20 2026-08-11T17:11:52.947Z View logs ↗
  • Build: Failed ❌

View logs ↗
4b476f3 2026-08-11T17:09:40.368Z View logs ↗
  • Build: Failed ❌

View logs ↗
cc5b220 2026-08-11T17:06:22.524Z View logs ↗

@github-actions

This comment was marked as outdated.

@codecov

codecov Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.47%. Comparing base (932ca57) to head (3e32240).

Files with missing lines Patch % Lines
scripts/deployments/cloudflare.config.ts 0.00% 24 Missing ⚠️
scripts/deployments/wrangler.config.ts 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1026      +/-   ##
==========================================
- Coverage   92.60%   92.47%   -0.13%     
==========================================
  Files         244      246       +2     
  Lines       22998    23030      +32     
  Branches     2250     2250              
==========================================
  Hits        21297    21297              
- Misses       1692     1724      +32     
  Partials        9        9              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ovflowd

ovflowd commented Aug 18, 2026

Copy link
Copy Markdown
Member

@avivkeller could you add a PR description 🙇

@ovflowd ovflowd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@avivkeller I talked with some folks from Cloudflare, they asked us to try their new cf CLI instead of Wrangler -- can we give that a try?

@MattIPv4

Copy link
Copy Markdown
Member

@avivkeller I talked with some folks from Cloudflare, they asked us to try their new cf CLI instead of Wrangler -- can we give that a try?

Can we not do this? wrangler is a proven tool that we use for our other projects. cf is brand new and currently beta...

@ovflowd

ovflowd commented Sep 30, 2026

Copy link
Copy Markdown
Member

@avivkeller I talked with some folks from Cloudflare, they asked us to try their new cf CLI instead of Wrangler -- can we give that a try?

Can we not do this? wrangler is a proven tool that we use for our other projects. cf is brand new and currently beta...

Im fine either way, but they said the cf cli is much cleaner and we don't really need wrangler tho

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I suppose this is not needed anymore?

htmlHandling: 'auto-trailing-slash',
notFoundHandling: '404-page',
},
domains: [mode === 'beta' ? 'beta.docs.nodejs.org' : 'doc-kit.nodejs.org'],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

instead of mode, can simply allow the domain be passed via process.env?

@ovflowd

ovflowd commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

@avivkeller let me update the CLI command to CF on Cloudflare Dashboard for the Preview Deployments -- Ill do that once this PR is ready, to test that out tho.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this mean the repo root would be /scripts/deployments? Shouldn't we... hmmm, have deployments be apps? like we have on nodejs.org repo?

@MattIPv4

Copy link
Copy Markdown
Member

Im fine either way, but they said the cf cli is much cleaner and we don't really need wrangler tho

That's fair, but I'd rather wait until it is stable and proven before we switch over to it. And when we do switch, I'd like to switch all our projects at once, so folks aren't having to maintain the mental overhead of two different toolchains depending on which project you're working on.

@avivkeller

Copy link
Copy Markdown
Member Author

I'm indifferent to which one we use, but it's worth noting that doc-kit is kind of a testing playground, so I'm not super concerned with using a beta tool

This branch had an error being deployed

1 failed deployment
Preview – api-docs-tooling — 3e32240a Deployed Sep 30, 2026 by vercel[bot]
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.

3 participants