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
Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,7 @@ For this app:
138
138
-`LangVersion` is pinned to `latest` at the root
139
139
- the repo-root lowercase `.editorconfig` is the source of truth for formatting, naming, style, and analyzer severity
140
140
- local and CI build commands must pass `-warnaserror`; warnings are not an acceptable "green" build state in this repository
141
+
- quality gates should prefer analyzer-backed build failures over separate one-off CI tools; for overloaded methods and maintainability drift, enable build-time analyzers such as `CA1502` instead of adding a formatting-only gate
141
142
-`Directory.Build.props` owns the shared analyzer and warning policy for future projects
Copy file name to clipboardExpand all lines: github-actions-yaml-review.plan.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Goal
4
4
5
-
Review the current GitHub Actions validation and release workflows, record concrete risks with line-level evidence, and capture any durable CI policy that emerged from the user conversation, including mandatory `-warnaserror` enforcement for local and CI builds and keeping formatting as a local pre-push concern instead of a CI gate.
5
+
Review the current GitHub Actions validation and release workflows, record concrete risks with line-level evidence, and capture any durable CI policy that emerged from the user conversation, including mandatory `-warnaserror` enforcement for local and CI builds, keeping formatting as a local pre-push concern instead of a CI gate, and preferring analyzer-backed quality gates for overloaded methods.
6
6
7
7
## Scope
8
8
@@ -11,7 +11,7 @@ Review the current GitHub Actions validation and release workflows, record concr
11
11
-`.github/workflows/build-validation.yml`
12
12
-`.github/workflows/release-publish.yml`
13
13
- shared workflow assumptions from `.github/steps/install_dependencies/action.yml`
14
-
- root governance updates needed to capture durable CI runner policy, mandatory `-warnaserror` build usage, and local-only formatting policy
14
+
- root governance updates needed to capture durable CI runner policy, mandatory `-warnaserror` build usage, local-only formatting policy, and analyzer-backed maintainability gates
15
15
16
16
### Out Of Scope
17
17
@@ -68,9 +68,17 @@ Review the current GitHub Actions validation and release workflows, record concr
68
68
- findings are ordered by severity
69
69
Done when: the user can act on the review without needing another pass to discover the real problems.
70
70
71
-
-[x] Step 6: Validate touched YAML/policy files.
71
+
-[x] Step 6: Add analyzer-backed maintainability gating for overloaded methods.
72
+
Verification:
73
+
- enable `CA1502` in `.editorconfig`
74
+
- attach a repo-level `CodeMetricsConfig.txt` threshold through `Directory.Build.props`
75
+
-`dotnet build DotPilot.slnx -warnaserror` stays green
76
+
Done when: excessive method complexity is enforced by the normal build gate instead of a standalone CI helper step.
0 commit comments