• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AKlaus / DomainResult / 44725752072
87%

Build:
DEFAULT BRANCH: master
Ran 20 Nov 2026 11:14AM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Nov 2026 11:12AM UTC coverage: 87.5%. Remained the same
44725752072

push

github

web-flow
CI: Validate packages against the previous release (#114)

### Why

`AGENTS.md` marks a changed signature as **Breaking**, but no check finds one. A reviewer must spot it by eye.

### What changed

- **Package validation** — on for both packages
- **Baseline** — CI and release workflows take the release tag before `HEAD`
- **Checkout** — both workflows fetch full history and tags, so MinVer computes the version

The build now fails on an API break (`CP0002`) or a dropped target framework (`PKV006`) against the previous release on nuget.org. An intended break goes in the project's `CompatibilitySuppressions.xml`, so the diff shows it. The .NET SDK has this check built in, so the PR adds no `PackageReference`.

No file holds the baseline, so nobody bumps it after a release. The workflows pass it as the `PackageValidationBaselineVersion` environment variable, which MSBuild reads in restore, build, and pack. A local build has no baseline, so it skips the comparison.

The shallow checkout had no tags, so CI packed version 0.0.0. Validation needs the real version: 0.0.0 is lower than the baseline and fails with `CP0003`.

### Changes at a glance

| Change | Added | Changed | Removed |
|---|---|---|---|
| CI workflows |  | 2 |  |

**Areas**: `.github`, `src`

**CI workflows**

- modified `.github/workflows/ci.yml`
- modified `.github/workflows/release.yml`

### How to verify

Make a public method `internal` in `src/Common`, then run `PackageValidationBaselineVersion=3.4.0 dotnet build -c Release`. The build fails with `CP0002`.

Closes #98.

_-- AI Assistant_

97 of 114 branches covered (85.09%)

Branch coverage included in aggregate %.

309 of 350 relevant lines covered (88.29%)

21.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44725752072.1 20 Nov 2026 11:14AM UTC 22
87.5
GitHub Action Run
Source Files on build 44725752072
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44725752072
  • 39d27b8c on github
  • Prev Build on master (#44703673078)
  • Next Build on master (#44874615559)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc