Skip to content

fix(pack): verify AVIF showcase sources in starlight tarball - #1

Merged
newbe36524 merged 1 commit into
mainfrom
fix/verify-pack-avif-showcase
Nov 25, 2026
Merged

newbe36524 merged 1 commit into
mainfrom
fix/verify-pack-avif-showcase

Conversation

@newbe36524

@newbe36524 newbe36524 commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • scripts/verify-pack.mjs still listed the four removed .webp showcase files for @hagicode/hagilight-starlight, so the Linux pack:check step fails on main (run 45668557777).
  • Points those entries at the .avif sources that 1d52c279 ships.

Verification

  • Starlight dry-run tarball contains workbench.avif, proposal-workflow.avif, heroes.avif, cat-head.avif.
  • test/showcase-assets.test.mjs: 6/6 pass.
  • Local pack:check cannot complete on npm 12.0.1 (the known rss packlist issue); the PR's Linux CI is the full check.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Package verification now requires four showcase images in AVIF format instead of WebP.

The showcase sources moved from WebP to AVIF in 1d52c27, but the
starlight entry in REQUIRED_FILES still listed the removed .webp
files, so the Linux pack:check job fails on every push to main.

Co-Authored-By: Hagicode <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The package verification script now requires workbench.avif, proposal-workflow.avif, heroes.avif, and cat-head.avif instead of the corresponding .webp files.

Changes: Showcase asset verification

Layer / File(s) Summary
Update required showcase assets
scripts/verify-pack.mjs
The required showcase image filenames now use the .avif extension.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Minimal · up to a8aff

This updates the package verification script to expect the AVIF showcase images that now ship, replacing the stale WebP names. The change is small and low risk, and it should fix the failing pack check.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the pack verification in scripts/verify-pack.mjs now checks for AVIF showcase sources in the starlight tarball instead of the removed WebP files. The title is specific…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the pack verification in scripts/verify-pack.mjs now checks for AVIF showcase sources in the starlight tarball instead of the removed WebP files. The title is specific, follows the conventional commit style, and matches the raw summary and PR objectives.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 04549bad-30c7-4937-892f-93721449ee3a
Commits

Reviewing files that changed from the base of the PR and between c3e2d69 and a8aff11.

Files selected for processing: 1

  • scripts/verify-pack.mjs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

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

View logs ↗
a8aff11 2026-11-25T18:15:40.707Z View logs ↗

@newbe36524
newbe36524 merged commit 07706ed into main Nov 25, 2026
4 of 7 checks passed
@newbe36524
newbe36524 deleted the fix/verify-pack-avif-showcase branch November 25, 2026 18:23
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