-
Notifications
You must be signed in to change notification settings - Fork 787
[CI] Refactor changes detection for check-* in Build/LIT tasks #9760
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
2701b4e
to
c29c8e1
Compare
c29c8e1
to
a4a83e3
Compare
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.
Please, fix CI failures.
@@ -0,0 +1,48 @@ | |||
name: Determine which check-* targets could be affected by the PR |
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.
Let's use something short. AFAIK, this name appears in places where only first N symbols are displayed. For example https://github.com/intel/llvm/actions (see left side). Another example - https://github.com/intel/llvm/actions/runs/5193089878.
How about "Identify impacted LIT tests"?
Do we have to name the workflow? I see that need_check
name is very similar to this.
devops/actions/lit-tests/action.yml
Outdated
@@ -0,0 +1,81 @@ | |||
name: Run device-agnostic LIT tests (check-*) as part of the build |
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.
name: Run device-agnostic LIT tests (check-*) as part of the build | |
name: Device-agnostic LIT tests |
Updated: |
a4a83e3
to
e5d0159
Compare
Tested in Unfortunately, composite actions don't provide nice groupings (see https://github.com/orgs/community/discussions/21276) so it might get harder to deal with failures. |
That's bad. New action output is quite big. It will be difficult to find an error. |
Does it mean that you're against this unification? |
I would say I'm against this implementation. I don't think removing code duplications justifies such user experience degradation. |
What if I group the logs via
? They will be folded by default and would lack success/failure marking but at least the grouping would be there. |
You would still need to click through all of the groups to find where tests failed. |
e5d0159
to
09f8f07
Compare
Changes are being tested in https://github.com/intel/llvm/actions/runs/5212842934/jobs/9407002813?pr=9776. |
@@ -94,35 +71,29 @@ jobs: | |||
run: | | |||
cmake --build build --target sycl-toolchain | |||
- name: check-llvm | |||
shell: bash |
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.
I can keep shell: bash
if you'd like (although it's noisy), but it seems to work with default shell (CMD) as well.
It's the former that we don't want to run.
@@ -27,53 +27,8 @@ permissions: | |||
contents: read | |||
|
|||
jobs: |
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.
Do I understand it correctly that we leave post-commit as is because the method to detect impacted tests is different?
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.
We don't do such detection/filtering there at all.
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.
I know and my question is "why?". It looks like a low hanging fruit to speed-up CI.
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.
Two reasons:
- I don't feel comfortable doing the switch yet.
- I don't think it's necessarily the right choice. Imagine an xptifw test failing. We change that part so rarely that we won't be running it for weeks if not months and it would be easy for the bugs to slip through.
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.
2. We change that part so rarely that we won't be running it for weeks if not months and it would be easy for the bugs to slip through.
What king of bugs do you expect to slip through, if there are no code 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.
Commit1 - green
Commit2 - red, regression
CommitN..M - green, because didn't touch that component, regression is still present
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.
Commit 2 - red, regression <-- this is where the bug is caught, so I don't how it can "slip through".
Are you trying to say that the gatekeeper who merged commit 2 can skip reporting this issue and failing post-commits for commit N..M expose this issue to other gatekeepers, who will report it?
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.
That or just a constant reminder that there is an issue if we always test.
No description provided.