Skip to content

chore: add bump-vite-task skill for Claude Code#1093

Closed
branchseer wants to merge 2 commits intomainfrom
claude/add-bump-vite-task-skill-ZMKZC
Closed

chore: add bump-vite-task skill for Claude Code#1093
branchseer wants to merge 2 commits intomainfrom
claude/add-bump-vite-task-skill-ZMKZC

Conversation

@branchseer
Copy link
Member

Summary

  • Add a skill documenting best practices for bumping the vite-task git dependency
  • Covers: updating Cargo.toml, handling breaking changes, updating snap tests across platforms, and CI verification

Test plan

  • Verify skill renders correctly in Claude Code

Documents the best practices for bumping the vite-task git dependency,
including handling breaking changes, updating snap tests, and CI verification.
@netlify
Copy link

netlify bot commented Mar 22, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit f4ad096
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69bf6a97e27e53000863ca02

@branchseer branchseer requested a review from fengmk2 March 22, 2026 04:05
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 26098ccce7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


### 3. Verify compilation

- Run `cargo check` to ensure the new vite-task compiles without errors.

Choose a reason for hiding this comment

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

P2 Badge Move the upstream clone prerequisite before cargo check

In a fresh checkout this step fails before the bump can even be validated: the workspace root hardcodes many path dependencies under ./rolldown (Cargo.toml), and CI compensates by running .github/actions/clone before cargo check (.github/workflows/ci.yml, .github/actions/clone/action.yml). Because that prerequisite is only buried in the final Notes section, an agent following the numbered workflow will hit a spurious failure at step 3 unless it already knows to clone the upstream trees first.

Useful? React with 👍 / 👎.

4. Check all three platforms (Linux, Mac, Windows) since they may have slightly different snap test coverage.
5. Watch for trailing newline issues - ensure snap files end consistently.

Snap test files are at `packages/cli/snap-tests/*/snap.txt`.

Choose a reason for hiding this comment

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

P2 Badge Mention snap-tests-global in the snapshot update path

The snapshot instructions currently point only at packages/cli/snap-tests/*/snap.txt, but packages/cli/package.json defines snap-test as snap-test-local && snap-test-global, and the repo has a separate packages/cli/snap-tests-global/ tree. A vite-task bump that changes global vp help or error output will still fail the CLI E2E job even if the agent updates every file in the path listed here.

Useful? React with 👍 / 👎.

@branchseer branchseer closed this Mar 22, 2026
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