Skip to content

ci: correct stale comments across the release and automation workflows#172

Merged
Reefact merged 4 commits into
mainfrom
claude/fix-release-gating-comment
Jul 17, 2026
Merged

ci: correct stale comments across the release and automation workflows#172
Reefact merged 4 commits into
mainfrom
claude/fix-release-gating-comment

Conversation

@Reefact

@Reefact Reefact commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

A comments-only consistency pass over release.yml and its neighbouring workflows: several comments predated the lib/cli/dum train split, the GenDoc baseline-refresh step, and the binder joining the lib train, so they no longer matched the code they describe. No workflow behaviour changes — every edited line is a # comment or a description: string (verified: the whole-branch diff contains no non-comment change).

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Analyzer / diagnostic change
  • Tests
  • Documentation
  • Build / CI / tooling

Changes

release.yml:

  • The dry-run gating comments (the dry_run input rationale, its description, and the OIDC-login block) said only the NuGet push and the GitHub Release are gated off on a dry run; a cli release also gates a third publish step, the error-catalog baseline refresh. Corrected in all three spots, and the OIDC login is no longer listed among the skipped steps (it runs on every trigger by design).
  • The lib-train package mapping omitted FirstClassErrors.RequestBinder in two places (the tag-trigger reference and the Pack comment).
  • The contents: write justification named only the GitHub Release, but the scope also serves the cli baseline-refresh step's push to main.
  • Reordered the dry-run rationale to list the attestation and the OIDC login in execution order.

changelog.yml:

  • The lib-train changelog mapping omitted FirstClassErrors.RequestBinder.
  • The from_ref note claimed the value only reaches git log, but collect-prs.sh also passes it to git rev-parse.

dependabot-automerge.yml:

  • The header labelled the workflow "Palier A", a French term (against the repo's English-only rule) and an orphaned tier label used nowhere else; reworded to the maintainer doc's phrasing, "the low-friction lane of the Dependabot automation policy".

The remaining neighbouring workflows (ci, gendoc-docs, canary, release-dryrun, analyzers, adr-check, sonar, scorecard, dependency-review, codeql, commit-lint) were reviewed and found factually consistent; they are not touched.

Testing

  • dotnet build FirstClassErrors.sln
  • dotnet test FirstClassErrors.sln
  • Analyzer tests pass (FirstClassErrors.Analyzers.UnitTests)

Comments-only change to workflow YAML — no build or test was run locally (there is no runtime surface to exercise). Each touched file was parsed as YAML and the diff was checked to contain only comment/description lines. CI runs the full suite regardless.

Documentation

  • Public API / error documentation updated
  • README / doc/ updated
  • French translation (doc/handwritten/for-users/README.fr.md) updated if user-facing behavior changed
  • No documentation change required — the maintainer-facing release workflow reference pages were refreshed separately in docs: refresh the release workflow pages for the train-based pipeline #171; this PR corrects the comments inside the workflow files themselves.

Architecture decisions

  • No architectural decision in this pull request
  • New decision recorded — ADR drafted as Proposed: ADR-____
  • Supersedes an existing ADR — successor proposed, status not flipped: ADR-____
  • ⚠️ Conflicts with an existing ADR — flagged for the maintainer: ADR-____

Related issues

Follow-up to #170 (the dum release train) and #171 (the release workflow doc refresh).

🤖 Generated with Claude Code

https://claude.ai/code/session_01UhPrBqngpiSwdsF4DWvNPw


Generated by Claude Code

claude added 4 commits July 17, 2026 15:58
Three comments (the dry_run input rationale, its description string,
and the OIDC-login block) predated the GenDoc PR's baseline-refresh
step: they said only the NuGet push and the GitHub Release are gated
off on a dry run, when a cli release also gates a third publish step,
the error-catalog baseline refresh. The input rationale additionally
listed the OIDC login among the skipped steps, though it runs on every
trigger by design. Comments only; no behavior change.
A consistency pass over the rest of release.yml's comments:
- the lib-train mapping omitted FirstClassErrors.RequestBinder in two
  places (the tag-trigger reference and the Pack comment), though
  pack.sh and trains.sh publish it on the lib train;
- the contents:write justification named only the GitHub Release, but
  the scope also serves the cli baseline-refresh step's push to main;
- reordered the dry-run rationale to list the attestation and the OIDC
  login in execution order.

Comments only; no behavior change.
- The lib-train changelog mapping omitted FirstClassErrors.RequestBinder,
  though trains.sh, pack.sh and collect-prs.sh all publish it on the lib
  train.
- The from_ref note claimed the value is only handed to 'git log', but
  collect-prs.sh also passes it to 'git rev-parse' for validation; say
  git (rev-parse, then log) instead.

Comments only; no behavior change.
The header labelled the workflow 'Palier A', a French term (against the
repo's English-only rule) and an orphaned tier label used nowhere else.
Reword to the authoritative maintainer doc's phrasing, 'the low-friction
lane of the Dependabot automation policy'.

Comment only; no behavior change.
@Reefact
Reefact merged commit fb41a37 into main Jul 17, 2026
13 checks passed
@Reefact
Reefact deleted the claude/fix-release-gating-comment branch July 17, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants