Skip to content

test(snapshots): use a recorded package in the install shortcut case - #3305

Merged
wan9chi merged 1 commit into
mainfrom
claude/install-shortcut-recorded-package
Nov 1, 2026
Merged

wan9chi merged 1 commit into
mainfrom
claude/install-shortcut-recorded-package

Conversation

@wan9chi

@wan9chi wan9chi commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

command_install_shortcut installed tslib@2.8.1 from the public npm registry. pnpm prints a notice when a newer version exists, and tslib 2.9.1 came out on 2026-10-30 at 20:20 UTC. Since then the snapshot fails on every platform's shard 3/3, for example in this CI run (Linux, macOS, Windows):

 dependencies:
- tslib 2.8.1
+ tslib 2.8.1 (2.9.1 is available)

main's last green CI run predates that release, so main is affected too.

The case now installs is-number@7.0.0. The snapshot runner serves that package from its checked-in registry fixtures, where the latest tag is fixed. Upstream releases can no longer change this output. The case only checks that vp run install runs the install and skips resolution on the second run, so the choice of package doesn't matter otherwise.

The npm and yarn cases that also install tslib don't print availability notices, so they are unchanged.

🤖 Generated with Claude Code

The case installed tslib from the public registry, so pnpm started
printing "(2.9.1 is available)" after tslib 2.9.1 was published on
2026-10-30. Install is-number 7.0.0 instead: the shared registry
fixtures record it with a fixed latest tag, so the output no longer
changes with upstream releases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wan9chi
wan9chi added this pull request to stack #3306 November 1, 2026 03:06
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://claude-install-shortcut-recorded-package-viteplus-dev.voidzero-docs.workers.dev (commit ff184f9)

This URL reflects your latest Preview deployment

Preview Deployments by commit

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

View logs ↗
https://2e81eaa8-viteplus-dev.voidzero-docs.workers.dev ff184f9 2026-11-01T03:06:38.580Z Visit the dashboard ↗

@wan9chi
wan9chi requested review from cpojer and fengmk2 November 1, 2026 03:10
@wan9chi
wan9chi merged commit 8c18acb into main Nov 1, 2026
49 checks passed
@wan9chi
wan9chi deleted the claude/install-shortcut-recorded-package branch November 1, 2026 04:45
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