Skip to content

[Chore] Dispatch snapshot releases directly#9782

Open
weronikaolejniczak wants to merge 3 commits into
elastic:mainfrom
weronikaolejniczak:chore/dispatch-snapshot-releases-directly
Open

[Chore] Dispatch snapshot releases directly#9782
weronikaolejniczak wants to merge 3 commits into
elastic:mainfrom
weronikaolejniczak:chore/dispatch-snapshot-releases-directly

Conversation

@weronikaolejniczak

@weronikaolejniczak weronikaolejniczak commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes https://github.com/elastic/eui-private/issues/719

This PR is infra-only.

Specifically, it rewrites the Kibana regression testing pipeline from workflow_call (so called "reusable workflows" not supported by npm trusted publishing) to workflow_dispatch.

QA instructions for reviewer

No way to test this until it lands in main. Ensure statically the file changes make sense.

@weronikaolejniczak weronikaolejniczak self-assigned this Jul 3, 2026
@weronikaolejniczak weronikaolejniczak added skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) infrastructure skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR) labels Jul 3, 2026
@weronikaolejniczak weronikaolejniczak force-pushed the chore/dispatch-snapshot-releases-directly branch from 8d23feb to 4dd2682 Compare July 10, 2026 14:24
@weronikaolejniczak weronikaolejniczak marked this pull request as ready for review July 10, 2026 14:26
@weronikaolejniczak weronikaolejniczak requested a review from a team as a code owner July 10, 2026 14:26
Copilot AI review requested due to automatic review settings July 10, 2026 14:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the EUI → Kibana regression integration pipeline to dispatch snapshot publishing via workflow_dispatch (instead of workflow_call), keeping release.yml as the top-level npm trusted publishing entry point and then continuing the Kibana dependency update chain after publish metadata exists.

Changes:

  • Reworked update_kibana_dependencies.yml to dispatch release.yml for snapshot publishing and pass Kibana integration inputs through that workflow.
  • Updated release.yml to optionally dispatch the Kibana integration workflow chain after a successful snapshot publish.
  • Removed workflow_call definitions from the Kibana sub-workflows, standardizing on workflow_dispatch.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/update_kibana_dependencies.yml Switches from reusable workflow calling to dispatching release.yml for snapshot publishing + Kibana integration inputs.
.github/workflows/update_kibana_dependencies__prepare_changes.yml Aligns with dispatch-based chaining and improves dispatch argument handling for optional numeric inputs.
.github/workflows/update_kibana_dependencies__open_pr.yml Removes workflow_call interface, leaving this workflow dispatch-only.
.github/workflows/release.yml Adds Kibana integration inputs and dispatches the Kibana workflow chain after snapshot publish metadata is available.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
# language=bash
run: |
set -euo pipefail
dependencies="$(jq -c . .release/published_packages.json)"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Non blocking: Could we reuse the dependencies from here?

@mgadewoll mgadewoll left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 LGTM. I have only one non-blocking question.
In any case, we can merge and test once it's in main 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants