Repository navigation
Enable every Aspire AppHost language - #1638
David Pine (IEvangelist) wants to merge 5 commits into
Conversation
d0b08b8 to
e0118e6
Compare
e0118e6 to
2b8080b
Compare
There was a problem hiding this comment.
🟡 Changes recommended
Several updated unit tests use optional-chained registry lookups (?.enabled) that can silently treat missing config entries as “disabled,” weakening test correctness and diagnostics.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR completes the “enable every Aspire AppHost language” rollout by flipping the shared AppHost language registry bits for Python/Go/Java/Rust and aligning unit/E2E coverage and a key rendering component to follow the registry-driven enablement model across the site.
Changes:
- Enables Python, Go, Java, and Rust in the shared AppHost language registry (
apphost-languages.json). - Updates multiple unit and Playwright E2E tests to assert behavior based on the registry’s
enabledbits rather than hard-coded language assumptions. - Updates
SimpleAppHostCodeto always render viaAppHostTabsand provide limitations for unauthored language variants.
File summaries
| File | Description |
|---|---|
| src/frontend/tests/unit/update-samples.vitest.test.ts | Makes sample AppHost enablement assertions reflect registry activation. |
| src/frontend/tests/unit/custom-components.vitest.test.ts | Adjusts component rendering tests to follow registry-enabled language set and limitations behavior. |
| src/frontend/tests/unit/apphost-languages.vitest.test.ts | Updates registry unit tests and normalization/link behavior to depend on enabled bits. |
| src/frontend/tests/unit/api-markdown.vitest.test.ts | Validates API markdown headings based on enabled generated languages. |
| src/frontend/tests/e2e/pivot-selector.spec.ts | Updates pivot/tab/media E2E expectations to be registry-driven. |
| src/frontend/tests/e2e/integrations-gallery.spec.ts | Updates integration gallery language-link assertions to be registry-driven. |
| src/frontend/src/data/apphost-languages.json | Flips enabled: true for Python/Go/Java/Rust. |
| src/frontend/src/components/SimpleAppHostCode.astro | Renders code via AppHostTabs and emits limitations for missing variants. |
Review details
- Files reviewed: 8/8 changed files
- Comments generated: 3
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
2b8080b to
3346914
Compare
00f6874 to
044c860
Compare
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
044c860 to
446d696
Compare
446d696 to
0724937
Compare
a466062 to
3af73ba
Compare
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
5f375a7 to
83dda4c
Compare
Mitch Denny (mitchdenny)
left a comment
There was a problem hiding this comment.
Found one rendering regression: C#-only SimpleAppHostCode examples now expose an empty TypeScript tab instead of the intended limitation. Reproduced for both Go and Java guest examples in the browser; details are inline.
Coverage: 182 targeted unit tests and 39 browser cases passed across desktop, tablet, and mobile, including homepage dark-theme axe checks. Those tests do not exercise the affected C#-only SimpleAppHostCode branch. No production build was run.
| { | ||
| typescriptCode && ( | ||
| <Fragment slot="typescript"> | ||
| <Code |
There was a problem hiding this comment.
Please make the TypeScript slot genuinely absent when typescriptCode is undefined. Astro still registers this conditional named slot, so AppHostTabs sees Astro.slots.has('typescript') === true, emits data-supports-typescript, and ignores the supplied TypeScript limitation.
Reproduced at /ja/get-started/app-host/?lang=go&aspire-lang=typescript and /ja/get-started/app-host/?lang=java&aspire-lang=typescript: the selected TypeScript tabpanel is visible but empty, the C# example is hidden, and no TypeScript limitation is rendered.
Branch outside AppHostTabs so the C#-only branch does not declare a TypeScript slot, and add Go/Java regression tests asserting that the limitation appears rather than an empty tabpanel.
|
The AppHost language selector looks uneven with all six languages enabled. At a 1440px desktop viewport, the buttons wrap into two rows, but Can we use a consistent grid or left-aligned wrapping with a fixed gap so the language options remain grouped and aligned across rows? This is in Reproduced locally on the English |
David Pine (IEvangelist)
left a comment
There was a problem hiding this comment.
[partial - phase A: 5 of 5 non-narrative claim groups evaluated; phase B: browser sample complete, compatible experimental runtime validation blocked]
Automation: user-approved hourly local documentation PR reviewer for David Pine (@IEvangelist). This is its single combined report for this PR, even though partial; it will not automatically rerun on later commits.
Inspected head: 83dda4c4804cb4a62c8ff8c7c5c658e7bda67646; target ievangelist-canonical-apphost-api at 0ab55b2b21604e3e9a104de2ee737af103b15cd5. All 11 changed diffs were read and complete file text preserved. This reviews documentation accuracy and user experience, not standard code review.
Trusted policy: default-branch doc-pr-reviewer, doc-tester, playwright-cli and relevant Astro instructions at 708ea2758b6ac970a661e34cf72ed1f706e90c30. Native reviewer loading was unavailable, so the trusted file policy was executed directly for doc-pr-reviewer https://github.com/microsoft/aspire.dev/pull/1638. PR-head policy was not authoritative.
Source of truth: microsoft/aspire / main / 0efbfcb095bf85ccf89678193d64b46022e7657e. No source branch named ievangelist-canonical-apphost-api exists, so pinned main is the documented fallback. The inspected docs implementation at 83dda4c4804cb4a62c8ff8c7c5c658e7bda67646 is ancillary evidence only for the documentation component's own limitation behavior, not a substitute for product source. No Toolkit/Azure implementation assertion was added by these activation diffs.
Combined claim counts: 14 catalog entries: 4 verified, 1 contradicted, 0 verified-with-nuance, 0 unverifiable, 9 narrative/non-documentation scaffolding, 0 not evaluated. The five non-narrative groups are four product language-support/experimental activation assertions and one introspective docs limitation-behavior assertion. Seven test diffs and two CSS-only diffs introduce no end-user product prose/API/CLI/version claims; they are retained as non-documentation scaffolding rather than counted as independently proven product behavior.
Independent Phase B: six-language homepage/prerequisite/first-app controls, four experimental project pages, core and Redis API detail/search/markdown across five generated languages, Redis gallery navigation, and representative responsive/contrast checks exercised. A bounded localized-consumer follow-up demonstrated one medium-severity empty TypeScript-tab defect. No critical product defect was established. Four active warning groups remain; the initial consumer-discovery gap is closed and transparently superseded by the appended follow-up.
Why this is partial, not approval
The installed CLI is 13.4.0, while the exposed first-app recordings identify a 13.6 preview build. The literal aspire new aspire-py-empty -n aspire-app -o aspire-app command was rejected by the available CLI; Go/Java/Rust toolchains were not on PATH. No compatible literal scaffold/build/run validation of the experimental examples occurred. These are concrete environment/coverage blockers, not proof the documented preview product is broken. No guessed replacement command, version upgrade, global install, generated SDK fabrication, certificate-store action, provisioning flow or full site build was used to manufacture a pass.
Per the automation rules, incomplete required runtime checks require a labeled partial COMMENT despite the actionable browser defect. No approval or complete REQUEST_CHANGES verdict is claimed. Product language registration alone does not certify every newly exposed tutorial or generated signature. The four focused existing site contract suites passed 178/178 checks; the independent browser still caught the missing-content case, so those tests are not treated as sufficient user-experience evidence.
Phase A and Phase C - source claims and independent reconciliation
Transparent correction: The frozen, source-independent Phase A artifact initially recorded five verified groups. Its C05 static analysis assumed the explicit TypeScript limitation would be rendered when authored code was absent. The independent browser follow-up disproved that assumption. The original Phase A artifact is preserved unchanged; this combined report explicitly reclassifies C05 as contradicted, yielding the 4 verified / 1 contradicted counts above. Phase B received no product source or Phase A findings; the follow-up received only the real candidate consumer URL.
C05 - contradicted documentation limitation behavior (also submitted inline)
C05 / independent browser finding — show the limitation instead of an empty TypeScript tab when no variant exists.
At /ja/get-started/app-host/?lang=java&aspire-lang=typescript, all five visible AppHost examples advertise a selected TypeScript tab but its panel is empty. The tester independently reproduced it after direct navigation/reload and after selecting C# → TypeScript: C# displays AppHost.cs, then selecting TypeScript removes the code without showing This example does not include a TypeScript AppHost variant. Go workload contexts also showed the empty state.
The changed component now always renders AppHostTabs, while the TypeScript fragment contains conditional content. getSimpleAppHostCode has no TypeScript variant for Go/Java contexts. AppHostTabs treats a named slot's presence as support, so an advertised but empty TypeScript slot prevents the limitation from appearing. The target version previously bypassed the tab wrapper when typescriptCode was absent; the new wrapper introduces this unavailable advertised choice.
Please make TypeScript support conditional on actually authored content so the existing limitation is displayed, or clearly remove/disable the unavailable choice. Do not silently substitute C#. The four experimental global selections correctly show their explicit limitation notes in this same consumer; this finding is specifically the TypeScript-absent state.
Evidence: the independent report below preserves the exact five empty panels (panelText:"", panelChildren:0), zero visible code figures and zero TypeScript limitation notes, plus the fresh-navigation/toggle/reload observations. This is a medium-severity documentation UI defect, not an alleged product API/compiler failure.
Four verified product language-support and experimental-classification claims
C01 - verified: The documentation activates Python AppHost as an experimental supported product language (not GA or automatically enabled in the user's CLI).
PR context: src/frontend/src/data/apphost-languages.json:33-37.
Owning product evidence: src/Aspire.Cli/Projects/DefaultLanguageDiscovery.cs:40-47.
new LanguageInfo(
LanguageId: new LanguageId(KnownLanguageId.Python),
DisplayName: KnownLanguageId.PythonDisplayName,
PackageName: "Aspire.Hosting.CodeGeneration.Python",
DetectionPatterns: ["apphost.py"],
CodeGenerator: "Python",
AppHostFileName: "apphost.py",
IsExperimental: true),microsoft/aspire src/Aspire.Cli/Projects/DefaultLanguageDiscovery.cs:40-47 registers Python, CodeGenerator=Python, AppHostFileName=apphost.py, IsExperimental=true. KnownLanguageId.cs declares the exact CLI id python. DefaultLanguageDiscovery.cs:75-81 maps per-language feature flags, and :169-183 filters experimental discovery with default false; site enabled=true is not a claim that CLI feature flags are enabled. Existing adjacent featureFlag strings are not edited by this PR and are not cleared by this verification.
C02 - verified: The documentation activates Go AppHost as an experimental supported product language (not GA or automatically enabled in the user's CLI).
PR context: src/frontend/src/data/apphost-languages.json:47-51.
Owning product evidence: src/Aspire.Cli/Projects/DefaultLanguageDiscovery.cs:48-55.
new LanguageInfo(
LanguageId: new LanguageId(KnownLanguageId.Go),
DisplayName: KnownLanguageId.GoDisplayName,
PackageName: "Aspire.Hosting.CodeGeneration.Go",
DetectionPatterns: ["apphost.go"],
CodeGenerator: "Go",
AppHostFileName: "apphost.go",
IsExperimental: true),microsoft/aspire src/Aspire.Cli/Projects/DefaultLanguageDiscovery.cs:48-55 registers Go, CodeGenerator=Go, AppHostFileName=apphost.go, IsExperimental=true. KnownLanguageId.cs declares the exact CLI id go. DefaultLanguageDiscovery.cs:75-81 maps per-language feature flags, and :169-183 filters experimental discovery with default false; site enabled=true is not a claim that CLI feature flags are enabled. Existing adjacent featureFlag strings are not edited by this PR and are not cleared by this verification.
C03 - verified: The documentation activates Java AppHost as an experimental supported product language (not GA or automatically enabled in the user's CLI).
PR context: src/frontend/src/data/apphost-languages.json:61-65.
Owning product evidence: src/Aspire.Cli/Projects/DefaultLanguageDiscovery.cs:56-64.
new LanguageInfo(
LanguageId: new LanguageId(KnownLanguageId.Java),
DisplayName: KnownLanguageId.JavaDisplayName,
PackageName: "Aspire.Hosting.CodeGeneration.Java",
DetectionPatterns: ["AppHost.java"],
CodeGenerator: "Java",
AppHostFileName: "AppHost.java",
IsExperimental: true,
PreserveUnchangedGeneratedFiles: true),microsoft/aspire src/Aspire.Cli/Projects/DefaultLanguageDiscovery.cs:56-64 registers Java, CodeGenerator=Java, AppHostFileName=AppHost.java, IsExperimental=true. KnownLanguageId.cs declares the exact CLI id java. DefaultLanguageDiscovery.cs:75-81 maps per-language feature flags, and :169-183 filters experimental discovery with default false; site enabled=true is not a claim that CLI feature flags are enabled. Existing adjacent featureFlag strings are not edited by this PR and are not cleared by this verification.
C04 - verified: The documentation activates Rust AppHost as an experimental supported product language (not GA or automatically enabled in the user's CLI).
PR context: src/frontend/src/data/apphost-languages.json:75-79.
Owning product evidence: src/Aspire.Cli/Projects/DefaultLanguageDiscovery.cs:65-72.
new LanguageInfo(
LanguageId: new LanguageId(KnownLanguageId.Rust),
DisplayName: KnownLanguageId.RustDisplayName,
PackageName: "Aspire.Hosting.CodeGeneration.Rust",
DetectionPatterns: ["apphost.rs"],
CodeGenerator: "Rust",
AppHostFileName: "apphost.rs",
IsExperimental: true),microsoft/aspire src/Aspire.Cli/Projects/DefaultLanguageDiscovery.cs:65-72 registers Rust, CodeGenerator=Rust, AppHostFileName=apphost.rs, IsExperimental=true. KnownLanguageId.cs declares the exact CLI id rust. DefaultLanguageDiscovery.cs:75-81 maps per-language feature flags, and :169-183 filters experimental discovery with default false; site enabled=true is not a claim that CLI feature flags are enabled. Existing adjacent featureFlag strings are not edited by this PR and are not cleared by this verification.
The exact CLI language IDs are declared in KnownLanguageId.cs:35-65. Per-language feature gating defaults off; publishing a docs registry bit does not enable a user's product feature flags. Existing adjacent flag strings, unchanged tutorial code, inherited generated data and historical validation totals are not blanket-cleared here.
No new current-release install/package/SDK version literal was introduced in these diffs. The tester's builder-helper/reference ambiguity and limitation-only gallery destination are preserved as user-perspective warnings, not elevated to source-proven API/compiler defects. Its older-CLI result is version-qualified. The complete report also preserves its initial telemetry opt-out setup caveat; no claim that every initial diagnostic probe used the CLI-specific opt-out is made.
Phase B - independent, source-blind doc-tester report (complete, including bounded follow-up)
Documentation Test Report
Follow-up status, 2026-11-02 21:42 UTC: The original independent report below is preserved, with its exact initial freeze also saved as
phase-b-report.initial-freeze.md. A bounded localized-consumer browser follow-up is appended at the end. It closes the earlier consumer-discovery gap and demonstrates one actionable medium-severity empty TypeScript-tab defect in TypeScript-absent contexts. Experimental Python/Go/Java/Rust selections correctly show explicit limitation notes instead of C# fallback. The original runtime blockers and source-blindness limitations are unchanged. Read the appended section for the current disposition; the earlier summary describes the initial sample only.
Focus Area: Independent, source-blind Phase B validation of microsoft/aspire.dev PR #1638 only: newly enabled experimental AppHost languages and affected documentation interactions.
Date: 2026-11-02, browser observations approximately 21:23–21:33 UTC.
Tester: doc-tester agent, independent of parent Phase A.
Disposition: Browser sample completed with no demonstrated critical PR defect. Not a full runtime pass: the installed CLI rejects the literal Python template command; Go/Java/Rust toolchains were not available on PATH; no AppHost was run. One requested component-consumer check remains unverified. Read the limitations below before treating this as approval.
Summary
Counts below are grouped checks, not a count of every language, API, page, or link. Code-example passes mean displayed-content/selection checks only, not compilation or execution.
| Category | Passed | Failed | Warnings |
|---|---|---|---|
| Content Accuracy / UI | 6 grouped browser checks | 0 demonstrated PR defects | 1 learning-path limitation |
| Code Examples | 3 rendering/selection groups; 0 runtime validations | 0 proven API/runtime defects | 2 unresolved validation/teaching gaps |
| CLI Commands | 0 functional tutorial runs | 2 diagnostic/literal command attempts on the available CLI | 1 environment compatibility blocker |
| Links | 5 grouped checks | 0 observed broken advertised targets in the checked sample | 1 unverified component-consumer route |
This is representative browser testing, not an exhaustive audit of the entire newly exposed generated API surface or all integrations. No runtime validity was inferred from generated declarations, screenshots, recordings, HTTP success, or repository tests.
Identity, Isolation, and Method
- Actual git HEAD before:
83dda4c4804cb4a62c8ff8c7c5c658e7bda67646. - Actual git HEAD after:
83dda4c4804cb4a62c8ff8c7c5c658e7bda67646. - Docs checkout:
C:\Users\dapine\.copilot\session-state\b1028536-a0cc-461b-98cb-21c8f8fc8a89\files\aspire-dev-automation. - Reused the existing
http://localhost:4321/Astro site. Did not start, stop, or build it. Parent-owned PID60020was still running after cleanup. - The displayed footer SHA was
61fe0a9, not the checkout HEAD. It was not used as source identity. - Browser access was exclusively the installed
playwright-cli, named sessionaspire-doc-review-1638, using the tracked.playwright\cli.config.jsonwith Chromium channelmsedge. No MCP browser, independently launched Playwright SDK, repository-authored e2e test, or direct HTTP substitute was used. - Trusted policies were first read with:
git -C <checkout> show 708ea2758b6ac970a661e34cf72ed1f706e90c30:.agents/skills/doc-tester/SKILL.mdgit -C <checkout> show 708ea2758b6ac970a661e34cf72ed1f706e90c30:.agents/skills/playwright-cli/SKILL.md
- After those required policy reads, command/browser work used the new
.doc-tester-workspace\pr-1638-phase-bdirectory.ASPIRE_HOME,DOTNET_CLI_HOME,HOME,USERPROFILE,APPDATA,LOCALAPPDATA,NUGET_PACKAGES,NUGET_HTTP_CACHE_PATH,NUGET_PLUGINS_CACHE_PATH,TEMP, andTMPwere redirected to directories beneath it. The preserved setup isisolation-env.ps1. - No certificate-store, trust, or browser-certificate-database command was run. No AppHost, container, resource provisioning, account login, cloud deployment, package installation, global tool installation, branch modification, push, merge, or GitHub review was performed.
- Procedural caveat: initial environment setup included
ASPIRE_TELEMETRY_OPTOUT=1,DOTNET_CLI_TELEMETRY_OPTOUT=1,OTEL_SDK_DISABLED=true, andDO_NOT_TRACK=1, but omitted the CLI-specificASPIRE_CLI_TELEMETRY_OPTOUT. The installed CLI printed a telemetry notice onaspire new --list. Its notice identified the actual opt-out variable, which was then added before the final literal template attempt. I cannot claim the earlier version/list probes had the CLI-specific opt-out applied. This is a tester procedure limitation, not a PR defect.
Source-blindness confirmation
I did not read Aspire product source, another repository, Phase A artifacts/findings, earlier PR reports, or GitHub PR bodies/comments/reviews, and did not ask the parent source questions. Inputs were the supplied changed-file snapshot, the four non-test UI/registry patches, trusted policies at the specified policy commit, actual browser-served documentation, and local tool/environment diagnostics.
All 11 changed paths were inventoried:
src/frontend/src/components/AppHostBuilder.astrosrc/frontend/src/components/PivotSelector.astrosrc/frontend/src/components/SimpleAppHostCode.astrosrc/frontend/src/data/apphost-languages.jsonsrc/frontend/tests/e2e/homepage.spec.tssrc/frontend/tests/e2e/integrations-gallery.spec.tssrc/frontend/tests/e2e/pivot-selector.spec.tssrc/frontend/tests/unit/api-markdown.vitest.test.tssrc/frontend/tests/unit/apphost-languages.vitest.test.tssrc/frontend/tests/unit/custom-components.vitest.test.tssrc/frontend/tests/unit/update-samples.vitest.test.ts
Only the four non-test patches were read to establish affected surfaces. The seven authored test files were deliberately neither read as expected-behavior evidence nor executed, preserving the tester policy's independent user perspective.
Critical Issues
None demonstrated in the bounded independent browser sample. This does not certify that the exposed APIs compile or run.
Warnings
Warning 1: Tutorial entry-point helpers and generated API declarations need a clearer distinction
Location: /get-started/first-app/ and /reference/api/apphost/aspire.hosting/createbuilder/, newly exposed Go/Python/Rust selections.
Type: Teaching effectiveness / unresolved contract relationship.
What the documentation displays:
- Go first-app sample:
builder, err := aspire.CreateBuilder(). - Go generated reference:
CreateBuilder() DistributedApplicationBuilder. - Python first-app sample:
with create_builder() as builder:. - Python generated reference:
def create_builder(self) -> IDistributedApplicationBuilder: .... - Rust first-app sample:
let builder = create_builder(None)?;. - Rust generated reference:
pub fn create_builder(&self) -> Result<IDistributedApplicationBuilder, Box<dyn std::error::Error>> { ... }.
Observed user-facing gap: A new reader moving from the tutorial to the reference sees different arguments, return/error conventions, or receiver forms under the same builder-creation name. These may be distinct convenience helpers and generated capabilities; source-blind testing did not establish that they are intended to be the same callable.
Do not interpret this as: a proven compiler failure or source/API correctness finding.
Suggestion: Explain and cross-link the distinction between the AppHost entry-point helper and any similarly named generated capability, including which declaration a tutorial reader should use.
Evidence: first-app-all-languages.log, core-createbuilder-five.log, core-markdown-default.log.
Warning 2: A gallery language badge can lead to limitation notes rather than a runnable example
Location: /integrations/gallery/ → advertised “View Aspire.Hosting.Redis documentation by language: Python” link → /integrations/caching/redis/redis-host/?aspire-lang=python.
Actual result: The correct page and Python selection appeared, but the operation-sequence examples display:
Python for this exact AppHost operation sequence has not been validated against the daily generated SDK used for this documentation.
This is honest disclosure, not a broken link or a falsely validated sample. However, the gallery badge alone does not communicate that most selected examples contain limitations rather than Python code. Prose such as “as shown in the preceding example” remains around those limitations.
Suggestion: Consider explaining “language-specific guidance, including limitations” in the gallery, and keep limitation-only views actionable. Do not remove the honest warnings or replace them with inferred code.
Evidence: gallery-full.yaml, gallery-redis-python.log.
Warning 3: Runtime validation blocked by installed CLI/toolchain compatibility
Location: Experimental first-app and AppHost project instructions.
Available versions, actually queried:
| Tool | Result |
|---|---|
playwright-cli --version |
1.59.0-alpha-1771104257000 |
| Named browser version, queried in the real browser | Edge 156.0.4314.50 |
aspire --version |
13.4.0+3f0998a95833d5fef96b3159d56b667889b71166 |
dotnet --version |
10.0.403 |
python --version |
Python 3.14.10 |
node --version |
v26.13.0 |
Get-Command go,java,rustc -ErrorAction SilentlyContinue |
No matching commands on PATH |
Exact safe attempts, inside the isolated workspace:
aspire new --list— exit1:Unrecognized command or argument '--list'.This was the trusted tester skill's template-discovery command, not a claim that the PR's rendered pages promise this switch.aspire new aspire-py-empty -n aspire-app -o aspire-app— exit1:'aspire-py-empty' was not matched.
Unrecognized command or argument 'aspire-py-empty'.
The latter is the literal first-app Python template command. The displayed CLI help lists stable TypeScript/C#-AppHost templates and the Python-workload/TypeScript-AppHost starter, not aspire-py-empty.
The first-app page itself says its recordings were produced with an Aspire CLI 13.6 preview build. The local 13.4 CLI is therefore not evidence that the preview implementation is broken. No guessed replacement template, SDK version change, upgrade, package installation, or hand-authored generated SDK was used to conceal the failure.
Result: No experimental Redis example was compiled or run; no Redis availability, endpoint, health, dashboard, transport, guest runtime, generated API invocation, or cleanup lifecycle was independently validated. Installed Python alone does not provide the required generated SDK. Java/Go/Rust runtime workflows are additionally blocked by missing PATH toolchains.
Evidence: aspire-template-list.log, python-literal-template-command.log, version results above.
Warning 4: SimpleAppHostCode consumer verification remains a coverage gap
Location: Changed SimpleAppHostCode.astro; consumer route not identified within the bounded source-blind English-docs navigation sample.
The patch introduces the explicit message:
This example does not include a [language] AppHost variant.
I did not observe this exact message in the sampled served English pages, so I cannot claim the changed component's consumer behavior passed. Existing authored limitation panels, such as the homepage Rust warning and Redis Python warnings, are not proof that this particular component works.
Consumer discovery used actual served links/pages, including /docs/, /get-started/app-host/, /get-started/resources/, /get-started/add-aspire-existing-app/, /get-started/deploy-first-app/, /app-host/executable-resources/, /app-host/configuration/, /architecture/resource-model/, and the additional bounded candidates recorded in simple-consumer-discovery.log and simple-consumer-discovery-2.log. It did not use a source-code consumer search.
Suggestion: Supply a real advertised consumer route for a separate source-blind browser follow-up. Do not turn the inability to locate one into a broken-link or missing-feature finding.
Passed Checks
Content/UI — six grouped checks
-
Homepage six-choice exposure: TypeScript, C#, Python, Go, Java, and Rust were individually selected. Four experimental choices showed explicit experimental labels and updated the language query/preference. The true active hero region—not an unrelated or hidden code figure—was read after rendering settled.
-
Prerequisites: All six runtime tabs were exercised. Python displayed Python 3.11+, Go displayed the scaffold's Go 1.26 requirement, Java displayed JDK 25, and Rust displayed its toolchain and known-validation limitation. Reload retained Rust and
localStorage["aspire-lang"] = "rust". -
First app: All six selector choices were clicked and displayed their respective entry-point sample, filename, creation command, and language-specific explanation. These were content checks only. The real Go heading link
?aspire-lang=go#define-the-application-modelresolved to an existing target and survived reload. -
Experimental project pages: All four advertised routes loaded substantive project instructions and code:
/app-host/python-apphost//app-host/go-apphost//app-host/java-apphost//app-host/rust-apphost/
Each stated experimental status and a feature flag; Rust additionally disclosed known validation limitations. The advertised local section anchors checked on these pages existed.
-
Builder badge contrast: Selected Python and unselected Rust badges inherited their radio's text color in light and dark themes. Solid-color-layer estimates were respectively 5.74:1 / 13.22:1 in light, 11.41:1 / 12.07:1 in dark. Ancestor radial gradients were recorded and excluded from these estimates: this is not a complete WCAG contrast certification. The dark screenshot was also visually inspected; badges were legible.
-
Responsive pivot sample: At viewport widths 375, 768, and 1280, first-app and Redis API detail selectors remained within the viewport and Rust could be selected. Measured document scroll widths equalled viewport widths for all six route/width cases. The selectors stacked at narrow/tablet sizes and wrapped onto two rows at 1280 in the measured layouts. Mobile expand/collapse behavior was accounted for instead of forcing hidden controls.
Code-example rendering — three grouped checks
-
Homepage active content: TypeScript/C#/Python/Go/Java displayed distinct language-appropriate frontend code. Rust explicitly displayed:
The generated Rust AppHost SDK cannot currently pass the String[] arguments required to start the frontend executable.
It did not silently present TypeScript as Rust. Earlier exploratory
figure:visiblecaptures selected a secondary figure when the hero had no code; those captures are superseded byhome-six-active-regions.logandhome-rust-region.log. -
Core generated reference:
/reference/api/apphost/aspire.hosting/createbuilder/switched across all five generated languages: TypeScript, Python, Go, Java, Rust, with corresponding declarations and error metadata. -
Redis generated reference:
/reference/api/apphost/aspire.hosting.redis/addredis/switched across all five generated languages, displayingaddRedis,add_redis,AddRedis,addRedis,add_redisand the respective options/parameter/return forms.
No declaration was treated as a standalone runnable program.
Links/navigation — five grouped checks
- Generated API search: At
/reference/api/apphost/, searchesaddRedis,add_redis,AddRedis,addRedis,add_redisunder the five corresponding language choices each produced one Redis result. The result link carried the correctaspire-langquery. - Query, detail, and sidebar: Reload retained the real Rust
?aspire-lang=rust&q=add_redissearch; following its result opened the Rust declaration. Filtering the actual sidebar forRedisshowed 21 matching entries including the package and API item. Sidebar names remained canonical (addRedis); this was not represented as a runtime naming guarantee. - Markdown: Followed the actual Open → View in Markdown links for core
createbuilderand Redisaddredisin real browser tabs. Both exports contained substantive declarations for all five enabled generated languages. They export all languages, rather than only the current selection. - Advertised heading deep link: The actual first-app “Define the application model” heading link worked and retained the Go selection after reload. No tester-invented fragment was used as evidence.
- Rendered link conventions/anchors: In the five primary pages below, inspected 328 rendered main-content links in total. No checked local fragment lacked its target, and no internal page link violated the site-relative/trailing-slash convention after excluding file endpoints such as Markdown. This is a DOM/form/fragment check, not a claim that every cross-page target was clicked or fetched:
- prerequisites: 80 links
- first app: 54
- core createbuilder: 43
- Redis addredis: 43
- Redis hosting: 108
Additionally, the actual integration gallery Redis Python language link was clicked and reached the corresponding selected guidance, as documented above.
Recommendations
- Priority fixes: No independently demonstrated critical UI defect to mandate a fix. Resolve the builder-helper/reference teaching ambiguity before presenting the generated surface as direct tutorial guidance.
- Documentation gaps: Communicate limitation-only gallery destinations clearly; provide a concrete SimpleAppHostCode consumer route for the remaining isolated browser check.
- Runtime evidence: Use a pre-existing, explicitly approved compatible preview environment with appropriate toolchains for literal scaffold/restore/build/run testing. Keep API declarations and existing recordings separate from this report's unexecuted runtime claims.
- Product issues: None proven by this independent browser sample. Do not convert an older installed CLI's rejection into a preview-product defect.
Knowledge Gaps and Explicit Limits
Knowledge Gap: Generated capability versus AppHost entry-point helper
What I needed to know: Why similarly named builder-creation declarations differ between tutorial and generated reference.
Source of knowledge: Only the displayed docs were used; any convenience-helper explanation remains a hypothesis, not verified product knowledge.
User impact: Readers may copy the wrong form or misinterpret return/error handling.
Recommendation: Add an explicit explanation/cross-link, or reconcile the docs after independent source verification.
Knowledge Gap: Safe compatible runtime
What I needed to know: Whether the experimental templates and generated APIs execute successfully under the documented preview.
Source of knowledge: Available CLI/toolchain diagnostics only; not product source or parent findings.
User impact: Runtime success is unverified here.
Recommendation: Retest in an approved compatible environment; do not silently substitute commands or upgrade this environment.
Other limits
- No full site build; no repository test suite; no exhaustive generated API, integration, workload, locale, browser-engine, keyboard-accessibility, screen-reader, or device audit.
- Four project pages were read, but none of their scaffold/restore/add/run workflows were completed.
- Two API detail items were sampled across all five generated languages; this does not validate thousands of other capabilities/types.
- Only the exact gallery Redis Python destination was followed, although its six advertised language URLs were recorded.
- The initial Edge launch timed out after 180000 ms with an overlong cache-path diagnostic and “DevTools remote debugging requires a non-default data directory.” A subsequent named CLI snapshot opened the requested Edge session successfully; browser version was confirmed. This is not a site defect.
- Some early locator attempts timed out because experimental names hydrate to “Python Experimental” or mobile selection collapses the selector; corrected real accessible-name/expand interactions were used. A gallery click also exceeded the CLI's default navigation wait even though the destination loaded; its loaded state was independently observed.
- An initial Astro development-toolbar audit fetch error was recorded. No product-facing error was attributed to this PR from it.
Reproducible Commands and Evidence
Every playwright-cli command below used -s=aspire-doc-review-1638 and the isolated environment. Full run-code JavaScript is embedded in the saved CLI logs; it acted only on the real browser's displayed DOM/UI.
playwright-cli --help
playwright-cli --version
playwright-cli -s=aspire-doc-review-1638 open http://localhost:4321/ --config="<checkout>\.playwright\cli.config.json"
playwright-cli -s=aspire-doc-review-1638 goto <observed-local-route>
playwright-cli -s=aspire-doc-review-1638 snapshot --filename="<evidence>\<name>.yaml"
playwright-cli -s=aspire-doc-review-1638 eval '<DOM-reading function>'
playwright-cli -s=aspire-doc-review-1638 run-code '<browser interaction function>'
playwright-cli -s=aspire-doc-review-1638 resize 375 900
playwright-cli -s=aspire-doc-review-1638 screenshot --filename="<evidence>\reference-mobile.png"
playwright-cli -s=aspire-doc-review-1638 run-code (Get-Content "<evidence>\badge-check.js" -Raw)
playwright-cli -s=aspire-doc-review-1638 screenshot --filename="<evidence>\home-badge-dark.png"
playwright-cli -s=aspire-doc-review-1638 console error
playwright-cli -s=aspire-doc-review-1638 closeKey frozen evidence beside this report:
home-six-active-regions.log,home-rust-region.logprerequisites-six-persistence.log,first-app-all-languages.log,first-app-real-deeplink.logcore-createbuilder-five.log,redis-addredis-five.log,reference-search-five.log,reference-reload-sidebar.logcore-markdown-default.log,redis-markdown-observation.loggallery-full.yaml,gallery-redis-python.log,four-apphost-project-pages.logresponsive-selectors.log,reference-mobile.pngbadge-check.js,home-badge-contrast.log,home-badge-dark.pngaspire-template-list.log,python-literal-template-command.logsimple-consumer-discovery.log,simple-consumer-discovery-2.log,shared-consumer-discovery.logrendered-link-conventions.log,isolation-env.ps1,final-state.logbrowser-session\: preserved tester-owned automatic browser snapshots/console logs.
Cleanup and Persistence
- Closed only
aspire-doc-review-1638. - Preserved evidence outside the checkout in this named test folder.
- Removed exactly the newly created
.doc-tester-workspace\pr-1638-phase-bdirectory after copying its environment setup and browser logs. - Final
Test-Pathfor that workspace returnedFalse. - Tracked
.playwright\cli.config.jsondiff was empty (ConfigDiffExit=0). - Final tracked status listed only the same four pre-existing generated icon files observed before testing:
language-map.json,material-icons.json,safelist.json,version.txt. The tester did not edit these or tracked repository/source files. - HEAD remained unchanged and parent-owned server PID
60020remained running. - This report is the frozen independent Phase B record; no Phase A conclusions were incorporated.
Bounded Same-task Follow-up: Localized SimpleAppHostCode Consumer
Observation time: 2026-11-02, approximately 21:40–21:42 UTC, following a browser-startup retry.
Only content route visited: http://localhost:4321/ja/get-started/app-host/, with its actual API-platform (lang) and global AppHost-language (aspire-lang) selections.
Input: The parent supplied this candidate URL only, not a result or product-source finding.
Isolation: Continued the same independent source-blind test. No product source, Phase A material, other PR reports, repository tests, or other repositories were read. No Aspire/product command, package install, build, server start/stop, or GitHub write was executed.
Updated disposition
- Earlier Warning 4 (consumer-discovery coverage gap): closed for this real localized consumer. Its historical description above is retained rather than rewritten as though the route had been covered originally.
- Pass: Python/Go/Java/Rust global selection displays the exact explicit limitation text, without presenting C# as the selected language.
- Pass: Authored TypeScript contexts and explicitly selected C# contexts show correctly labelled code.
- Observed medium-severity UI/content defect: With the Go or Java API-platform context and global TypeScript selected, five advertised TypeScript code tabs are blank and no TypeScript limitation note is displayed. The Java case was independently reproduced after fresh navigation and after toggling C# → TypeScript.
- Not an overall runtime pass: No code was executed; original CLI/toolchain blockers remain. No implementation root cause or baseline/regression attribution was inferred from source.
Important distinction between the two selectors
The localized page's “API プラットフォームを選択” buttons select C#, Python, Node.js, Go, or Java workloads using lang=.... This is distinct from the global AppHost authoring language, carried by aspire-lang=... and the AppHost tab preference. A Python workload with a TypeScript AppHost is not itself a mislabeled Python AppHost.
Tests deliberately kept these states separate:
- API-platform C#, with global AppHost Python/Go/Java/Rust.
- API-platform Java, with global AppHost Python/Go/Java/Rust.
- Global AppHost TypeScript, while clicking each of the five API-platform buttons.
- API-platform Java, explicitly clicking the C# AppHost tab and then TypeScript again.
Passed: exact experimental limitation messages, no misleading C# fallback
For each of the four experimental global selections, in both C# and Java workload contexts, the page visibly displayed five matching limitation panels:
| Global AppHost selection | Exact displayed message |
|---|---|
| Python | This example does not include a Python AppHost variant. |
| Go | This example does not include a Go AppHost variant. |
| Java | This example does not include a Java AppHost variant. |
| Rust | This example does not include a Rust AppHost variant. |
Each panel had a corresponding “[language] AppHost limitation” label. These eight sampled state combinations showed zero visible AppHost code figures. They did not substitute a C# figure as though it were Python, Go, Java, or Rust.
Two visible pre elements recorded during the first four-state capture were Mermaid diagram markup beginning #mermaid-..., not AppHost code. They were not misclassified as a code fallback.
Evidence: followup-ja-four-global-languages.log, followup-ja-java-workload-four-global.log, followup-ja-controls.log.
Passed: TypeScript-present contexts and explicitly selected C#
- Global TypeScript with API-platform C#, Python, and Node.js displayed five
apphost.mtsfigures in each context. - The Python-workload example visibly used
builder.addUvicornApp("api", "../api", "main:app")and.withUv()inside TypeScript code. - The Node.js-workload example visibly used
builder.addNodeApp("api", "../api", "server.js"). - In the Java workload context, explicitly selecting the C# AppHost tab displayed five figures labelled
AppHost.cs; the main example includedbuilder.AddSpringApp("api", "../api", "otel.jar"). This is intentional, correctly labelled C# selection, not an experimental-language fallback.
These are displayed-code checks only, not API/runtime validity claims.
Evidence: followup-ja-api-contexts-typescript.log, followup-ja-python-workload-typescript.log, followup-ja-java-csharp-versus-empty-typescript.log.
New Warning 5: TypeScript-absent contexts expose empty selected tabs
Location: /ja/get-started/app-host/?lang=java&aspire-lang=typescript; also observed after clicking the Go API-platform button with global TypeScript active.
Type: Browser-observed missing documentation content / incomplete limitation handling.
Severity: Medium.
What the actual page advertises: In the architecture example and its four breakdown examples, the page displays a selectable TypeScript tab alongside C#, surrounded by prose introducing/explaining the example.
Exact reproduction:
- Open
http://localhost:4321/ja/get-started/app-host/?lang=java&aspire-lang=typescript. - Observe the TypeScript tab selected in each of the five visible AppHost sample groups.
- Select the first visible C# AppHost tab. Observe code labelled
AppHost.cs. - Select the first visible TypeScript AppHost tab again. Observe that the code vanishes, leaving an empty selected tab panel.
- Reload the same TypeScript URL. The empty result persists.
Actual browser result:
{
"selected": [
{ "label": "TypeScript", "panelText": "", "panelChildren": 0 },
{ "label": "TypeScript", "panelText": "", "panelChildren": 0 },
{ "label": "TypeScript", "panelText": "", "panelChildren": 0 },
{ "label": "TypeScript", "panelText": "", "panelChildren": 0 },
{ "label": "TypeScript", "panelText": "", "panelChildren": 0 }
],
"visibleFigures": 0,
"visibleTypeScriptLimitation": 0
}The exact text This example does not include a TypeScript AppHost variant. was absent, including from the browser DOM in the fresh Java-context capture. This differs from the explicit messages that worked for all four experimental languages.
The Go workload/TypeScript combination likewise had no visible code figures and no visible AppHost limitation notes in the five-context click test. The additional fresh-navigation and C#-toggle confirmation was performed for Java, not Go.
User impact: Readers selecting an advertised TypeScript example receive neither the example nor an explanation that it has not been authored. This is an empty tab, not a misleading C# fallback and not a compiler/API finding.
Recommended action: Make this TypeScript-absent state show the explicit unauthored-variant note or otherwise remove/disable the unavailable choice with a clear explanation. Do not silently substitute C#.
Evidence:
followup-ja-api-contexts-typescript.logfollowup-ja-java-typescript.yamlfollowup-ja-java-typescript-reload.logfollowup-ja-java-csharp-versus-empty-typescript.logfollowup-ja-empty-typescript.png— screenshot captured and visually inspected; the selected TypeScript tab has no code beneath it.
Follow-up boundaries, commands, and cleanup
-
Reused the trusted policies already read at the requested policy commit; no PR-head policy was substituted.
-
All follow-up CLI invocations used the same only named browser
aspire-doc-review-1638, the unchanged tracked Edge configuration, and the fresh exact workspace.doc-tester-workspace\pr-1638-phase-b-followup. -
The isolated-home environment is preserved as
followup-isolation-env.ps1; unlike the initial probe setup, it includedASPIRE_CLI_TELEMETRY_OPTOUT=1from the start. No Aspire command was invoked in this follow-up. -
Opened with:
playwright-cli -s=aspire-doc-review-1638 open http://localhost:4321/ja/get-started/app-host/ --config="<checkout>\.playwright\cli.config.json" --profile="<new-exact-workspace>\p"
-
The first Edge launch timed out at 180000 ms with the same non-default-data-directory diagnostic. The subsequent named snapshot opened the scoped Edge profile successfully. Navigation, selected tabs, snapshots,
eval,run-code, and the one screenshot then used that real named browser. No browser-SDK/MCP substitute was used. -
All further navigations stayed on the single supplied localized route. No additional broad consumer discovery was performed.
-
Complete follow-up interaction functions/results are embedded in
followup-*.log; automatic CLI snapshots/logs are preserved infollowup-browser-session\. -
Closed only the named browser, including its own blank startup tab. The earlier failed-launch PID
59568was no longer running. -
Removed only the new
.doc-tester-workspace\pr-1638-phase-b-followupdirectory.FollowupWorkspaceExists=False. -
Parent-owned server PID
60020remained running. No tracked configuration, source, generated icon, original evidence, or original frozen-report copy was changed by the follow-up. -
No extra source/product command was used to re-establish implementation identity; the follow-up reused the parent-specified exact-HEAD server. The original report's before/after HEAD measurements remain the independent checkout identity evidence.
-
Cleanup evidence:
followup-cleanup.log.
| <AppHostTabs> | ||
| <AppHostTabs {limitations}> | ||
| { | ||
| typescriptCode && ( |
There was a problem hiding this comment.
C05 / independent browser finding — show the limitation instead of an empty TypeScript tab when no variant exists.
At /ja/get-started/app-host/?lang=java&aspire-lang=typescript, all five visible AppHost examples advertise a selected TypeScript tab but its panel is empty. The tester independently reproduced it after direct navigation/reload and after selecting C# → TypeScript: C# displays AppHost.cs, then selecting TypeScript removes the code without showing This example does not include a TypeScript AppHost variant. Go workload contexts also showed the empty state.
The changed component now always renders AppHostTabs, while the TypeScript fragment contains conditional content. getSimpleAppHostCode has no TypeScript variant for Go/Java contexts. AppHostTabs treats a named slot's presence as support, so an advertised but empty TypeScript slot prevents the limitation from appearing. The target version previously bypassed the tab wrapper when typescriptCode was absent; the new wrapper introduces this unavailable advertised choice.
Please make TypeScript support conditional on actually authored content so the existing limitation is displayed, or clearly remove/disable the unavailable choice. Do not silently substitute C#. The four experimental global selections correctly show their explicit limitation notes in this same consumer; this finding is specifically the TypeScript-absent state.
Evidence: the independent report below preserves the exact five empty panels (panelText:"", panelChildren:0), zero visible code figures and zero TypeScript limitation notes, plus the fresh-navigation/toggle/reload observations. This is a medium-severity documentation UI defect, not an alleged product API/compiler failure.


Stack 5/5. Depends on #1637.
This final activation change flips the four shared registry bits that publish Python, Go, Java, and Rust everywhere automatically. All four languages remain marked Experimental, and the single-registry-bit contract provides a one-bit rollback or toggle.
The activated registry now drives selectors, tabs, pivots, sidebar navigation, search, AppHost API routes and Markdown, integrations gallery links, project and sample pages, media, builder surfaces, homepage content, sample metadata, and container labels.
SimpleAppHostCodecontinues to render explicit limitations for unauthored language variants instead of fallback code.Validation:
git diff --checkpassed.No local production build was run.