branch-readiness-checks
Branch Readiness
Run focused checks before push/PR.
Command Timing
Use bounded polling rather than agent-specific timeout fields.
For each command, set a max_wait_ms, poll every poll_interval_ms, and stop when the command completes or the max wait is reached.
If max_wait_ms is exceeded, report a timeout and continue to the next workflow step.
| Command type | max_wait_ms |
poll_interval_ms |
|---|---|---|
git diff, git merge-base |
15000 | 1000 |
node scripts/check_changes.ts --ref "$BASE" |
180000 | 2000 |
node scripts/lint_ts_projects.js, yarn test:type_check --project |
120000 | 2000 |
node scripts/generate codeowners, node scripts/regenerate_moon_projects.js |
60000 | 2000 |
yarn test:jest (per package) |
300000 | 5000 |
Workflow
More from elastic/kibana
codeql
Work with CodeQL in Kibana — write, test, and debug custom queries locally, fetch scan results from GitHub, and validate inline suppression comments. Use when writing or debugging CodeQL queries, running CodeQL unit tests, analyzing SARIF results, fetching scan results, or checking codeql suppression justifications.
1optimize-bundle-size
Reduce plugin `page load bundle size` and avoid unnecessary increases in `packages/kbn-optimizer/limits.yml`. Use when proactively optimizing bundles, investigating CI page-load overages, or reviewing PRs that change bundle limits.
1kibana-api
Shared utilities for interacting with a local Kibana instance. Provides auto-detection of Kibana URL and auth, and a kibana_curl wrapper.
1api-authz
Kibana API route authorization patterns. Use when configuring route security, working with requiredPrivileges, using authzResult for privilege-based branching, opting out of authorization, or naming custom privileges.
1ftr-testing
Deep reference for the Kibana Functional Test Runner (FTR). Use when reading, analyzing, debugging, or reviewing FTR tests, including config anatomy, services, page objects, loadTestFile patterns, data loading, tags, CI wiring, and common FTR idioms.
1validate-oas
Use when you need a quick VALID or NOT VALID result for a scoped Kibana OAS area, and first ensure the generated `oas_docs` inputs are up to date so validation runs against the current environment rather than stale snapshots.
1