Repository navigation
Conversation
… Dependabot TypeScript 7 (#29) breaks npm ci (Angular 22 needs typescript >=6.0 <6.1) and ApiDescription.Server 11 (#32) ships no net10.0 tool, breaking the build-time OpenAPI document. Ignore majors of .NET platform packages, Angular and its tooling, and @types/node; ignore TypeScript minors too. Platform upgrades become a deliberate change with an ADR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014HXNHHTdT6NsLeJnDKwCYr
| ignore: | ||
| # Major versions of these track the .NET major (11.x targets .NET 11; e.g. ApiDescription.Server 11 | ||
| # ships no net10.0 tool and breaks the build-time OpenAPI document). | ||
| - dependency-name: "Microsoft.Extensions.*" |
There was a problem hiding this comment.
Should fix: Microsoft.Extensions.* is too broad. Microsoft.Extensions.AI* (used by AiGateway) is versioned independently of the .NET major, so this glob would also block its legitimate major bumps. Dependabot would stay silent about them, with no warning.
Suggested fix: list the .NET-aligned families explicitly (Microsoft.Extensions.Http.Resilience, Microsoft.Extensions.Diagnostics.Testing, Microsoft.Extensions.Hosting*, Microsoft.Extensions.Configuration*, Microsoft.Extensions.DependencyInjection*, Microsoft.Extensions.Logging*, and so on). Or keep the glob and add Dependabot's allow for Microsoft.Extensions.AI*. Check which packages Directory.Packages.props actually references.
Also note that the ignore rules don't revert the already-merged SqlClient 8.0.0 bump (#31), even though the new comment says EF Core 10 targets 6.x. Please confirm that the build is fine with 8.0.0 or revert it.
Review summaryScope: config and docs only ( Findings: Must fix: 0 · Should fix: 1 (the
DoD: Build and tests are not affected. Docs are updated (CLAUDE.md rule added). The ADR the new rule mentions is not yet written (it's only needed for a future platform upgrade). Acceptance criteria / tests: No backlog story applies, and none of the changes is testable by code. Dependabot config is validated by GitHub on merge. |
Stops Dependabot from proposing major upgrades that break the platform baseline, which is why #29 and #32 fail CI.
Why
npm ci)@angular/buildand@angular/compiler-cli22.3 declare peertypescript >=6.0 <6.1, so npm refuses the install (ERESOLVE)GetDocument.Insidertool only for .NET 11. With notools/net10.0/, the build-timeopenapi/v1.jsonstep fails with exit 129These pass CI but are on the wrong platform line, so they are ignored too:
Microsoft.Extensions.*11.x: the .NET 11 package line.@types/node26: the runtime is Node 22.Changes
.github/dependabot.ymlignore rules (majors only, unless noted):Microsoft.Extensions.*,Microsoft.AspNetCore.*,Microsoft.EntityFrameworkCore*,Microsoft.Data.SqlClient/web:typescript— major and minor, because Angular pins the 6.0 range@angular/*,@angular-devkit/*,angular-eslint,@angular-eslint/*@types/node/tests/e2e:@types/nodeCLAUDE.md: new working rule. Platform upgrades (.NET 11, the next Angular major, Node 24) are a deliberate, all-together change with an ADR.After merging
Close #27, #31, #33 and #34 (they pass CI but are ignored now), unless you want to keep any. #29 and #32 are closed with explanations.
Generated by Claude Code