Skip to content

[ci] add github notification for CI steps #8485

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

Merged

Conversation

pkoutsovasilis
Copy link
Contributor

@pkoutsovasilis pkoutsovasilis commented Jun 13, 2025

What does this PR do?

This PR adds GitHub commit status notifications for individual Buildkite CI steps in both bk.integration.pipeline.yml and integration.pipeline.yml. Specifically:

  • Introduces github_commit_status notifications for each major group of integration tests, including:
    • Packaging
    • ESS stack provisioning
    • Extended runtime leak tests
    • Windows integration tests
    • Ubuntu integration tests
    • Debian integration tests
    • RHEL8 integration tests
    • Kubernetes integration tests
  • Each CI group now reports its status back to GitHub with a distinct context name, improving visibility of individual step results directly in GitHub PRs and commits.

Why is it important?

Adding granular GitHub commit statuses for each CI step provides better visibility and traceability of the CI pipeline's health directly in GitHub. This allows:

  • Easier identification of failing or flaky test groups.
  • Faster debugging by directly linking failed Buildkite jobs to corresponding GitHub contexts.
  • Improved developer experience by surfacing Buildkite statuses in the GitHub UI.

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

None.

How to test this PR locally

  • Trigger the Buildkite pipeline after merging.
  • Observe that each CI group now updates the corresponding GitHub commit status context.

Related issues

N/A

@pkoutsovasilis pkoutsovasilis self-assigned this Jun 13, 2025
@pkoutsovasilis pkoutsovasilis added skip-changelog backport-active-all Automated backport with mergify to all the active branches labels Jun 13, 2025
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@elasticmachine
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

History

cc @pkoutsovasilis

@pkoutsovasilis pkoutsovasilis marked this pull request as ready for review June 16, 2025 06:58
@pkoutsovasilis pkoutsovasilis requested review from a team as code owners June 16, 2025 06:58
Copy link
Member

@v1v v1v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Panos!

@pkoutsovasilis pkoutsovasilis merged commit cefd95f into elastic:main Jun 16, 2025
19 checks passed
Copy link
Contributor

@Mergifyio backport 8.17 8.18 8.19 9.0

Copy link
Contributor

mergify bot commented Jun 16, 2025

backport 8.17 8.18 8.19 9.0

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jun 16, 2025
mergify bot pushed a commit that referenced this pull request Jun 16, 2025
mergify bot pushed a commit that referenced this pull request Jun 16, 2025
mergify bot pushed a commit that referenced this pull request Jun 16, 2025
pkoutsovasilis added a commit that referenced this pull request Jun 16, 2025
(cherry picked from commit cefd95f)

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
pkoutsovasilis added a commit that referenced this pull request Jun 16, 2025
(cherry picked from commit cefd95f)

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
pkoutsovasilis added a commit that referenced this pull request Jun 16, 2025
(cherry picked from commit cefd95f)

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
pkoutsovasilis added a commit that referenced this pull request Jun 16, 2025
(cherry picked from commit cefd95f)

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-active-all Automated backport with mergify to all the active branches skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants