Skip to content

chore: Vite+ 1.4, @enfect/oxlint, fallow 3.37, Dependabot groups, Actions hardening - #534

Merged
thomasfosterau merged 2 commits into
trunkfrom
issue-532-vite-plus-1-4-enfect
Oct 30, 2026
Merged

thomasfosterau merged 2 commits into
trunkfrom
issue-532-vite-plus-1-4-enfect

Conversation

@thomasfosterau

Copy link
Copy Markdown
Owner

Summary

Toolchain modernisation (owner request, 2026-10-30). Closes #532.

  • Vite+ 1.4.0 via vp migrate: vite-plus / the vite alias 1.4.0 (oxlint 1.89.0, oxfmt 0.74.0, oxlint-tsgolint 7.0.2004, vitest 5.0.5); the singleton overrides under the migrator's vite@* / vitest@* keys (pointing at catalog:); .vitest/ ignored. @effect/tsgo 0.63.0, whose components table covers oxlint 1.89.0, tsgolint 7.0.2004 and typescript 7.0.2. The migrator's minimumReleaseAgeExclude additions were dropped.
  • Lint: @mpsuesser/oxlint-plugin-effect replaced by @enfect/oxlint 0.9.0 (effect.configs.recommended, same effect/ names, plus no-cause-in-http-response, which has no sites); @effect/tsgo's preset kept. Added oxlint's suspicious and perf categories and the import, promise and vitest plugins at error. The findings are fixed in code (toReversed, Arr.reverse, Object.hasOwn, find, a redundant ternary, a needless .call). The rules that conflict with house style are off in vite.config.ts, each with its reason. No disable comments.
  • @enfect/claude enabled in .claude/settings.json, with the marketplace pinned to mpsuesser/enfect@47b9e241915be41b60bec0bcc543b1c3ac6d4b47 (HEAD on 2026-10-30, used because the 0.9.0 release commit couldn't be identified). Owner: please review that commit before merging. The plugin's hooks also run npm install @ast-grep/napi on first use, which is an unpinned runtime install.
  • fallow 3.37.0.
  • Supply chain: minimumReleaseAge: 480 (8 hours), with @thomasfosterau/* still excluded. Dependabot's cooldown stays at 1 day because it only takes whole days. That is longer than pnpm's wait, so Dependabot never proposes a version pnpm would refuse; a comment in dependabot.yml says so.
  • Dependabot: the toolchain group now includes @enfect/oxlint. The groups are toolchain, effect, docgen, changesets, fallow, minor-and-patch and github-actions. The hand moves (the vite / typescript / @typescript/native npm aliases and the overrides security floors) are listed in the file header and in AGENTS.md.
  • Actions hardening: steps call pnpm exec vp …, so nothing writes to GITHUB_PATH. uvx zizmor --offline .github reports no findings; .github/zizmor.yml sets the 1-day cooldown, disables the help-level self-repository audit with its reason, and the Release checkout's artipacked is ignored inline because the version-PR push needs that token. Also already in place: permissions: {} with per-job grants, SHA pins, persist-credentials: false in CI, and concurrency / timeout-minutes on both jobs. Release runs only on trunk pushes, so never for Dependabot, and nothing a PR can trigger holds a secret. Recorded in CONTRIBUTING.md and SECURITY.md.
  • AGENTS.md and CONTRIBUTING.md now name the new plugin, the lint coverage and the hand moves.

Follow-up: #533, Move every @enfect/oxlint rule to error. It lists every effect/* rule left at warn or off, with site counts and reasons, and supersedes #436's list.

Verification

Run in AGENTS.md order from a fresh pnpm install --frozen-lockfile:

  • vp run build: pass
  • vp check: pass (0 errors; the warnings are the staged warn tier tracked in Move every @enfect/oxlint rule to error #533)
  • vp run --concurrency-limit 2 check: pass
  • vp run -r test:unit: pass (3972 + 73 + 50 + 56 tests)
  • vp run --no-cache docgen: pass (245 examples type-checked and run)
  • pnpm audit --audit-level high: pass (no known vulnerabilities)
  • vp run test:coverage, then fallow audit --base origin/trunk: pass, verdict warn (not fail)
  • uvx zizmor --offline .github: no findings

Changeset

None. This is toolchain, CI and lint work. The src/ edits are behaviour-preserving lint fixes in function bodies and private helpers, so they change neither published behaviour nor the emitted .d.ts.

Notes


Generated by Claude Code

…ions hardening

- vite-plus 1.4.0 (oxlint 1.89.0, oxfmt 0.74.0, vitest 5.0.5) via `vp migrate`;
  `@effect/tsgo` 0.63.0; overrides under the migrator's `vite@*` / `vitest@*` keys.
- Replace @mpsuesser/oxlint-plugin-effect with @enfect/oxlint 0.9.0
  (`configs.recommended`); add oxlint's `suspicious` and `perf` categories and
  the `import`, `promise` and `vitest` plugins, fixing the findings and
  turning off, with reasons, the rules that cut across house style.
- fallow 3.37.0; pnpm `minimumReleaseAge` 480 minutes (8 hours).
- Dependabot: `@enfect/oxlint` in the toolchain group; hand moves listed.
- Actions: no `GITHUB_PATH` write (`pnpm exec vp …`), zizmor clean with
  `.github/zizmor.yml`.
- Enable the pinned `@enfect/claude` plugin for agent sessions.

Closes #532

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y5G6PJWWtgogfP9P3U4P6K
@thomasfosterau
thomasfosterau merged commit 38b7d2c into trunk Oct 30, 2026
1 check passed
@thomasfosterau
thomasfosterau deleted the issue-532-vite-plus-1-4-enfect branch October 30, 2026 10:34
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.

chore: Vite+ 1.4, @enfect/oxlint, fallow 3.37, Dependabot groups, Actions hardening

2 participants