Skip to content

[CI] OAS Snapshots: make snapshot file writing default#250050

Merged
delanni merged 1 commit intoelastic:mainfrom
delanni:write-oas-snapshots-by-default
Jan 22, 2026
Merged

[CI] OAS Snapshots: make snapshot file writing default#250050
delanni merged 1 commit intoelastic:mainfrom
delanni:write-oas-snapshots-by-default

Conversation

@delanni
Copy link
Copy Markdown
Member

@delanni delanni commented Jan 22, 2026

Summary

#249907 removes the intermediary files for the OAS snapshot validation, however, in the on-merge pipeline, the files are not generated, so the merging fails.

This PR makes generation default, so we pass this stage in the on-merges.

@delanni delanni marked this pull request as ready for review January 22, 2026 13:40
@delanni delanni requested review from a team as code owners January 22, 2026 13:40
@delanni delanni marked this pull request as draft January 22, 2026 13:41
@delanni delanni marked this pull request as ready for review January 22, 2026 14:22
@delanni delanni added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// labels Jan 22, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-core (Team:Core)

Copy link
Copy Markdown
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for picking this up @delanni 👏🏻

--include-path /api/saved_objects/_export \
--include-path /api/maintenance_window \
--include-path /api/agent_builder"
if is_pr && ! is_auto_commit_disabled; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could avoid the extra cleanup of the --update flag if we just added it here, but thanks for doing that!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jloleysens
We could have, that's also a valid option - would you prefer that direction? (are there usecases where we don't want to write the file, just run the generation process?)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@delanni Nope, I think it makes sense to remove it. Just would have reduced the surface area of the change here a little bit :)

@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Jan 22, 2026

💔 Build Failed

Failed CI Steps

Metrics [docs]

‼️ ERROR: no builds found for mergeBase sha [7704959]

History

@delanni delanni merged commit 8855118 into elastic:main Jan 22, 2026
28 of 29 checks passed
qn895 pushed a commit to qn895/kibana that referenced this pull request Jan 22, 2026
## Summary
elastic#249907 removes the intermediary
files for the OAS snapshot validation, however, in the `on-merge`
pipeline, the files are not generated, so the merging fails.

This PR makes generation default, so we pass this stage in the
on-merges.
dennis-tismenko pushed a commit to dennis-tismenko/kibana that referenced this pull request Jan 22, 2026
## Summary
elastic#249907 removes the intermediary
files for the OAS snapshot validation, however, in the `on-merge`
pipeline, the files are not generated, so the merging fails.

This PR makes generation default, so we pass this stage in the
on-merges.
davismcphee pushed a commit to davismcphee/kibana that referenced this pull request Jan 28, 2026
elastic#249907 removes the intermediary
files for the OAS snapshot validation, however, in the `on-merge`
pipeline, the files are not generated, so the merging fails.

This PR makes generation default, so we pass this stage in the
on-merges.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants