Skip to content

[Chore] Add nightly schedule#9776

Open
weronikaolejniczak wants to merge 1 commit into
elastic:mainfrom
weronikaolejniczak:chore/kibana-nightly-integration-testing
Open

[Chore] Add nightly schedule#9776
weronikaolejniczak wants to merge 1 commit into
elastic:mainfrom
weronikaolejniczak:chore/kibana-nightly-integration-testing

Conversation

@weronikaolejniczak

@weronikaolejniczak weronikaolejniczak commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

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

  • Modified update_kibana_dependencies* workflows to support non-PR updates.
  • Made update_kibana_dependencies workflow trigger based on a schedule: - cron: '0 3 * * 1-5'.
  • Registered a new Slack App and Slack webhook for #eui-core channel, and added in the repo as KIBANA_NIGHTLY_SLACK_WEBHOOK. Instead of commenting on a source PR (that doesn't exist), it sends notifications in Slack.

QA instructions for reviewer

Not possible to test until merged to main.

@weronikaolejniczak weronikaolejniczak self-assigned this Jul 2, 2026
@weronikaolejniczak weronikaolejniczak added infrastructure skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR) skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) labels Jul 2, 2026
@weronikaolejniczak weronikaolejniczak changed the title [Chore] Add nightly schedule [Chore] Fix regression tests and add nightly schedule Jul 3, 2026
@weronikaolejniczak weronikaolejniczak changed the title [Chore] Fix regression tests and add nightly schedule [Chore] Add nightly schedule Jul 3, 2026
@weronikaolejniczak
weronikaolejniczak force-pushed the chore/kibana-nightly-integration-testing branch from e414cfc to 554c809 Compare July 13, 2026 10:56

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

Adds a scheduled (“nightly”) execution path to the Kibana dependency update / integration-test workflow chain, so it can run without an originating PR and report results via Slack.

Changes:

  • Added a weekday schedule trigger to update_kibana_dependencies.yml, with logic to mark scheduled runs as nightly.
  • Extended the prepare/open-PR subworkflows to support nightly runs (fixed branch reuse, PR body enrichment with EUI snapshot/changelog details).
  • Added Slack notification output for nightly runs, including optional Buildkite link discovery.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/update_kibana_dependencies.yml Adds weekday schedule trigger and nightly dispatch args to the release workflow.
.github/workflows/update_kibana_dependencies__prepare_changes.yml Adds nightly inputs + fixed branch/force-push behavior; forwards nightly metadata to the open-PR workflow.
.github/workflows/update_kibana_dependencies__open_pr.yml Adds nightly PR body generation (including changelog entries) and Slack webhook notification.
.github/workflows/release.yml Passes nightly metadata (EUI ref/version/last release) into the Kibana integration workflow chain.

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

Comment on lines +54 to +57
concurrency:
group: ${{ inputs.kibana_nightly && 'kibana-nightly' || format('release-{0}', github.run_id) }}
cancel-in-progress: false
queue: max

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Concurrency also supports queue: max as per (source):

To allow more than one pending job or workflow run to wait in the same concurrency group, use the optional queue property. The queue property accepts the following values:

single (default): At most one job or workflow run can be pending in the concurrency group. When a new job or workflow run is queued, any existing pending job or workflow run in the same group is canceled and replaced.
max: Up to 100 jobs or workflow runs can be pending in the concurrency group. When the queue is full, any additional jobs or workflow runs are canceled.

The reason we're using it is because we have 3 separately dispatched workflows, so we want a FIFO queue and not a single workflow.

?

Comment thread .github/workflows/update_kibana_dependencies__prepare_changes.yml
Comment thread .github/workflows/update_kibana_dependencies__open_pr.yml
@weronikaolejniczak
weronikaolejniczak marked this pull request as ready for review July 16, 2026 10:36
@weronikaolejniczak
weronikaolejniczak requested a review from a team as a code owner July 16, 2026 10:36
changelog_entries+="$(< "$changelog_file")"
done < <(
find packages/eui/changelogs/upcoming -maxdepth 1 -type f \
-name '*.md' ! -name '_template.md' | sort

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.

Nit, non-blocking: Would sort -V make sense to ensure correct numerical order?

@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, let's ship and test! 🚢

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