Skip to content

feat(ci): Codecov patch coverage (informational) + missing lcov reporter fix (WS5.6) - #7114

Merged
diegosouzapw merged 1 commit into
release/v3.8.49from
feat/codecov-patch-coverage
Jul 14, 2026
Merged

diegosouzapw merged 1 commit into
release/v3.8.49from
feat/codecov-patch-coverage

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

Summary

Task WS5.6 (decision D7) of the v3.8.49 quality/velocity master plan — the owner already created the CODECOV_TOKEN secret.

  1. Bug found while wiring: the CI c8 report step never emitted lcov (only text/json summaries) — coverage/lcov.info was silently absent from the coverage artifact (if-no-files-found: warn), which is the same file the Sonar job consumes (likely a remaining cause of Sonar's 0% coverage). --reporter=lcov added.
  2. Codecov upload (action SHA-pinned to v5) after the coverage summary, fail_ci_if_error: false.
  3. codecov.yml: strict-patch/lenient-project philosophy — patch target 70% and project status both informational: true (D7: nothing blocks during ~2 weeks of calibration; promotion to blocking is an owner flip of one flag). PR comment only when coverage changes.

Closes the gap the global ratchet cannot see: 200 new uncovered lines pass today if the repo average holds — patch coverage looks at the diff.

Workflow/config-only; YAML parse OK.

…eporter (WS5.6)

Two changes to the test-coverage job:
- The CI c8 report step never emitted lcov (only text/json summaries), so the
  coverage-report artifact silently skipped coverage/lcov.info
  (if-no-files-found: warn) — the very file the Sonar job consumes. Adding
  --reporter=lcov makes the artifact real for both consumers.
- codecov/codecov-action v5 (SHA-pinned) uploads the lcov after the summary,
  with codecov.yml keeping BOTH statuses informational during calibration
  (D7 decision: informative first, blocking only after ~2 weeks without false
  blocks). Philosophy: strict patch, lenient project — the global floor/ratchet
  already lives in c8 60% + quality-baseline.json; Codecov adds the diff view.
Workflow+config-only change; YAML parse validated; CODECOV_TOKEN secret already
created by the owner.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@diegosouzapw diegosouzapw added the queue Owner-approved: enter the Mergify merge queue (the label IS the merge approval) label Jul 14, 2026
@diegosouzapw
diegosouzapw merged commit a6b24f1 into release/v3.8.49 Jul 14, 2026
13 checks passed
@diegosouzapw
diegosouzapw deleted the feat/codecov-patch-coverage branch July 14, 2026 16:51
HouMinXi pushed a commit to HouMinXi/OmniRoute that referenced this pull request Aug 2, 2026
…eporter (WS5.6) (diegosouzapw#7114)

Two changes to the test-coverage job:
- The CI c8 report step never emitted lcov (only text/json summaries), so the
  coverage-report artifact silently skipped coverage/lcov.info
  (if-no-files-found: warn) — the very file the Sonar job consumes. Adding
  --reporter=lcov makes the artifact real for both consumers.
- codecov/codecov-action v5 (SHA-pinned) uploads the lcov after the summary,
  with codecov.yml keeping BOTH statuses informational during calibration
  (D7 decision: informative first, blocking only after ~2 weeks without false
  blocks). Philosophy: strict patch, lenient project — the global floor/ratchet
  already lives in c8 60% + quality-baseline.json; Codecov adds the diff view.
Workflow+config-only change; YAML parse validated; CODECOV_TOKEN secret already
created by the owner.
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…eporter (WS5.6) (diegosouzapw#7114)

Two changes to the test-coverage job:
- The CI c8 report step never emitted lcov (only text/json summaries), so the
  coverage-report artifact silently skipped coverage/lcov.info
  (if-no-files-found: warn) — the very file the Sonar job consumes. Adding
  --reporter=lcov makes the artifact real for both consumers.
- codecov/codecov-action v5 (SHA-pinned) uploads the lcov after the summary,
  with codecov.yml keeping BOTH statuses informational during calibration
  (D7 decision: informative first, blocking only after ~2 weeks without false
  blocks). Philosophy: strict patch, lenient project — the global floor/ratchet
  already lives in c8 60% + quality-baseline.json; Codecov adds the diff view.
Workflow+config-only change; YAML parse validated; CODECOV_TOKEN secret already
created by the owner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

queue Owner-approved: enter the Mergify merge queue (the label IS the merge approval)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant