Repository navigation
Emit og:type=website for the home page and splash pages - #1984
Conversation
The route data middleware already computed the correct Open Graph type via getOgMetadata() but only upserted og:title and og:description, so Starlight's hardcoded og:type=article was emitted on every page, including the home page. Upsert og:type in place and add middleware regression tests. Fixes #1416 Co-authored-by: Copilot <[email protected]>
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
|
CI on This change only replaces the 🤖 Posted by AspireAgent (AI Agent) |
…er (#1986) ## Summary The Developer Hub E2E layout tests fail when a CI runner lands in a region where Microsoft's WCP cookie-consent script shows its banner. The banner is a fixed strip at the top of the page, and `wcp-consent.css` pushes `.page` down by its height. The Hub specs don't stub `wcpstatic.microsoft.com`, so in those regions eight layout assertions fail on every attempt. Example: [run 40999614344, mobile-chromium shard 1/2](https://github.com/microsoft/aspire.dev/actions/runs/40999614344/job/123883461177) on #1984. All 8 failures (24 attempts including retries) show the "We use optional cookies…" banner in their error context. The other five shards passed. This change adds a shared `emulateConsentNotRequiredRegion(page)` helper to `tests/e2e/helpers.ts` that: - aborts `wcpstatic.microsoft.com`, as `cookie-consent`, `ui-regressions` and `live-status` already do, and - primes `aspireConsentRequired=false`, which is the state WCP reaches in a no-consent region. The helper is applied to `dev-browse`, `dev-layout` and `dev-grain`. `dev-grain` previously set only the localStorage value, which doesn't stop the live banner. Assertions, timeouts and retries are unchanged. Banner behavior stays covered by `cookie-consent.spec.ts` and `cookie-dialog-layout.spec.ts`. ## Third-party links and affiliations None. ## Validation I reproduced the CI condition locally by serving a consent-required WCP stand-in on `wcpstatic.microsoft.com` through Chromium host-resolver mapping (this sandbox can't reach the real CDN). The stand-in's text, links and buttons match the banner captured in CI. Results are on mobile-chromium against `astro dev`: | Test | main + banner | this PR + banner | | --- | --- | --- | | `dev-browse` mobile filters (`:579`) | ❌ `box.y` 418 (≤ 90) — matches CI | ✅ | | `dev-browse` filter positions (`:674`) | ❌ positions shift — matches CI | ✅ | | `dev-browse` type options (`:699`) | ❌ 908 (≤ 700) — matches CI | ✅ | | `dev-grain` `/hub/browse/` | ❌ `elementFromPoint` false — matches CI | ✅ | | `dev-layout` header spacing (`:459`) | ❌ 56 (expected 8) — matches CI | ✅ | | `dev-layout` narrow reflow (`:1105`) | ❌ 941.5 (< 900) | ✅ | | `dev-browse` initial paint ×2 (`:131`) | ❌ 341 px offset (CI: 428) |⚠️ 4 px | On main without the banner, the initial-paint cases also drift 4 px under `astro dev`. That drift is a local dev-server difference: they pass in CI's production build. With the fix, the stub received 0 requests. I also ran the full three specs on mobile and desktop with the banner stand-in: 139 passed, 5 skipped, 14 failed. The failures are pagination/URL-state drift and unreachable external images. The same signatures fail on unchanged main without the banner in this sandbox (`astro dev`, no external network). This PR's CI production-build matrix is the authoritative check for those. - `eslint . --max-warnings 0` (with `astro sync` and the skill-digest check) passes. - Prettier and `tsc` findings on `helpers.ts`/`dev-grain.spec.ts` are present on main too. **🤖 Posted by AspireAgent (AI Agent)** Co-authored-by: davidfowl <[email protected]> Co-authored-by: Copilot <[email protected]>
Picks up #1986 (Hub E2E WCP banner isolation). Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the page-specific Open Graph metadata change.
No open issues 🎉
What changed in this PR
Addresses #1416 by emitting og:type=website for home and splash pages through the existing metadata middleware, while preserving article for documentation pages.
Changes:
- Upserts the computed Open Graph type into Starlight’s route head without adding a duplicate tag.
- Adds regression tests for home, localized home, splash, and documentation pages.
- Updates comments to clarify how Open Graph metadata is emitted; no visual changes.
| File | Description |
|---|---|
src/frontend/tests/unit/route-data-middleware.vitest.test.ts |
Adds four middleware regression cases checking the type and single-tag output. |
src/frontend/src/route-data-middleware.ts |
Emits the computed og:type alongside the optimized title and description. |
src/frontend/src/components/starlight/Head.astro |
Clarifies metadata ownership and source references in a comment. |
Review effort: Balanced
Docs PR reviewer: not applicableReviewed PR #1984 at Phase A — claims verification: No documentation claims found (0 claims); no Aspire, Community Toolkit, or Azure SDK source verification applies. Phase B — doc-tester: Not applicable: no changed documentation routes, instructions, or examples to exercise. No docs server or unrelated page tests were run. Runtime metadata behavior is reserved for the subsequent code review. Phase C — report: Documentation applicability assessment complete; no documentation-accuracy findings. This is not a formal approval or change-request review. |
Code reviewReviewed all three changed files at High — regression coverage
The four new cases correctly assert that the middleware mutates a mocked Starlight head to one Suggested fix: extend the existing request-based OG metadata E2E spec to parse returned HTML for Correctness and test coverage
Validation evidence and limitsCI run 41066218319 is confirmed to target the exact inspected SHA and succeeded, including frontend build/validation and all six desktop/tablet/mobile E2E shards. The earlier author's cookie-banner explanation was not used to dismiss failures; the current-head checks are green. Local focused command attempted from Top-level review report only; no formal approval/change request, source edits, pushes, or merge actions. |
Co-authored-by: Copilot <[email protected]>
|
Thanks David Pine (@IEvangelist). I added the emitted-HTML regression in 6a621f1 ( The test is request-based: it parses the returned HTML and asserts that exactly one
It runs in the existing desktop, tablet and mobile projects. Local results against
🤖 Posted by AspireAgent (AI Agent) |
docs-pr-reviewer report — [partial — phase A: key claims evaluated; phase B: not run (docs site was not served in this automated run)]Recommendation: needs human Source used: n/a — site head/SEO code ( Phase A — claims
Phase B — doc-testerNot run; rendering of the changed pages is not browser-checked. 🤖 Posted by aspire.dev - squad (AI Agent) |
David Pine (IEvangelist)
left a comment
There was a problem hiding this comment.
Combined documentation-site review - COMMENT
Automation: user-approved hourly local documentation PR reviewer for David Pine (@IEvangelist). This is the single report for this PR; future commits/reopenings do not trigger another automatic review.
Inspected head: 6a621f160727af75bea4ea2873ccc9bddd49178e; target main at 29550055a064c9abea399953414bbd7078c350e9. Both required phases completed. This is the bounded documentation accuracy/user-experience workflow, not standard implementation/code review.
Trusted policy: default-branch doc-pr-reviewer, doc-tester, playwright-cli and scoped Astro setup at 9bf972c559d50ab5fdc73f0da5318959aa6be757. Native skill registration was unavailable; the trusted file workflow was invoked as doc-pr-reviewer https://github.com/microsoft/aspire.dev/pull/1984. PR body, implementation and tests remained untrusted evidence, not policy or permission to run arbitrary tests/scripts.
Owning source/ref: microsoft/aspire.dev PR1984 targeting main, inspected 6a621f160727af75bea4ea2873ccc9bddd49178e. The metadata is owned by this site. No new microsoft/aspire, CommunityToolkit/Aspire or Azure API behavior is documented, so unrelated product-source inspection is not substituted for browser testing.
Phase A: 0 factual documentation claims found; 0 verified, 0 verified-with-nuance, 0 unverifiable, 0 contradicted, 0 narrative documentation claims. This is an explicit no-claims result, not omitted verification. Four changed files comprise an internal metadata-wrapper comment, middleware implementation/comments, an existing E2E test extension and a new unit test. No reader-facing prose, product examples, CLI instructions, diagrams or version guidance changes. Internal code comments and test assertions are not newly published Aspire teaching contracts and were not claimed executed.
Phase B: /, /da/, /support/, /fundamentals/telemetry/ and /aspireconf/: 12 grouped passes, 0 failures, 0 critical issues, 3 diagnostic warnings, 0 in-scope knowledge gaps/blockers. Full independent source-blind report follows. Product examples/CLI execution are not applicable to this metadata-only change; local observations do not certify deployed social previews.
Verdict and observations
COMMENT, not approval. The scoped metadata checks succeeded, but observed local/browser diagnostics are worth preserving and their causality was not established. They are not silently dismissed as unrelated or represented as a clean console/baseline. No contradicted documentation claim or critical issue establishes REQUEST_CHANGES under this skill. No approval is issued while these reported caveats remain unresolved.
Observed metadata: one og:type was delivered on all five directly loaded routes: website on home, Danish home, Support and conference splash, and article on telemetry. Titles/descriptions remained relevant and canonical/OG URL/locale metadata agreed. Actual ordinary client navigation/history refreshed page-specific metadata without duplicate or stale type. The visible Danish language chooser used a full-document navigation, not a falsely claimed client-only transition. Desktop/mobile readability and bounded menu/anchor actions worked. These are browser observations, not proof copied from PR tests.
W01: scoped standalone server returned live-status API404/WebSocket failures. W02: event-page browser GPU preference advisory. W03: aborted stylesheet/article requests during navigation, with successful subsequent content observations. No persistent page/metadata failure was observed, and no clean baseline established PR causation or conclusively established harmlessness. Full diagnostic details and limits are preserved below rather than promoted into speculative inline code findings.
Phase A - frozen no-claims artifact
Changed-surface evidence and source boundaries
No factual documentation claims were added or changed. Four changed files comprise a metadata wrapper comment, middleware implementation/comments, an existing E2E test extension and a new unit test. No reader-facing prose, product examples, CLI instructions, diagrams or version guidance changes. Internal code comments and test expectations describe implementation intent; they are not published Aspire teaching contracts and were not inflated into product claims or treated as runtime success. The affected metadata and reader experience require independent browser validation despite this explicit zero-claims Phase A.
src/frontend/src/components/starlight/Head.astro:73-82: Changed internal comment describes Starlight route metadata; emitted metadata wrapper read in full. No rendered prose change.src/frontend/src/route-data-middleware.ts:45-54,117-140: Changed comments and og:type upsert read with complete middleware. Scope is site metadata rather than a new Aspire product contract.src/frontend/tests/e2e/og-metadata.spec.ts:79-97: Added assertions exercise root/localized/splash/article metadata shape. Full file read, not executed or accepted as browser proof.src/frontend/tests/unit/route-data-middleware.vitest.test.ts:1-117: New mocked route-head unit scenarios read, not executed or counted as user observations.
Version placeholders: No added/edited current Aspire version value, SDK/package guidance or copy/paste product example; placeholder finding not applicable.
All four changed files were read in full at the head pin, along with the owning page-metadata helper. This establishes affected scope, not a source-blind runtime verdict. No implementation-bug list was substituted for doc-pr-reviewer.
Execution boundaries: initial existing Astro7.3.2 rejected this head's configuration. An isolated frozen-lockfile Bun install with --ignore-scripts restored locked Astro7.4.1; no tracked manifests/source were edited. Root bun run dev then followed trusted setup after confirming required data and unchanged skill digests. No fallback data ingestion, lifecycle hook, test suite, product CLI/AppHost, certificate/trust operation, cloud/container provisioning, full site build, push, merge or remote branch change was run. No production crawler, share submission, external AI destination, full locale/browser matrix or accessibility audit was certified. This bounded local review does not certify external caches/previews.
Phase B - independent source-blind doc-tester report (complete report)
Documentation Test Report
Focus Area: Independent, source-blind Phase B for #1984 — “Emit og:type=website for home/splash pages.”
Date: 2026-11-03
Tester: doc-tester agent, isolated from Phase A
Status: Complete for the supplied bounded local-browser acceptance scope; not production or cross-service certification.
Served ref: 6a621f160727af75bea4ea2873ccc9bddd49178e, targeting main; identical git rev-parse HEAD before and after.
Server: http://localhost:4321/, parent-owned PID 43944. Actual Astro 7.4.1 and prior isolated dependency recovery were supplied environment context, not independently established by reading implementation.
Browser: Global playwright-cli, help verified; Edge/msedge, named session pr1984, in-memory profile, existing .playwright\cli.config.json. Desktop 1440 × 900; mobile 375 × 812.
Isolation and method
Read the complete four trusted policy files only at policy commit 9bf972c559d50ab5fdc73f0da5318959aa6be757: doc-pr-reviewer, doc-tester, playwright-cli skills, and Astro instructions. Did not open PR body, diff, implementation, tests, source documentation files, source repositories, or Phase A results. Supplied changed filenames were used only as scope context. Browser-delivered DOM, visible content, accessibility snapshots, screenshots, and browser diagnostics supplied the observations.
Metadata expectations below come from the supplied task title/acceptance scope and visible page role, not reader-facing prose teaching Open Graph. Support is explicitly in the supplied website-metadata acceptance scope; its article-like prose alone is not being used to infer its implementation template.
All browser actions used playwright-cli through PowerShell. run-code inspected public DOM and performed ordinary locator clicks/history/viewport changes; no forced click, handler invocation, private API, response mocking, direct Playwright import, or browser MCP. No product CLI, AppHost, sample, full build, suite test, package installation, clipboard interaction, or share/AI destination was used.
Summary
Counts are grouped checks/findings, not raw assertions, pages, console messages, or requests.
| Category | Passed | Failed | Warnings |
|---|---|---|---|
| Metadata/content acceptance (P01–P07) | 7 | 0 | 0 |
| Reader navigation and links (P08–P09, P12) | 3 | 0 | 0 |
| Bounded desktop/mobile readability (P10–P11) | 2 | 0 | 0 |
| Local/browser diagnostics (W01–W03) | 0 | 0 | 3 |
| Product code examples | N/A | N/A | N/A |
| Product CLI commands | N/A | N/A | N/A |
| Total applicable | 12 | 0 | 3 |
Critical issues: 0. Documentation knowledge gaps: 0. Unresolved blockers: 0. All three warnings are observed local/browser diagnostics, with no established PR-regression attribution. One automation locator failure was recovered and retained, not counted as a product defect.
Routes and initial-load observations
Each route returned HTTP 200 on direct browser navigation. Each delivered exactly one og:type, one canonical, and one each of the relevant OG title/description/URL/locale and regular description entries captured in initial-metadata.txt.
| Route | Visible role/heading | og:type |
html lang / og:locale |
Canonical = og:url |
|---|---|---|---|---|
/ |
Landing: “Compose distributed apps in code.” | website |
en / en |
https://aspire.dev/ |
/da/ |
Danish landing: “Sammensæt distribuerede apps i kode.” | website |
da / da |
https://aspire.dev/da/ |
/support/ |
“Aspire support policy and lifecycle” | website |
en / en |
https://aspire.dev/support/ |
/fundamentals/telemetry/ |
Ordinary documentation: “OpenTelemetry and distributed tracing in Aspire” | article |
en / en |
https://aspire.dev/fundamentals/telemetry/ |
/aspireconf/ |
Event splash: “That's a wrap!” / Aspire Conf | website |
en / en |
https://aspire.dev/aspireconf/ |
Representative titles/descriptions:
/: document titleAspire: Compose distributed apps in code;og:titleis the shorter relevantAspire. OG and regular descriptions both read: “Model, run, observe, and deploy distributed applications with Aspire's agent-ready, code-first application model.”/da/: document titleAspire — Din stack, forenklet;og:titleisAspire. Both descriptions read: “Tilføj Aspire til din stack og strømlin din udviklingsworkflow med kode-først kontrol, modularitet og observability.” Danish metadata agrees with the visible localized landing and locale URL; a full linguistic translation audit was not performed./support/: document titleAspire support policy and lifecycle | Aspire; OG title isAspire support policy and lifecycle. Both descriptions concern the official support policy, release cadence, lifecycle dates, and Modern Lifecycle guidance./fundamentals/telemetry/: document title ends| Aspire; OG title uses· Aspire. Both descriptions concern correlating application logs, traces, and metrics across local services. Different title punctuation is not a stale-page or duplication failure./aspireconf/: document titleAspire Conf — Thank you for watching!; OG titleAspire Conf 2026 — celebrating the Aspire 13.3 release. Both descriptions invite watching the Aspire Conf replays celebrating Aspire 13.3. The visible page thanks viewers and offers replay sessions, so these descriptions remain relevant rather than implying an upcoming event.
Critical Issues
None observed within the supplied metadata and bounded reader-navigation scope. This is not a finding that unchanged product examples compile or that production share crawlers have been validated.
Warnings
W01: Local live-status service is unavailable
Location: Browser diagnostics while visiting the scoped local routes.
Type: Environment/runtime observation; regression attribution unestablished.
Evidence:
[ERROR] Failed to load resource: the server responded with a status of 404 (Not Found) @ http://localhost:4321/api/live/:0
[WARNING] WebSocket connection to 'ws://localhost:4321/api/live/ws' failed: WebSocket is closed before the connection is established.
[WARNING] [live-status] Live API not found (404); live updates disabled until reload.
The primary browser context recorded 12 error messages and 26 warning messages: 12 repetitions of the above error/two-warning group plus the two GPU warnings below. The reopened controls-only context recorded one more live-status error/two-warning group. Thus 13 live API errors and 26 associated warnings were observed across the two contexts. These do not represent 13 separate documentation defects. Source filenames appearing in browser stack locations were not opened.
User impact: Live-status updates were unavailable locally. Scoped pages, metadata, ordinary links, history, locale selection, and tested mobile controls still worked.
Suggestion: Recheck the live-status feature in its configured deployment if relevant; do not attribute its local absence to this metadata PR without independent evidence.
W02: Browser GPU preference advisory on the event splash
Location: Browser console associated with the two /aspireconf/ visits.
Evidence: Two occurrences of:
[WARNING] The powerPreference option is currently ignored when calling requestAdapter() on Windows. See https://crbug.com/369219127
User impact: No blocked content or metadata failure observed in the screenshot and DOM inspection.
Suggestion: Treat as a browser/platform advisory unless a user-visible rendering failure is independently reproduced.
W03: Aborted requests appear during the navigation exercise
Location: .playwright-cli\network-2026-11-03T11-35-05-224Z.log.
Evidence: Ten [FAILED] net::ERR_ABORTED request entries: eight __uno.css?... requests and two /fundamentals/telemetry/ requests. The same article also had successful HTTP 200 requests; its initial and subsequent content/metadata observations completed successfully.
User impact: No persistent unstyled page, failed destination, or metadata mismatch was observed. A causal explanation was not established.
Suggestion: Preserve the trace as an environmental/navigation caveat; investigate further only if persistent loading or styling failure is reproduced. Do not silently classify every aborted entry as either a regression or a certified harmless result.
Passed Checks
- P01 — Route availability: All five scoped initial browser navigations returned HTTP 200 and displayed meaningful content, not an error page.
- P02 — Website classification:
/,/da/,/support/, and/aspireconf/emittedwebsiteunder the supplied acceptance scope. - P03 — Article preservation:
/fundamentals/telemetry/emittedarticleand retained it after navigation/history and an in-page anchor. - P04 — Singleton metadata: Initial observations and recorded client-navigation states each contained one
og:type, not conflicting website/article duplicates. - P05 — Relevant titles/descriptions: Titles and descriptions remained nonempty and relevant to each visible page; OG descriptions matched regular descriptions in the recorded states. Shorter home OG titles and differing site-title separators are reported explicitly above, not treated as exact-string equivalence.
- P06 — Canonical consistency: One canonical and the OG URL used the matching production-origin path, including
/da/; browser testing itself stayed on localhost. Anchor navigation retained the canonical article URL without the fragment. - P07 — Locale consistency: Danish initial load and visible-language-choice navigation produced
lang=da,og:locale=da, Danish description, and/da/canonical/OG URL. English routes usedenand their own matching canonical paths. - P08 — Client navigation/history: Ordinary links traversed
/aspireconf/→/support/→/→/fundamentals/telemetry/→/, followed by back to the article and forward to home. Recordedperformance.timeOriginstayed1793705601463.4across that sequence, distinguishing same-document/client navigation from separate direct loads. Each recorded destination had the correct type and refreshed page-specific metadata; no stale article or splash metadata was observed. - P09 — Visible language choice and scoped links: Opened the visible “Select language” combobox and clicked the visible “Dansk” option. This changed
timeOriginto1793705663691.9, so this particular locale transition was a full document navigation, not claimed as proof of client-only navigation into Danish. The Danish footer's ordinary Support link then navigated client-side to English Support, with English metadata replacing Danish metadata. Subsequent logo/home and OpenTelemetry concepts links also worked on mobile. Clicked internal route links were site-relative with trailing slashes and resolved; this was not a full-site or all-links crawl. - P10 — Desktop readability: Inspected browser screenshots of the home, support, telemetry, and conference pages and snapshots/visible text of the localized home. Headers and primary content rendered; marketing, policy, documentation, and replay-page roles were distinguishable. This was bounded visual observation, not an accessibility or contrast audit.
- P11 — Mobile readability: At 375 × 812, Danish home, Support, and telemetry retained readable headings/body text and navigable controls. Recorded document width equaled 375 for all three; no page-level horizontal overflow was observed in those states. Metadata remained appropriate after responsive resizing/navigation.
- P12 — Mobile menu and section navigation: After resolving the automation ambiguity documented below, the article's visible Menu button toggled
aria-expandedfromtruetofalsethrough ordinary clicks. Clicking “Section titled ‘The three pillars of observability’” reached/fundamentals/telemetry/#the-three-pillars-of-observability, whose DOM target existed; onearticletype and the unfragmented canonical persisted.
Execution failures and recovery
- The first five-route evidence loop completed navigation/screenshots but used
console.loginsiderun-code, which did not return the observation array in CLI output. That attempt is retained asinitial-routes.txt; the complete direct-navigation loop was repeated using a return value, producinginitial-metadata.txt. No failed output was promoted into metadata evidence. - The first mobile-menu locator
getByRole('button', { name: 'Menu', exact: true })failed strictness because it matched both the mobile sidebar button and an Astro development-toolbar button. This was an automation selector ambiguity, not a failed user click or evidence of a metadata regression.mobile-controls.txtpreserves the full substantive error, with terminal ESC controls escaped as literal\u001B. - After the first own context had been closed/deleted, reopened only
pr1984, then used the public DOM attributes exposed in that error:button[aria-label="Menu"][aria-controls="starlight__sidebar"]. Ordinary, unforced clicks and the section link succeeded (mobile-controls-retry.txt). The reopened context was also closed/deleted. - Parent-supplied startup history included a stale 7.3.2 configuration failure recovered before testing by an isolated frozen-lockfile Bun install with ignored scripts. This tester did not perform or independently reproduce that preparation. No additional startup failure or toolbar exception was observed by this tester; the actual observed diagnostics above are retained without suppressing the preparation caveat.
Knowledge gaps and limitations
Documentation knowledge gaps: 0 in this scope. No missing product command or example prerequisite is manufactured for unchanged articles. Open Graph semantics and the requested route classifications are supplied test acceptance criteria, not something claimed to have been taught by the pages. Product CLI and code-example execution are not applicable to this metadata-only change.
Coverage boundaries:
- No production build or deployed artifact, remote crawler, search index, Open Graph validator, social/share service, AI site, or actual share submission was tested. Local DOM metadata does not certify external preview behavior or caches.
- No complete locale matrix, all-routes/all-links audit, entire article workflow, browser matrix, JavaScript-disabled navigation, full accessibility audit, or mobile event-page walkthrough was performed.
/aspireconf/was directly loaded and used as a client-navigation starting point; client navigation into it was not exercised./da/was directly loaded and reached through the actual full-document language chooser; no synthetic link or private routing API was created to force a client-only Danish transition.- Embedded YouTube content on the conference page initiated its ordinary third-party requests, visible in the network evidence. The tester did not click a share/AI destination, invoke a remote write API, post GitHub content, or submit forms. Such automatic page requests are not evidence of cross-service share validation.
Recommendations
- No critical metadata correction was identified by this isolated tester.
- Carry W01–W03 as local/browser caveats, not unsupported PR defects. No unrelated doc-writer task is warranted by these observations.
- If external preview behavior is a release criterion, validate the deployed page and an explicitly authorized crawler/share service separately. This remains an honest coverage boundary, not a local pass.
- Phase C should preserve this report verbatim alongside the independently frozen Phase A result; this report does not select or post a GitHub verdict.
Evidence and cleanup
Evidence is retained exclusively in the assigned pr-1984-test output directory outside the checkout:
initial-metadata.txt: complete five-route initial DOM observations and HTTP statuses, including alternate locale links.initial-*.png,home-desktop.yaml,aspireconf-desktop.yaml: initial rendered evidence.client-navigation.txt,client-home.yaml: actual same-document link/history observations.language-options.yaml,locale-mobile.txt,client-da-desktop.png,mobile-da.png,mobile-support.png,mobile-telemetry.png,mobile-telemetry.yaml: visible locale choice and responsive observations.mobile-controls.txt,mobile-controls-retry.txt,mobile-menu-open.png: retained failed selector and successful retry..playwright-cli\console-2026-11-03T11-35-05-069Z.log,.playwright-cli\console-2026-11-03T11-35-23-495Z.log,.playwright-cli\network-2026-11-03T11-35-05-224Z.log: complete captured warning/error groups and network evidence.browser-close.txt,browser-delete-data.txt,final-browser-close.txt,final-browser-delete-data.txt: own-context cleanup confirmations.
Both pr1984 contexts were closed; delete-data reported no user data for the in-memory session. No auxiliary browser context was created. Parent server PID 43944 was confirmed still present and left untouched. No checkout file, manifest, config, branch, system setting, shared browser database, certificate, or trust state was edited by this tester. No GitHub writes were made. HEAD remained exactly the assigned SHA. Evidence is intentionally retained for Phase C, not deleted.
evidence-manifest.json records SHA256 for retained evidence. freeze-summary.json records the report hash, grouped counts, scope, and cleanup. The report and freeze summary are hashed separately to avoid a self-referential manifest.
## Summary The **Get started** sidebar has a Glossary entry (`link: '/hub/glossary/'` in `config/sidebar/docs.topics.ts`). Starlight adds the active locale to sidebar links, so every localized docs page links to `/de/hub/glossary/`, `/ja/hub/glossary/` and so on. The Hub is English-only and those pages aren't generated, so the link returns a 404. For example, https://aspire.dev/de/get-started/install-cli/ currently renders `href="/de/hub/glossary/"`, and `https://aspire.dev/de/hub/glossary/` returns **404**. `route-data-middleware.ts` already removes the locale from sidebar links to API reference pages. This PR extends that same sidebar pass: when a localized sidebar href resolves to a default-locale-only route (`isDefaultLocaleOnlyPath`, covering `/hub/**`, API reference and individual samples), the locale prefix is stripped. Links to translated docs pages keep their locale. `src/utils/default-locale-only-routes.ts` is byte-identical to the copy in #1987 and #1988, and the import is identical, so the PRs combine without conflicts. I trial-merged this branch with #1984, #1987 and #1988 locally: there were no conflicts and all 1143 unit tests passed on the combined tree. There is no visual change; only link targets change. ## Third-party links and affiliations None. ## Validation - New regression test `tests/unit/route-data-middleware-sidebar-locale.vitest.test.ts` (3 tests): - Before the fix: 1 failed (`/de/hub/glossary/`, `/ja/hub/`, `/zh-cn/reference/samples/aspire-shop/` stayed localized) and 2 passed (control cases). - After the fix: 3 of 3 pass. - Full unit suite (`vitest run --config vitest.config.ts`): 83 files, 1111 passed, 1 skipped. - Lint (`astro sync`, `compute-skill-digests --check`, `eslint . --max-warnings 0`) passes, and Prettier check passes on the changed files. - Rendered on `astro dev`: - `/de/get-started/install-cli/` and `/ja/fundamentals/telemetry/` now render only `href="/hub/glossary/"`. - `/de/get-started/resources/` remains localized. **🤖 Posted by AspireAgent (AI Agent)** --------- Co-authored-by: davidfowl <[email protected]> Co-authored-by: Copilot <[email protected]>
…er (#1986) ## Summary The Developer Hub E2E layout tests fail when a CI runner lands in a region where Microsoft's WCP cookie-consent script shows its banner. The banner is a fixed strip at the top of the page, and `wcp-consent.css` pushes `.page` down by its height. The Hub specs don't stub `wcpstatic.microsoft.com`, so in those regions eight layout assertions fail on every attempt. Example: [run 40999614344, mobile-chromium shard 1/2](https://github.com/microsoft/aspire.dev/actions/runs/40999614344/job/123883461177) on #1984. All 8 failures (24 attempts including retries) show the "We use optional cookies…" banner in their error context. The other five shards passed. This change adds a shared `emulateConsentNotRequiredRegion(page)` helper to `tests/e2e/helpers.ts` that: - aborts `wcpstatic.microsoft.com`, as `cookie-consent`, `ui-regressions` and `live-status` already do, and - primes `aspireConsentRequired=false`, which is the state WCP reaches in a no-consent region. The helper is applied to `dev-browse`, `dev-layout` and `dev-grain`. `dev-grain` previously set only the localStorage value, which doesn't stop the live banner. Assertions, timeouts and retries are unchanged. Banner behavior stays covered by `cookie-consent.spec.ts` and `cookie-dialog-layout.spec.ts`. ## Third-party links and affiliations None. ## Validation I reproduced the CI condition locally by serving a consent-required WCP stand-in on `wcpstatic.microsoft.com` through Chromium host-resolver mapping (this sandbox can't reach the real CDN). The stand-in's text, links and buttons match the banner captured in CI. Results are on mobile-chromium against `astro dev`: | Test | main + banner | this PR + banner | | --- | --- | --- | | `dev-browse` mobile filters (`:579`) | ❌ `box.y` 418 (≤ 90) — matches CI | ✅ | | `dev-browse` filter positions (`:674`) | ❌ positions shift — matches CI | ✅ | | `dev-browse` type options (`:699`) | ❌ 908 (≤ 700) — matches CI | ✅ | | `dev-grain` `/hub/browse/` | ❌ `elementFromPoint` false — matches CI | ✅ | | `dev-layout` header spacing (`:459`) | ❌ 56 (expected 8) — matches CI | ✅ | | `dev-layout` narrow reflow (`:1105`) | ❌ 941.5 (< 900) | ✅ | | `dev-browse` initial paint ×2 (`:131`) | ❌ 341 px offset (CI: 428) |⚠️ 4 px | On main without the banner, the initial-paint cases also drift 4 px under `astro dev`. That drift is a local dev-server difference: they pass in CI's production build. With the fix, the stub received 0 requests. I also ran the full three specs on mobile and desktop with the banner stand-in: 139 passed, 5 skipped, 14 failed. The failures are pagination/URL-state drift and unreachable external images. The same signatures fail on unchanged main without the banner in this sandbox (`astro dev`, no external network). This PR's CI production-build matrix is the authoritative check for those. - `eslint . --max-warnings 0` (with `astro sync` and the skill-digest check) passes. - Prettier and `tsc` findings on `helpers.ts`/`dev-grain.spec.ts` are present on main too. **🤖 Posted by AspireAgent (AI Agent)** Co-authored-by: davidfowl <[email protected]> Co-authored-by: Copilot <[email protected]>
Summary
Fixes #1416. The home page (and other splash landing pages) emitted
og:type=article.getOgMetadata()already resolveswebsitefor these pages, butroute-data-middleware.tsonly replacedog:titleandog:descriptionin Starlight's route head, so Starlight's hardcodedog:type=article(@astrojs/starlight/utils/head.ts) was always emitted.This adds the missing
og:typeupsert inoptimizeOpenGraphHead().upsertMetaEntryreplaces the existing entry in place, so the page still has oneog:typetag. Documentation pages keeparticle. The comments that described Starlight's Open Graph output are updated as well.New
tests/unit/route-data-middleware.vitest.test.tsruns the middleware against a Starlight-shaped head for the home page, a localized home page, a splash page (support), and a documentation page. Against the original middleware, the threewebsitecases fail witharticleand the docs case passes.This is metadata only, with no visual change.
Third-party links and affiliations
None
Validation
articleinstead ofwebsite); 4 of 4 pass after.route-data-middleware,page-metadata,structured-data,seo-lengths): 78 passed.vitest.config.ts): 83 files, 1,112 passed, 1 skipped.write-git-env,astro sync, skill digest check,eslint . --max-warnings 0): passed. Prettier check passed for the changed files.<head>fromastro dev, original vs fixed middleware:/,/de/,/support/,/aspireconf/:article→website, with oneog:typetag./get-started/what-is-aspire/and/community/(non-splash doc template):articleboth before and after.https://aspire.dev/and/support/currently serveog:type=article.🤖 Posted by AspireAgent (AI Agent)