Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update oopsla benchmark to use latest version #196

Merged
merged 10 commits into from
Sep 30, 2024
Merged

Conversation

khieta
Copy link
Contributor

@khieta khieta commented Sep 23, 2024

Issue #, if available:

Description of changes:

Update the OOPSLA benchmarking code (on the main branch) to use the latest version of Cedar.

Also updates cedar-rust-hello-world and cedar-wasm-example to use the latest versions.

@khieta khieta marked this pull request as ready for review September 23, 2024 21:59
Comment on lines 10 to 12
cedar-policy-core = { git = "https://github.com/cedar-policy/cedar-spec", branch = "release/3.0.x", version = "=3.0.1" }
cedar-policy-generators = { git = "https://github.com/cedar-policy/cedar-spec", branch = "release/3.0.x", version = "=3.0.1" }
cedar-policy-validator = { git = "https://github.com/cedar-policy/cedar-spec", branch = "release/3.0.x", version = "=3.0.1" }
cedar-policy-core = { path = "cedar-spec/cedar/cedar-policy-core", version = "=4.0.0" }
cedar-policy-generators = { path = "cedar-spec/cedar-policy-generators", version = "=4.0.0" }
cedar-policy-validator = { path = "cedar-spec/cedar/cedar-policy-validator", version = "=4.0.0" }
Copy link
Contributor

Choose a reason for hiding this comment

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

why moving from git dependency to path dependency? or for that matter could we perhaps even depend on crates.io 4.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since this is going to main, the intent was to pull the "latest" version. Since we've bumped to 4.1.0 on main now, I'll move to that. Alternatively: is there a way to get "whatever version is at that path"?

Copy link
Contributor

Choose a reason for hiding this comment

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

version = "*"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Aha, makes sense. Updated in the latest commit.

oopsla2024-benchmarks/src/tinytodo_generator/cedar.rs Outdated Show resolved Hide resolved
@khieta khieta merged commit 851135f into main Sep 30, 2024
9 checks passed
@khieta khieta deleted the khieta/oopsla-upgrade branch September 30, 2024 22:41
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.

3 participants