From fd07795f39417e960bf51bd3ca38c4bbfa4ea79b Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Tue, 11 Aug 2026 13:11:13 +0200 Subject: [PATCH 1/4] add autoops-insights to assembler references --- config/assembler.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/assembler.yml b/config/assembler.yml index 93a543c345..d350d7f08b 100644 --- a/config/assembler.yml +++ b/config/assembler.yml @@ -199,6 +199,10 @@ references: detection-rules: checkout_strategy: full + # @elastic/obs-docs + autoops-insights: + sparse_paths: ["generated/docs"] + # @elastic/docs-engineering docs-builder: current: 9.0 From 5aaafa8030e02af527bb8bbac2e42decd1dcbdb2 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Tue, 11 Aug 2026 13:12:15 +0200 Subject: [PATCH 2/4] add autoops-insights as independent section under Reference --- config/navigation.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/navigation.yml b/config/navigation.yml index 14b502d12d..671cec6bc4 100644 --- a/config/navigation.yml +++ b/config/navigation.yml @@ -611,6 +611,11 @@ toc: - toc: docs-content://reference/machine-learning path_prefix: reference/machine-learning + # AutoOps insights + # https://github.com/elastic/autoops-insights/blob/main/generated/docs/elasticsearch/toc.yml + - toc: autoops-insights://elasticsearch + path_prefix: reference/autoops-insights + # Search UI # https://github.com/elastic/search-ui/blob/main/docs/reference/toc.yml - toc: search-ui://reference From 6d016bb3f3bb643b4da2d5cad5c9ddf350bb269c Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Tue, 11 Aug 2026 13:23:33 +0200 Subject: [PATCH 3/4] fix: mark autoops-insights as private in assembler --- config/assembler.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/assembler.yml b/config/assembler.yml index d350d7f08b..df948d852c 100644 --- a/config/assembler.yml +++ b/config/assembler.yml @@ -201,6 +201,7 @@ references: # @elastic/obs-docs autoops-insights: + private: true sparse_paths: ["generated/docs"] # @elastic/docs-engineering From 47ca06a4045a2a13a22c36b4f4e9e00ebe51b913 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Wed, 12 Aug 2026 09:26:17 +0200 Subject: [PATCH 4/4] fix: replace goto with boolean flag to satisfy dotnet format IDE0410 Co-Authored-By: Claude Sonnet 4.6 --- tests/Elastic.ApiExplorer.Tests/XReqAuthTests.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/Elastic.ApiExplorer.Tests/XReqAuthTests.cs b/tests/Elastic.ApiExplorer.Tests/XReqAuthTests.cs index 1e7090127f..25ea13d368 100644 --- a/tests/Elastic.ApiExplorer.Tests/XReqAuthTests.cs +++ b/tests/Elastic.ApiExplorer.Tests/XReqAuthTests.cs @@ -158,9 +158,10 @@ public async Task KibanaStyleSample_FirstPathsLackXReqAuth() var opCount = 0; var pathCount = 0; + var earlyExit = false; foreach (var p in doc.Paths) { - if (pathCount >= 3) + if (earlyExit || pathCount >= 3) break; pathCount++; if (p.Value.Operations is null) @@ -168,7 +169,10 @@ public async Task KibanaStyleSample_FirstPathsLackXReqAuth() foreach (var httpOp in p.Value.Operations) { if (opCount >= 5) - goto done; + { + earlyExit = true; + break; + } var lines = OpenApiXReqAuthParser.TryGetPrerequisiteLines( httpOp.Value, null, @@ -179,7 +183,6 @@ public async Task KibanaStyleSample_FirstPathsLackXReqAuth() opCount++; } } - done: opCount.Should().BeGreaterThan(0, "sample should have at least one operation in the first 3 paths"); } }