-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
Fine-tune CI Workflows in PR #954
Comments
I'm interested in this. can I try it? |
@binary-ho Sure. If you have any questions, feel free to ask. |
Hello, I have questions for this issue. [summary]
1. Types of Bench TestsCurrently, the bench CI runs
I haven't fully understood all these test codes, but should all these tests be triggered only when there are changes related to CRDT? Are bench tests unnecessary in other scenarios? 2. Suggestion of Separating the
|
I'm seeing
Answered in 1.
I define CRDT-related code as the tests that includes document editing between one or more two clients. More specifically, if the test contains below code, I see as CRDT-related code. err = d1.Update(func(root *json.Object, p *presence.Presence) error {
root.SetNewText(testKey)
return nil
})
assert.NoError(b, err) How do you think about this? @hackerwins |
Description:
Currently, all PRs trigger
bench
orsharding_test
CI workflows, which may not be necessary for every code change. It would be beneficial to fine-tune the workflows so thatbench
CI is only run on CRDT-related code changes,sharding_test
CI is only run on DB-related code changes, and basic CI is run on all other code changes. This will optimize the CI process and reduce unnecessary testing.Why:
By adjusting the CI workflows to be more specific based on code changes, we can improve efficiency, reduce run times, and ensure that the appropriate tests are executed for each PR. This will streamline the development process and enhance code quality.
The text was updated successfully, but these errors were encountered: