Skip to content

ci: the alert rule files under docs/observability have no promtool test in the build #1492

Closed

Description

@bpalermo

The repository ships Prometheus rule files beside the docs, and #1490 adds agent-pin-alerts.yml with a promtool test rules file. Nothing in the Bazel graph or CI runs promtool, so that test (and any rule's syntax) is checked by hand only.

Add a pinned promtool (the way other CLI tools are pinned) and a test target that runs promtool check rules on every rule file and promtool test rules on every *_test.yml, in the unit leg.

Found while working #1490.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

  1. added
    enhancement
    minor
    observability
    ci
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cienhancementminorobservability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions