Repository navigation
Fix for unreliable trending numbers before query is complete - #110
Merged
Merged
Conversation
rashidkpc
pushed a commit
that referenced
this pull request
May 24, 2013
Fix for unreliable trending numbers before query is complete
spalger
pushed a commit
to spalger/kibana
that referenced
this pull request
Mar 3, 2016
harper-carroll
referenced
this pull request
in harper-carroll/kibana
Jul 11, 2016
opauloh
added a commit
to CohenIdo/kibana
that referenced
this pull request
Jun 18, 2025
Fixing [job] [logs] FTR Configs elastic#110 / Cloud Security Posture Old Data Findings page with old data returns no Findings KSPM
baileycash-elastic
pushed a commit
to baileycash-elastic/kibana
that referenced
this pull request
Nov 12, 2026
…5025) ## Summary Fixes the causes of recent `kibana-version-bump` failures. 3 of the last 30 builds failed: | Build | Failed step | Cause | Fix | |---|---|---|---| | [elastic#110](https://buildkite.com/elastic/kibana-version-bump/builds/110) (9.6.0 minor) | Create new release branch | elastic#109 had already created `9.6`. The retry pushed it again from a newer `main` and was rejected as non-fast-forward. | Skip branch creation if the branch exists, and stop duplicate builds | | [elastic#105](https://buildkite.com/elastic/kibana-version-bump/builds/105) (8.19.24) | Promote ES Snapshot | An 8.19 backport promoted a Docker image the 8.19 build never pushed | Already fixed by elastic#296720 | | [elastic#88](https://buildkite.com/elastic/kibana-version-bump/builds/88) (8.19.19) | Reconcile PR Labels | The old and new versions were equal on a re-run | Derive the old version from `NEW_VERSION` | | [elastic#88](https://buildkite.com/elastic/kibana-version-bump/builds/88) (8.19.19) | Fetch DRA Artifacts | Cloned Kibana into a 10G volume and ran out of space | Skip checkout | ## Changes - `create_new_branch_of_main.sh` exits early if the release branch already exists. - `reconcile_pr_labels.sh` derives the previous version from `NEW_VERSION` (9.5.7 gives 9.5.6). It used to read package.json, which a re-run sees as already bumped, so reconciliation was skipped. `bump_package_json_versions.sh` no longer writes the unused `OLD_VERSION` metadata. - `version_bump/pipeline.ts` fails the build if an older build is still bumping the same version. If the Buildkite API call fails, it logs a warning and continues. This adds `BuildkiteClient.getInProgressBuilds()`. - `version_bump.yml`: - Fetch DRA Artifacts skips the checkout because it only runs a polling plugin. It now retries only on exit `-1` (lost agent or timeout). - `#kibana-operations-alerts` gets failures only, without the team mention. The message includes the version, workflow and branch. Successful bumps still post to `#mission-control`. ## Testing - `npm run typecheck` in `.buildkite` passes. - Ran `pipeline.ts` against a fake Buildkite API. An older duplicate fails the build. A newer duplicate, a different version, dry runs, API 500/401 errors and an unset `NEW_VERSION` all continue. - Checked the version derivation (`9.6.0` is rejected) and the `git ls-remote` check against an existing and a missing branch. ## To check on the next bump Fetch DRA Artifacts should no longer clone Kibana. If the agents ignore `BUILDKITE_SKIP_CHECKOUT`, use the step-level `checkout: { skip: true }` instead, which needs agent v3.136 or newer.
jgowdyelastic
pushed a commit
to jgowdyelastic/kibana
that referenced
this pull request
Nov 13, 2026
…5025) ## Summary Fixes the causes of recent `kibana-version-bump` failures. 3 of the last 30 builds failed: | Build | Failed step | Cause | Fix | |---|---|---|---| | [elastic#110](https://buildkite.com/elastic/kibana-version-bump/builds/110) (9.6.0 minor) | Create new release branch | elastic#109 had already created `9.6`. The retry pushed it again from a newer `main` and was rejected as non-fast-forward. | Skip branch creation if the branch exists, and stop duplicate builds | | [elastic#105](https://buildkite.com/elastic/kibana-version-bump/builds/105) (8.19.24) | Promote ES Snapshot | An 8.19 backport promoted a Docker image the 8.19 build never pushed | Already fixed by elastic#296720 | | [elastic#88](https://buildkite.com/elastic/kibana-version-bump/builds/88) (8.19.19) | Reconcile PR Labels | The old and new versions were equal on a re-run | Derive the old version from `NEW_VERSION` | | [elastic#88](https://buildkite.com/elastic/kibana-version-bump/builds/88) (8.19.19) | Fetch DRA Artifacts | Cloned Kibana into a 10G volume and ran out of space | Skip checkout | ## Changes - `create_new_branch_of_main.sh` exits early if the release branch already exists. - `reconcile_pr_labels.sh` derives the previous version from `NEW_VERSION` (9.5.7 gives 9.5.6). It used to read package.json, which a re-run sees as already bumped, so reconciliation was skipped. `bump_package_json_versions.sh` no longer writes the unused `OLD_VERSION` metadata. - `version_bump/pipeline.ts` fails the build if an older build is still bumping the same version. If the Buildkite API call fails, it logs a warning and continues. This adds `BuildkiteClient.getInProgressBuilds()`. - `version_bump.yml`: - Fetch DRA Artifacts skips the checkout because it only runs a polling plugin. It now retries only on exit `-1` (lost agent or timeout). - `#kibana-operations-alerts` gets failures only, without the team mention. The message includes the version, workflow and branch. Successful bumps still post to `#mission-control`. ## Testing - `npm run typecheck` in `.buildkite` passes. - Ran `pipeline.ts` against a fake Buildkite API. An older duplicate fails the build. A newer duplicate, a different version, dry runs, API 500/401 errors and an unset `NEW_VERSION` all continue. - Checked the version derivation (`9.6.0` is rejected) and the `git ls-remote` check against an existing and a missing branch. ## To check on the next bump Fetch DRA Artifacts should no longer clone Kibana. If the agents ignore `BUILDKITE_SKIP_CHECKOUT`, use the step-level `checkout: { skip: true }` instead, which needs agent v3.136 or newer.
jr-araque
pushed a commit
to jr-araque/kibana
that referenced
this pull request
Nov 24, 2026
…5025) ## Summary Fixes the causes of recent `kibana-version-bump` failures. 3 of the last 30 builds failed: | Build | Failed step | Cause | Fix | |---|---|---|---| | [elastic#110](https://buildkite.com/elastic/kibana-version-bump/builds/110) (9.6.0 minor) | Create new release branch | elastic#109 had already created `9.6`. The retry pushed it again from a newer `main` and was rejected as non-fast-forward. | Skip branch creation if the branch exists, and stop duplicate builds | | [elastic#105](https://buildkite.com/elastic/kibana-version-bump/builds/105) (8.19.24) | Promote ES Snapshot | An 8.19 backport promoted a Docker image the 8.19 build never pushed | Already fixed by elastic#296720 | | [elastic#88](https://buildkite.com/elastic/kibana-version-bump/builds/88) (8.19.19) | Reconcile PR Labels | The old and new versions were equal on a re-run | Derive the old version from `NEW_VERSION` | | [elastic#88](https://buildkite.com/elastic/kibana-version-bump/builds/88) (8.19.19) | Fetch DRA Artifacts | Cloned Kibana into a 10G volume and ran out of space | Skip checkout | ## Changes - `create_new_branch_of_main.sh` exits early if the release branch already exists. - `reconcile_pr_labels.sh` derives the previous version from `NEW_VERSION` (9.5.7 gives 9.5.6). It used to read package.json, which a re-run sees as already bumped, so reconciliation was skipped. `bump_package_json_versions.sh` no longer writes the unused `OLD_VERSION` metadata. - `version_bump/pipeline.ts` fails the build if an older build is still bumping the same version. If the Buildkite API call fails, it logs a warning and continues. This adds `BuildkiteClient.getInProgressBuilds()`. - `version_bump.yml`: - Fetch DRA Artifacts skips the checkout because it only runs a polling plugin. It now retries only on exit `-1` (lost agent or timeout). - `#kibana-operations-alerts` gets failures only, without the team mention. The message includes the version, workflow and branch. Successful bumps still post to `#mission-control`. ## Testing - `npm run typecheck` in `.buildkite` passes. - Ran `pipeline.ts` against a fake Buildkite API. An older duplicate fails the build. A newer duplicate, a different version, dry runs, API 500/401 errors and an unset `NEW_VERSION` all continue. - Checked the version derivation (`9.6.0` is rejected) and the `git ls-remote` check against an existing and a missing branch. ## To check on the next bump Fetch DRA Artifacts should no longer clone Kibana. If the agents ignore `BUILDKITE_SKIP_CHECKOUT`, use the step-level `checkout: { skip: true }` instead, which needs agent v3.136 or newer.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.