Skip to content

Add ITS policy config for early release-violation visibility#236

Merged
joejstuart merged 1 commit into
conforma:mainfrom
joejstuart:EC-1904
Jul 16, 2026
Merged

Add ITS policy config for early release-violation visibility#236
joejstuart merged 1 commit into
conforma:mainfrom
joejstuart:EC-1904

Conversation

@joejstuart

Copy link
Copy Markdown
Contributor

Summary

  • Adds a new redhat-its/ policy config that simulates release-time Conforma evaluation during Integration Tests
  • Sets pipeline_intention: release to unlock OLM rules (unpinned_snapshot_references, unpinned_related_images, inaccessible_related_images, unmapped_references)
  • Excludes the schedule and quay_expiration packages since they enforce release-only constraints that would always fail in ITS

Test plan

  • Verify ec validate image works against this config with a test image
  • Confirm OLM rules are evaluated (pipeline_intention=release takes effect)
  • Confirm schedule and quay_expiration rules are skipped

Ref: EC-1904

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 8777231c-0ccc-4d71-aaf7-621d4e676f3c

📥 Commits

Reviewing files that changed from the base of the PR and between 6dd06b7 and b6b454e.

📒 Files selected for processing (1)
  • redhat-its/policy.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • redhat-its/policy.yaml

📝 Walkthrough

Walkthrough

Adds a Red Hat ITS Conforma policy that simulates release-time evaluation, loads base and release policy sources, includes Red Hat rules, and excludes the quay_expiration and schedule packages.

Changes

Red Hat ITS policy

Layer / File(s) Summary
Policy definition and sources
redhat-its/policy.yaml
Defines ITS policy metadata, sets pipeline_intention to release, configures policy and external data sources, includes @redhat, and excludes quay_expiration and schedule.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding an ITS policy config for earlier visibility of release violations.
Description check ✅ Passed The description matches the PR and explains the new ITS policy config, its release-intention setting, and excluded packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

Comment thread redhat-its/policy.yaml Outdated
st3penta
st3penta previously approved these changes Jul 16, 2026

@st3penta st3penta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, i just left a non-blocking comment about the effective date

This policy config lets teams surface release-time Conforma policy
violations during Integration Tests. It sets pipeline_intention to
"release" to unlock OLM rules, while excluding the schedule and
quay_expiration packages that would always fail outside an actual
release.

Ref: EC-1904

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@joejstuart
joejstuart merged commit 7204782 into conforma:main Jul 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants