You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PRs #81, #82, #83, #84 (the daily nuget-deps group bumps) are stuck mergeStateStatus: BLOCKED
despite auto-merge being enabled, for days. mergeable: MERGEABLE, no review activity, no merge
conflicts — but Validate sources job / Lint sources job and Validate sources job / Unit test job
report FAILURE on all four, and the aggregate Check pull request workflow status job FAILURE is
what actually blocks the merge.
Root cause
The nuget-deps group bundles every NuGet update together (patterns: ["*"]), including csharpier itself: PR #81 bumps it 1.2.6 -> 1.3.0. The newer csharpier version reformats raw
string literals differently, so dotnet csharpier check . now flags pre-existing,
previously-compliant code (PhotoCleaner/Database.cs) that the dependency bump never touched:
Error ./PhotoCleaner/Database.cs - Was not formatted.
----------------------------- Expected: Around Line 148 -----------------------------
cmd.CommandText = """
INSERT OR IGNORE INTO files (...)
----------------------------- Actual: Around Line 148 -----------------------------
cmd.CommandText = """
INSERT OR IGNORE INTO files (...)
Because csharpier rides along in the same grouped PR as 12 unrelated, harmless updates, its
self-inflicted lint failure blocks all of them together.
How to get unstuck
Reformat once, as its own commit, with the new csharpier version:
dotnet csharpier format .
Land this on develop (and main, once promoted) as a normal maintainer commit — not through
one of the stuck PRs.
Prevent recurrence: adopt ptr727/ProjectTemplate's updated catalog/snippets/configs/dependabot.yml
(from ProjectTemplate#1062) via this
repo's next fleet resync. It excludes csharpier, husky, and dotnet-outdated-tool from the nuget-deps group, so a future toolchain self-bump gets its own individual PR instead of
blocking the whole group again.
Symptom
PRs #81, #82, #83, #84 (the daily
nuget-depsgroup bumps) are stuckmergeStateStatus: BLOCKEDdespite auto-merge being enabled, for days.
mergeable: MERGEABLE, no review activity, no mergeconflicts — but
Validate sources job / Lint sources jobandValidate sources job / Unit test jobreport FAILURE on all four, and the aggregate
Check pull request workflow status jobFAILURE iswhat actually blocks the merge.
Root cause
The
nuget-depsgroup bundles every NuGet update together (patterns: ["*"]), includingcsharpieritself: PR #81 bumps it 1.2.6 -> 1.3.0. The newer csharpier version reformats rawstring literals differently, so
dotnet csharpier check .now flags pre-existing,previously-compliant code (
PhotoCleaner/Database.cs) that the dependency bump never touched:Because csharpier rides along in the same grouped PR as 12 unrelated, harmless updates, its
self-inflicted lint failure blocks all of them together.
How to get unstuck
develop(andmain, once promoted) as a normal maintainer commit — not throughone of the stuck PRs.
nuget-depsPR for whatever's still outdated; it will no longer include a csharpier bump (alreadycurrent) and will pass lint (the repo is already reformatted to match it).
ptr727/ProjectTemplate's updatedcatalog/snippets/configs/dependabot.yml(from ProjectTemplate#1062) via this
repo's next fleet resync. It excludes
csharpier,husky, anddotnet-outdated-toolfrom thenuget-depsgroup, so a future toolchain self-bump gets its own individual PR instead ofblocking the whole group again.
Filed as part of investigating ProjectTemplate#1055.