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

GITHUB_CHECK_SUITE_ID often not set for first build in PR #1244

Open
1 of 2 tasks
awelzel opened this issue Sep 28, 2023 · 0 comments
Open
1 of 2 tasks

GITHUB_CHECK_SUITE_ID often not set for first build in PR #1244

awelzel opened this issue Sep 28, 2023 · 0 comments
Labels

Comments

@awelzel
Copy link

awelzel commented Sep 28, 2023

Expected Behavior

GITHUB_CHECK_SUITE_ID is reliably available in tasks for PR builds.

Real Behavior

GITHUB_CHECK_SUITE_ID is often not set in tasks for first build in PR. Sometimes it is.

We're using a script to send information about the Cirrus task/build and GitHub check suite id to a separate API outside of Cirrus. It seems that for the first build after opening a PR, most of the time, the tasks do not have GITHUB_CHECK_SUITE_ID set in their environment. For subsequent builds triggered by pushes to the same branch, GITHUB_CHECK_SUITE_ID is set. For some tasks from PRs, GITHUB_CHECK_SUITE_ID is set in the first build, however.

Related Info

Example tasks with missing GITHUB_CHECK_SUITE_ID
https://cirrus-ci.com/task/4921244521332736
https://cirrus-ci.com/task/5722400206094336

Example task with GITHUB_CHECK_SUITE_ID set
https://cirrus-ci.com/task/5242627394633728

Let me know if I can provide any more information. Thanks.

This is a (tick one of the following):

  • Website issue
    • Link to page:
  • Task issue
    • OS: (Docker, macOS, Windows, FreeBSD)
    • Task name: ubuntu22
    • Script/cache name (if applies):
@awelzel awelzel added the bug label Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant