ci(lint): pinned promtool, sops and age so the alert-rule and key-isolation tests run in CI (stacked on #131) #132
Loading…
Reference in a new issue
No description provided.
Delete branch "jfraeys/ci/pinned-test-tools"
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?
Merge #131 first (this builds on its amtool step and replaces it with one combined step).
The lint log showed two suites silently skipping: 'SKIP: docker is not available; alert rule tests not run' and 'SKIP: sops and age-keygen are required'. So the promtool alert-rule tests and the project key-isolation test only ever ran on the operator's Mac.
One thing to watch on the first CI run. With the x86 promtool 3.15.0 running under QEMU emulation on an Apple Silicon Mac, promtool crashed twice with Go's 'fatal error: concurrent map writes' (util/stats TimerGroup) while running the unit tests. The same version natively (aarch64) passed 3/3, and locally in the prom/prometheus:v3 image the suite always passes. I believe this is an emulation timing artifact: the CI runner is native amd64. If the lint job's alert-rule step ever shows that crash on the runner, it is a real promtool race: retry the step, and pin another promtool version.
🤖 Generated with Claude Code
jfraeys referenced this pull request2026-10-13 17:42:19 -04:00