Skip to content

Enforce coverage thresholds on runtime library files only - #70

Merged
TristanKruse merged 1 commit into
mainfrom
test/library-coverage-65
Oct 26, 2026
Merged

TristanKruse merged 1 commit into
mainfrom
test/library-coverage-65

Conversation

@TristanKruse

@TristanKruse TristanKruse commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Fixes #65.

  • Restrict the enforced SimpleCov report to this repository's lib/**/*.rb files, including tracked but unloaded runtime files. Loaded specs, benchmark code, and development scripts cannot inflate the denominator.
  • Preserve the existing minimums: 98% line and 90% branch coverage. No runtime behavior or dependencies change.
  • Add an isolated subprocess regression that loads the real configuration and tooling, checks the exact runtime file set and thresholds, and does not merge its partial probe execution into the full suite's coverage.
  • Document scope and platform-specific symlink skips in CONTRIBUTING.

Validation

Combined validation

Locally combined #68, #69, and #70 on an unpushed verification branch without conflicts. Passed: 614 examples with zero failures (8 Windows native-symlink skips); runtime-library-only coverage 98.48% line / 91.51% branch at unchanged 98% / 90% thresholds; 267 files lint-clean; 179 documentation pages validated; both public/installed-API smoke scripts; fresh scan of 1,269 advisories with zero findings and successful health detection; all six pinned Rack/Rake/RSpec canary modes with reviewed fingerprints unchanged. All GitHub checks on each PR are green. No PR was merged and no release/version bump was performed.

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.

QA: enforce coverage thresholds on library source rather than aggregate tooling

1 participant