Skip to content

fix(ci): pin coverage collector to 0.7.6 - #1033

Merged
martin-kolinek merged 1 commit into
mainfrom
u/makolnek/coverage-gate-override
Nov 27, 2026
Merged

martin-kolinek merged 1 commit into
mainfrom
u/makolnek/coverage-gate-override

Conversation

@martin-kolinek

Copy link
Copy Markdown
Collaborator

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 466e498d3e125d7b6c904f0d59b1543531d70d29

Dimension Assessment Rationale
Change confidence 9/10 ↑ Only the collector pin changes; Just evaluation and install dry-run select 0.7.6.
↓ Full coverage collection was not run.
Diagnosis confidence 8/10 ↑ Upstream release targets per-process raw-profile storage with bounded online merging.
↓ The prior CI exhaustion was not reproduced in this branch.
Evidence fit 7/10 ↑ Reported Windows experiment reduced raw storage by 96.7% with identical counters and LCOV.
↓ A complete previously exhausted CI run remains unverified.

🤖 Temporarily pin cargo-coverage-gate to 0.7.6 in justfiles/anvil/versions.just, ahead of the cargo-anvil catalog rollout.

The collector release adopts bounded online profile merging (coverage-%8m.profraw) to reduce raw-profile disk use. This is an explicitly requested exception to generated Anvil defaults. Anvil itself, lock metadata, and all other generated defaults remain unchanged; no regeneration was performed.

Validation: Just variable evaluation, collector install recipe dry-run, and git diff --check passed. No full coverage run was performed.

Upstream release: https://github.com/microsoft/ox-tools/releases/tag/cargo-coverage-gate-v0.7.6 (fix: microsoft/ox-tools#403; release: microsoft/ox-tools#407).

Temporarily override the generated Anvil collector pin before the catalog rollout to adopt bounded online profile merging. Leave Anvil and its other generated defaults unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@martin-kolinek
martin-kolinek marked this pull request as ready for review November 27, 2026 16:51
Copilot AI balanced review requested due to automatic review settings November 27, 2026 16:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the targeted coverage-collector version pin, although a full coverage run remains unverified.

No open issues 🎉

What changed in this PR

Temporarily pins the coverage collector to cargo-coverage-gate 0.7.6 ahead of the Anvil catalog update, aiming to reduce raw-profile disk use during CI coverage runs.

Changes:

  • Updates the collector pin from 0.7.5 to 0.7.6 as an explicitly requested exception to generated defaults.
  • Leaves Anvil, lock metadata, and other generated defaults unchanged.

Reported validation covers version evaluation and the install dry-run; a full coverage run remains unverified.

File Description
justfiles/​anvil/​versions.just Pins the coverage collector to version 0.7.6.

Review effort: Balanced

@martin-kolinek
martin-kolinek enabled auto-merge (squash) November 27, 2026 16:54
@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.9%. Comparing base (9e73397) to head (466e498).
⚠️ Report is 5 commits behind head on main.

❌ Your project check has failed because the head coverage (99.9%) is below the target coverage (100.0%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1033   +/-   ##
=====================================
  Coverage   99.9%   99.9%           
=====================================
  Files        854     855    +1     
  Lines      75041   75082   +41     
=====================================
+ Hits       75032   75073   +41     
  Misses         9       9           
Flag Coverage Δ
linux 100.0% <ø> (ø)
linux-arm 100.0% <ø> (ø)
scheduled ?
windows 99.9% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@martintmk

Copy link
Copy Markdown
Member

Posted by an AI agent

No actionable findings in this full eleven-area review of the coverage collector pin from 0.7.5 to 0.7.6. I traced installation, prerequisite checks, coverage selection, cache invalidation and container setup.

Reviewed head: 466e498d3e125d7b6c904f0d59b1543531d70d29. Target: refs/heads/main. Target tip and merge base: d6562ac6e42aef48b9586d8241675bcaeb7499f9. Coverage cutoff: 2026-11-27T21:57:12Z.

The required Anvil and repository checks pass. Codecov reports coverage below its target. The available evidence does not establish that this pin caused the failure. I did not run local builds, tests or coverage, audit the upstream collector implementation, or measure its disk savings.

Public API changes

No API Changes

The complete change affects only a separately installed tool. No library or library build input changes. Human review label: not required.

Integration tests

No Integration Test Changes

Package test targets, owned inputs and repository selection flags are unchanged. Human review label: not required.

Benchmarks

Not applicable: no product runtime path changes. No measurements or benchmark follow-up are pending.

Current unresolved findings

No unresolved findings.

@martintmk martintmk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Posted by an AI agent

Full eleven-area review at 466e498d3e125d7b6c904f0d59b1543531d70d29 found no actionable findings. See the rolling report for scope, classifications and evidence limits.

@martin-kolinek
martin-kolinek merged commit 0a3cff4 into main Nov 27, 2026
53 of 54 checks passed
@martin-kolinek
martin-kolinek deleted the u/makolnek/coverage-gate-override branch November 27, 2026 21:59
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.

4 participants