fix(platform-seanfarm): map tests/ so guard changes can build #325
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/platform-seanfarm-tests-path"
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?
What
Adds
tests/**to thepathsof theplatformgroup for theplatform-seanfarmproject. One line.Why
binjovi-gitops-selectrequires every changed path to map to a group. Theplatform-seanfarmproject has exactly one group, whosepathsare:tests/**is absent, so any change touching a guard fails the build before it runs:That is platform-seanfarm #686, which changes two guards alongside the composition. It never reached its build checks.
The gap is self-evident once seen: the same group already declares
So the group runs a guard it cannot be triggered by. A PR touching only
tests/was unbuildable, and a PR touchingapis/plustests/failed rather than running the guards it changed.Why
pathsand notrender_pathspathsselects which group a change belongs to.render_pathsselects what gets rendered into the deployment artifact.A guard change belongs to this group -- it is the group that runs
tests/check.sh-- so it goes inpaths. It renders nothing, so it stays out ofrender_paths. The rendered output is byte-identical for a tests-only change; the value is that the guards actually run.This matches how
seanfarmalready works. Itsbinjovi-control-planegroup liststests/binjovi*.shinpathsbeside the manifests, and itsplatform-fallbackgroup carries a broadtests/**.platform-seanfarmhas no fallback group at all, which is why nothing absorbed these paths.Not
ignored_pathsignored_paths(README.md,docs/**) would also stop the failure, and would be wrong: it would mean guard changes silently skip the build. The point is to run them.Checks
./scripts/checkexits 0;tests/native-catalog-testexits 0.Purely additive -- one glob added to one group, no project removed, so
PlanSource.validate_additiveis satisfied.https://claude.ai/code/session_01GfkEuwuvGSqGyXVuxwT7PA
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.