chore(deps): consolidate open dependency updates and prevent recurrences - #53
Merged
Conversation
Combines the four open Dependabot PRs into one branch and fixes the two config gaps that made three of them fail CI. github/codeql-action/init and .../analyze were bumped in separate PRs (#51, #49). Both steps must run the same version -- CodeQL fails with "Loaded a configuration file for version 4.37.5, but running version 4.37.6" when they diverge -- so neither PR could pass on its own. Bump both to 4.37.6 together, and group the subpaths in dependabot.yml so future releases arrive as a single PR. The dev-dependencies group (#50) swept TypeScript 6.0.3 -> 7.0.2, which breaks the dts build: tsup 8.5.1 inlines rollup-plugin-dts 6.1.1 (built against TypeScript 5.7) into its own bundle, so it throws "Cannot read properties of undefined (reading 'useCaseSensitiveFileNames')" and a pnpm override cannot reach the bundled copy. This is the same hold as in #40; add an ignore rule for TypeScript majors so it stops recurring. Taken: github/codeql-action/{init,analyze} 4.37.5 -> 4.37.6 google/osv-scanner-action 2.3.8 -> 2.5.0 @typescript-eslint/eslint-plugin ^8.63.0 -> ^8.66.0 @typescript-eslint/parser ^8.63.0 -> ^8.66.0 typescript-eslint ^8.63.0 -> ^8.66.0 @types/better-sqlite3 ^7.6.13 -> ^9.6.0 Held: typescript ^6.0.3 (tsup incompatibility) Closes #49 Closes #50 Closes #51 Closes #52 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0196V8By4K5bzfVA5aevpFax
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #53 +/- ##
=======================================
Coverage 99.85% 99.85%
=======================================
Files 11 11
Lines 668 668
Branches 153 153
=======================================
Hits 667 667
Misses 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Combines the four open Dependabot PRs (#49, #50, #51, #52) into one branch and fixes the two config gaps that made three of them fail CI.
Why the three PRs failed
#49 + #51 — codeql-action broke each other.
ci.ymlpinsgithub/codeql-action/initand.../analyzeto the same SHA, but Dependabot treats each subpath as a separate dependency and opened one PR per step. Each bumped only half the pair, so CodeQL failed with:Neither PR could ever pass alone. Bumping both together fixes it.
#50 — TypeScript 7. The
dev-dependenciesgroup swepttypescript ^6.0.3 -> ^7.0.2along with the eslint updates, breaking the dts build for every package:tsup 8.5.1 (latest) inlines rollup-plugin-dts 6.1.1 — built against TypeScript 5.7 — into its own bundle. Because the copy is bundled rather than resolved, a
pnpm.overridesentry can't replace it. Same hold as #40. The other updates in that PR are fine and are included here.#52 was already green and is included as-is.
Changes
Taken:
github/codeql-action/{init,analyze}google/osv-scanner-action@typescript-eslint/eslint-plugin@typescript-eslint/parsertypescript-eslint@types/better-sqlite3Held:
typescriptat^6.0.3across all 7 manifests.Preventing recurrence
Both failures were structural and would have re-fired on the next weekly run, so
dependabot.ymlgains:codeql-actiongroup for thegithub-actionsecosystem, soinitandanalyzealways arrive in one PRignorerule for TypeScript major updates, with a comment explaining the tsup constraint and when to remove itNote the ignore rule blocks all future TypeScript majors, not just 7 — majors warrant a manual look regardless. Minor and patch updates within 6.x still flow normally. Remove the entry once tsup ships a rollup-plugin-dts new enough for TypeScript 7.
Verification
Ran locally against the CI job definitions — all green:
pnpm build— 6/6 tasks, dts builds succeed (the step that failed on chore(deps-dev): bump the dev-dependencies group with 5 updates #50)pnpm lint— cleanpnpm format:check— cleanpnpm typecheck— 7/7 tasks (confirms the@types/better-sqlite37 -> 9 major is clean)pnpm test— 12/12 taskspnpm test:functional:sqlite— 90/90 testspnpm install --frozen-lockfile— exit 0The redis and memcache functional suites need service containers, so they're left to CI; no redis or memjs versions changed here.
Closes #49
Closes #50
Closes #51
Closes #52
🤖 Generated with Claude Code
https://claude.ai/code/session_0196V8By4K5bzfVA5aevpFax