Skip to content

ci(coverage): rename report label, tolerate upload errors - #73

Merged
framinosona merged 1 commit into
mainfrom
ci/coverage-label-coverlet
Nov 23, 2026
Merged

framinosona merged 1 commit into
mainfrom
ci/coverage-label-coverlet

Conversation

@framinosona

Copy link
Copy Markdown
Member

Summary

The coverage upload step in ci.yml now uses the label code-coverage/coverlet instead of code-coverage-agent, and sets fail-on-error: false so an upload problem shows up as a warning instead of failing the workflow.

Why

The label names the tool that produced the report (coverlet, Cobertura format), which is how the other plugin repos label it, so reports line up across repos. Coverage is informational here, so a failed upload should not turn CI red.

This mirrors the same change in Plugin.ByteArrays (#86).

Change Type

  • Feature
  • Bug fix
  • Refactor
  • Docs only
  • CI/build/tooling

Affected Areas

  • String / Numeric / Enum extensions
  • Collection extensions (Dictionary / List / Enumerable / ConcurrentDictionary)
  • Temporal extensions (DateTime / DateOnly / TimeOnly / TimeSpan)
  • Reflection / Assembly extensions
  • Comparison extensions
  • Tests
  • Docs

(CI workflow only.)

Behavior And Compatibility

  • Public API changed
  • Exception behavior changed
  • No externally visible behavior change

The library and its package are untouched. Coverage reports uploaded from now on appear under the new label; reports uploaded earlier keep the old one. fail-on-error: false only affects the upload step's result.

Tests

  • Unit tests added/updated
  • Not applicable (explain)

Workflow-only change. The upload runs on pushes and same-repo PRs, so the first run after merge confirms the new label.

Documentation

  • README feature list updated
  • XML docs added/updated
  • Not applicable (explain)

Checklist

  • Commit messages follow Conventional Commits (type(scope): subject)
  • CI passes
  • Change is scoped to one logical unit of work

Rename the coverage report label from code-coverage-agent to code-coverage/coverlet, matching the tool that produced the report and the naming used by the other plugin repos. Set fail-on-error to false so an upload problem is reported as a warning instead of failing the workflow, since coverage is informational.
Copilot AI balanced review requested due to automatic review settings November 22, 2026 23:19

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

There are no active review issues blocking the CI coverage-upload configuration change.

No open issues 🎉

What changed in this PR

Updates the CI coverage upload configuration to align report naming across plugin repositories and keep upload failures from failing CI. The library and package are unchanged.

Changes:

  • Renames the coverage report label to code-coverage/coverlet.
  • Sets fail-on-error: false so upload errors produce warnings rather than workflow failures.
File Description
.github/​workflows/​ci.yml Updates the coverage label and error handling, with a comment explaining why uploads are non-blocking.

Review effort: Balanced

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: C#

C# / code-coverage/coverlet

main ci/coverage-label-co... 33f4bcf +/-
— 90% —

Line coverage data for the main branch is not yet available.

View coverage of the 10 most covered files.
File main ci/coverage-label-co... 33f4bcf +/-
ListExtensions.cs — 100% —
ConcurrentDicti...ryExtensions.cs — 100% —
EnumerableExtensions.cs — 98% —
TimeSpanExtensions.cs — 95% —
UriExtensions.cs — 95% —
ExceptionExtensions.cs — 89% —
DictionaryExtensions.cs — 85% —
AssemblyExtensions.cs — 78% —
StringExtensions.cs — 77% —
StreamExtensions.cs — 75% —

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@github-actions

Copy link
Copy Markdown

Test Results

490 tests  ±0   490 ✅ ±0   2s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 33f4bcf. ± Comparison against base commit 17bdfcf.

@framinosona
framinosona merged commit 4422cef into main Nov 23, 2026
14 checks passed
@framinosona
framinosona deleted the ci/coverage-label-coverlet branch November 23, 2026 00:57
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.

2 participants