• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

spdx / tools-golang / 41116398188
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: chore/spdx3-docs
DEFAULT BRANCH: main
Ran 24 Nov 2026 03:30PM UTC
Jobs 1
Files 142
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

30 Oct 2026 07:23PM UTC coverage: 88.069% (+0.2%) from 87.895%
41116398188

Pull #308

github

gquesnell
tagvalue: keep missing file SPDXID check when an Other License section is followed by a package

The new PackageName transition out of the OtherLicense state cleared
parser.file without the "does not have SPDX identifier" check the File
state performs, so a file with no SPDXID followed by a LicenseID block
and then a new package was dropped silently instead of erroring.

Do the same check before clearing the file in all three 2.x readers.
FileName and SnippetSPDXID already get it from parsePairFromFile and
parsePairFromSnippet; the new test covers all three transitions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Garrett Quesnell <gquesnell@exiger.com>
Pull Request #308: tagvalue: allow package, file and snippet sections after an Other License section

48 of 48 new or added lines in 3 files covered. (100.0%)

6 existing lines in 4 files now uncovered.

9655 of 10963 relevant lines covered (88.07%)

24.74 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
96.7
-3.3% spdx/v2/v2_2/rdf/reader/parser.go
1
90.12
3.17% spdx/v2/v2_1/tagvalue/writer/save_document.go
1
90.12
3.17% spdx/v2/v2_2/tagvalue/writer/save_document.go
1
90.12
3.17% spdx/v2/v2_3/tagvalue/writer/save_document.go
Jobs
ID Job ID Ran Files Coverage
1 41116398188.1 24 Nov 2026 03:30PM UTC 142
88.07
GitHub Action Run
Source Files on build 41116398188
  • Tree
  • List 142
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #308
  • PR Base - main (#38574192983)
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