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

elastic / cloudbeat / 24346380141
76%
main: 76%

Build:
Build:
LAST BUILD BRANCH: renovate/main-github.com-dlclark-regexp2-2.x
DEFAULT BRANCH: main
Ran 13 Apr 2026 01:54PM UTC
Jobs 1
Files 235
Run time 2min
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

13 Apr 2026 01:36PM UTC coverage: 75.814%. Remained the same
24346380141

push

github

web-flow
Add Fleet and Kibana checks in create env workflow (#4092)

### Summary of your changes

Adds a Kibana and Fleet readiness check to the CDR composite action,
ensuring Fleet Server is fully operational before integration
installation scripts run. Previously, integrations were installed
immediately after Kibana reported available, causing race conditions
where Fleet Server was still initializing.

**Root causes addressed:**
- \`GET /api/fleet/status\` returns 404 on ESS deployments — replaced
with \`POST /api/fleet/setup\` (triggers Fleet initialization) followed
by stability polling on \`GET /api/fleet/epm/packages\`
- Fleet Server passes a single readiness check but crashes under load —
now requires 5 consecutive 200s before proceeding
- \`perform_api_call\` only retried 5xx errors — 429 (TLS handshake
timeout surfaced as rate limit) and \`400 "not available with current
configuration"\` (Fleet mid-init) are now also retried
- \`get_package_version\` silently returned \`None\` on failure, causing
16 install scripts to POST a null package version and receive a
confusing \`400 "expected string but got null"\` — now raises
immediately
- \`delete_env.sh\` jq expression had an operator precedence bug causing
\`Cannot index string with string "StackName"\` when filtering
CloudFormation stacks

**Files changed:**
- \`.github/actions/cdr/action.yml\` — new "Wait for Kibana and Fleet to
be ready" step: Kibana available → \`POST /api/fleet/setup\` → 5×
consecutive \`GET /api/fleet/epm/packages\` 200; adds
\`serverless-mode\` input to skip the Fleet check on serverless
deployments
- \`.github/workflows/test-environment.yml\` — passes
\`serverless-mode\` through to the CDR action
- \`tests/fleet_api/base_call_api.py\` — retries 429 and the
Fleet-not-ready 400; increases default \`max_retries\` from 3 to 8 with
backoff capped at 30s
- \`tests/fleet_api/common_api.py\` — \`get_package_version\` raises on
failure instead of returning \`None\`
- \`deploy/test-environ... (continued)

9727 of 12830 relevant lines covered (75.81%)

16.4 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
83.06
0.0% internal/resources/providers/gcplib/inventory/provider.go
Jobs
ID Job ID Ran Files Coverage
1 24346380141.1 13 Apr 2026 01:54PM UTC 235
75.81
GitHub Action Run
Source Files on build 24346380141
  • Tree
  • List 235
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 45940601 on github
  • Prev Build on gh-readonly-queue/main/pr-4342-d408e5cb74a4384273693b7fe889cdcf5db51d30 (#24335576198)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc