Skip to content

feat(check): support --fix-dangerously - #3413

Open
chbaefront wants to merge 7 commits into
voidzero-dev:mainfrom
chbaefront:feat/3394-check-fix-dangerously
Open

chbaefront wants to merge 7 commits into
voidzero-dev:mainfrom
chbaefront:feat/3394-check-fix-dangerously

Conversation

@chbaefront

Copy link
Copy Markdown
Contributor

Support dangerous lint fixes and suggestions in vp check. Add CLI snapshot coverage and update the documentation.

closes #3394

Support dangerous lint fixes and suggestions in vp check.
Add CLI snapshot coverage and update the documentation.
@jong-kyung

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T06:58:46.434604Z f4ff52c Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Support dangerous lint fixes and suggestions in vp check.
Add CLI snapshot coverage and update the documentation.

- fix(ci): restore bundled tool versions

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

Copy link
Copy Markdown

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: f4ff52c53b

ℹ️ 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".

Comment thread packages/core/package.json Resolved
@jong-kyung
jong-kyung requested a review from fengmk2 November 10, 2026 07:07
Support dangerous lint fixes and suggestions in vp check.
Add CLI snapshot coverage and update the documentation.

- fix(ci): prepare Yarn before lockfile-only snapshot

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why is the Yarn fixture changed in this PR?

@chbaefront chbaefront Nov 10, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@jong-kyung

Added a yarn --version setup step to prepare the pinned Yarn before testing --lockfile-only. This prevents download progress from leaking into the snapshot, as seen in the macOS CI failure.

The existing option and file assertions remain unchanged. All CI checks are now passing.

https://github.com/voidzero-dev/vite-plus/actions/runs/42771771010/job/129681704552?pr=3413

The CI snapshot test failed because ⠿m Downloading yarn <version>... <size> B (<size> B/s) leaked into the captured output before the warning, causing a mismatch with the stored snapshot.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks flaky. Could you drop the fixture change from this PR? If it turns out to be a real bug, please open a separate PR for it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I reverted the yarn fixture changes in the CLI snapshot to the previous version and pushed the update again!

@chbaefront chbaefront Nov 10, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

after reverting the Yarn fixture change, the Yarn test passed, but two other macOS snapshot tests failed with similar download progress artifacts:

  • Shard 1: command_update_bun_with_workspace — Downloading bun ...
  • Shard 2: command_outdated_pnpm10_with_workspace — Downloading pnpm ...

This appears to be an intermittent issue with download progress rendering or PTY capture, rather than the --fix-dangerously change. I’ll keep the unrelated fixture changes out of this PR.

Support dangerous lint fixes and suggestions in vp check.
Add CLI snapshot coverage and update the documentation.

- fix(fixture): yarn fixture restore

@jong-kyung jong-kyung left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It all looks good to me

This branch has not been deployed

No deployments
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.

support --fix-dangerously for vp check

3 participants