Skip to content

SECURITY.md names the version being prepared as supported, not the latest release #79

Closed

Description

@CaffeinatedCoder

Between releases, main's supported-versions table names a version that isn't published. Today it says 9.1.x is supported and anything older than 9.1 isn't, while the latest release on NuGet is 9.0.0. A reporter on 9.0.0 reads that as "your version gets no fixes".

Cause: SecurityPolicyConventionTests.TheSupportedVersionsTable_NamesTheShippedMinor compares the table with Version in Directory.Build.props. That is the version being prepared, not the latest release. #69 (opening 9.1.0) had to move the table to satisfy it.

Fix: tie the table to the latest release instead, and move it in the release PR rather than in the version bump. PackageValidationBaselineVersion already names the last release between a bump and the next tag, so it may be the reference to check against. Seed the defect (the table naming the unreleased minor) to show the test catches it, and set the table back to 9.0.x until 9.1.0 is tagged.

Found in an external review of the repository.

Activity

  1. added this to the 9.1.0 milestone on Oct 17, 2026
  2. added
    bug
    area/release
    severity/low
    on Oct 17, 2026
  3. CaffeinatedCoder commented on Oct 17, 2026

    @CaffeinatedCoder
    OwnerAuthor

    Fixed in #84, with one change from the plan above. The table can't move in the release PR: the commit that gets tagged runs CI before its tag exists, so it can't name its own version and also name the latest release. It moves with PackageValidationBaselineVersion instead, when the next version is opened straight after the tag. The tagged v9.1.0 commit will still say 9.0.x. main names 9.1.x as soon as it opens 10.0.0.

  4. CaffeinatedCoder commented on Oct 17, 2026

    @CaffeinatedCoder
    OwnerAuthor

    Oracle check (main at 3ecfa10): no oracle on main catches this (pending, expected miss). I reasoned this one rather than ran it: no class in oracles.json reads SECURITY.md, Directory.Build.props or PackageValidationBaselineVersion (I grepped their sources). SECURITY.md is not a claim source (docs/oracles.md#claimsjson--what-the-documents-promise), so no claim exists that could be held.
    The guard is SecurityPolicyConventionTests, a release-wiring convention test rather than an oracle. Before #84, that test was the cause of the defect. Neither route B step varies this.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/releasebugseverity/low

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions