Skip to content

Regal v0.41.1 warning #2062

Description

@FluerasRares

Pipeline regal version: 0.37.0
Local regal version: 0.41.1

When I run the command: regal lint use-cases/*/policies (which basically runs lint on all my policies, hundreds of them)

I get this non-blocking warning (that does not say much...):

{
  "errors": [
    "error(s) encountered while linting: failed to lint using Rego aggregate rules: error evaluating aggregate rules: /regal/rules/imports/circular-import/circular_import.rego:83: eval_conflict_error: object keys must be unique"
  ]
}

Reason I saw this was because I ran it on my branch. That doesn't mean it's not there for a while.
Same problem in the pipeline after the version upgrade (obviously, before, this was not the case).

Now the question is, when did this happen? I would have expected to see it as a blocker. So now it's very hard, nearly impossible to trace (if for example you have 100 commits).

Seems like a regal problem.
Can you confirm?

Much appreciated. Thank you!

Reference: https://github.com/orgs/open-policy-agent/discussions/759

Metadata

Metadata

Assignees

No one assigned

    Labels

    category/importsruleIssues related to new or existing linter rules

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions