-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
fix: capture PR number for Azure #26215
Conversation
cli/CHANGELOG.md
Outdated
@@ -11,6 +11,9 @@ _Released 03/28/2023 (PENDING)_ | |||
**Misc:** | |||
|
|||
- Made some minor styling updates to the Debug page. Addresses [#26041](https://github.com/cypress-io/cypress/issues/26041). | |||
- Capture the [Buildkite](https://buildkite.com/) CI provider's environment variable `BUILDKITE_RETRY_COUNT` to handle CI retries in the Cloud. Addressed in [25750](https://github.com/cypress-io/cypress/pull/25750). | |||
- Capture the [Azure](https://azure.microsoft.com/) CI provider's environment variable [`SYSTEM_PULLREQUEST_PULLREQUESTNUMBER`](https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#system-variables-devops-services) to display the value in the Cloud. Addressed in [26215](https://github.com/cypress-io/cypress/pull/26215) |
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 expect this to be either a bug fix or feature enhancement, not listed as a misc update
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 just updated it to be under Bugfixes
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 just updated it to be under Bugfixes
3 flaky tests on run #45087 ↗︎Details:
|
Test | Artifacts | |
---|---|---|
... > correctly returns currentRetry |
Output
Video
|
|
... > correctly returns currentRetry |
Output
Video
|
|
... > correctly returns currentRetry |
Output
Video
|
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.
@estrada9166 Are there doc changes that need to go with this change? or do we already document this ENV? |
1 similar comment
@estrada9166 Are there doc changes that need to go with this change? or do we already document this ENV? |
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
@emilyrohrbough these env variables are not documented - we only document the ones related with the CI-BUILD-ID |
@estrada9166 why wouldn't we document all envs we are capturing? |
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.
Code seems fine!
I'm guessing we don't document things considered internal to CI providers - users should be able to move from CI to CI seamlessly, I think these env vars would be considered an implementation detail. Is there any value in adding something like this to the documentation? |
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
as these are values captured during CI and sent to Cloud for our own purposes, I don't think they need to be publicly documented |
Additional details
Capture
SYSTEM_PULLREQUEST_PULLREQUESTNUMBER
to display the value in the cloud.Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?