Make CI assurance gates fail closed and measure the actual critical core #498
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
A repository-wide quality review after #491 found that the green checks and coverage badges currently prove less than their names imply. Several related assurance mechanisms have drifted together:
scripts/critical-modules.txtlists 15 paths, but 8 no longer exist after the manifest/egress/git-gate/supervise package decompositions. Coverage silently measures only the seven surviving paths and omits the replacement critical modules.scripts/coverage.sh, but.gitea/workflows/test.ymldoes not enforce it with--fail-underor an equivalent check..gitea/workflows/update-badges.ymlruns the unit suite with|| true, so a failed or partial run may still update the README badges.tests/canaries/contains only__init__.py. The scheduled canary workflow therefore has no canary tests to execute. No canary or pre-release run was visible in the available Actions history during the review.act_runner, including gateway-image, sandbox-escape, authentication, and multitenant-isolation coverage.install.sh,setup.py,MANIFEST.in,flake.nix,nix/firecracker-netpool.nix, and the pre-release workflow itself.The result is false confidence rather than merely a low coverage number: badges and green jobs can remain healthy while the security-critical behavior they describe is absent from the measurement.
Proposed work
|| truefrom badge generation and refuse to publish badges unless the unit suite and coverage extraction succeed.README.mdanddocs/ci.mdso automated versus manually dispatched backend coverage is described accurately.Acceptance criteria
scripts/critical-modules.txtcontains a missing path.Found during the whole-project quality evaluation following #444 / PR #491.