Skip to content

Coverage is not a thing we measure - #684

Merged
3lvis merged 1 commit into
masterfrom
ci/no-coverage
Sep 17, 2026
Merged

3lvis merged 1 commit into
masterfrom
ci/no-coverage

Conversation

@3lvis

@3lvis 3lvis commented Sep 17, 2026

Copy link
Copy Markdown
Owner

Why

Coverage is not a signal this project acts on, so the machinery that produces it is cost without a decision behind it. AGENTS.md already says tests guard against regressions rather than coverage, and the job's own comment concedes the rest — "never fails CI and is intentionally not a required check". An informational number nobody gates on is a report nobody reads.

It was not cheap to produce. The job ran swift test --enable-code-coverage on HEAD, then checked out the pull request base and ran the whole suite a second time to compute a delta — two full macOS test runs per pull request, on the slowest runner we pay for, for a number with no consequence.

The approach

The core-coverage job and scripts/core_coverage.py are gone. The gates that remain all fail a pull request when they go red: the macOS test matrix, the three warnings gates, doc links, the perf regression ceiling, the simulator tier, and oida.

swift build clean, lint clean.

@3lvis
3lvis marked this pull request as ready for review September 17, 2026 17:46
@3lvis
3lvis merged commit f59ace3 into master Sep 17, 2026
11 checks passed
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.

1 participant