Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/pin-workerd-latest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"miniflare": patch
"wrangler": patch
---

Update dependencies of "miniflare", "wrangler"

The following dependency versions have been updated:

| Dependency | From | To |
| ------------------------- | ------------ | ------------ |
| workerd | 1.20260305.0 | 1.20260226.1 |
| @cloudflare/workers-types | 4.20260305.0 | 4.20260226.1 |
5 changes: 5 additions & 0 deletions .changeset/remove-chalk-create-cloudflare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-cloudflare": patch
---

Remove unused `chalk` dependency from create-cloudflare.
5 changes: 5 additions & 0 deletions .changeset/rude-ends-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wrangler": patch
---

Fix `wrangler pipelines setup` failing for Data Catalog sinks on new buckets by using the correct R2 Catalog API error code (`40401`).
37 changes: 0 additions & 37 deletions .github/workflows/bonk.yml

This file was deleted.

52 changes: 33 additions & 19 deletions .github/workflows/changeset-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,18 @@ jobs:
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Checkout PR branch
- name: Checkout changesets
uses: actions/checkout@v4
with:
fetch-depth: 0
sparse-checkout: |
.changeset
.github/opencode.json

- name: Install OpenCode
run: |
npm install -g opencode-ai
cp .github/opencode.json ./opencode.json

- name: Get changed changeset files
id: changed-changesets
Expand All @@ -36,39 +44,45 @@ jobs:
# Recover deleted files so Claude can read them (needed for Version Packages PRs)
recover_deleted_files: ${{ github.event.pull_request.title == 'Version Packages' }}

- name: Review Changesets with Claude
id: claude-review
- name: Review Changesets with OpenCode
id: opencode-review
# Run for Version Packages PRs (which delete changesets) or regular PRs with new changesets
if: github.event.pull_request.title == 'Version Packages' || steps.changed-changesets.outputs.added_files_count > 0
uses: anthropics/claude-code-action@v1.0.22
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
allowed_bots: "devin-ai-integration[bot]"
use_sticky_comment: true
track_progress: true
prompt: |
Review the changeset files in this PR.
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_AI_GATEWAY_ACCOUNT_ID }}
CLOUDFLARE_GATEWAY_ID: ${{ secrets.CF_AI_GATEWAY_NAME }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_AI_GATEWAY_TOKEN }}
DELETED_FILES: ${{ steps.changed-changesets.outputs.deleted_files }}
ADDED_FILES: ${{ steps.changed-changesets.outputs.added_files }}
run: |
opencode run --print-logs \
"Review the changeset files in this PR.

For "Version Packages" PRs, review: ${{ steps.changed-changesets.outputs.deleted_files }}
For regular PRs, review: ${{ steps.changed-changesets.outputs.added_files }}
For \"Version Packages\" PRs, review: ${DELETED_FILES}
For regular PRs, review: ${ADDED_FILES}

Read `.changeset/README.md` for guidelines, then validate:
Read \`.changeset/README.md\` for guidelines, then validate:
1. **Version Type**: Accept the author's choice of patch/minor unless clearly incorrect
2. **Changelog Quality**: Meaningful descriptions (examples encouraged but not required for features)
3. **Markdown Headers**: No h1/h2/h3 headers (breaks changelog formatting)
4. **Analytics**: If the change collects more analytics, it should be a minor even though there is no user-visible change
5. **Dependabot**: Do not validate dependency update changesets for create-cloudflare
6. **Experimental features**: Changesets for experimental features should include note on how users can opt in.

If all changesets pass, just output "✅ All changesets look good" - no need for a detailed checklist.
If all changesets pass, just output \"✅ All changesets look good\" - no need for a detailed checklist.

Do not review other files, only the changesets. This is specifically a changeset review action.

If there are issues, output "⚠️ Issues found" followed by the specific problems.
If there are issues, output \"⚠️ Issues found\" followed by the specific problems.

Write your review to changeset-review.md."

If the user has attached an image, use the Read tool to view it. If and only if it's a cute animal, include in your comment a short cuteness report in the style of WeRateDogs (e.g., "This is Barkley. He's wearing a tiny hat and doesn't know why. 13/10"). If it's not an animal, silently ignore the image. If there is more than one image, check each one to find an animal. If you do not find an animal, do not include any reference to a cuteness report.
claude_args: |
--allowedTools "Read,Glob,Grep"
- name: Post review comment
if: steps.opencode-review.outcome == 'success'
uses: marocchino/sticky-pull-request-comment@v2
with:
header: changeset-review
path: changeset-review.md

- name: Skip notice
if: github.event.pull_request.title != 'Version Packages' && steps.changed-changesets.outputs.added_files_count == 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { detectPackageManager } from "../../../src/helpers/packageManagers";
import {
CLOUDFLARE_API_TOKEN,
frameworkToTestFilter,
isExperimental,
keys,
Expand Down Expand Up @@ -985,6 +986,9 @@ function getExperimentalFrameworkTestConfig(
testCommitMessage: true,
unsupportedOSs: ["win32"],
unsupportedPms: ["npm", "yarn"],
// this test creates an R2 bucket, so it requires a Cloudflare API token
// and needs to be skipped on forks
quarantine: !CLOUDFLARE_API_TOKEN,
verifyDeploy: {
route: "/",
expectedText: "Generated by create next app",
Expand Down
1 change: 0 additions & 1 deletion packages/create-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"@types/semver": "^7.5.1",
"@types/which-pm-runs": "^1.0.0",
"@types/yargs": "^17.0.22",
"chalk": "^5.2.0",
"command-exists": "^1.2.9",
"comment-json": "^4.5.0",
"cross-spawn": "^7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/miniflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@cspotcode/source-map-support": "0.8.1",
"sharp": "^0.34.5",
"undici": "catalog:default",
"workerd": "1.20260305.0",
"workerd": "1.20260226.1",
"ws": "catalog:default",
"youch": "4.1.0-beta.10"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"miniflare": "workspace:*",
"path-to-regexp": "6.3.0",
"unenv": "2.0.0-rc.24",
"workerd": "1.20260305.0"
"workerd": "1.20260226.1"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.721.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/src/__tests__/pipelines-setup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ describe("wrangler pipelines setup", () => {
if (!exists) {
return HttpResponse.json(
createFetchResult(null, false, [
{ code: 10006, message: "catalog not found" },
{ code: 40401, message: "Warehouse not found" },
]),
{ status: 404 }
);
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/src/pipelines/cli/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function ensureCatalogEnabled(
const catalog = await getR2Catalog(config, accountId, bucketName);
catalogEnabled = catalog.status === "active";
} catch (err) {
if (err instanceof APIError && err.code === 10006) {
if (err instanceof APIError && err.code === 40401) {
// Catalog not enabled yet
} else {
throw err;
Expand Down
62 changes: 30 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading