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

[ci][microcheck/13] reuse the logic to determine microcheck tests #45504

Merged
merged 6 commits into from
May 26, 2024

Conversation

can-anyscale
Copy link
Collaborator

Currently the logic to determine the list of microcheck tests and their rayci step ids are diverging. This PR move more function into Test class, so we converge more these two logic.

This make sure that we will trigger the right buildkite steps to cover most if not all microcheck tests.

Test:

  • CI

@@ -198,33 +198,52 @@ def gen_from_s3(cls, prefix: str):
]

@classmethod
def gen_high_impact_tests(cls, prefix: str) -> Dict[str, List]:
def gen_microcheck_step_ids(cls, prefix: str, bazel_workspace_dir: str) -> Set[str]:
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe add docstring about what this method does?

high_impact_tests = _get_high_impact_test_targets(
team, operating_system, container
)
prefix = f"{operating_system}:"
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe update the comment before this line about the union of new tests?

@can-anyscale
Copy link
Collaborator Author

can-anyscale commented May 24, 2024

added comments; test all microcheck tests: https://buildkite.com/ray-project/microcheck/builds/592

Base automatically changed from can-mcx12 to master May 24, 2024 22:53
@can-anyscale can-anyscale force-pushed the can-mcx13 branch 2 times, most recently from 00d2f89 to 914bad4 Compare May 25, 2024 07:06
@can-anyscale can-anyscale force-pushed the can-mcx13 branch 2 times, most recently from 68757b3 to c6c69c4 Compare May 25, 2024 13:44
@can-anyscale can-anyscale force-pushed the can-mcx13 branch 3 times, most recently from 4682bb7 to 52d799f Compare May 25, 2024 16:38
falls there; until we can figure out something better

Signed-off-by: can <[email protected]>
@can-anyscale can-anyscale enabled auto-merge (squash) May 26, 2024 13:50
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label May 26, 2024
@can-anyscale can-anyscale merged commit 15c294e into master May 26, 2024
8 checks passed
@can-anyscale can-anyscale deleted the can-mcx13 branch May 26, 2024 14:39
ryanaoleary pushed a commit to ryanaoleary/ray that referenced this pull request Jun 6, 2024
…y-project#45504)

Currently the logic to determine the list of microcheck tests and their
rayci step ids are diverging. This PR move more function into Test
class, so we converge more these two logic.

This make sure that we will trigger the right buildkite steps to cover
most if not all microcheck tests.

Test:
- CI

---------

Signed-off-by: can <[email protected]>
Signed-off-by: Ryan O'Leary <[email protected]>
ryanaoleary pushed a commit to ryanaoleary/ray that referenced this pull request Jun 6, 2024
…y-project#45504)

Currently the logic to determine the list of microcheck tests and their
rayci step ids are diverging. This PR move more function into Test
class, so we converge more these two logic.

This make sure that we will trigger the right buildkite steps to cover
most if not all microcheck tests.

Test:
- CI

---------

Signed-off-by: can <[email protected]>
Signed-off-by: Ryan O'Leary <[email protected]>
ryanaoleary pushed a commit to ryanaoleary/ray that referenced this pull request Jun 7, 2024
…y-project#45504)

Currently the logic to determine the list of microcheck tests and their
rayci step ids are diverging. This PR move more function into Test
class, so we converge more these two logic.

This make sure that we will trigger the right buildkite steps to cover
most if not all microcheck tests.

Test:
- CI

---------

Signed-off-by: can <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants