-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
Bump upload artifact v3 to v4 #12702
Bump upload artifact v3 to v4 #12702
Conversation
665f6da
to
714aec2
Compare
0c3692a
to
babbe0c
Compare
I'm not being able to make this gem work correctly, we need to make sure all artifacts are created in separate files. Closing for now. |
I just did a small spike on this one, out of the box, the action doesn't support this feature. Right now all the failed test screenshots are uploaded in a single zip and we download and extract them all in one go. This seems more feasible as per the action's current behavior. Thanks |
Hey @chahmedejaz , thanks for looking into this. Yes I agree this is the ideal case. It seems I left this branch in a green state, so unfortunately I cannot demonstrate which the issue I encountered exactly. I believe it had to do with artifacts created from failing specs, on different Knapsack nodes - i.e., the case in which the zip file needs to be updated in different moments, during the build run. This relates to this breaking change. |
Sure, I'll try to look into that tonight. However, I think in that case we should we should just change the name for the files being uploaded. I tried to validate this case and it worked fine. However, I don't remember now that whether it was v3 or v4 😅 Currently, it's the same as |
Agree, renaming makes sense and would prevent the issue, but (I think!) only partially as we have 14 and 12 Knapsack nodes for admin and consumer specs, respectively ( So, if different system (admin or consumer) specs fail on a single build run there is a good chance they land on different nodes. This is not the case if the failing tests are within the same file; in this case, failures will always be within the same node, as we don't set
So if we can include the name of the failing spec, then I guess it should be fine 👍 This is my current understanding of it, I hope this is helpful 🙏 |
Hi @filipefurtad0 - I validated this and here are the results from this onwards. It was breaking as both jobs were trying to upload with the same name. With different names, it's fixed now. Thanks |
What? Why?
We use actions/upload-artifact to create artifacts i.e., files like screenshots, when a spec fails. We've been getting a deprecation error. This PR fixes it.
Also, it removes the screenshot code from the engines node - I this is only needed on system specs, right?
What should we test?
Release notes
Changelog Category (reviewers may add a label for the release notes):
The title of the pull request will be included in the release notes.
Dependencies
Documentation updates