Skip to content

Showcase previews block; drop minimumReleaseAge - #32

Merged
jgb-solutions merged 3 commits into
mainfrom
chore/showcase-previews-release-age
Dec 6, 2026
Merged

jgb-solutions merged 3 commits into
mainfrom
chore/showcase-previews-release-age

Conversation

@jgb-solutions

@jgb-solutions jgb-solutions commented Dec 6, 2026 •

Copy link
Copy Markdown
Owner

Config only, nothing in the published package.

  • Showcase branch builds. Every PR's "Workers Builds: kit-showcase" check failed in the deploy step (the build itself passed), for two reasons:

    1. wrangler preview refuses without a previews block. This PR adds an empty one to showcase/wrangler.jsonc.
    2. Even with the block, wrangler preview (an open beta) uploads _headers as a Worker module and fails with module with name '_headers' must have content type 'text/plain' [code: 10021]. This is a known upstream bug, wrangler preview fails with "module with name '_headers' must have content type 'text/plain'" cloudflare/workers-sdk#15791 (wrangler deploy and wrangler versions upload succeed with the same output).

    The fix for the second is in Cloudflare's Workers Builds settings, not in this repo. Set "Non-production branch deploy command" to bunx --bun wrangler@4.170.0 versions upload --config showcase/wrangler.jsonc, which also gives each branch its preview URL (preview_urls: true). This PR's README table records that command. This PR's own kit-showcase check stays red until that setting is changed and the build is retried.

  • bunfig.toml removed. Its only setting was minimumReleaseAge = "3d". Owner's rule of 2026-12-06: new package versions are used at once, the same change as in the starter (jgb-solutions/jgb-starter#184). The README's line on raising wrangler's pin drops "at least three days old". The lockfile doesn't change (bun install --frozen-lockfile).

Checks: bun install --frozen-lockfile and bun fmt --check; CI's check.

🤖 Generated with Claude Code

- showcase/wrangler.jsonc: an empty "previews" block. `wrangler preview`, which builds every
  branch except `showcase`, refuses to run without it, so every PR's kit-showcase check failed.
- bunfig.toml removed: its only setting was minimumReleaseAge = "3d". Owner's rule of 2026-12-06:
  new package versions are used at once, as in the starter (jgb-starter#184).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 6, 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
kit-showcase 6983964 Commit Preview URL

Branch Preview URL
Dec 06 2026, 06:14 AM

jgb-solutions and others added 2 commits December 6, 2026 01:07
wrangler preview (an open beta) uploads _headers as a Worker module and fails with code 10021
(cloudflare/workers-sdk#15791); versions upload deploys the same output and gives the preview URL.
The setting itself is in Cloudflare's Workers Builds settings; the README records it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…branch deploy command)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jgb-solutions
jgb-solutions merged commit 2d93735 into main Dec 6, 2026
3 checks passed
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