Repository navigation
chore: adopt the ValueRanges tracking culture; two supported lines - #45
Merged
Merged
Conversation
Issue forms, a PR template and a PR hygiene check (one type label, severity on a bug, a closing reference, and a silent fix only as a minor with a "### Changed answers" row), ported from CodoMetis.ValueRanges. CONTRIBUTING, SECURITY.md, AGENTS.md and CLAUDE.md state the two lines — 10.x on EF Core 10 (LTS) and 11.x on EF Core 11 — the branches around the v10.0.0 tag, and the silent-fix rule. SecurityPolicyConsistencyTests holds one row per supported line, this branch's to PackageValidationBaselineVersion and the other's to CompanionLineRelease, instead of one row tied to the version being prepared. ChangelogConsistencyTests holds the Changed-answers form, and every convention test reads versions through ReleaseVersion so a preview heading or Version no longer fails the release gate in the test step. Closes #40 Co-Authored-By: Claude Fable 5.1 <[email protected]>
CaffeinatedCoder
added a commit
that referenced
this pull request
Oct 18, 2026
Brings in #45 (tracking culture, two supported lines), #48 (Latest handling) and #53 (Dependabot build-only pins). Conflicts: ChangelogConsistencyTests, PackagingConventionTests and SecurityPolicyConsistencyTests, all resolved to main. 2085324 added a SemanticVersion harness type here so the convention tests could read 11.0.0-preview.1; #45 solved the same problem on main with ReleaseVersion (prerelease parsing, SemVer precedence, the "## <version>" heading with a suffix) and made the security-policy checks aware of two lines. SemanticVersion is unused after the merge and is removed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #40
Problem
Labels, milestones and the pinned Roadmap (#35) existed since this morning, but nothing in the repository made the culture enforceable or stated the two-line policy epic CaffeinatedCoder/CodoMetis.EFCore.SchemaKit#1 decided: a PR with no type label merged like any other, the bug form did not ask whether a failure was silent, and CONTRIBUTING, SECURITY.md and AGENTS.md still described one line whose silent fixes wait for the next major. With majors following EF Core from 10.0.0 on, the LTS line would have had no major left to spend on a silent fix.
The convention tests also read every version with
System.Version, which cannot hold11.0.0-preview.1, so the first preview would have failed the release gate in the test step rather than at the tag check. AndSecurityPolicyConsistencyTestscompared the supported row withVersion, the version being prepared, so opening a version meant promising fixes for a line not yet on NuGet.Change
Ported from CodoMetis.ValueRanges PR #156, adapted to this repository's labels, changelog form and release mechanics:
.github/ISSUE_TEMPLATE/:bug.yml(package and area dropdowns, silent-or-loud question, what you declared / what you got / what you expected, environment incl. runtime wiring),enhancement.yml,epic.yml,config.yml(blank issues off, security advisories link)..github/PULL_REQUEST_TEMPLATE.md:Closes #n, Problem / Change / Tests, the label note..github/workflows/pr-hygiene.ymland.github/scripts/pr-hygiene.sh: exactly one type label,severity/*on a bug, a closing reference; asilentPR into a patch fails outright, into a minor it needs its issue's row under### Changed answersin that version'sCHANGELOG.mdsection (matched as## x.y.0, the headingrelease.ymlreads), into a major it passes as before. Reads only the event payload,CHANGELOG.mdandDirectory.Build.props; no token; checkout action SHA-pinned as indotnet.yml.dotnet.ymlalso runs onrelease/**andnet11, with the branch roles in its header.release/5.xuntil thev10.0.0tag,net11mergingmainforward,release/10.xcut at the tag, main-first thengit cherry-pick -xafter, additions as 10.x minors untilv11.0.0, fixes only after, and "A fix that changes an answer" (a minor with### Changed answersat the top, never a patch; 10.0.0 the last release under the old rule). A Changelog section states this repository's own entry form and where the section sits in it.Directory.Build.props:CompanionLineRelease, empty until 11.0.0 ships, the one place a branch records the other line's latest release.ReleaseVersion(SemVer precedence, previews) replacesSystem.Versionin the changelog, security and packaging tests;SecurityPolicyConsistencyTestsholds one row per line (this branch's toPackageValidationBaselineVersion, falling back to the newest stable changelog version belowVersionwhen the baseline is empty, as it will be at the rename; the other line's toCompanionLineRelease; at most two rows, adjacent majors, never a preview, the ❌ row meeting the oldest);ChangelogConsistencyTestsholds the form (### Changed answersonly in a minor, before every other change of its entry, every row linking its issue, rows ending at the next heading);PackagingConventionTestsrefuses a preview baseline.Where this repository differs from ValueRanges on purpose: there is no
docs/migration.md, so a Changed-answers row links its issue only and carries the Upgrading note the entries already use; the terse one-line changelog form and the "where it returned …" wording detector are not ported, since this changelog is written differently and ValueRanges' detector reads that wording. The one branch name the issue did not spell out isrelease/5.x, cut whenmainopens 10.0.0, so a 5.x patch has somewhere to ship until the tag.Not in this PR:
release.ymlstill lets GitHub pick Latest, so a 10.x tag after 11.0.0 would take it; that is #44. Branch protection forrelease/**andnet11is a repository setting.Tests
dotnet testwithCI=true(Docker up, integration ran): 345 passed, 0 failed.Every new or changed guard was seeded and reset after each seed; each fails its own test:
< 5.3;CompanionLineRelease6.0.0 with no row; companion 7.0.0 (not adjacent); companion6.0.0-preview.1; baseline5.4.0-preview.1Supported_versions_table_names_the_latest_release_of_each_line(the preview baseline also failsPackagingConventionTests)**5.x** targets **EF Core 11**Every_supported_line_names_the_ef_core_major_it_targets### Changed answersin 5.4.1 (a patch)Changed_answers_appear_only_in_a_minor### Changed answersafter a bullet in 5.4.0Changed_answers_lead_their_entryEvery_changed_answer_links_its_issue### Fixedafter)## 11.0.0-preview.1ahead of Version 5.4.1No_changelog_runs_ahead_of_the_package_version11.0.0-preview.1, documented, baseline 5.4.0preview.9listed abovepreview.10Changelog_sections_are_descendingpr-hygiene.shon fabricated events: no type label, two type labels, a bug without severity, and no closing reference each fail with their own message;chore+Closes CaffeinatedCoder/EFCore.ComplexIndexes#40andresolves owner/repo#12pass; Dependabot is skipped; asilentPR against this checkout (5.4.1, a patch) fails "bump the minor"; against a fake 10.1.0 checkout it passes when its issue has a### Changed answersrow and fails when the issue is linked only under### Fixed; against a fake 10.0.0 it passes under the old rule.🤖 Generated with Claude Code