mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-26 23:19:07 +00:00
The validation owned its own push trigger and paths filter, which made it the one build-and-test workflow outside the on-pr.yml plus reusable-*.yml pair the rest of CI uses. Rename it to reusable-telemetry-validation.yml, take workflow_call, and let on-pr.yml decide when it runs. on-pr.yml gains a second changed-files list for the telemetry paths. Its existing `go` flag is true for nearly every pull request, so gating on `go` alone would run a self-hosted build and a 30-minute cluster on all of them. The configure step no longer repeats the telemetry option. A command-line define is written to the cache before the toolchain runs and wins over it, so it could turn telemetry on with the package never fetched. build-xrpld reads the value the build actually configured out of CMakeCache.txt and publishes it as a job output; validate-telemetry runs only when that says telemetry is on, and every value CMake does not accept as a boolean fails the job rather than skipping silently.