Repository navigation
Teach docs-journeys what a journey needs and what a live run may do - #4796
Merged
Merged
Conversation
A run reads the site's environment, build type and feature flags and skips the journeys whose # @requires it does not meet, listing why. It identifies as a monitor, starts at 1280 by 800 and refuses writes unless told otherwise, and it can select by tag, by what changed since a git ref, and skip journeys that mutate data. list shows each header. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…eature override The site probe falls back to / when /docs does not answer, so isolated sites resolve their build type. --changed-only reads git's NUL-delimited output, so journeys with non-ASCII names are found. An explicit empty --feature now overrides the site's flags. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Nov 10, 2026
* Add export synthetics and push to docs-journeys export synthetics reads a site the way run does and writes an Elastic Synthetics monitor for each journey that applies to it, with the project config and the packages push needs to bundle them. push sends them to Kibana with the API key from the environment only. Only prod may page, and an empty export or push fails, because a push replaces every monitor of the project. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Make docs-journeys export and push fail closed Export stops when the site probe fails, clears the journeys folder it writes, and escapes the Kibana URL in the generated config. Push reads the project and environment from that config and refuses a mismatch. On Windows, npm and npx run through cmd.exe. The dry-run tests expect the platform's npx name. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Refuse cmd.exe metacharacters, compare out/journeys case-insensitively, test the clear step Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Gate the differently-cased overlap check on the filesystem, not the OS Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Compile the journeys into docs-journeys and assume an assembler site without the tag (#4802) * Compile the journeys into docs-journeys and assume an assembler site without the tag One file now carries the runner and every journey, so list, run and export need no folder, and the journeys always match the build. A page that answers without docs:build-type is a deployed assembler site that predates the tag (isolated and Codex builds always carry it), so prod no longer skips every live journey and exits 1. --changed-only still needs a folder to diff. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Read the build-type body class and embed a monitored assembler journey Isolated and Codex sites render the build-type body class, not the meta tag, so the assembler default now applies only when neither is present. The embedded set gains a monitored assembler journey so a folder-free run or export against a deployed site has something to run. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Mpdreamz
added a commit
that referenced
this pull request
Nov 10, 2026
…RL (#4792) * Add docs-journeys, a native tool that runs the journeys against any URL The tool runs the journey files read-only against a deployed site, in one shared browser, and exits with 1 when a journey fails. It ships like docs-builder: an edge image workflows copy the binary out of, and a release zip with attestation, both carrying the journeys that match the build. Native AOT publishes in about 12 seconds with no trim warnings. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Make docs-journeys fail loudly instead of passing vacuously A journey that throws now becomes a failed outcome, so the other results still reach the console, JUnit and step summary. An empty journey folder is an error. The binary no longer bundles the isolated-site journeys, which cannot pass against a deployed assembler site; --journeys is required. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Stop zipping journeys that are no longer bundled with docs-journeys Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Teach docs-journeys what a journey needs and what a live run may do (#4796) * Teach docs-journeys what a journey needs and what a live run may do A run reads the site's environment, build type and feature flags and skips the journeys whose # @requires it does not meet, listing why. It identifies as a monitor, starts at 1280 by 800 and refuses writes unless told otherwise, and it can select by tag, by what changed since a git ref, and skip journeys that mutate data. list shows each header. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Fix docs-journeys probe fallback, non-ASCII changed files and empty feature override The site probe falls back to / when /docs does not answer, so isolated sites resolve their build type. --changed-only reads git's NUL-delimited output, so journeys with non-ASCII names are found. An explicit empty --feature now overrides the site's flags. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Add export synthetics and push to docs-journeys (#4799) * Add export synthetics and push to docs-journeys export synthetics reads a site the way run does and writes an Elastic Synthetics monitor for each journey that applies to it, with the project config and the packages push needs to bundle them. push sends them to Kibana with the API key from the environment only. Only prod may page, and an empty export or push fails, because a push replaces every monitor of the project. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Make docs-journeys export and push fail closed Export stops when the site probe fails, clears the journeys folder it writes, and escapes the Kibana URL in the generated config. Push reads the project and environment from that config and refuses a mismatch. On Windows, npm and npx run through cmd.exe. The dry-run tests expect the platform's npx name. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Refuse cmd.exe metacharacters, compare out/journeys case-insensitively, test the clear step Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Gate the differently-cased overlap check on the filesystem, not the OS Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Compile the journeys into docs-journeys and assume an assembler site without the tag (#4802) * Compile the journeys into docs-journeys and assume an assembler site without the tag One file now carries the runner and every journey, so list, run and export need no folder, and the journeys always match the build. A page that answers without docs:build-type is a deployed assembler site that predates the tag (isolated and Codex builds always carry it), so prod no longer skips every live journey and exits 1. --changed-only still needs a folder to diff. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Read the build-type body class and embed a monitored assembler journey Isolated and Codex sites render the build-type body class, not the meta tag, so the assembler default now applies only when neither is present. The embedded set gains a monitored assembler journey so a folder-free run or export against a deployed site has something to run. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * Port the Synthetics journeys to live journey files for prod, edge and demo (#4797) * Port the Synthetics journeys to live journey files that run against prod, edge and demo The navigation, version dropdown and API explorer journeys, and the MCP checks, now exist as .journey and .http files under live/ folders, with feature blocks for the legacy and navigation-preview layouts. Every journey was run read-only against all three sites. The TypeScript journeys stay until the Synthetics export lands. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Fix the live journeys' run hint, viewport and version switch The skip reason and the main-paths header pointed at docs-journeys, which cannot parse feature blocks, so they now point at the cdp command. Both journeys set a desktop viewport, and browse-api switches to v8 so it fails when switching is broken instead of passing on the v9 it opened with. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Mpdreamz
added a commit
that referenced
this pull request
Nov 10, 2026
…dex sites (#4789) * Update the Nullean.Snapshots packages to 0.6.0 The browser and HTTP journey packages need Nullean.Snapshots 0.6.0, so every reference moves together. All 18 unit test projects pass with no snapshot changes. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Update the snap tool to 0.6.0 to match the packages Co-Authored-By: Claude Opus 5.5 <[email protected]> * Add a browser journey test project with the isolated, assembler and Codex targets Journeys are Nullean.Cdp scripts run in Chrome, with Nullean.Snapshots comparing their transcripts. The project serves the repository's docs/ folder, or a built assembler or Codex site, and runs one test class per area. It starts with eight journeys in the landing, navigation and content areas, and stays out of mise run test because it needs Chrome. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Skip isolated-site journeys on other targets and click the code copy button The journeys open /syntax/... and assert the isolated header, so they cannot pass against the assembler or Codex builds. Those targets now skip them with a reason. The code-copy journey clicks the button and waits for the success state instead of only checking the button exists. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Wait for the page to settle before the journeys click A click before the page's scripts load does nothing and reports no error. With four test runs at once, the sidebar journey failed in 6 of 16 runs; with the wait, in none. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Add docs-journeys, a native tool that runs the journeys against any URL (#4792) * Add docs-journeys, a native tool that runs the journeys against any URL The tool runs the journey files read-only against a deployed site, in one shared browser, and exits with 1 when a journey fails. It ships like docs-builder: an edge image workflows copy the binary out of, and a release zip with attestation, both carrying the journeys that match the build. Native AOT publishes in about 12 seconds with no trim warnings. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Make docs-journeys fail loudly instead of passing vacuously A journey that throws now becomes a failed outcome, so the other results still reach the console, JUnit and step summary. An empty journey folder is an error. The binary no longer bundles the isolated-site journeys, which cannot pass against a deployed assembler site; --journeys is required. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Stop zipping journeys that are no longer bundled with docs-journeys Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Teach docs-journeys what a journey needs and what a live run may do (#4796) * Teach docs-journeys what a journey needs and what a live run may do A run reads the site's environment, build type and feature flags and skips the journeys whose # @requires it does not meet, listing why. It identifies as a monitor, starts at 1280 by 800 and refuses writes unless told otherwise, and it can select by tag, by what changed since a git ref, and skip journeys that mutate data. list shows each header. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Fix docs-journeys probe fallback, non-ASCII changed files and empty feature override The site probe falls back to / when /docs does not answer, so isolated sites resolve their build type. --changed-only reads git's NUL-delimited output, so journeys with non-ASCII names are found. An explicit empty --feature now overrides the site's flags. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Add export synthetics and push to docs-journeys (#4799) * Add export synthetics and push to docs-journeys export synthetics reads a site the way run does and writes an Elastic Synthetics monitor for each journey that applies to it, with the project config and the packages push needs to bundle them. push sends them to Kibana with the API key from the environment only. Only prod may page, and an empty export or push fails, because a push replaces every monitor of the project. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Make docs-journeys export and push fail closed Export stops when the site probe fails, clears the journeys folder it writes, and escapes the Kibana URL in the generated config. Push reads the project and environment from that config and refuses a mismatch. On Windows, npm and npx run through cmd.exe. The dry-run tests expect the platform's npx name. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Refuse cmd.exe metacharacters, compare out/journeys case-insensitively, test the clear step Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Gate the differently-cased overlap check on the filesystem, not the OS Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Compile the journeys into docs-journeys and assume an assembler site without the tag (#4802) * Compile the journeys into docs-journeys and assume an assembler site without the tag One file now carries the runner and every journey, so list, run and export need no folder, and the journeys always match the build. A page that answers without docs:build-type is a deployed assembler site that predates the tag (isolated and Codex builds always carry it), so prod no longer skips every live journey and exits 1. --changed-only still needs a folder to diff. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Read the build-type body class and embed a monitored assembler journey Isolated and Codex sites render the build-type body class, not the meta tag, so the assembler default now applies only when neither is present. The embedded set gains a monitored assembler journey so a folder-free run or export against a deployed site has something to run. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * Port the Synthetics journeys to live journey files for prod, edge and demo (#4797) * Port the Synthetics journeys to live journey files that run against prod, edge and demo The navigation, version dropdown and API explorer journeys, and the MCP checks, now exist as .journey and .http files under live/ folders, with feature blocks for the legacy and navigation-preview layouts. Every journey was run read-only against all three sites. The TypeScript journeys stay until the Synthetics export lands. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Fix the live journeys' run hint, viewport and version switch The skip reason and the main-paths header pointed at docs-journeys, which cannot parse feature blocks, so they now point at the cdp command. Both journeys set a desktop viewport, and browse-api switches to v8 so it fails when switching is broken instead of passing on the v9 it opened with. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * Update the Nullean.Snapshots packages to 0.7.0 (#4800) 0.7.0 brings Nullean.Cdp 0.8.0, whose click waits until the point it presses is the element it means to press. The sidebar journey failed once on a Linux runner because a click did not land. Twenty-four runs at four processes at once pass with these packages. Co-authored-by: Claude Opus 5.5 <[email protected]> * Run the browser journeys in CI against the isolated docs site (#4790) * Run the browser journeys in CI against the isolated docs site A new journeys.yml builds docs-builder and the journey tests once, then runs the journeys in shards with the runner's Chrome. A shards.json file in the test project maps shards to areas, and the plan job fails when a journey folder is in no shard. Pull requests run it only when the site, its markup, docs/ or the journeys change. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Fix the actionlint findings in the journeys workflow The run input is passed a boolean expression, so declare it as boolean instead of a string compared to 'true'. The area check now uses find and quoted word splitting to satisfy shellcheck. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Widen the journeys path filter and fix the artifact download instructions Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Say "Documentation" or "Codex" on the social card (#4795) * Say "Documentation" or "Codex" on the social card and test the `og:image` URL Assembler builds get a card that reads "Documentation", with the environment label outside production. Codex builds get a card that reads "Codex" when they have a canonical URL. Isolated builds keep the elastic.co image. Head tests snapshot the `og:image` and `twitter:image` URLs for each case. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Set the social card text in Inter The brand guide names Inter for text where Mier B, the licensed headline face, is not available. The cards were drawn in Arial. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Draw the favicon labels in Inter The letters are paths taken from Inter ExtraBold, so they look the same in every browser instead of depending on an installed font. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Keep the Codex site prefix on the social card of landing and group pages Landing and group pages use the site prefix as their path prefix, which `Static()` reads as no prefix, so the card URL missed the `/internal-docs` folder Codex publishes `_static` under. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Drop the repository segment from the social card path on root-hosted Codex sites With `site_prefix: /`, repository pages have `/r/repo` as their path prefix, so the repository segment sits at index 0 and the card path kept it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Bump the npm-production-minor-patch group across 1 directory with 4 updates (#4777) * Bump the npm-production-minor-patch group across 1 directory with 4 updates Bumps the npm-production-minor-patch group with 4 updates in the /src/Elastic.Documentation.Site directory: [@opentelemetry/api](https://github.com/open-telemetry/opentelemetry-js), [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query), [katex](https://github.com/KaTeX/KaTeX) and [zustand](https://github.com/pmndrs/zustand). Updates `@opentelemetry/api` from 1.9.1 to 1.10.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-js@v1.9.1...v1.10.0) Updates `@tanstack/react-query` from 5.104.4 to 5.105.0 - [Release notes](https://github.com/TanStack/query/releases) - [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md) - [Commits](https://github.com/TanStack/query/commits/@tanstack/[email protected]/packages/react-query) Updates `katex` from 0.19.0 to 0.19.1 - [Release notes](https://github.com/KaTeX/KaTeX/releases) - [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md) - [Commits](KaTeX/KaTeX@v0.19.0...v0.19.1) Updates `zustand` from 5.0.15 to 5.0.16 - [Release notes](https://github.com/pmndrs/zustand/releases) - [Commits](pmndrs/zustand@v5.0.15...v5.0.16) --- updated-dependencies: - dependency-name: "@opentelemetry/api" dependency-version: 1.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-production-minor-patch - dependency-name: "@tanstack/react-query" dependency-version: 5.105.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-production-minor-patch - dependency-name: katex dependency-version: 0.19.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-production-minor-patch - dependency-name: zustand dependency-version: 5.0.16 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-production-minor-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Pin @opentelemetry/api to 1.9.1 The EDOT browser SDK still resolves 1.9.1, so 1.10.0 installs a second copy of the API. Pinning keeps a single version. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrea De Pirro <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Update Ingestion tools navigation for the Managed inputs and Elastic Managed integrations moves (#4769) * Point Managed inputs navigation to docs-content and add Elastic Managed integrations Co-authored-by: Cursor <[email protected]> * Move the Managed integrations navigation entry to a separate PR Co-authored-by: Cursor <[email protected]> * Add Elastic Managed integrations to Reference > Ingestion tools navigation Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]> * Show endpoint paths next to operation titles in the API index (#4764) * Show endpoint paths next to operation titles in the API sidebar and index A short description alone makes a familiar API like `_flush` hard to spot. The sidebar and the landing index now print the main route template under each operation title, with named placeholders such as `{job_id}`. Closes elastic/docs-eng-team#1140 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Limit endpoint paths to the API index and center the method chip The sidebar is too noisy with a second line on every operation, so it goes back to the title and method badge. The index keeps the path, and its method chip now centers on the two-line row. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * Keep the browser telemetry allowlist next to the frontend (#4801) * Own the browser telemetry allowlist next to the frontend that sends it The collectors keep only the attribute keys on a list and drop the rest without an error. The list lived in the collector repos, away from the code that adds the keys. It now lives here, with tests that fail when semconv.ts defines a key that is not on it. The collector repos render it into their configs at deploy time from the version they deploy. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Match attribute constants whose string moves to the next line Prettier wraps long ATTR_ declarations, and the test pattern skipped those, so nine custom keys were checked only against the looser standard-key rule. The test now also requires every declaration to be matched. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Check changed journeys against prod and smoke-test the docs-journeys image (#4798) * Use docs-edge.elastic.dev and docs-demo.elastic.dev for the edge and demo environments (#4785) Part of elastic/docs-eng-team#1186. The assembler uri of both environments and the edge synthetics base URL move from the raw CloudFront hostnames to the new domains. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Update the Nullean.Snapshots packages and snap tool to 0.6.0 (#4787) * Update the Nullean.Snapshots packages to 0.6.0 The browser and HTTP journey packages need Nullean.Snapshots 0.6.0, so every reference moves together. All 18 unit test projects pass with no snapshot changes. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Update the snap tool to 0.6.0 to match the packages Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * Expose the enabled feature flags and the build type in the page head (#4788) Browser journeys and monitors need to know which flags a live site runs with. Until now they guessed from `FEATURE_*` variables on the test machine, which says nothing about edge, demo or prod. Every page now carries `docs:features` (the enabled flags, sorted) and `docs:build-type`. Nothing that shipped changes: the tags are new, and no flag gates them. Co-authored-by: Claude Opus 5.5 <[email protected]> * End API page titles in API docs and add the version (#4760) * End API page titles in "API documentation" and add the version Product and operation titles used the spec title, so "documentation" was missing and a v8 page shared its title with the matching v9 page. Titles now read "{page} | {Product} API documentation", with "(v8)" or "(v9)" on a released major. Latest has no suffix and the catalog title stays "Elastic APIs". Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * fix: use the undecorated version label in API page titles (per review by @infra-vault-gh-plugin-prod) The switcher labels the highest released major v9 (latest), so the title suffix read (v9 (latest)). Take the stable short label instead, and build the test switcher with the production builder so labels match. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * fix: keep the API identity when a spec title names another API (per review by @infra-vault-gh-plugin-prod) Several APIs can bind to one product, so the display name alone gave Cloud Billing and Cloud Connected the Elastic Cloud Hosted title. Use the spec title when it does not mention the product display name. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * End API page titles with "API docs" The shorter word keeps more of the brand in titles that search results cut at about 60 characters. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Add the version to the landing heading of a released major A v8 and a v9 landing page both read "Elasticsearch API" in the heading. The heading and the Markdown copy now match the title. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Restore the version in the landing heading The previous commit shipped the helper with the version label dropped. The v8 and v9 heading tests fail without it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Jan Calanog <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Skip the method and path preamble in API operation descriptions (#4761) An operation description opens with a bold sentence and the method and path lines. Strip that block by structure, then fall back to the operation summary, so the meta description and the Markdown front matter use the operation's own text. Co-authored-by: Jan Calanog <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Rank deprecated API operations below their replacements (#4782) * Rank deprecated API operations below their replacements The lift for current operations tested `api.deprecated = false`, and the index writes the flag only when true, so it matched no document. A deprecated operation tied its replacement whenever both explained the typed words equally well. The lift now adds a constant 0.2 to operations without the flag, so `isolate endpoint` lists `/api/endpoint/action/isolate` above the deprecated `/api/endpoint/isolate`. Co-Authored-By: Claude Fable 5.1 <[email protected]> * Lift operations whose deprecated flag is not true, not only absent Libra's review on the pull request noted that the contract still serializes an explicit `false`, so `must_not exists` would deny those documents the lift. `must_not term api.deprecated = true` covers an omitted flag and an explicit `false` alike. Measured on the dev index, every ranking stays the same. Co-Authored-By: Claude Fable 5.1 <[email protected]> * Cite a default-tree pair for the deprecated lift The `isolate endpoint` pair lives only in the Kibana v8 tree, which the search hides from `/docs/api`, so a reader there cannot reproduce it. `template` shows the lift from the default tree: the current `HEAD /_template/{name}` lists above the three deprecated legacy template operations. Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Jan Calanog <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]> * Serve the Elastic favicon and social image from every environment (#4794) * Serve the Elastic favicon from every environment, labelled outside production The default head linked `/favicon.svg` and friends from the site root, which only exists on elastic.co. Every other environment had no icon. The build now ships the glyph in `_static`, and non-production environments get a coloured label (STG, EDG, DMO, DEV, PRV, ISO) on it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Keep the `.ico` favicon fallback and leave Codex unlabelled Safari before 26 ignores SVG favicons, so the head links a 32px `favicon.ico` from `_static` as before. Codex builds have no environment name and now get the plain glyph instead of the ISO label. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Use the site's Elastic palette for the environment favicon labels Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Use the Elastic brand colours for the environment favicon labels Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Serve the default `og:image` from every environment The social image came from elastic.co's static path. The build now ships it in `_static` and the head adds the image size and the Twitter card tags. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Resolve the self-hosted `og:image` against the serving origin The canonical origin is always production and omits a preview's path prefix, and Codex has none. The build context now carries `PublicBaseUrl` from the assembler environment. Without it the head falls back to the absolute elastic.co image. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Add the environment label to the social image Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Say "Documentation" or "Codex" on the social card (#4795) * Say "Documentation" or "Codex" on the social card and test the `og:image` URL Assembler builds get a card that reads "Documentation", with the environment label outside production. Codex builds get a card that reads "Codex" when they have a canonical URL. Isolated builds keep the elastic.co image. Head tests snapshot the `og:image` and `twitter:image` URLs for each case. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Set the social card text in Inter The brand guide names Inter for text where Mier B, the licensed headline face, is not available. The cards were drawn in Arial. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Draw the favicon labels in Inter The letters are paths taken from Inter ExtraBold, so they look the same in every browser instead of depending on an installed font. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Keep the Codex site prefix on the social card of landing and group pages Landing and group pages use the site prefix as their path prefix, which `Static()` reads as no prefix, so the card URL missed the `/internal-docs` folder Codex publishes `_static` under. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Drop the repository segment from the social card path on root-hosted Codex sites With `site_prefix: /`, repository pages have `/r/repo` as their path prefix, so the repository segment sits at index 0 and the card path kept it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Bump the npm-production-minor-patch group across 1 directory with 4 updates (#4777) * Bump the npm-production-minor-patch group across 1 directory with 4 updates Bumps the npm-production-minor-patch group with 4 updates in the /src/Elastic.Documentation.Site directory: [@opentelemetry/api](https://github.com/open-telemetry/opentelemetry-js), [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query), [katex](https://github.com/KaTeX/KaTeX) and [zustand](https://github.com/pmndrs/zustand). Updates `@opentelemetry/api` from 1.9.1 to 1.10.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-js@v1.9.1...v1.10.0) Updates `@tanstack/react-query` from 5.104.4 to 5.105.0 - [Release notes](https://github.com/TanStack/query/releases) - [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md) - [Commits](https://github.com/TanStack/query/commits/@tanstack/[email protected]/packages/react-query) Updates `katex` from 0.19.0 to 0.19.1 - [Release notes](https://github.com/KaTeX/KaTeX/releases) - [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md) - [Commits](KaTeX/KaTeX@v0.19.0...v0.19.1) Updates `zustand` from 5.0.15 to 5.0.16 - [Release notes](https://github.com/pmndrs/zustand/releases) - [Commits](pmndrs/zustand@v5.0.15...v5.0.16) --- updated-dependencies: - dependency-name: "@opentelemetry/api" dependency-version: 1.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-production-minor-patch - dependency-name: "@tanstack/react-query" dependency-version: 5.105.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-production-minor-patch - dependency-name: katex dependency-version: 0.19.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-production-minor-patch - dependency-name: zustand dependency-version: 5.0.16 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-production-minor-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Pin @opentelemetry/api to 1.9.1 The EDOT browser SDK still resolves 1.9.1, so 1.10.0 installs a second copy of the API. Pinning keeps a single version. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrea De Pirro <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Update Ingestion tools navigation for the Managed inputs and Elastic Managed integrations moves (#4769) * Point Managed inputs navigation to docs-content and add Elastic Managed integrations Co-authored-by: Cursor <[email protected]> * Move the Managed integrations navigation entry to a separate PR Co-authored-by: Cursor <[email protected]> * Add Elastic Managed integrations to Reference > Ingestion tools navigation Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]> * Check changed journeys against prod and smoke-test the docs-journeys image A pull request that changes a journey now runs the changed ones read-only against www.elastic.co, and one that changes docs-journeys builds its image and runs the binary copied out of it. Neither is run yet: they need the docs-journeys pull requests. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Widen the docs_journeys filter and keep the list exit status The docs_journeys filter now reuses the shared build inputs and adds the bootstrap action and `build/`, so changes that can break the AOT image build run the smoke test. The smoke test writes `docs-journeys list` to a file instead of piping it to `tee`, so a nonzero exit fails the step. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Show endpoint paths next to operation titles in the API index (#4764) * Show endpoint paths next to operation titles in the API sidebar and index A short description alone makes a familiar API like `_flush` hard to spot. The sidebar and the landing index now print the main route template under each operation title, with named placeholders such as `{job_id}`. Closes elastic/docs-eng-team#1140 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Limit endpoint paths to the API index and center the method chip The sidebar is too noisy with a second line on every operation, so it goes back to the title and method badge. The index keeps the path, and its method chip now centers on the two-line row. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> Co-authored-by: Jan Calanog <[email protected]> Co-authored-by: Jan Calanog <[email protected]> Co-authored-by: Andrea De Pirro <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Visha Angelova <[email protected]> Co-authored-by: Cursor <[email protected]> * List every journey area in the CI shard The plan job fails when a folder under journeys/ is in no shard. The live journeys added the api-explorer, chrome, live and versions folders. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Andrea De Pirro <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Visha Angelova <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Jan Calanog <[email protected]> Co-authored-by: Jan Calanog <[email protected]> * Add HTTP areas to the journey tests: Markdown alternates, MCP and the docs API (#4791) * Add HTTP areas to the journey tests: Markdown alternates, MCP and the docs API Journeys that need no browser use .http files. The Markdown alternate area runs against the site the target serves, and the MCP and docs API areas start those hosts in memory. Snapshots keep a page's title line and the MCP tool names and schemas, so wording edits do not churn them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Keep the docs API journey off Elasticsearch The page-feedback bootstrap hosted service runs when the factory creates its client. It calls Elasticsearch with the credentials from the environment or user secrets. The journey now removes that service, so it never reaches a real cluster. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Say "Documentation" or "Codex" on the social card (#4795) * Say "Documentation" or "Codex" on the social card and test the `og:image` URL Assembler builds get a card that reads "Documentation", with the environment label outside production. Codex builds get a card that reads "Codex" when they have a canonical URL. Isolated builds keep the elastic.co image. Head tests snapshot the `og:image` and `twitter:image` URLs for each case. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Set the social card text in Inter The brand guide names Inter for text where Mier B, the licensed headline face, is not available. The cards were drawn in Arial. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Draw the favicon labels in Inter The letters are paths taken from Inter ExtraBold, so they look the same in every browser instead of depending on an installed font. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Keep the Codex site prefix on the social card of landing and group pages Landing and group pages use the site prefix as their path prefix, which `Static()` reads as no prefix, so the card URL missed the `/internal-docs` folder Codex publishes `_static` under. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Drop the repository segment from the social card path on root-hosted Codex sites With `site_prefix: /`, repository pages have `/r/repo` as their path prefix, so the repository segment sits at index 0 and the card path kept it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Bump the npm-production-minor-patch group across 1 directory with 4 updates (#4777) * Bump the npm-production-minor-patch group across 1 directory with 4 updates Bumps the npm-production-minor-patch group with 4 updates in the /src/Elastic.Documentation.Site directory: [@opentelemetry/api](https://github.com/open-telemetry/opentelemetry-js), [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query), [katex](https://github.com/KaTeX/KaTeX) and [zustand](https://github.com/pmndrs/zustand). Updates `@opentelemetry/api` from 1.9.1 to 1.10.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-js@v1.9.1...v1.10.0) Updates `@tanstack/react-query` from 5.104.4 to 5.105.0 - [Release notes](https://github.com/TanStack/query/releases) - [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md) - [Commits](https://github.com/TanStack/query/commits/@tanstack/[email protected]/packages/react-query) Updates `katex` from 0.19.0 to 0.19.1 - [Release notes](https://github.com/KaTeX/KaTeX/releases) - [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md) - [Commits](KaTeX/KaTeX@v0.19.0...v0.19.1) Updates `zustand` from 5.0.15 to 5.0.16 - [Release notes](https://github.com/pmndrs/zustand/releases) - [Commits](pmndrs/zustand@v5.0.15...v5.0.16) --- updated-dependencies: - dependency-name: "@opentelemetry/api" dependency-version: 1.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-production-minor-patch - dependency-name: "@tanstack/react-query" dependency-version: 5.105.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-production-minor-patch - dependency-name: katex dependency-version: 0.19.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-production-minor-patch - dependency-name: zustand dependency-version: 5.0.16 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-production-minor-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Pin @opentelemetry/api to 1.9.1 The EDOT browser SDK still resolves 1.9.1, so 1.10.0 installs a second copy of the API. Pinning keeps a single version. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrea De Pirro <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Update Ingestion tools navigation for the Managed inputs and Elastic Managed integrations moves (#4769) * Point Managed inputs navigation to docs-content and add Elastic Managed integrations Co-authored-by: Cursor <[email protected]> * Move the Managed integrations navigation entry to a separate PR Co-authored-by: Cursor <[email protected]> * Add Elastic Managed integrations to Reference > Ingestion tools navigation Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]> * Show endpoint paths next to operation titles in the API index (#4764) * Show endpoint paths next to operation titles in the API sidebar and index A short description alone makes a familiar API like `_flush` hard to spot. The sidebar and the landing index now print the main route template under each operation title, with named placeholders such as `{job_id}`. Closes elastic/docs-eng-team#1140 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Limit endpoint paths to the API index and center the method chip The sidebar is too noisy with a second line on every operation, so it goes back to the title and method badge. The index keeps the path, and its method chip now centers on the two-line row. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * Keep the browser telemetry allowlist next to the frontend (#4801) * Own the browser telemetry allowlist next to the frontend that sends it The collectors keep only the attribute keys on a list and drop the rest without an error. The list lived in the collector repos, away from the code that adds the keys. It now lives here, with tests that fail when semconv.ts defines a key that is not on it. The collector repos render it into their configs at deploy time from the version they deploy. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Match attribute constants whose string moves to the next line Prettier wraps long ATTR_ declarations, and the test pattern skipped those, so nine custom keys were checked only against the looser standard-key rule. The test now also requires every declaration to be matched. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Andrea De Pirro <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Visha Angelova <[email protected]> Co-authored-by: Cursor <[email protected]> * Add page actions, feedback, accessibility and chrome journeys (#4793) * Add page actions, feedback, accessibility and chrome journeys, and hub and card journeys Each journey was checked against the running isolated site first, and broken once on purpose to confirm it fails. The accessibility journeys record today's violations in the verified transcript instead of relaxing the check, so a new violation fails the run. Forty runs at four concurrent processes passed. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Allow slashes in the branch segment of the edit link journey Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Say "Documentation" or "Codex" on the social card (#4795) * Say "Documentation" or "Codex" on the social card and test the `og:image` URL Assembler builds get a card that reads "Documentation", with the environment label outside production. Codex builds get a card that reads "Codex" when they have a canonical URL. Isolated builds keep the elastic.co image. Head tests snapshot the `og:image` and `twitter:image` URLs for each case. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Set the social card text in Inter The brand guide names Inter for text where Mier B, the licensed headline face, is not available. The cards were drawn in Arial. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Draw the favicon labels in Inter The letters are paths taken from Inter ExtraBold, so they look the same in every browser instead of depending on an installed font. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Keep the Codex site prefix on the social card of landing and group pages Landing and group pages use the site prefix as their path prefix, which `Static()` reads as no prefix, so the card URL missed the `/internal-docs` folder Codex publishes `_static` under. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Drop the repository segment from the social card path on root-hosted Codex sites With `site_prefix: /`, repository pages have `/r/repo` as their path prefix, so the repository segment sits at index 0 and the card path kept it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Bump the npm-production-minor-patch group across 1 directory with 4 updates (#4777) * Bump the npm-production-minor-patch group across 1 directory with 4 updates Bumps the npm-production-minor-patch group with 4 updates in the /src/Elastic.Documentation.Site directory: [@opentelemetry/api](https://github.com/open-telemetry/opentelemetry-js), [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query), [katex](https://github.com/KaTeX/KaTeX) and [zustand](https://github.com/pmndrs/zustand). Updates `@opentelemetry/api` from 1.9.1 to 1.10.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-js@v1.9.1...v1.10.0) Updates `@tanstack/react-query` from 5.104.4 to 5.105.0 - [Release notes](https://github.com/TanStack/query/releases) - [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md) - [Commits](https://github.com/TanStack/query/commits/@tanstack/[email protected]/packages/react-query) Updates `katex` from 0.19.0 to 0.19.1 - [Release notes](https://github.com/KaTeX/KaTeX/releases) - [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md) - [Commits](KaTeX/KaTeX@v0.19.0...v0.19.1) Updates `zustand` from 5.0.15 to 5.0.16 - [Release notes](https://github.com/pmndrs/zustand/releases) - [Commits](pmndrs/zustand@v5.0.15...v5.0.16) --- updated-dependencies: - dependency-name: "@opentelemetry/api" dependency-version: 1.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-production-minor-patch - dependency-name: "@tanstack/react-query" dependency-version: 5.105.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-production-minor-patch - dependency-name: katex dependency-version: 0.19.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-production-minor-patch - dependency-name: zustand dependency-version: 5.0.16 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-production-minor-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Pin @opentelemetry/api to 1.9.1 The EDOT browser SDK still resolves 1.9.1, so 1.10.0 installs a second copy of the API. Pinning keeps a single version. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrea De Pirro <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Update Ingestion tools navigation for the Managed inputs and Elastic Managed integrations moves (#4769) * Point Managed inputs navigation to docs-content and add Elastic Managed integrations Co-authored-by: Cursor <[email protected]> * Move the Managed integrations navigation entry to a separate PR Co-authored-by: Cursor <[email protected]> * Add Elastic Managed integrations to Reference > Ingestion tools navigation Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]> * Show endpoint paths next to operation titles in the API index (#4764) * Show endpoint paths next to operation titles in the API sidebar and index A short description alone makes a familiar API like `_flush` hard to spot. The sidebar and the landing index now print the main route template under each operation title, with named placeholders such as `{job_id}`. Closes elastic/docs-eng-team#1140 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Limit endpoint paths to the API index and center the method chip The sidebar is too noisy with a second line on every operation, so it goes back to the title and method badge. The index keeps the path, and its method chip now centers on the two-line row. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> * Keep the browser telemetry allowlist next to the frontend (#4801) * Own the browser telemetry allowlist next to the frontend that sends it The collectors keep only the attribute keys on a list and drop the rest without an error. The list lived in the collector repos, away from the code that adds the keys. It now lives here, with tests that fail when semconv.ts defines a key that is not on it. The collector repos render it into their configs at deploy time from the version they deploy. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Match attribute constants whose string moves to the next line Prettier wraps long ATTR_ declarations, and the test pattern skipped those, so nine custom keys were checked only against the looser standard-key rule. The test now also requires every declaration to be matched. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * Mark the isolated-site journeys so a deployed site skips them docs-journeys now carries every journey, so the ten from this batch that check the isolated test site (its syntax pages, header and footer) need `# @requires build-type:isolated`, or a run against a deployed site would fail them instead of skipping them. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Andrea De Pirro <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Visha Angelova <[email protected]> Co-authored-by: Cursor <[email protected]> * Verify the a11y journeys per platform and pass the journeys folder to the prod check The color-contrast rule depends on how the platform renders text, so macOS reports four nodes on the home page where Linux reports two. Each platform has its own verified transcript, the Linux ones taken from the CI run. The prod check runs docs-journeys with --changed-only, which now needs --journeys to diff the journey files against git. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Address review: shard every test class, journeys base, probe fallback and npx arguments The shard plan names test classes, so page-actions, the http areas and the CLI tests run in CI, and the build artifact carries docs-journeys. The prod check passes when a change touches only journeys that cannot apply to prod (--allow-all-skipped). An assembler site given as an origin opens relative journey paths under /docs/, in run and in export. The probe falls back to the root page only after a 404 and only when that page is a docs site, and a flag or build type read from a page must be a plain name before it reaches npx, which is also checked for cmd.exe operators on Windows. The TUnit areas skip a journey whose @requires does not hold, so feedback runs only where the site renders it, and the a11y transcript has a variant for each case. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Address review: probe failures never pass allow-all-skipped, root fallback accepts the body class, prod landing journey and stale docs The docs landing journey waited for a main element that prod does not render; it checks #main-container now. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Serialize the two real-npx export journeys tests: concurrent npx runs corrupt the shared npx cache Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Harden the journeys workflows and tool, and fix what the first CI runs found The prod check only runs for pull requests from branches of this repository, so code from a fork never makes requests to prod, and the sandbox sysctl only runs on GitHub-hosted runners. npm installs the Synthetics packages with --ignore-scripts, because the push process holds the API key. The export tests run one at a time, because concurrent npx runs of one package race in npm's cache. The live landing journey asserts the h1, which prod has, and not a main element, which it does not. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Report a failed npx or npm plainly, and make a failed docs-journeys test read as a log docs-journeys returned the exit code of npx or npm as its own, so a Node error number showed up as 217 with no hint of what had failed. It now says which step failed and exits 1. In the tests, CliRun.ShouldHaveExited prints the expected and actual exit code and then the tool's output as a delimited block, where the assertion put the whole output into the middle of a sentence. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Andrea De Pirro <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Visha Angelova <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Jan Calanog <[email protected]> Co-authored-by: Jan Calanog <[email protected]>
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs-journeys runnow decides which journeys apply from the site it runs against, and a live run is read-only and identifies as a monitor by default.Affects: CLI, Deploys & previews
Stack: 4 of N, on top of #4792.
Prompt summary: Make
docs-journeysusable against edge, demo and prod: it must skip journeys that need a flag, build type or environment the site lacks, never write to a live site, and keep monitor traffic out of real telemetry.Why
The tool ran every journey it was given, so one written for the isolated site failed against a deployed one, and nothing stopped a journey from writing to prod or from sending test traffic into real telemetry.
What
Context and skips
A run reads the environment (
--env, or the one the URL's host belongs to), then the build type and flags from the page'sdocs:build-typeanddocs:featurestags (#4788), with--build-typeand--featureto override. A journey whose# @requiresis not met is skipped with its reason in the console, the JUnit file (<skipped>) and the step summary. Unknown is not matched. A run where every selected journey is skipped exits 1.Selection
--tagselects by# @tags.--changed-only <ref>runs journeys that differ from the ref or are new.# @mutatesjourneys are skipped unless--allow-mutations.listshows each journey's tags, requirements, monitor and alerts, and--jsonprints them as JSON.Safe live runs
By default a run sends the user agent
Elastic/Synthetics, which switches the frontend's telemetry off, addsX-Docs-Synthetic-Monitor, starts at 1280 by 800, and refuses every write withBlocked POST <url>.--real-user-agent,--allow-writesand--writableloosen each. The existing journeys now say# @requires build-type:isolated.Out of scope: the known-environment table is built into the tool and not read from
config/assembler.yml. Journeys added in the stacked PRs #4791 and #4793 need the same header line when they land.Verify
mise run journeys -- --treenode-filter "/*/*/DocsJourneysContextTests/*" dotnet run --project src/tooling/docs-journeys -- list --journeys tests/Elastic.Documentation.Journeys.Tests/journeys --json dotnet publish src/tooling/docs-journeys -c Release -r osx-arm64 .artifacts/publish/docs-journeys/release_osx-arm64/docs-journeys run --url https://docs-demo.elastic.dev --journeys tests/Elastic.Documentation.Journeys.Tests/journeysThe last command reads the demo site's real tags, skips all 8 journeys with
requires build-type:isolated, and exits 1 because nothing was checked.