Repository navigation
build(deps-dev): bump the npm-major-electron group across 1 directory with 5 updates - #61
dependabot[bot] wants to merge 1 commit into
Conversation
3576137 to
745e6fd
Compare
## The problem this fixes **Every Dependabot PR arrives broken.** Measured on the six open right now: | PR | host-pinned entries | |---|---| | #61 | 1724 | | #64 | 1720 | | #65 | 1718 | | #66 | 1720 | | #71 | 1723 | | #72 | 1719 | All six fail CI at `verify:workspace`: ``` pnpm-lock.yaml: 1723 pinned of 1723 entr(ies), 1723 rotating shard-host URL(s) Repair with: node scripts/strip-lockfile-hosts.mjs ``` Dependabot cannot run the repair, so the only remedy was a human checking out each branch, stripping, and pushing. That is the recurring tax — bigger than the local-poisoning one #73 fixes. And it is unavoidable: there is **no pnpm configuration that stops the URLs being written**. Tested — shard host as the registry with an isolated cache and store still records them; `lockfileIncludeTarballUrl` only drops *reconstructible* URLs; `registries`/`serverType` explicitly excludes divergent hosts; `trustLockfile` keeps the URLs *and* drops the anti-tamper binding. ## What changes CI **normalises** the lockfile before installing — the order [SOURCES.md](../blob/main/SOURCES.md#lockfile-integrity) already requires, since pnpm's check runs before lifecycle scripts. Both installing jobs do it. A dependency PR is now built and tested rather than rejected before it gets that far. That removes the only signal, so the signal **moves** rather than disappearing. The step after the install compares the repaired tree against what was committed: - **pull request** → warning annotation naming the fix, PR proceeds - **main** (`push` only ever runs there) → error Main is the one that matters: a host recorded there sits quietly until the shard it names rotates away, and then breaks the next install for everyone. ## The trade, stated plainly **A host-pinned lockfile can now reach main, and main goes red once when it does.** That is the cost of letting dependency PRs through. It is a red *assertion* rather than a broken build — CI still repairs the tree before using it — and the fix is one command. The alternative (auto-commit the repair back to the PR branch) needs `pull_request_target` or a PAT; not taken here. ## Verification Against a genuinely committed host-pinned lockfile, not a simulated one — my first attempt injected into the working tree and stripped it back, which proved nothing: | state | event | result | |---|---|---| | 1721 hosts committed | `pull_request` | `::warning::` exit 0 | | 1721 hosts committed | `push` | `::error::` exit 1 | | clean | either | exit 0 | Also confirmed `pnpm install --frozen-lockfile` accepts a just-stripped lockfile, and that the repair is **lossless** — the stripped file is byte-identical to the clean committed one. ## Still not automated Humans. There is no root pre-commit hook (`maximal-core` has `simple-git-hooks` + `lint-staged`; the root has neither), so a local `pnpm install` still needs the strip run by hand. Adding two devDependencies to the root felt like the wrong thing to bundle into a CI fix — happy to do it separately if wanted.
745e6fd to
bbc247e
Compare
… with 5 updates Bumps the npm-major-electron group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@electron/asar](https://github.com/electron/asar) | `3.4.1` | `4.3.0` | | [@electron/fuses](https://github.com/electron/fuses) | `1.8.0` | `2.1.3` | | [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `5.2.0` | `6.1.1` | | [electron](https://github.com/electron/electron) | `43.4.0` | `44.0.0` | | [@electron/packager](https://github.com/electron/packager) | `18.4.4` | `20.3.0` | Updates `@electron/asar` from 3.4.1 to 4.3.0 - [Release notes](https://github.com/electron/asar/releases) - [Changelog](https://github.com/electron/asar/blob/main/CHANGELOG.md) - [Commits](electron/asar@v3.4.1...v4.3.0) Updates `@electron/fuses` from 1.8.0 to 2.1.3 - [Release notes](https://github.com/electron/fuses/releases) - [Commits](electron/fuses@v1.8.0...v2.1.3) Updates `@vitejs/plugin-react` from 5.2.0 to 6.1.1 - [Release notes](https://github.com/vitejs/vite-plugin-react/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react/commits/[email protected]/packages/plugin-react) Updates `electron` from 43.4.0 to 44.0.0 - [Release notes](https://github.com/electron/electron/releases) - [Commits](electron/electron@v43.4.0...v44.0.0) Updates `@electron/packager` from 18.4.4 to 20.3.0 - [Release notes](https://github.com/electron/packager/releases) - [Changelog](https://github.com/electron/packager/blob/main/NEWS.md) - [Commits](electron/packager@v18.4.4...v20.3.0) --- updated-dependencies: - dependency-name: "@electron/asar" dependency-version: 4.3.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-major-electron - dependency-name: "@electron/fuses" dependency-version: 2.1.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-major-electron - dependency-name: "@electron/packager" dependency-version: 20.3.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-major-electron - dependency-name: "@vitejs/plugin-react" dependency-version: 6.1.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-major-electron - dependency-name: electron dependency-version: 44.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-major-electron ... Signed-off-by: dependabot[bot] <[email protected]>
bbc247e to
8d5fa32
Compare
|
Superseded by #57, which carries the same bumps with two differences that matter. #57 also updates More importantly, this PR bumps Worth noting for the record: this PR auto-rebased after #77 landed and its lockfile came back with 0 rotating shard hosts, passing The fuses bump unblocks when Forge 8 ships; Dependabot will reopen it then. |
|
This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests. To ignore these dependencies, configure ignore rules in dependabot.yml |
Bumps the npm-major-electron group with 5 updates in the / directory:
3.4.14.3.01.8.02.1.35.2.06.1.143.4.044.0.018.4.420.3.0Updates
@electron/asarfrom 3.4.1 to 4.3.0Release notes
Sourced from @electron/asar's releases.
... (truncated)
Commits
01bc908feat: store duplicated file contents only once when packing (#465)2bf3408build(deps): bump postcss from 8.5.20 to 8.5.24 (#463)ab7bc41build(deps): bump undici from 7.28.0 to 7.29.0 (#462)d934f9abuild(deps): bump actions/setup-node from 6.4.0 to 7.0.0 (#459)1ce80a7build(deps): bump actions/checkout from 7.0.0 to 7.0.1 (#460)9428c25build(deps): bump brace-expansion from 5.0.7 to 5.0.8 (#461)c4354aeci: stop setting the Opened project field (#456)8e12da2build(deps): bump postcss from 8.5.15 to 8.5.20 (#458)4d5d687build(deps): bump linkify-it from 5.0.1 to 5.0.2 (#457)0959a13build(deps): bump brace-expansion from 5.0.6 to 5.0.7 (#455)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@electron/asarsince your current version.Install script changes
This version modifies
preparescript that runs during installation. Review the package contents before updating.Updates
@electron/fusesfrom 1.8.0 to 2.1.3Release notes
Sourced from @electron/fuses's releases.
Commits
00f2479fix: only detect real .app bundle paths in pathToFuseFile (#123)c83c88edocs: clarify when to call flipFuses() (#124)2bb9189build(deps): bump markdown-it from 14.1.1 to 14.2.0 (#122)9400b99build(deps): bump vite from 8.0.8 to 8.0.16 (#121)67d4eedfix: replace extract-zip with@electron-internal/extract-zip(#120)abf5e3dbuild(deps): bump electron/github-app-auth-action from 2.0.0 to 2.1.0 (#117)8c2ba18build: run yarn dedupe (#116)1d86813build(deps): bump dsanders11/project-actions from 2.0.0 to 2.0.1 (#114)32dc905build(deps): bump actions/setup-node from 6.3.0 to 6.4.0 (#115)bbf0792build(deps): bump postcss from 8.5.8 to 8.5.10 (#113)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@electron/fusessince your current version.Install script changes
This version modifies
preparescript that runs during installation. Review the package contents before updating.Updates
@vitejs/plugin-reactfrom 5.2.0 to 6.1.1Release notes
Sourced from @vitejs/plugin-react's releases.
... (truncated)
Changelog
Sourced from @vitejs/plugin-react's changelog.
... (truncated)
Commits
04cac50release: [email protected] (#1440)82d35abfix(react): respect environment sourcemap option whenbuilder.sharedPlugins...397e847fix(react): make logging diagnostics an opt-in for React Compiler (#1431)61006e6fix(deps): update all non-major dependencies (#1433)e2a649cchore: usedeps.neverBundleinstead ofexternalin tsdown config (#1430)fb2d6f3fix(deps): update all non-major dependencies (#1427)39b3173release: [email protected] (#1428)f1340b0feat(react): add native React Compiler support (#1419)9ab698efix(deps): update all non-major dependencies (#1375)68c0cb8release: [email protected] (#1362)Updates
electronfrom 43.4.0 to 44.0.0Release notes
Sourced from electron's releases.
... (truncated)
Commits
bf0c4e6perf: start the first sandboxed window in a pre-warmed renderer (#53144)b5ada5abuild: update PGO profiles (#53150)1736985build: add electron_xcache host tool for cross-target V8 code caches (#53149)20f8981chore: bump chromium to 152.0.7977.54 (44-x-y) (#53049)c162f60feat: add webContents.caretBrowsingEnabled (#53035)98dedd2fix: window stuck maximized on Wayland after early maximize() (#53124)c6f688fperf: boot every Node.js-hosting process from the Node snapshot / code cache ...e2ec8ffbuild: update PGO profiles (#53120)476f0a0fix: avoid creating webFrameMain for transient frames (#53109)2fbb58aperf: trim GTK and FontConfig work off the linux startup path (#53107)Updates
@electron/packagerfrom 18.4.4 to 20.3.0Release notes
Sourced from @electron/packager's releases.
... (truncated)
Commits
8c5cc94feat: asar integrity digest (#1890)2f8df6dfix: declare osxSign.continueOnError in PackagerOsxSignOptions (#1951)e0e697ffix: set mtimes to extraction time after extracting Electron zips (#1940)dd4f276feat: add sanitizePackageJson option to strip dev-only package.json fields (#...ce1c69achore: bump ip-address from 10.1.1 to 10.3.1 (#1948)147959bchore: bump postcss from 8.5.19 to 8.5.24 (#1950)a9c4063chore: bump undici from 7.28.0 to 7.29.0 (#1949)efa004dfix: throw a descriptive error when the out dir would exclude the app from pa...06bde55fix: support tmpdir: false when the out dir is inside the project dir (#1927)94fc3c3feat: write appVersion into the packaged app's package.json (#1926)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@electron/packagersince your current version.Install script changes
This version modifies
preparescript that runs during installation. Review the package contents before updating.