[CI] Remove check_oas_snapshot as dependency#253156
[CI] Remove check_oas_snapshot as dependency#253156tylersmalley merged 1 commit intoelastic:mainfrom
Conversation
It's not an actual dependency of downstream steps, but was added more to provide as a cost cutting gate. However, there are times it delays downstream steps without any added value. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
|
Starting backport for target branches: 8.19, 9.2, 9.3 |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
|
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
3 similar comments
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
It's not an actual dependency of downstream steps, but was added more to provide as a cost cutting gate. However, there are times it delays downstream steps without any added value. Here's the provenance for `check_oas_snapshot` in the pull-request pipeline. ### 1. OAS snapshot capture first added to CI (inside "Checks") - [PR elastic#183338](elastic#183338) / commit [`975eeed255d0`](elastic@975eeed255d0) (May 30, 2024) — "[HTTP/OAS] Commit OAS snapshot" - Added `.buildkite/scripts/steps/capture_oas_snapshot.sh` and wired it into `.buildkite/scripts/steps/checks.sh` (so it ran as part of the Checks step, not a standalone pipeline step yet). ### 2. Standalone "Check OAS Snapshot" step added to PR pipeline - [PR elastic#196534](elastic#196534) / commit [`2fbc843e0d69`](elastic@2fbc843e0d69) (Oct 17, 2024) — "[ci] Extract OAS check + add retry" - Motivation (from the PR summary): the capture step was flaky and was breaking Checks; they extracted it into its own heavy step (starts ES+Kibana) and added retries. - This is where it gets added as its own step in `.buildkite/pipelines/pull_request/base.yml`, running `.buildkite/scripts/steps/checks/capture_oas_snapshot.sh`. ### 3. `depends_on: check_oas_snapshot` added across PR test suite pipelines - [PR elastic#198452](elastic#198452) / commit [`cbb211abe0cd`](elastic@cbb211abe0cd) (Nov 4, 2024) — "[ci] Run checks before tests" - This commit added `key: check_oas_snapshot` in `.buildkite/pipelines/pull_request/base.yml` and updated many PR suite pipeline YAMLs to depend on it (and on `checks`) before running. - Example change: `.buildkite/pipelines/pull_request/response_ops.yml` adds `- check_oas_snapshot` under `depends_on` in that commit. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
It's not an actual dependency of downstream steps, but was added more to provide as a cost cutting gate. However, there are times it delays downstream steps without any added value. Here's the provenance for `check_oas_snapshot` in the pull-request pipeline. ### 1. OAS snapshot capture first added to CI (inside "Checks") - [PR elastic#183338](elastic#183338) / commit [`975eeed255d0`](elastic@975eeed255d0) (May 30, 2024) — "[HTTP/OAS] Commit OAS snapshot" - Added `.buildkite/scripts/steps/capture_oas_snapshot.sh` and wired it into `.buildkite/scripts/steps/checks.sh` (so it ran as part of the Checks step, not a standalone pipeline step yet). ### 2. Standalone "Check OAS Snapshot" step added to PR pipeline - [PR elastic#196534](elastic#196534) / commit [`2fbc843e0d69`](elastic@2fbc843e0d69) (Oct 17, 2024) — "[ci] Extract OAS check + add retry" - Motivation (from the PR summary): the capture step was flaky and was breaking Checks; they extracted it into its own heavy step (starts ES+Kibana) and added retries. - This is where it gets added as its own step in `.buildkite/pipelines/pull_request/base.yml`, running `.buildkite/scripts/steps/checks/capture_oas_snapshot.sh`. ### 3. `depends_on: check_oas_snapshot` added across PR test suite pipelines - [PR elastic#198452](elastic#198452) / commit [`cbb211abe0cd`](elastic@cbb211abe0cd) (Nov 4, 2024) — "[ci] Run checks before tests" - This commit added `key: check_oas_snapshot` in `.buildkite/pipelines/pull_request/base.yml` and updated many PR suite pipeline YAMLs to depend on it (and on `checks`) before running. - Example change: `.buildkite/pipelines/pull_request/response_ops.yml` adds `- check_oas_snapshot` under `depends_on` in that commit. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
It's not an actual dependency of downstream steps, but was added more to provide as a cost cutting gate. However, there are times it delays downstream steps without any added value.
Here's the provenance for
check_oas_snapshotin the pull-request pipeline.1. OAS snapshot capture first added to CI (inside "Checks")
975eeed255d0(May 30, 2024) —"[HTTP/OAS] Commit OAS snapshot"
.buildkite/scripts/steps/capture_oas_snapshot.shand wired it into.buildkite/scripts/steps/checks.sh(so it ran as part of the Checks step, not astandalone pipeline step yet).
2. Standalone "Check OAS Snapshot" step added to PR pipeline
2fbc843e0d69(Oct 17, 2024) —"[ci] Extract OAS check + add retry"
retries.
.buildkite/pipelines/pull_request/base.yml, running.buildkite/scripts/steps/checks/capture_oas_snapshot.sh.3.
depends_on: check_oas_snapshotadded across PR test suite pipelinescbb211abe0cd(Nov 4, 2024) —"[ci] Run checks before tests"
key: check_oas_snapshotin.buildkite/pipelines/pull_request/base.ymland updated many PR suite pipeline YAMLs to depend on it (and onchecks) before running..buildkite/pipelines/pull_request/response_ops.ymladds- check_oas_snapshotunderdepends_onin that commit.