Skip to content

Document Npgsql EF major-version dependency transitions - #22155

Merged
Jose Perez Rodriguez (joperezr) merged 2 commits into
mainfrom
eerhardt-npgsql-dependency-update-guidance
Nov 20, 2026
Merged

Jose Perez Rodriguez (joperezr) merged 2 commits into
mainfrom
eerhardt-npgsql-dependency-update-guidance

Conversation

@eerhardt

Copy link
Copy Markdown
Member

Description

Document how to update Npgsql EF integrations when a new .NET/EF Core major reaches GA before a compatible stable PostgreSQL provider. This avoids holding unrelated EF integrations and managed dependency flow on prerelease packages.

The dependency-update skill now covers provider nuspec range verification, TFM-scoped provider and HealthChecks EF overrides, the different Azure/non-Azure PackageReference Include/Update requirements, test-project central version overrides, preserving older TFMs, and keeping both integration packages prerelease with SuppressFinalPackageVersion without changing main's global stabilization setting. It also documents restored graph, test, and package-version verification and removing the temporary pins and suppression together.

The RC3 versions from #22070 and #22146 are explicitly historical examples, not permanent update targets. The guidance was checked against commit b7bc012095fdef8b7e03176aadd8dd500b5b4793 and primary NuGet nuspec metadata for Npgsql EF RC3 and HealthChecks EF RC3/GA, rather than assuming either dependency PR is merged.

Only .agents/skills/dependency-update/SKILL.md changes; no dependency versions or runtime code change.

Validation

  • git diff --check — passed before commit.
  • Manually verified the documented exact provider ranges and HealthChecks minimum versions against nuget.org nuspecs, and the override shapes against the referenced PR commit.
  • Builds and tests were not run: this is a documentation-only change. The new guidance describes validation for future dependency updates; those dependency updates are not part of this PR.

Fixes # (issue)

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22155

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22155"

@aspire-repo-bot
aspire-repo-bot Bot requested a balanced review from Copilot November 11, 2026 19:02
@github-actions github-actions Bot added the area-codeflow for labeling automated codeflow. intentionally a different color! label Nov 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for this documentation-only update to Npgsql EF transition guidance.

No open issues 🎉

What changed in this PR

Documents how Aspire should handle Npgsql EF provider delays during .NET/EF Core major-version transitions without keeping unrelated integrations on prerelease dependencies. This is documentation-only; no dependency versions or runtime code change.

Changes:

  • Explains provider compatibility checks and TFM-scoped overrides for Azure/non-Azure components and their tests.
  • Documents package-level prerelease suppression while preserving global stabilization settings and older TFMs.
  • Adds restored-graph, test, and package validation guidance, plus coordinated removal of temporary workarounds.
File Description
.agents/​skills/​dependency-update/​SKILL.md Adds Npgsql EF transition guidance, historical examples, validation steps, and cleanup instructions.

Review effort: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for this documentation-only update to the dependency-update guidance.

No open issues 🎉

Review effort: Balanced

@joperezr
Jose Perez Rodriguez (joperezr) merged commit 2430d51 into main Nov 20, 2026
12 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 17.1 milestone Nov 20, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

✅ No documentation update needed.

docs_optional → agent_or_skill_content

  • Triggered signals (1): pr_body_has_cli_flag_mention. This is a false positive: the evidence is git diff --check in the PR's validation notes, not a product CLI flag.
  • The only changed file is .agents/skills/dependency-update/SKILL.md, which matches .agents/**. It is internal contributor and agent guidance and doesn't ship to aspire.dev. No dependency versions or runtime code changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-codeflow for labeling automated codeflow. intentionally a different color!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants