• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elastic / cloudbeat / 32633918664
76%

Build:
DEFAULT BRANCH: main
Ran 23 Aug 2026 10:44AM UTC
Jobs 1
Files 243
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Aug 2026 10:08AM UTC coverage: 76.208% (-0.03%) from 76.238%
32633918664

push

github

web-flow
ci: add main-branch DRA check for minor version-bump workflow (#7623)

### Description

During the recent minor version bump (9.5), each team's version-bump
pipeline advanced `main` to the next dev minor (`9.6.0-SNAPSHOT`) in
addition to cutting the release branch. The version-bump pipelines
currently verify only that the release-branch DRA artifacts landed
(staging + snapshot for `${BRANCH}.json`) — they do not verify that
main's DRA snapshot actually published at the new version.

This means a minor bump can report success even if main's DRA pipeline
never picked up `9.6.0-SNAPSHOT`. The gap was identified during the
`9.5` feature freeze. Only ml-cpp and kibana had a main-branch check;
this brings the remaining repos up to the same standard.

Tracking: elastic/platform-engineering-productivity#3012

### What

Adds a two-step sequence, gated on `WORKFLOW=minor`:

1. **`generate-master-dra-check`** — runs after `fetch-dra-artifacts`.
Computes the next dev minor from `NEW_VERSION` (e.g. `9.5.0` → `9.6.0`)
and dynamically uploads a child step via `buildkite-agent pipeline
upload`.
2. **`fetch-master-dra-artifacts`** (uploaded at runtime) — polls
`master.json` on GCS with `elastic/json-watcher` until `.version` equals
`${next_minor}-SNAPSHOT`.

Patch and major bumps are unaffected — the `if: build.env("WORKFLOW") ==
"minor"` guard means neither step is uploaded.

### Notes

- The GCS alias for main's DRA artifacts is `master.json` (not
`main.json`).
- The next minor is derived from `NEW_VERSION`, not `BRANCH`.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Dmitry Gurevich <dmitry.gurevich@elastic.co>

10160 of 13332 relevant lines covered (76.21%)

15.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
82.74
-1.3% internal/resources/providers/gcplib/inventory/provider.go
Jobs
ID Job ID Ran Files Coverage
1 32633918664.1 23 Aug 2026 10:44AM UTC 243
76.21
GitHub Action Run
Source Files on build 32633918664
  • Tree
  • List 243
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0a767b34 on github
  • Prev Build on gh-readonly-queue/main/pr-8018-ba7c269d822c3f6d466b27ef896718f2392ab5e5 (#32457277203)
  • Next Build on main (#32745533041)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc