test-def: create SLO definitions in setup so SLO read ops have data
@margaretjgu is already working on this.
Since Sep 4, 2026.
Assessment
This issue has not been assessed yet.
Description
Opened from failing KB functional tests in test/functional/kb/definitions/. SLO read ops fail with 404 Not Found on the stack run because no SLO definitions exist, so get/snapshot/bulk_snapshot have no data to operate on.
Create SLO definitions in setup (or provide a fixture) and capture their ids, then reference them in the affected definitions so the read ops have data. Add teardown to remove the created SLOs.
Failing test definitions (stack):
slo_bulk_snapshot_op.ymlslo_get_definitions_op.ymlslo_get_snapshot_op.yml
- Dominant language
- TypeScript
- Stars
- 43
- Forks
- 24
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 62
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elastic/cli
-
cloud enhancement
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
fil-donadoni/tolaria#4409 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
corsairdev/corsair#1764 ·