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

feat: implemented submit chunking for RFD #0010 #737

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

patrickjcasey
Copy link
Contributor

  • Added support for chunking Query submissions
  • Added test for submission chunking

I just want to ensure that adding an enum variant to QueryState is not considered a breaking change. Also since this changes hipcheck-common, does its version need be incremented or do we just handle that when it comes time to cut a release

@patrickjcasey patrickjcasey force-pushed the patrickjcasey/rfd10-proto-changes branch from e6d0795 to a11f303 Compare December 20, 2024 16:37
@patrickjcasey
Copy link
Contributor Author

closes #730 #732

Copy link
Collaborator

@j-lanson j-lanson left a comment

Choose a reason for hiding this comment

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

Missing some logic in the QuerySynthesizer, but the rest is looking good!

hipcheck-common/src/chunk.rs Outdated Show resolved Hide resolved
hipcheck-common/src/chunk.rs Outdated Show resolved Hide resolved
sdk/rust/src/error.rs Show resolved Hide resolved
@j-lanson
Copy link
Collaborator

On the subject of versioning, I would do the following:

  1. Bump hipcheck-common version to 0.2.0
  2. Update rust-sdk to take the new version, and bump it's version to 0.3.0
  3. Update the plugins to take SDK 0.3.0

We can add RFD10 to hipcheck-common-v0.2.0 without another version bump since we haven't released anything yet.

On the next release, we will release new versions of the rust SDK and all plugins.

@patrickjcasey
Copy link
Contributor Author

This is not quite done yet, still working through a couple of things

@patrickjcasey patrickjcasey marked this pull request as draft December 23, 2024 17:38
@patrickjcasey patrickjcasey force-pushed the patrickjcasey/rfd10-proto-changes branch 5 times, most recently from 0ea199f to 29eb6ad Compare January 6, 2025 23:08
@patrickjcasey patrickjcasey requested a review from j-lanson January 6, 2025 23:27
@patrickjcasey patrickjcasey marked this pull request as ready for review January 6, 2025 23:27
@patrickjcasey patrickjcasey force-pushed the patrickjcasey/rfd10-proto-changes branch from 29eb6ad to f2fe17e Compare January 6, 2025 23:54
Copy link
Collaborator

@j-lanson j-lanson left a comment

Choose a reason for hiding this comment

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

Some questions about changes to the logic. Either revert or prove parity with tests

hipcheck-common/proto/hipcheck/v1/hipcheck.proto Outdated Show resolved Hide resolved
hipcheck-common/src/chunk.rs Outdated Show resolved Hide resolved
hipcheck-common/src/chunk.rs Outdated Show resolved Hide resolved
hipcheck-common/src/chunk.rs Outdated Show resolved Hide resolved
plugins/affiliation/Cargo.toml Outdated Show resolved Hide resolved
@patrickjcasey patrickjcasey force-pushed the patrickjcasey/rfd10-proto-changes branch from f2fe17e to 7e53387 Compare January 10, 2025 15:24
@patrickjcasey patrickjcasey force-pushed the patrickjcasey/rfd10-proto-changes branch 2 times, most recently from d5d622e to c2e201b Compare January 10, 2025 15:41
@patrickjcasey
Copy link
Contributor Author

just pushed to this branch again. It seems like there were some new clippy warnings that popped up, so I also fixed those

@alilleybrinker
Copy link
Collaborator

just pushed to this branch again. It seems like there were some new clippy warnings that popped up, so I also fixed those

Makes sense, Rust released 1.84.0 yesterday, which we pick up immediately in CI. New Rust versions usually mean new Clippy lints.

- Added support for chunking Query submissions
- Added test for submission chunking
- Bumped hipcheck-common to 0.2.0
- Bumped hipcheck-sdk to 0.3.0
- Updated plugins to rely on hipcheck-sdk 0.3.0
- Bumped minor version of all plugins relying on hipcheck-sdk

Signed-off-by: Patrick Casey <[email protected]>
@patrickjcasey patrickjcasey force-pushed the patrickjcasey/rfd10-proto-changes branch from c2e201b to 9185e45 Compare January 10, 2025 16:48
Copy link
Collaborator

@j-lanson j-lanson left a comment

Choose a reason for hiding this comment

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

Thanks Patrick!

@j-lanson j-lanson merged commit 00c1d10 into main Jan 10, 2025
10 checks passed
@patrickjcasey patrickjcasey deleted the patrickjcasey/rfd10-proto-changes branch January 10, 2025 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants