yak(coverage-floors-re-measure-and-re-record-after-the-behavior-test-yaks-mgr8): coverage floors: re-measure and re-record after the behavior-test yaks

This commit is contained in:
Willem van den Ende
2026-10-29 10:38:36 +00:00
parent 9c0f33e6ca
commit edba66239e
2 changed files with 17 additions and 15 deletions
+8 -6
View File
@@ -192,12 +192,14 @@ defmodule Firehose.MixProject do
# land; never lower it. A drop means the change (or an exclusion) is wrong,
# not the floor.
#
# Measured 2026-10-28 (PostgreSQL on localhost:5432, exclusions below):
# 88.19% after the web-controller/auth edge-case behavior tests (87.56% after
# the editorial-LiveView ones, 86.97% before them, and 86.79% / 86.17% at
# earlier exclusion revisions), identical via `mix test --cover` and via
# Measured 2026-10-29 (PostgreSQL on localhost:5432, exclusions below):
# 94.01% on `main` = 9c0f33e, with boundary enforcement, credo, the mutation
# scope and the core-components behavior tests all landed (88.19% after the
# web-controller/auth edge-case tests, 87.56% after the editorial-LiveView
# ones, 86.97% before them, and 86.79% / 86.17% at earlier exclusion
# revisions), identical via `mix test --cover` and via
# `mix test --cover --export-coverage default` + `mix test.coverage`. Floor is
# the integer below that — so a floor of 88 means "at least 88.00%".
# the integer below that — so a floor of 94 means "at least 94.00%".
#
# `test.coverage` deletes stale exports before sampling: `mix test.coverage`
# imports *every* .coverdata it finds, so leftover exports from earlier runs
@@ -243,7 +245,7 @@ defmodule Firehose.MixProject do
# that is where the behavior-test work shows up as a higher floor.
defp test_coverage do
[
summary: [threshold: 88],
summary: [threshold: 94],
ignore_modules: [
Firehose.Repo,
Firehose.Mailer,