Skip to content

[vite-plugin v1 backport] Scope process assignment lint exceptions - #17106

Open
petebacondarwin wants to merge 1 commit into
codex/vite-v1-backport-17079from
codex/vite-v1-backport-17091
Open

petebacondarwin wants to merge 1 commit into
codex/vite-v1-backport-17079from
codex/vite-v1-backport-17091

Conversation

@petebacondarwin

@petebacondarwin petebacondarwin commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Backports the independently useful retained portion of #17091. Remove the file-wide no-global-assign exception for the node-compat process playground and copy the original two inline disables with their explanations unchanged. This enforces the rule for the rest of the file while preserving intentional process replacement coverage.

The other three original cleanups affect absent public Miniflare, Wrangler and pages-functions source; they have no retained v1 implementation to change and are not restored. No behavioral rewrite, public-package test copies or changeset is added.

Validation: removing the file exception before adding the original comments produces exactly the two expected no-global-assign errors. The upstream inline comments resolve them. pnpm check passes build, types, lint and format checks; package tests pass on the preceding lint migration, and this change only narrows a lint exception and adds comments.

Depends on #17105, the backport of the #17079 lint migration in native GitHub stack #17084 rooted at vite-plugin-v1.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because: repository lint tooling only; validation is described above.
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: internal maintenance tooling does not change the plugin API.

Note

This is a contribution from an AI agent: Codex.

@petebacondarwin petebacondarwin added the ci:no-changeset-required Skip pull request checks for a valid changeset label Nov 21, 2026
@changeset-bot

changeset-bot Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 117a699

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@workers-devprod
workers-devprod requested review from a team and NuroDev and removed request for a team November 21, 2026 14:10
@workers-devprod

workers-devprod commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@petebacondarwin

Copy link
Copy Markdown
Contributor Author

@NuroDev @dario-piotrowicz, please check this v1 backport of #17091 and approve if it looks good. You are the verified original author and latest qualifying human ant-core approver before merge (deduplicated where applicable).

The retained node-compat process playground uses the exact original two inline exceptions, replacing the file-wide exception. The other original cleanups affect absent public packages. The original two lint errors reproduce before the inline comments; full build/types/checks pass.

Native GitHub stack #17084 is rooted at vite-plugin-v1. Earlier runtime and dependency coverage is supplied by #17054; no duplicate dependency PR is created.

@pkg-pr-new

pkg-pr-new Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
npm i https://pkg.pr.new/@cloudflare/vite-plugin@17106

commit: 117a699

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of 4727645a.

This review, of 444a112e

✅ Approved — The change only narrows a lint exception and adds explained inline disables. No defects found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code reviewer: ✅ LGTM

No issues found.


Reviewed commit: 444a112e

@petebacondarwin
petebacondarwin force-pushed the codex/vite-v1-backport-17091 branch from 444a112 to 4727645 Compare November 21, 2026 14:12

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of fbd06c2d.

This review, of 4727645a

✅ Approved — The change only narrows a lint exception and adds explained inline disables. No defects found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code reviewer: ✅ LGTM

No issues found.


Reviewed commit: 4727645a — same changes as 444a112e, so this is that commit's review (no new review was run; line numbers are as of 444a112e)

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of 117a699b.

This review, of fbd06c2d

✅ Approved — The change only narrows a lint exception and adds explained inline disables. No defects found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code reviewer: ✅ LGTM

No issues found.


Reviewed commit: fbd06c2d — same changes as 444a112e, so this is that commit's review (no new review was run; line numbers are as of 444a112e)

@workers-devprod workers-devprod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Codeowners reviews satisfied

@petebacondarwin
petebacondarwin force-pushed the codex/vite-v1-backport-17091 branch from fbd06c2 to 117a699 Compare November 23, 2026 18:42

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Approved — The change only narrows a lint exception and adds explained inline disables. No defects found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code reviewer: ✅ LGTM

No issues found.


Reviewed commit: 117a699b — same changes as 444a112e, so this is that commit's review (no new review was run; line numbers are as of 444a112e)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:no-changeset-required Skip pull request checks for a valid changeset

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants