Skip to content

Conversation

pquentin
Copy link
Member

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

* Validate all APIs in PRs

The current code tries to guess which APIs could be affected by the PR, but it
does miss things. Now that full validation takes two minutes, we can always use
it.

* Fix lint

* Fix working directory before calling glob

* Fix detection of global APIs

(cherry picked from commit 4516b79)

# Conflicts:
#	.github/validate-pr/index.js
@pquentin pquentin requested a review from a team as a code owner September 26, 2025 08:06
Copy link
Contributor

Following you can find the validation changes against the target branch for the APIs.

API Status Request Response
bulk 🟢 553/553 → 490/490 571/571 → 508/508
cat.indices 🟢 34/34 → 33/33 33/33 → 32/32
cat.shards 🟢 16/16 → 11/11 16/16 → 11/11
cluster.allocation_explain 🟢 8/8 → 4/4 8/8 → 4/4
cluster.get_component_template 🟢 14/14 → 12/12 14/14 → 12/12
cluster.health 🟢 214/214 → 190/190 214/214 → 190/190
cluster.put_component_template 🔴 34/38 → 23/29 38/38 → 29/29
cluster.put_settings 🟢 62/62 → 59/59 61/61 → 58/58
cluster.state 🟢 84/84 → 83/83 83/83 → 82/82
count 🟢 37/37 → 36/36 37/37 → 36/36
delete_by_query 🟢 8/8 → 5/5 7/7 → 4/4
esql.query 🔴 → 🟢 346/348 → 286/286 0/0
field_caps 🟢 84/84 → 81/81 84/84 → 81/81
get 🟢 347/347 → 339/339 344/344 → 336/336
ilm.explain_lifecycle 🔴 → 🟢 5/5 4/5 → 5/5
index 🔴 → 🟢 1443/1443 → 1294/1294 1416/1445 → 1296/1296
indices.add_block 🟢 3/3 → 2/2 3/3 → 2/2
indices.close 🟢 50/50 → 49/49 50/50 → 49/49
indices.create 🔴 1346/1386 → 1172/1217 1386/1386 → 1217/1217
indices.create_data_stream 🟢 121/121 → 31/31 121/121 → 31/31
indices.data_streams_stats 🟢 9/9 → 4/4 9/9 → 4/4
indices.delete 🟢 119/119 → 106/106 119/119 → 106/106
indices.delete_data_lifecycle 🟢 → ⚪ 2/2 → Missing test 2/2 → Missing test
indices.delete_data_stream 🟢 96/96 → 28/28 96/96 → 28/28
indices.delete_index_template 🟢 7/7 → 1/1 7/7 → 1/1
indices.downsample 🟢 9/9 → 2/2 9/9 → 2/2
indices.exists 🟢 44/44 → 39/39 44/44 → 39/39
indices.explain_data_lifecycle 🔴 → ⚪ 3/3 → Missing test 0/3 → Missing test
indices.flush 🟢 52/52 → 41/41 52/52 → 41/41
indices.forcemerge 🟢 14/14 → 12/12 14/14 → 12/12
indices.get 🟢 66/66 → 55/55 66/66 → 55/55
indices.get_alias 🟢 75/75 → 68/68 75/75 → 68/68
indices.get_data_lifecycle 🔴 → ⚪ 14/14 → Missing test 1/14 → Missing test
indices.get_data_stream 🔴 → 🟢 124/124 → 11/11 77/124 → 11/11
indices.get_field_mapping 🟢 30/30 → 15/15 30/30 → 15/15
indices.get_index_template 🟢 23/23 → 21/21 23/23 → 21/21
indices.get_mapping 🔴 228/228 → 145/145 215/228 → 141/145
indices.get_settings 🔴 85/85 → 76/76 66/85 → 57/76
indices.migrate_to_data_stream 🟢 → ⚪ 1/1 → Missing test 1/1 → Missing test
indices.modify_data_stream 🔴 → ⚪ 3/7 → Missing test 7/7 → Missing test
indices.open 🟢 21/21 → 20/20 21/21 → 20/20
indices.put_alias 🔴 60/60 → 59/59 20/60 → 20/59
indices.put_data_lifecycle 🔴 → ⚪ 5/6 → Missing test 6/6 → Missing test
indices.put_index_template 🔴 130/154 → 59/68 154/154 → 68/68
indices.put_mapping 🔴 140/148 → 118/121 151/151 → 124/124
indices.refresh 🟢 316/316 → 283/283 316/316 → 283/283
indices.resolve_index 🟢 13/13 → 6/6 13/13 → 6/6
indices.rollover 🔴 56/56 → 27/27 2/56 → 2/27
indices.shard_stores 🔴 6/6 → 5/5 5/6 → 4/5
indices.simulate_index_template 🔴 10/10 → 6/7 6/10 → 5/7
indices.stats 🔴 125/125 → 116/116 36/124 → 36/115
indices.update_aliases 🔴 33/33 → 26/26 7/33 → 7/26
inference.put 🟢 6/6 → 4/4 6/6 → 4/4
inference.put_custom ⚪ → 🟠 Missing test → Missing type Missing test → Missing type
ingest.get_pipeline 🟢 23/23 → 22/22 23/23 → 22/22
ingest.put_pipeline 🟢 78/78 → 60/60 78/78 → 60/60
migration.post_feature_upgrade 🟢 → 🔴 1/1 1/1 → 0/1
nodes.stats 🔴 58/58 → 51/51 21/58 → 16/51
query_rules.put_ruleset 🟢 17/17 → 16/16 17/17 → 16/16
rank_eval 🟢 → ⚪ 1/1 → Missing test 1/1 → Missing test
reindex 🔴 → 🟢 21/22 → 17/17 21/21 → 16/16
search 🔴 2403/2453 → 2142/2203 2453/2453 → 2203/2203
search_shards 🟢 8/8 → 7/7 8/8 → 7/7
security.authenticate 🔴 → 🟢 30/30 25/30 → 30/30
security.create_service_token 🟢 2/2 → 3/3 2/2 → 3/3
simulate.ingest 🟢 → 🔴 11/11 → 11/12 11/11 → 12/12
snapshot.create 🟢 30/30 → 29/29 30/30 → 29/29
snapshot.delete 🟢 24/24 → 23/23 24/24 → 23/23
snapshot.get 🟢 16/16 → 13/13 16/16 → 13/13
synonyms.delete_synonym_rule 🟢 8/8 → 7/7 8/8 → 7/7
synonyms.put_synonym 🟢 32/32 → 29/29 32/32 → 29/29
synonyms.put_synonym_rule 🟢 5/5 → 4/4 5/5 → 4/4
update 🟢 49/49 → 46/46 49/49 → 46/46
update_by_query 🟢 11/11 → 9/9 10/10 → 8/8
xpack.usage 🔴 43/43 → 42/42 2/39 → 2/38

You can validate these APIs yourself by using the make validate target.

@pquentin pquentin merged commit 2d56f6c into 9.0 Sep 26, 2025
7 checks passed
@pquentin pquentin deleted the backport/9.0/pr-5341 branch September 26, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant