Skip to content

Conversation

@Acepresso
Copy link
Contributor

@Acepresso Acepresso commented Jan 21, 2026

Upgrade regal to v0.37.0 and fix resulting linting violations.

These import-related lint violations require significant changes (many references in many files), so they are ignored and I'll create another story to handle them.

  • pointless-import
  • unresolved-reference

also upgraded in this PR: conftest to v0.66.0

@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
policy/lib/tekton/refs.rego 100.00% <100.00%> (ø)
policy/lib/tekton/task_results.rego 100.00% <100.00%> (ø)
policy/lib/tekton/trusted.rego 100.00% <100.00%> (ø)
policy/lib/time/time_test.rego 100.00% <100.00%> (ø)
policy/release/git_branch/git_branch_test.rego 100.00% <ø> (ø)
policy/release/olm/olm.rego 100.00% <100.00%> (ø)
...ase/provenance_materials/provenance_materials.rego 100.00% <100.00%> (ø)
...cy/release/sbom_cyclonedx/sbom_cyclonedx_test.rego 100.00% <ø> (ø)
policy/release/sbom_spdx/sbom_spdx_test.rego 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Acepresso Acepresso force-pushed the regal-upgrade-EC-1617 branch 2 times, most recently from 1d3aae6 to e627240 Compare January 21, 2026 16:24
Acepresso and others added 10 commits January 22, 2026 11:25
The Regal project has moved from github.com/styrainc/regal to
github.com/open-policy-agent/regal.
Update go.mod and import statements accordingly.

This upgrade introduces new linting rules that will need to be
addressed in a follow-up commit.

Also upgraded: conftest to v0.66.0

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Ref: https://issues.redhat.com/browse/EC-1617
…erence

These import-related lint violations came with a recent Regal package
upgrade to v0.3x. Since they require changing hunderds of references in
the code, they are ignored and will be addressed in a dedicated PR.

- unresolved-reference
- pointless-import
@Acepresso Acepresso force-pushed the regal-upgrade-EC-1617 branch from e627240 to 3a366a0 Compare January 22, 2026 09:25
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.

1 participant