Upgrade the default build and test tooling #12

Merged
kleb merged 2 commits from chore/tooling-upgrades-20261021 into main 2026-10-21 07:57:19 +02:00
Owner

Changes

  • Replace the old Vite build stack with Vite 8, Electron Vite 6 and Vitest 5. Keep React Compiler, CSP handling, the ESM main/worker bundle and the CommonJS preload.
  • Update compatible Node and React DOM declarations and Sharp icon tooling.
  • Use the upgraded tools as the default commands, not optional alternatives.

Checks

  • Full check passed: 21 suites and 131 tests. Full build, strict Knip and frozen install passed.
  • Compared the final type/Sharp refresh with the prior tooling baseline: all 22 emitted application files have identical SHA256 hashes.
  • Ran the real icon pipeline with old and new Sharp. PNG, favicon, seven-image ICO and ICNS outputs validate.
  • Initial full-compile samples changed from 4.707s to 2.694s. These are single observations, not a controlled speed guarantee.

Blocked Tools

  • Keep Babel 7.29.7. Babel 8 causes React Compiler errors in 14 source files and removes existing memoization in 13 files. Compiler memo sentinels fall from 178 to 159.
  • Keep Oxlint 1.72.0. Oxlint 1.89 reports nine existing source diagnostics, including conservative async-callback purity results and a virtualization compatibility diagnostic. No rule suppression or source workaround was added.
  • Keep native TypeScript 7.0.2 for Windows and Intel macOS support. The tested tsrs release does not support these platforms.
  • Electron and React runtime versions are unchanged. Native platform packaging was not tested on this Linux host.
**Changes** - Replace the old Vite build stack with Vite 8, Electron Vite 6 and Vitest 5. Keep React Compiler, CSP handling, the ESM main/worker bundle and the CommonJS preload. - Update compatible Node and React DOM declarations and Sharp icon tooling. - Use the upgraded tools as the default commands, not optional alternatives. **Checks** - Full check passed: 21 suites and 131 tests. Full build, strict Knip and frozen install passed. - Compared the final type/Sharp refresh with the prior tooling baseline: all 22 emitted application files have identical SHA256 hashes. - Ran the real icon pipeline with old and new Sharp. PNG, favicon, seven-image ICO and ICNS outputs validate. - Initial full-compile samples changed from 4.707s to 2.694s. These are single observations, not a controlled speed guarantee. **Blocked Tools** - Keep Babel 7.29.7. Babel 8 causes React Compiler errors in 14 source files and removes existing memoization in 13 files. Compiler memo sentinels fall from 178 to 159. - Keep Oxlint 1.72.0. Oxlint 1.89 reports nine existing source diagnostics, including conservative async-callback purity results and a virtualization compatibility diagnostic. No rule suppression or source workaround was added. - Keep native TypeScript 7.0.2 for Windows and Intel macOS support. The tested tsrs release does not support these platforms. - Electron and React runtime versions are unchanged. Native platform packaging was not tested on this Linux host.
Collaborator

kReview review

Verdict: no findings

The reviewed changes show no concrete defect supported by the available code evidence.

This review did not check generated or vendored files: bun.lock.

kReview checked only the PR diff, metadata, and supplied repository context at 6687863c15. It reports only issues supported by this material.

Estimated cost: ~$0.07 (86.8k in / 436 out / gpt-6.1-sol).

Run time: 0:21 total; this run 0:21.

<!-- codex-forgejo-review --> <!-- codex-forgejo-review-head:6687863c1510be17ed7142b8b9f23f27235da990 --> <!-- codex-forgejo-review-comparison:v1:890021a385dad4c57ffe50272c6ba1f26031811923e3496152356501b4cf0341 --> ## kReview review **Verdict:** no findings The reviewed changes show no concrete defect supported by the available code evidence. _This review did not check generated or vendored files:_ `bun.lock`. _kReview checked only the PR diff, metadata, and supplied repository context at `6687863c15`. It reports only issues supported by this material._ _Estimated cost: ~$0.07 (86.8k in / 436 out / gpt-6.1-sol)._ _Run time: 0:21 total; this run 0:21._ <!-- codex-forgejo-review-state:eyJoZWFkU2hhIjoiNjY4Nzg2M2MxNTEwYmUxN2VkNzE0MmI4YjlmMjNmMjcyMzVkYTk5MCIsImNvbXBhcmlzb25LZXkiOiJ2MTo4OTAwMjFhMzg1ZGFkNGM1N2ZmZTUwMjcyYzZiYTFmMjYwMzE4MTE5MjNlMzQ5NjE1MjM1NjUwMWI0Y2YwMzQxIiwic3VtbWFyeSI6IlRoZSByZXZpZXdlZCBjaGFuZ2VzIHNob3cgbm8gY29uY3JldGUgZGVmZWN0IHN1cHBvcnRlZCBieSB0aGUgYXZhaWxhYmxlIGNvZGUgZXZpZGVuY2UuIiwiZmluZGluZ3MiOltdLCJjdW11bGF0aXZlQ29zdCI6eyJ1c2QiOjAuMDY1MTAzMiwiaW5wdXRUb2tlbnMiOjg2Nzk0LCJvdXRwdXRUb2tlbnMiOjQzNiwibW9kZWwiOiJncHQtNi4xLXNvbCJ9LCJjdW11bGF0aXZlRHVyYXRpb25NcyI6MjEyNDB9 -->
kleb merged commit 7fabd97c39 into main 2026-10-21 07:57:19 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kleb/SpotifFLAC!12
No description provided.