Skip to content

Conversation

danyi1212
Copy link
Collaborator

  • Introduced the OPAL_OPA_V0_COMPAT setting to enable OPA v0 compatibility mode by default for OPAL v0.9.x, with plans to change it in v0.10.0.
  • Updated the OpalClientConfig class to include the new compatibility option.
  • Enhanced the OpaRunner to check for compatibility mode and append the --v0-compatible flag accordingly, facilitating easier migration from OPA v0 to v1.

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

  • I sign off on contributing this submission to open-source
  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

- Introduced the `OPAL_OPA_V0_COMPAT` setting to enable OPA v0 compatibility mode by default for OPAL v0.9.x, with plans to change it in v0.10.0.
- Updated the `OpalClientConfig` class to include the new compatibility option.
- Enhanced the OpaRunner to check for compatibility mode and append the `--v0-compatible` flag accordingly, facilitating easier migration from OPA v0 to v1.
Copy link

netlify bot commented Oct 6, 2025

Deploy Preview for opal-docs canceled.

Name Link
🔨 Latest commit 726dce6
🔍 Latest deploy log https://app.netlify.com/projects/opal-docs/deploys/68e3b2192f488a0008398644

@danyi1212 danyi1212 requested review from omer9564 and orweis October 6, 2025 12:08
@danyi1212 danyi1212 self-assigned this Oct 6, 2025
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on November 12

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

- Modified the `get_cli_options_dict` method in `OpaServerOptions` to exclude the `v0_compatible` option when generating CLI options, ensuring cleaner output.
- Removed redundant handling of the `v0_compatible` flag in `OpaRunner`, streamlining the argument preparation process.
@danyi1212 danyi1212 merged commit 0a7489a into master Oct 12, 2025
11 checks passed
@danyi1212 danyi1212 deleted the dan/per-12994-opal-migrate-default-opa-to-v1 branch October 12, 2025 17:03
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.

2 participants