Skip to content

ci: match tests/** in the ansible filter so test-only PRs run their tests#120

Merged
openbao-service-broker[bot] merged 1 commit into
mainfrom
ci/ansible-filter-tests
Jul 24, 2026
Merged

ci: match tests/** in the ansible filter so test-only PRs run their tests#120
openbao-service-broker[bot] merged 1 commit into
mainfrom
ci/ansible-filter-tests

Conversation

@openbao-service-broker

Copy link
Copy Markdown
Contributor

Callers gate data-contract (pytest) and Ansible Lint on needs.ci.outputs.ansible. The ansible filter did not match tests/** — its globs cover a YAML suite via **.yml, but a Python suite under tests/ matched nothing. Both jobs reported SKIPPED, Merge Gate allowed the skips, and a test-only PR could merge on a green board having never run a test.

Found on a live PR: a test-only change under tests/hermes_agent/ showed SKIPPED for both jobs, so its verification was local-only and not CI-enforced.

The molecule filter had the same blind spot and was fixed separately, because the two filters gate different jobs — fixing one did not fix the other, which is exactly why this instance survived. Both now carry tests/**.

One glob added, plus a comment recording why. No job logic changed.

…ests

Callers gate pytest and ansible-lint on the `ansible` filter. Its globs
covered YAML suites via '**.yml' but nothing matched a Python suite under
tests/, so a test-only change produced SKIPPED on both jobs, Merge Gate
allowed the skips, and the PR could merge on a green board without its
tests ever running.

This is the same gap fixed for the molecule filter, which was corrected
separately because the two gate different jobs — which is precisely why
this second instance survived the first fix.

Assisted-by: Claude:claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_01Kqn6PLZhCzVdfLt7E7EFMg
@openbao-service-broker
openbao-service-broker Bot merged commit 4b759e0 into main Jul 24, 2026
19 checks passed
@openbao-service-broker
openbao-service-broker Bot deleted the ci/ansible-filter-tests branch July 24, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant