-
Notifications
You must be signed in to change notification settings - Fork 102
chore: cleanup the benchs and Cargo.toml #606
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
Conversation
Summary of ChangesHello @Its-Just-Nans, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on dependency cleanup and improving error handling within the project's benchmarks. It removes the Highlights
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary
This PR performs cleanup work by removing the unused generic-array dependency and improving error handling in benchmark files. The changes look good overall with one minor issue to address.
Key Changes:
- ✅ Removed unused
generic-arraydependency from Cargo.toml and theaes-cryptofeature - ✅ Improved error handling for
getrandom::fill()calls in benchmark files with proper error messages - ✅ Removed unused
ioimport frombenches/read_metadata.rs - ✅ Added new GitHub workflow for comprehensive feature testing with cargo-hack
Issues Found:
- 🔧 Minor: Incomplete comment in the new workflow file needs completion
The dependency cleanup and error handling improvements are solid changes that enhance code quality. The new cargo-hack workflow will help ensure feature combinations work correctly, which aligns well with the project's guidelines about feature flag testing.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request cleans up the codebase by removing the generic-array dependency and replacing unwrap() calls in benchmark tests with proper error handling. The changes are well-aligned with the goals outlined in the associated issue. I've included a suggestion to reduce code duplication in the benchmark files for better maintainability.
Co-authored-by: amazon-q-developer[bot] <208079219+amazon-q-developer[bot]@users.noreply.github.com> Signed-off-by: n4n5 <git@n4n5.dev>
…ain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: n4n5 <git@n4n5.dev>
Fix #605 part 1 and 2
What's the reason to keep
generic-array?