Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 9 additions & 15 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
# 1. Single-stack PRs leave non-uploaded flags as `?` in the comment and
# drop them from the rollup; carrying forward the base-branch report
# backfills them.
# TEMPORARILY DISABLED for one main rebaseline (see #6839): the
# reverted deferred-upload experiment (#6730/#6824) left the
# carryforward chain stuck, so every PR shows its own flag as
# `Carriedforward` instead of a fresh delta. Turning carryforward off
# for one full main build flushes the poisoned baseline; the follow-up
# PR restores it.
# 2. Coverage of generated code (protobuf), build output, and the
# tests themselves dilutes the "real" coverage figure. Ignore
# those paths.
Expand All @@ -37,9 +31,11 @@
# even when behavior is preserved. Allow 1% slack on project and
# require 60% patch coverage.

# flag_management.default_rules.carryforward is intentionally omitted here
# for the one-time rebaseline described above (#6839). It is restored in the
# follow-up PR once main has a full build under the current flag set.
flag_management:
default_rules:
# If the current PR didn't run the job for a given flag, inherit
# the latest report on the base branch instead of showing `?`.
carryforward: true

ignore:
# Generated protobuf — line counts swamp real code.
Expand Down Expand Up @@ -86,10 +82,8 @@ coverage:
threshold: 10%

comment:
# Once carryforward is restored (see #6839), it backfills missing flags
# from main, but Codecov's default still hides those rows from the PR
# comment. Show them so a frontend-only or pyamber-only PR's table lists
# every flag — fresh-data rows track the patch and carryforward'd rows
# render with `<ø>` to make their unchanged status obvious. (A harmless
# no-op while carryforward is temporarily off for the rebaseline.)
# CI is label-gated: a single-stack PR (e.g. a frontend-only change)
# uploads only its own flag. carryforward backfills the rest from main;
# this surfaces those carried rows (rendered `<ø>`) instead of hiding
# them, so every PR's table lists all flags.
show_carryforward_flags: true
Loading