feat(Spanner): Add workflow dispatch options to run specific test suites or individual tests within Spanner PR#3337
Conversation
Summary of ChangesHello @pratickchokhani, 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 significantly enhances the CI/CD testing infrastructure by providing more granular control over test execution. It introduces a mechanism to specify and run individual tests or test suites directly from the command line, which is particularly useful for targeted debugging and verification within Spanner PR workflows. This change streamlines the development process by reducing the need to run entire test suites for minor changes, thereby improving efficiency. Highlights
Changelog
Ignored Files
Activity
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
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3337 +/- ##
============================================
+ Coverage 51.04% 56.69% +5.64%
+ Complexity 5213 1747 -3466
============================================
Files 994 474 -520
Lines 60672 27066 -33606
Branches 6651 2883 -3768
============================================
- Hits 30972 15345 -15627
+ Misses 27527 10800 -16727
+ Partials 2173 921 -1252
🚀 New features to boost your workflow:
|
ea627b0 to
465ad9f
Compare
|
What is the use-case for this? Curious to know why we would need to run a specific test via the CI/CD flow? |
465ad9f to
3e4dfd8
Compare
…tes or individual tests within Spanner PR
3e4dfd8 to
f715120
Compare
This is only applicable when the workflow is executed manually from the Actions page. While testing integration test, this will reduce the execution time to ~15m from the current time of ~1.5 hr. Only to be used for debugging purpose. |
|
Can't we run the ITs directly using Maven commands? |
We can but, for some tests other resources like Cassandra, Mysql or other instances are required. Thought process was that using this those setup will not be required. |
|
Thanks, got it. We should document this class of tests and how to run them somewhere. |
Will be updating the Integration test playbook. |
darshan-sj
left a comment
There was a problem hiding this comment.
Looks good. Added few comments.
e7b006e to
8499b11
Compare
No description provided.