Skip to content

feat(opa): run policy tests at startup#320

Merged
alecthomas merged 1 commit into
mainfrom
aat/opa-tests
May 20, 2026
Merged

feat(opa): run policy tests at startup#320
alecthomas merged 1 commit into
mainfrom
aat/opa-tests

Conversation

@alecthomas
Copy link
Copy Markdown
Collaborator

Add a test field to the opa block holding a Rego test module.
Every test_* rule is executed against the configured policy when
cachewd starts; a failing test exits the process.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Add a `test` field to the opa block holding a Rego test module.
Every test_* rule is executed against the configured policy when
cachewd starts; a failing test exits the process.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@alecthomas alecthomas requested a review from a team as a code owner May 20, 2026 05:57
@alecthomas alecthomas requested review from worstell and removed request for a team May 20, 2026 05:57
@alecthomas alecthomas enabled auto-merge (squash) May 20, 2026 05:57
@alecthomas alecthomas merged commit 54f4ef6 into main May 20, 2026
8 checks passed
@alecthomas alecthomas deleted the aat/opa-tests branch May 20, 2026 05:59
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