-
Notifications
You must be signed in to change notification settings - Fork 353
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
Change recommendation for ci-build-id? #431
Comments
|
@rbayliss |
Hey @cgraham-rs, yep - I've used this and it's 100% reliable for my purposes (including across reruns). |
|
@MikeMcC399 there's still an issue where if you use Github I believe this is caused by the current Robust custom build id documentation suggesting creating a separate CI job to compose Migrating the "Robust custom build id" into the actual test job and ensuring it's unique on each run and NOT time-based should solve that problem as a new It looks like this issue was originally documented in #574 but closed as a dupe of #531 which is not correct as that addresses how it re-runs ALL tests instead of JUST the failed tests which is a completely separate issue. |
Confirmed. |
I tested this (without using the option I'm unsure about the need for |
@cgraham-rs This behavior would indicate the ci-build-id not being unique. You can see the generated ci-build-id in the Cloud in the properties tab. I wouldn't expect users to need to pass one, as we do try to generate it ourselves, as Mike is also reiterating. |
@jennifer-shehane the Robust custom build id documentation instructs us to manually craft a I don't recall why we chose to implement a custom |
Hello!
Thanks for this action! It looks like Github has recently added context support for
github.run_attempt
. This action currently has to do backflips with the GH API in order to generate a unique (but predictable)ci-build-id
property, but with the addition ofrun_attempt
, I think you could probably deprecate that complexity. Eg:I think this build ID would be guaranteed unique across all of Github for every run, even for reruns.
github.run_attempt
hasn't made the GHA documentation yet, so I'm not sure if it's stable enough to recommend right now, but I've verified that it's present for all of the current "Github Provided" runners.The text was updated successfully, but these errors were encountered: