Repository navigation
[docs] Document TypeScript/JavaScript Azure Functions app support - #1878
Sébastien Ros (sebastienros) merged 4 commits into
Conversation
- Document AddAzureFunctionsApp, AzureFunctionsAppResource, and AzureFunctionsLanguage for directory-based TypeScript/JavaScript Functions apps in the Azure Functions Hosting integration page. - Add the ASPIREAZUREFUNCTIONS001 diagnostic reference page and register it in the reference sidebar. - Document directory-based Functions app Dockerfile publishing and Azure Container Apps functionapp kind deployment behavior. Documents changes from microsoft/aspire#17980 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. |
There was a problem hiding this comment.
🔵 Needs a closer look
Release-specific API examples and deployment claims still require upstream source verification and example validation.
0 open findings
What changed in this PR
Documents directory-based TypeScript and JavaScript Azure Functions support for Aspire 17.0.
Changes:
- Adds AppHost examples, host storage guidance, and container deployment behavior.
- Documents the experimental API diagnostic and suppression options.
- Registers the diagnostic in the reference sidebar.
| File | Description |
|---|---|
| src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx | Adds directory-based Functions app and deployment guidance. |
| src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx | Explains affected APIs and diagnostic suppression. |
| src/frontend/config/sidebar/reference.topics.ts | Adds the diagnostic reference link. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Documentation accuracy review [partial: source claims evaluated; Aspire 17 execution unavailable]Reviewed PR head Phase A: Phase B: Independent blind doc-tester browsed both actual PR pages using playwright-cli, including language tabs and desktop/mobile navigation. No critical issue was demonstrated; two warnings concern rendered release-version context and test-environment/capture limitations. Aspire 17 sample execution, Functions startup, publishing, and deployment remain untested. The full frozen tester report follows Phase A. Phase A - Claim verificationRelease-source validation blocker: The matching source branch does not yet contain this feature. Its public contract contains Consequently, the new directory-based API, host-storage, Node launch, publishing/deployment, and diagnostic claims cannot be verified against the PR's applicable release branch. Please identify a release-source SHA containing the feature, or synchronize the source release branch before treating this documentation as verified for 17.0. This is absence of release evidence, not a claim that the .NET implementation contradicts directory-based behavior or that the feature is missing from main. Because a matching branch exists, another branch was not substituted as the source of truth. Pinned evidence:
Unverifiable claims, anchored to changed lines
Verified claims and evidence (5 grouped checks)
No new hard-coded current Aspire package/SDK versions were introduced in the changed copy/paste guidance. The diagnostic's fixed introduction badge is an intentional version-history value. The rendered installation-version mismatch is retained below as a reader-facing warning, not attributed to a hard-coded string in this diff. Phase B - Independent blind doc-tester report (verbatim)Documentation Test Report — Phase BFocus: Independent blind browser testing of microsoft/aspire.dev PR #1878 Summary
This is a browser/reader-experience result, not a factual-accuracy or executable-example sign-off. No microsoft/aspire, CommunityToolkit/Aspire, or Azure/azure-sdk-for-net source was read, and no parent/source-verification findings were received. Actual environment and routesServed the exact detached PR head with: Routes tested:
Setup deviation: A missing-module startup confirmed absent frontend dependencies. The pinned checkout declares pnpm 11.9.0, rather than Bun, so its frozen lockfile was restored once using isolated Critical IssuesNone established by the browser tests. Unavailable Aspire 17 execution is a validation limitation, not evidence that an example or product claim is wrong. WarningsW1: Release-version context needs a reader-facing checkLocation: Host page, Installation; diagnostic page, version badge. Observed: The TypeScript installation example displays Impact: A reader following the rendered installation example has no explicit explanation of whether that package version supports the new directory-based APIs. Recommendation: Before publication, ensure release-version substitution matches the intended release and consider stating the feature's minimum version near the new section. This is a visible version-context ambiguity, not a demonstrated API failure. The skill-required, narrow documentation-only placeholder check confirmed W2: Standalone-dev and capture limitationsInitial dependency optimization produced transient Vite 504 errors. Subsequent direct page loads no longer showed those failures. Standalone dev also produced Some deep-scroll screenshot captures were blank or partially painted despite readable snapshots, visible DOM elements, and successful hit-testing. Fresh direct loading produced a usable mobile capture of the new Functions section and a desktop capture of deployment text. Mobile deployment visual appearance is therefore not certified from the blank captures. Passed Checks
Knowledge GapsWhat a reader still needs: An existing working Functions app at Knowledge source: These prerequisites were not supplied from intrinsic knowledge to make a test pass. No missing scaffolding was invented and no sample application was executed. Assessment: Assuming an existing project is reasonable for this explicitly labeled reference page, which links a Get started guide. That guide was outside this restricted test scope, so its coverage of these prerequisites remains unverified. Recommendations and Remaining Validation
The installed Aspire CLI is 13.4.0, not 17.0. It was not used as evidence for Aspire 17 behavior. Evidence and CleanupEvidence is under this session's Only the Phase B browser and server were stopped. Port |
Code reviewReviewed the four-line sidebar registration in No actionable code findings. The entry matches the existing typed sidebar structure, its label and unique target match the new diagnostic page, and the topic is included in the exported sidebar configuration. Documentation prose and examples were handled separately in the docs report. Coverage and limits: The independent browser pass at this exact PR head confirmed desktop and mobile diagnostic-sidebar navigation. This is a static entry using the existing renderer, with no new rendering or interaction logic. No automated unit/e2e suite, tablet-specific check, or axe-core audit was run; this is not an accessibility or full-site regression certification. No production build was run. This conversation comment is not an approval or change-request review. |
David Pine (IEvangelist)
left a comment
There was a problem hiding this comment.
[partial - phase A: 21 of 21 non-narrative contracts evaluated; phase B: available source-blind browser testing complete, compatible Functions runtime/publishing unverified]
Automation: user-approved hourly local documentation PR reviewer for David Pine (@IEvangelist). This is its single combined report for this PR, including partial reviews; it will not automatically repeat after later commits.
Inspected head: 60fc7d7531f71d72e151e57cc43c583eb6fc205d; target release/17.0 at 1080319c049894e3b96436a694e98027ea3f123c. All three changed files and all 177 added lines were read. Documentation accuracy/user experience only, not standard code review.
Trusted policy: default-branch doc-pr-reviewer, doc-tester, playwright-cli and relevant Astro/TypeScript guidance at 9bf972c559d50ab5fdc73f0da5318959aa6be757. Native reviewer registration was unavailable; the trusted file workflow was invoked as doc-pr-reviewer https://github.com/microsoft/aspire.dev/pull/1878. PR-head policy was not authoritative.
Owning product source: microsoft/aspire / release/17.0 / 55867ce9d33c8800e6c7278f7edc5e88e0f6b839, matching the PR target exactly and fetched/pinned read-only. Source/API content from the linked main-branch change was not substituted. No Toolkit or Azure SDK API definition is introduced by this diff requiring a separate owning-source lookup.
Website-only evidence: microsoft/aspire.dev at inspected head 60fc7d7531f71d72e151e57cc43c583eb6fc205d establishes declarations/routes/headings, not product API correctness.
Claim counts: 22 explicit contract groups: 2 verified, 0 verified-with-nuance, 0 contradicted, 19 unverifiable, 1 narrative; 0 not evaluated. The 21 non-narrative groups include all new prose, code samples, configuration snippets, package ranges and cross-reference declarations. Groups preserve enumerated subassertions and duplicate locations; passing primitive calls do not certify a sample that calls the missing directory-app API.
Independent Phase B: two affected pages, scoped host-storage/editorconfig/prerequisite cross-references, reference sidebar, desktop/mobile tabs/TOC/readability, clipboard and real Markdown new tabs: 25 passed, 0 failed, 0 critical issues, 3 warnings (2 execution-capability gaps, 1 low-severity existing-Functions-app prerequisite/teaching gap). Frontend passes do not establish compilation, runtime behavior or publishing/deployment correctness. The full report preserves incidental observations without unsupported PR attribution.
Why this is partial, not approval
The matching source pin exports the existing project-based APIs, but its complete Functions C# and ATS contracts, owning implementation and whole-source searches do not contain AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource, AzureFunctionsLanguage or ASPIREAZUREFUNCTIONS001. The branch therefore cannot establish the new directory-app/diagnostic/Node-worker/publishing contract. Linked PR #17980 metadata records a merge to main, not proof of this release branch. Source absence is reported as unverifiable, not as evidence that the feature on another ref is incorrect.
The independent browser walkthrough cannot replace compatible target-version example compilation, Functions Core Tools launch, generated Dockerfile inspection or ACA publishing/deployment verification. Those checks must not be inferred from a successfully rendered docs page. No full-site build, source build, AppHost runtime, container startup, cloud provisioning, certificate/trust changes, remote branch mutation or arbitrary PR hooks were used to manufacture a pass. Incomplete required validation results in this explicitly labeled partial COMMENT, never approval.
Phase A - frozen owning-source verification
The authoritative C# API and ATS export contract expose AddAzureFunctionsProject, not the new directory-app surface. The existing project implementation setting FUNCTIONS_WORKER_RUNTIME=dotnet-isolated and port 8080 is not misreported as a direct contradiction of the separate, missing directory-resource implementation.
The review carries one inline finding per unverifiable grouped contract, with exact current-head anchors. Multiple contracts in a shared sentence have distinct findings. The complete catalog and its grouped subassertions follow.
C01 - The package exposes the five listed directory-app APIs/types for TypeScript/JavaScript Functions apps without a .NET project, introduced in 17.0.
Verdict: unverifiable. Location: src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx:18-24. Type: api-shape.
This diagnostic warning is reported when using the experimental directory-based Azure Functions app APIs in the `Aspire.Hosting.Azure.Functions` package. These APIs let you model a TypeScript or JavaScript Azure Functions app — one that has no .NET project file — as a resource in your AppHost. The following APIs are affected:
- `AddAzureFunctionsApp` extension method on `IDistributedApplicationBuilder`
- `WithHostStorage` extension method on `IResourceBuilder<AzureFunctionsAppResource>`
- `WithReference` extension method on `IResourceBuilder<AzureFunctionsAppResource>`
- `AzureFunctionsAppResource` class
- `AzureFunctionsLanguage` enum
Included checks: AddAzureFunctionsApp(IDistributedApplicationBuilder,...); WithHostStorage(IResourceBuilder,...); WithReference(IResourceBuilder,...); AzureFunctionsAppResource; AzureFunctionsLanguage; No .NET project required; Introduced in 17.0.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches.
Repeated/related new locations: src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx:2-4, src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx:10-10, src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:102-104, src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:344-347.
C02 - Directory-app APIs emit experimental diagnostic ASPIREAZUREFUNCTIONS001 requiring opt-in suppression.
Verdict: unverifiable. Location: src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx:16-18. Type: api-behavior.
> Directory-based Azure Functions app APIs are for evaluation purposes only and are subject to change or removal in future updates. Suppress this diagnostic to proceed.
This diagnostic warning is reported when using the experimental directory-based Azure Functions app APIs in the `Aspire.Hosting.Azure.Functions` package. These APIs let you model a TypeScript or JavaScript Azure Functions app — one that has no .NET project file — as a resource in your AppHost. The following APIs are affected:
Included checks: Experimental attribute/diagnostic ID; Evaluation-only warning; Suppression required.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. No Experimental("ASPIREAZUREFUNCTIONS001") attribute or diagnostic declaration was located. docs/list-of-diagnostics.md likewise has no entry; absence there alone is not the basis for this verdict.
Repeated/related new locations: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:343-345.
C03 - Directory-based apps use Node worker runtime and Aspire sets FUNCTIONS_WORKER_RUNTIME=node.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:347-347. Type: config-key.
Use `AddAzureFunctionsApp` (or `addAzureFunctionsApp`) to model a TypeScript or JavaScript Azure Functions app that does not have a .NET project file. Directory-based apps run on the Azure Functions Node language worker — Aspire sets `FUNCTIONS_WORKER_RUNTIME` to `node` for you:
Included checks: Node language worker; FUNCTIONS_WORKER_RUNTIME exact key; node exact value.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/AzureFunctionsProjectResourceExtensions.cs:122-132 creates AzureFunctionsProjectResource; :134-233 handles project-based setup; :216 explicitly sets dotnet-isolated for that resource. This is not a contrary Node setting for the missing directory-app resource.
C04 - AzureFunctionsLanguage has exactly TypeScript and JavaScript values, both using Node.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:397-397. Type: api-shape.
1. `AzureFunctionsLanguage` has two values: `TypeScript` and `JavaScript`. Both run on the Node language worker.
Included checks: TypeScript enum member; JavaScript enum member; Exactly two values; Both Node workers.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches.
C05 - The directory-app path is interpreted relative to the AppHost project directory.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:395-395. Type: api-behavior.
1. The path to the Functions app directory is relative to the AppHost project directory.
Included checks: Directory-app relative path base.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. Existing projectPath normalization at AzureFunctionsProjectResourceExtensions.cs:128 cannot establish path handling for the absent AddAzureFunctionsApp overload.
C06 - TypeScript Functions launch via npm run start -- --port , allowing prestart to build and resolving local Core Tools.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:399-399. Type: cli-surface.
1. TypeScript apps are launched through `npm run start -- --port <port>`, so the standard Azure Functions Core Tools-generated `prestart` script can build the app before the host starts. The `start` script should resolve Azure Functions Core Tools from the app's local npm dependencies, for example by depending on the `azure-functions-core-tools` package in `devDependencies`. JavaScript apps are launched directly with `func host start --port <port>`.
Included checks: npm executable; run start arguments; -- --port forwarding; prestart lifecycle used; Local azure-functions-core-tools resolution.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/AzureFunctionsProjectResourceExtensions.cs:122-132 creates AzureFunctionsProjectResource; :134-233 handles project-based setup; :216 explicitly sets dotnet-isolated for that resource. This is not a contrary Node setting for the missing directory-app resource. No directory TypeScript npm launch/configuration exists in the owning source at this pin.
C07 - JavaScript directory apps launch directly with func host start --port .
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:399-399. Type: cli-surface.
1. TypeScript apps are launched through `npm run start -- --port <port>`, so the standard Azure Functions Core Tools-generated `prestart` script can build the app before the host starts. The `start` script should resolve Azure Functions Core Tools from the app's local npm dependencies, for example by depending on the `azure-functions-core-tools` package in `devDependencies`. JavaScript apps are launched directly with `func host start --port <port>`.
Included checks: func executable; host start arguments; --port forwarding.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. The existing project-based func prerequisite at AzureFunctionsProjectResourceExtensions.cs:196-200 is not a directory JavaScript launcher.
C08 - Directory apps get implicit host storage and app-specific WithHostStorage/withHostStorage can override it.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:401-401. Type: api-behavior.
1. As with .NET Functions projects, Aspire provisions an implicit Azure Storage account for host storage by default. Call `WithHostStorage` (or `withHostStorage`) to use a specific storage account instead — see [Add Azure Functions resource with host storage](#add-azure-functions-resource-with-host-storage).
Included checks: Implicit host Azure Storage; C# app-specific override; TypeScript app-specific override.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. Project-only default storage is implemented at AzureFunctionsProjectResourceExtensions.cs:139-157,186 and project-only override at :322-329; it cannot be extrapolated to AzureFunctionsAppResource.
C09 - The shown C# AppHost snippet can add a directory TypeScript Functions app and reference the blob resource after suppression.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:352-366. Type: api-shape.
```csharp title="AppHost.cs"
#pragma warning disable ASPIREAZUREFUNCTIONS001
var builder = DistributedApplication.CreateBuilder(args);
var storage = builder.AddAzureStorage("storage").RunAsEmulator();
var blob = storage.AddBlobs("blob");
builder.AddAzureFunctionsApp("functions", "../functions", AzureFunctionsLanguage.TypeScript)
.WithReference(blob);
builder.Build().Run();
#pragma warning restore ASPIREAZUREFUNCTIONS001
```
Included checks: CreateBuilder; Storage emulator/blob chaining; AddAzureFunctionsApp arguments; AzureFunctionsLanguage.TypeScript; WithReference(blob); Build/Run; Diagnostic pragma pair.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches.
Repeated/related new locations: src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx:32-42.
C10 - Generated aspire.mjs exports AzureFunctionsLanguage and an awaited addAzureFunctionsApp/withReference flow as shown.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:371-388. Type: api-shape.
```typescript title="apphost.mts"
import { AzureFunctionsLanguage, createBuilder } from './.aspire/modules/aspire.mjs';
const builder = await createBuilder();
const storage = await builder.addAzureStorage("storage");
await storage.runAsEmulator();
const blob = await storage.addBlobs("blob");
const functions = await builder.addAzureFunctionsApp(
"functions",
"../functions",
AzureFunctionsLanguage.TypeScript
);
await functions.withReference(blob);
// After adding all resources, run the app...
```
Included checks: aspire.mjs enum import; createBuilder import; Storage and blob calls; addAzureFunctionsApp signature; Enum argument; withReference(blob).
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. The pinned ATS contract lists addAzureFunctionsProject, not addAzureFunctionsApp, and no AzureFunctionsLanguage handle/export. Correctness of ordinary awaited storage calls cannot certify this entire new sample.
C11 - The displayed package.json scripts and Core Tools/TypeScript devDependencies provide the documented directory-app startup/build contract.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:405-419. Type: package-or-version.
A directory-based Functions app's `package.json` should include scripts similar to the standard Azure Functions TypeScript template:
```json title="package.json"
{
"scripts": {
"build": "tsc",
"prestart": "npm run build",
"start": "func start"
},
"devDependencies": {
"azure-functions-core-tools": "^4.0.0",
"typescript": "^5.0.0"
}
}
```
Included checks: build=tsc; prestart=npm run build; start=func start; azure-functions-core-tools ^4.0.0; typescript ^5.0.0.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/AzureFunctionsProjectResourceExtensions.cs:122-132 creates AzureFunctionsProjectResource; :134-233 handles project-based setup; :216 explicitly sets dotnet-isolated for that resource. This is not a contrary Node setting for the missing directory-app resource. The source branch supplies no directory Functions npm template/package contract to compare. npm/Core Tools/TypeScript package behavior was not inferred from unrelated Node app support or unexecuted packages.
C12 - VS Code directory-app debugging support is tracked separately and is not yet available in this release.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:421-423. Type: api-behavior.
<Aside type="note">
VS Code debugger support for directory-based Functions apps is tracked separately from this release and is not yet available.
</Aside>
Included checks: Directory-specific debugging availability; Separate follow-up/release scope.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. Existing project-based debug configuration appears at AzureFunctionsProjectResourceExtensions.cs:188-194,445-454. Searches find project_path-based extension support, not a directory resource. Neither linked future work nor absence of the entire API establishes the precise release-timing promise.
C13 - aspire publish generates the specified Functions Node Dockerfile when none exists, with copy/install/build/prune behavior.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:545-545. Type: api-behavior.
When a directory-based Functions app doesn't already contain a `Dockerfile`, `aspire publish` generates one that uses the official Azure Functions Node image, copies the app to `/home/site/wwwroot`, installs npm dependencies, and (for TypeScript apps) runs `npm run build`. After the build step, Aspire runs `npm prune --omit=dev` so the deployed container keeps only production dependencies.
Included checks: aspire publish trigger; Only absent Dockerfile; Official Azure Functions Node image; COPY /home/site/wwwroot; Install npm dependencies; TypeScript npm run build; Post-build npm prune --omit=dev; Only production dependencies remain.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839: complete owning Functions implementation/API lacks the directory resource and its Dockerfile publishing path. Whole-src search for /home/site/wwwroot, mcr.microsoft.com/azure-functions/node and npm prune --omit=dev returns no matches. Existing generic Docker/Node support is not evidence that these exact Functions-specific transformations execute.
C14 - An existing Functions-app Dockerfile is used as-is rather than replaced by the generator.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:547-547. Type: api-behavior.
If the Functions app directory already contains a `Dockerfile`, Aspire uses it as-is instead of generating one — use this to select a different Azure Functions Node image, pin a Node version, or add project-specific build steps.
Included checks: Existing Dockerfile detection; Use as-is; Override image/Node version/build steps.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839: complete owning Functions implementation/API lacks the directory resource and its Dockerfile publishing path. Whole-src search for /home/site/wwwroot, mcr.microsoft.com/azure-functions/node and npm prune --omit=dev returns no matches. Existing generic Docker/Node support is not evidence that these exact Functions-specific transformations execute.
C15 - Directory Functions resources deployed to ACA receive container-app kind=functionapp.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:549-549. Type: api-behavior.
When deployed to Azure Container Apps, directory-based Functions resources are published with the container app `kind` set to `functionapp` and the container's HTTP port set to `80`, matching the shape of the Azure Functions Node host image.
Included checks: Directory resource annotation/path; kind exact property; functionapp exact value.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. src/Aspire.Hosting.Azure.AppContainers/ContainerAppContext.cs:134-138 sets ContainerAppKind.Functionapp only for resources carrying AzureFunctionsAnnotation. Project resources receive that annotation at AzureFunctionsProjectResourceExtensions.cs:192. The missing directory resource cannot be shown to carry it.
C16 - Directory Functions deployment uses HTTP port 80 matching the Node host image.
Verdict: unverifiable. Location: src/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx:549-549. Type: api-behavior.
When deployed to Azure Container Apps, directory-based Functions resources are published with the container app `kind` set to `functionapp` and the container's HTTP port set to `80`, matching the shape of the Azure Functions Node host image.
Included checks: Directory container HTTP port 80; Node host image compatibility.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. Existing project publish endpoints use 8080 at AzureFunctionsProjectResourceExtensions.cs:258-265. These are different resource types, so this is not reported as a direct contradiction of the claimed directory-app port.
C17 - The unsuppressed C# sample generates ASPIREAZUREFUNCTIONS001.
Verdict: unverifiable. Location: src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx:30-42. Type: api-behavior.
The following code generates `ASPIREAZUREFUNCTIONS001`:
```csharp title="AppHost.cs"
var builder = DistributedApplication.CreateBuilder(args);
var storage = builder.AddAzureStorage("storage").RunAsEmulator();
var blob = storage.AddBlobs("blob");
builder.AddAzureFunctionsApp("functions", "../functions", AzureFunctionsLanguage.TypeScript)
.WithReference(blob);
builder.Build().Run();
```
Included checks: Unsuppressed sample diagnostic identity; New method/type/enum availability.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. The missing method/type/enum and absent diagnostic attribute prevent evidence that this sample produces the documented experimental warning rather than missing-symbol diagnostics.
C18 - Pragma, editorconfig severity=none and NoWarn permit use of this experimental API as shown.
Verdict: unverifiable. Location: src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx:46-71. Type: config-key.
Suppress the warning with any of the following methods:
- Add a `#pragma warning disable` directive in the source file where the API is used:
```csharp title="AppHost.cs"
#pragma warning disable ASPIREAZUREFUNCTIONS001
builder.AddAzureFunctionsApp("functions", "../functions", AzureFunctionsLanguage.TypeScript);
#pragma warning restore ASPIREAZUREFUNCTIONS001
```
- Set the severity of the rule in the _.editorconfig_ file:
```ini title=".editorconfig"
[*.{cs,vb}]
dotnet_diagnostic.ASPIREAZUREFUNCTIONS001.severity = none
```
For more information about editor config files, see [Configuration files for code analysis rules](/diagnostics/overview/#suppress-in-the-editorconfig-file).
- Add the following `PropertyGroup` to your project file:
```xml title="C# project file"
<PropertyGroup>
<NoWarn>$(NoWarn);ASPIREAZUREFUNCTIONS001</NoWarn>
</PropertyGroup>
```
Included checks: #pragma warning disable/restore ASPIREAZUREFUNCTIONS001; [*.{cs,vb}] dotnet_diagnostic.ASPIREAZUREFUNCTIONS001.severity=none; $(NoWarn);ASPIREAZUREFUNCTIONS001.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. This verdict concerns applicability to the absent API/diagnostic, not a claim that the generic pragma/editorconfig/MSBuild syntax is invalid. No target-version compiler execution was performed.
C19 - TypeScript AppHosts have no C# compiler, so the diagnostic does not apply to addAzureFunctionsApp calls.
Verdict: unverifiable. Location: src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx:73-73. Type: api-behavior.
<Badge text="TypeScript AppHost" variant="note" size="medium" class:list={'mb-1'} /> The TypeScript AppHost does not have a C# compiler, so this diagnostic does not apply to `addAzureFunctionsApp` calls in `apphost.mts`.
Included checks: TypeScript compiler statement; Diagnostic non-applicability for exported call.
Evidence: microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/api/Aspire.Hosting.Azure.Functions.cs:10-29 exports only project-based AddAzureFunctionsProject/WithHostStorage/WithReference; the complete generated C# and ATS contracts contain no AddAzureFunctionsApp/addAzureFunctionsApp, AzureFunctionsAppResource or AzureFunctionsLanguage. A pinned whole-src/tests/docs search for all four symbols/diagnostic returns exit 1, no matches. The current ATS surface has no addAzureFunctionsApp capability. Absence of a new Experimental attribute/export cannot establish its intended TypeScript diagnostic behavior or justify the broad compiler statement.
Verified / verified-with-nuance entries and narrative context
C20 - The existing AddAzureFunctionsProject APIs do not require ASPIREAZUREFUNCTIONS001 suppression.
verified - src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx:26-26.
These APIs are pending API review and may change shape, or be removed, before becoming generally available (GA). The existing .NET project APIs, such as `AddAzureFunctionsProject`, are unaffected and do not require this suppression.
microsoft/aspire 55867ce9d33c8800e6c7278f7edc5e88e0f6b839 src/Aspire.Hosting.Azure.Functions/AzureFunctionsProjectResourceExtensions.cs:63-72,120-132 and api/Aspire.Hosting.Azure.Functions.cs:12-29: project methods carry AspireExport/AspireExportIgnore, not that Experimental attribute. Complete owning package contains no such diagnostic.
Included checks: Existing project API remains present; No new experimental suppression on project overloads.
C21 - New diagnostic/sidebar and the new cross-reference declarations target actual docs pages and headings.
verified - src/frontend/config/sidebar/reference.topics.ts:667-670.
{
label: 'ASPIREAZUREFUNCTIONS001',
link: '/diagnostics/aspireazurefunctions001',
},
microsoft/aspire.dev 60fc7d7: reference.topics.ts:667-670 declares the new route; diagnostic file exists; diagnostic:63 targets overview.mdx heading "Suppress in the .editorconfig file"; diagnostic:77 targets the existing Functions-host route; host:103 targets new heading:341; host:344 targets the diagnostic; host:401 targets existing heading "Add Azure Functions resource with host storage". These are website-source declarations only; actual rendered navigation belongs to independent Phase B.
Included checks: Sidebar diagnostic entry; New section same-page pointer; Diagnostic from integration; Host-storage heading; Editorconfig overview heading; Integration return link.
C22 - Pending API review and potential future change/removal are forward-looking evaluation cautions, not current implementation guarantees.
narrative - src/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdx:26-26.
These APIs are pending API review and may change shape, or be removed, before becoming generally available (GA). The existing .NET project APIs, such as `AddAzureFunctionsProject`, are unaffected and do not require this suppression.
No current implementation verdict is inferred from planned API review or future GA language. The actual Experimental attribute claim is separately evaluated as C02.
Included checks: Pending review; Possible future shape/removal.
Current-version placeholders: the new “Version introduced: 17.0” badge intentionally records diagnostic history. Core Tools ^4.0.0 and TypeScript ^5.0.0 are third-party package ranges, not hard-coded current Aspire versions. No placeholder finding is asserted.
Phase B received no product source, Phase A findings or owning-source conclusions. Its report is preserved verbatim below, including all runtime gaps and the limits of its frontend observations.
Phase B - independent source-blind doc-tester report (complete available report)
Documentation Test Report
Focus Area: Independent, source-blind Phase B for #1878 — directory-based TypeScript/JavaScript Azure Functions documentation.
Date: 2026-11-03 UTC (2026-11-02 local).
Tester: doc-tester agent, following the trusted repository doc-pr-reviewer Phase B and playwright-cli skills.
PR head served: 60fc7d7531f71d72e151e57cc43c583eb6fc205d.
Target branch supplied: release/17.0.
Local server: http://localhost:4321/, already running and parent-owned.
Policy revision: 9bf972c559d50ab5fdc73f0da5318959aa6be757.
Evidence directory: This report's directory, outside the checkout.
Summary
| Category | Passed | Failed | Warnings |
|---|---|---|---|
| Content Accuracy — rendered coverage and clarity only | 5 | 0 | 1 |
| Code Examples — display/copy/JSON checks only | 7 | 0 | 1 |
| CLI Commands — execution | 0 | 0 | 1 |
| Links — affected navigation groups | 9 | 0 | 0 |
| Presentation and document controls | 4 | 0 | 0 |
| Total | 25 | 0 | 3 |
Critical issues: 0. Proven PR-introduced defects: 0. All feasible scoped frontend checks completed. Two warnings are explicit execution-capability gaps, not documentation failures. One is a low-severity new-user prerequisite/teaching gap. Rendering, copying, and parsing do not establish product behavior, successful compilation, or deployment correctness.
Counts represent the numbered checks below, not every click, snippet line, or individual URL.
Scope and independence
Inputs were the supplied changed-files artifact and locally rendered documentation. The artifact identifies:
src/frontend/config/sidebar/reference.topics.tssrc/frontend/src/content/docs/diagnostics/aspireazurefunctions001.mdxsrc/frontend/src/content/docs/integrations/cloud/azure/azure-functions/azure-functions-host.mdx
The checkout HEAD was verified before and after testing. No checkout, repository edits, product implementation/source/tests, Phase A output, or previous review reports were used. The changed MDX files were scanned only for version-placeholder checks; other content was read through the browser. Trusted policy and browser configuration were read separately.
Browser interaction used only global playwright-cli, session -s=pr1878, from this evidence directory, with the checkout's absolute .playwright\cli.config.json selecting Microsoft Edge. No other browser tooling was used. Tests covered initial loads, client-side link navigation, tabs, clipboard actions, new tabs, desktop 1440×1000, and mobile 375×812.
Routes and sections exercised
/integrations/cloud/azure/azure-functions/azure-functions-host/- Existing installation/project-constraint context and newly added pointer.
#typescript-and-javascript-functions-apps: experimental caution, C#/TypeScript AppHost tabs, app-directory path explanation, language selection, npm/Core Tools explanation, scripts JSON, storage cross-reference, debugger limitation.#deploying-typescript-and-javascript-functions-apps: generated Dockerfile, pre-existing Dockerfile, and Azure Container Apps paragraphs.#add-azure-functions-resource-with-host-storage: linked prerequisite section.
/diagnostics/aspireazurefunctions001/- Introduction/version badge/API list,
#example,#to-correct-this-warning, and See also. - New Reference → Diagnostics → Warnings sidebar entry.
- Introduction/version badge/API list,
- Necessary scoped cross-references:
/diagnostics/overview/#suppress-in-the-editorconfig-file/integrations/cloud/azure/azure-functions/azure-functions-get-started/— linked setup context only.
- Browser-opened Markdown views:
/diagnostics/aspireazurefunctions001.md/integrations/cloud/azure/azure-functions/azure-functions-host.md
Critical Issues
None established by this source-blind frontend run. No claim is made that the APIs, experimental diagnostic, local execution, generated Dockerfile, or Azure deployment were validated against runtime behavior.
Warnings
Warning 1: Version-17 code and experimental-diagnostic behavior were not compiled or run
Location: Integration #typescript-and-javascript-functions-apps; diagnostic Example and suppression sections.
Type: Execution-capability gap, not a proven defect.
What the documentation says:
“Directory-based apps run on the Azure Functions Node language worker — Aspire sets
FUNCTIONS_WORKER_RUNTIMEtonodefor you”
“The following code generates
ASPIREAZUREFUNCTIONS001:”
“The TypeScript AppHost does not have a C# compiler, so this diagnostic does not apply to
addAzureFunctionsAppcalls inapphost.mts.”
What was actually established: Both AppHost examples, the package JSON, the diagnostic-generating sample, and all three suppression snippets render and copy. The JSON parses. No compile/run or diagnostic emission/suppression outcome was established.
Blocker: The supplied environment has CLI 13.4.0, which does not establish availability of the documented version-17 feature. No compatible version-17 fixture was supplied. Installing dependencies, starting containers/AppHosts, and provisioning were outside the authorized safe scope. No attempt was made to substitute the older CLI as proof.
Unexecuted examples/claims: C# and TypeScript AppHost execution; JavaScript language variant; npm run start -- --port <port> and func host start --port <port> behavior; build/prestart lifecycle; Core Tools resolution; host-storage/resource injection; emulator behavior; actual ASPIREAZUREFUNCTIONS001 generation and pragma/editorconfig/NoWarn suppression.
Evidence: copied-apphost-csharp.txt, copied-apphost-typescript.txt, copied-package-json.txt, diagnostic-copied-examples.txt, and the corresponding browser snapshots. These are clipboard/display evidence only.
Recommendation: Test the verbatim examples in a separately authorized version-17 environment with an existing Functions application and isolated dependencies; verify both AppHost languages and diagnostic outcomes before describing runtime testing as passed.
Warning 2: Publishing and Azure deployment claims remain unexecuted
Location: Integration #deploying-typescript-and-javascript-functions-apps.
Type: Execution-capability gap, not a proven defect.
What the documentation says:
“When a directory-based Functions app doesn’t already contain a
Dockerfile,aspire publishgenerates one that uses the official Azure Functions Node image, copies the app to/home/site/wwwroot, installs npm dependencies, and (for TypeScript apps) runsnpm run build.”
“After the build step, Aspire runs
npm prune --omit=devso the deployed container keeps only production dependencies.”
“When deployed to Azure Container Apps, directory-based Functions resources are published with the container app kind set to
functionappand the container’s HTTP port set to80, matching the shape of the Azure Functions Node host image.”
What was actually established: All deployment paragraphs display, and the desktop/mobile TOC links resolve to the correct heading. No generated artifact, image, live container, or Azure resource was examined.
Blocker: No compatible version-17 publishing fixture; no authorized dependency installation, container startup, resource provisioning, or deployment. aspire publish, aspire deploy, npm scripts, image builds, and Azure operations were not executed.
Evidence: deployment-anchor-mobile.txt, integration-desktop-toc-deployment.txt, deployment-mobile.png, deployment-desktop.png.
Recommendation: In a separate safe fixture, test absent/present-Dockerfile cases, build/prune behavior, and emitted Container Apps kind/port before claiming deployment validation. Actual Azure deployment needs separate authorization and resources.
Warning 3 / Knowledge Gap: A pre-existing Functions app is assumed rather than created
Location: Integration #typescript-and-javascript-functions-apps; linked Get started guide.
Type: Low-severity teaching/prerequisite gap, not a demonstrated product or code defect.
What the documentation says:
“The path to the Functions app directory is relative to the AppHost project directory.”
“A directory-based Functions app’s
package.jsonshould include scripts similar to the standard Azure Functions TypeScript template:”
The samples reference ../functions.
What I needed to know: How a first-time reader obtains the existing TypeScript/JavaScript Functions application/template to place at that path. The section provides the AppHost wiring and scripts fragment, not a complete application-creation recipe. The linked local Get started guide explains the integration model and routes readers back to this reference, but does not supply that recipe.
Source of knowledge: Only those rendered pages. I did not silently supply a scaffolding command, file list, or presumed template contents from prior knowledge.
User impact: An existing-Functions-app owner can use this as a reference. A new user attempting to start from an empty directory cannot treat the shown scripts JSON as a complete runnable Functions application.
Recommendation: Add a short “existing TypeScript/JavaScript Azure Functions app” prerequisite and a direct template/creation-guide link, or explicitly clarify that application scaffolding is out of scope. This is an improvement recommendation; a reference article need not become a full tutorial.
Evidence: integration-rendered.txt, prerequisites-rendered.txt, prerequisites-getstarted.yml.
Passed Checks
Content Accuracy — rendered coverage and clarity only (5)
- C1: The new directory-based section, the earlier .NET-project pointer, and the new deployment subsection are present and readable in their expected contexts. Evidence:
integration-rendered.txt,integration-typescript.yml,deployment-anchor-mobile.txt. - C2: The integration caution explicitly names the experimental APIs, gives the C# opt-in diagnostic/directive, and states existing .NET project APIs are unaffected. Evidence:
integration-desktop.png,integration-mobile-changed-section.png. - C3: The diagnostic displays “Version introduced: 17.0”, lists the five affected API surfaces, explains the .NET-project exception, and distinguishes TypeScript AppHost from C# suppression. This checks displayed guidance, not compiler behavior. Evidence:
main-diagnostic.txt,diagnostic-desktop.yml. - C4: The section explains relative app paths, the two language values, local start-script expectations, host-storage reuse, scripts, and the debugger caveat; all three deployment paragraphs are visible. Evidence:
integration-rendered.txt,deployment-mobile.png. - C5: The permitted placeholder-only scan found the existing current package reference uses
%ASPIRE_VERSION%at integration line 88. Added versions are the intentional diagnostic introduction17.0and non-Aspire npm ranges^4.0.0/^5.0.0; no newly hard-coded current Aspire version was found. Evidence:placeholder-only-scan.txt,diagnostic-placeholder-only-scan.txt,added-version-lines.txt.
Code Examples — display/copy/JSON checks only (7)
- E1: Clicked the C# tab and its copy button. Clipboard contains the complete shown snippet, including disable/restore directives, storage/blob setup, app registration/reference, and
builder.Build().Run(). Evidence:copied-apphost-csharp.txt,integration-desktop.png. - E2: Clicked back to TypeScript and copied its complete sample, including generated-module import, language enum, awaited builder/resource calls, and final instructional comment. Evidence:
copied-apphost-typescript.txt,integration-typescript.yml. - E3: Copied the scripts/dependencies JSON and successfully parsed it with
JSON.parse;build,prestart,start, and dependency ranges match the display. No package command was executed. Evidence:copied-package-json.txt. - E4: Copied the diagnostic's complete unsuppressed example. Evidence: first entry of
diagnostic-copied-examples.txt. - E5: Copied the diagnostic pragma snippet with matching disable/restore identifier. Evidence: second entry of
diagnostic-copied-examples.txt. - E6: Copied
[*.{cs,vb}]anddotnet_diagnostic.ASPIREAZUREFUNCTIONS001.severity = noneintact. Evidence: third entry ofdiagnostic-copied-examples.txt. - E7: Copied the project XML preserving literal
$(NoWarn);ASPIREAZUREFUNCTIONS001. Evidence: fourth entry ofdiagnostic-copied-examples.txt.
Links — affected navigation groups (9)
- L1: Clicked the earlier “TypeScript and JavaScript Functions apps” pointer; it reaches
#typescript-and-javascript-functions-apps. - L2: Clicked the caution's diagnostic link; it reaches
/diagnostics/aspireazurefunctions001/and the correct page title. - L3: Clicked diagnostic See also → “Azure Functions Hosting integration”; it returns to the integration page. This link intentionally targets the page root, not a section anchor. Evidence:
diagnostic-return-link.txt. - L4: Clicked “Add Azure Functions resource with host storage”; the exact hash resolves to the matching heading. Evidence:
hoststorage-anchor.txt. - L5: Clicked “Configuration files for code analysis rules”; it reaches
/diagnostics/overview/#suppress-in-the-editorconfig-file, where the named heading exists. Evidence:editorconfig-link-check.txt(the final CLI Page URL is the completed navigation). - L6: The new sidebar entry appears under Reference → Diagnostics → Warnings and works on desktop and through the mobile Main menu. Its active state identifies the diagnostic. Evidence:
diagnostic-links-sidebar.txt,diagnostic-mobile-menu-open.yml. - L7: Integration TOC includes both added headings. Actual desktop clicks reach both correct hashes; the mobile deployment click also resolves correctly. Evidence:
integration-desktop-toc-newsection.txt,integration-desktop-toc-deployment.txt,integration-mobile-toc.txt,deployment-anchor-mobile.txt. - L8: Diagnostic TOC lists Example, To correct this warning, and See also. Desktop Example and mobile To correct this warning were clicked successfully. Evidence:
diagnostic-desktop-toc.txt,diagnostic-toc-anchor.txt,diagnostic-desktop-examples.png. - L9: Clicked the integration's Get started prerequisite link; the intended local guide loads, and its AppHost link returns to the integration. Evidence:
prerequisites-getstarted.yml.
Changed article links tested use site-relative paths with trailing slashes, or valid same-page hashes. The unchanged ../azure-functions-connect/ links remain within the same integration section, an allowed convention. The site's generated .md utility links are separately tested below, not treated as article-route convention failures.
Presentation and document controls (4)
- P1: Desktop
1440×1000screenshots/snapshots show readable headings, caution, tabs, snippets, suppression options, and deployment prose. Evidence:integration-desktop.png,diagnostic-desktop.png,diagnostic-desktop-examples.png,deployment-desktop.png. - P2: Mobile
375×812preserves readable body/caution content and working TOC/menu/tab controls. Both pages have document scroll width375, not whole-page horizontal overflow. Code blocks scroll locally: the C# block measured client width341, content width915, and horizontal scroll position574at its right edge. The long diagnostic title wraps rather than being lost. Evidence:diagnostic-mobile.png,integration-mobile-changed-section.png,integration-mobile-csharp-code.png,deployment-mobile.png,diagnostic-mobile-metrics.txt,integration-mobile-metrics.txt,mobile-csharp-scroll.txt. - P3: Both pages' Copy Markdown buttons produce article Markdown after asynchronous completion. Integration output includes both additions and the diagnostic link; diagnostic output includes the new guidance and suppression text. Evidence:
integration-markdown-copy.txt,diagnostic-markdown-copy-delayed.txt. The immediate first diagnostic clipboard read was stale; the subsequent completed copy succeeded and is the reported result. - P4: Open → View in Markdown opens each real
.mdroute in a new browser tab, with the added content present. Both auxiliary tabs were closed. Evidence:integration-markdown-newtab.txt,diagnostic-markdown-newtab.txt.
Incidental observations and test-harness retries
- The local site reported
/api/live/404 and “Live API not found (404); live updates disabled until reload.” This is recorded in.playwright-cli\console-2026-11-03T03-24-46-504Z.log. It did not prevent the tested content/controls from working. No evidence ties it to these changed files, so it is not counted as a PR-introduced failure. - The diagnostic raw Markdown browser view showed mojibake around an em dash (
—), while the rendered page and copied Markdown displayed the dash correctly. No baseline/product-source comparison was performed, so no attribution to this PR is made and no critical issue is claimed. The raw Markdown route/content-presence check passed; encoding quality is not certified. - Stale snapshot refs after navigation, an ambiguous unscoped TOC locator, a wrongly banner-scoped mobile Menu locator, and an empty-hash diagnostic-return evaluation were test-harness mistakes. They were retried using live/scoped locators and corrected evidence. They are not documentation defects.
Recommendations
- Priority fixes: None established by this frontend-only run.
- Validation priority: Run version-17 compile/runtime/diagnostic and publish/deployment checks separately; keep Warnings 1–2 explicitly unverified until then.
- Documentation gap: Consider the existing-Functions-app prerequisite/link in Warning 3, without expanding this reference into an unrelated tutorial.
- Product issues: None proven. Do not infer API correctness or a runtime regression from this report's frontend passes.
Cleanup and persistence
- Browser session
pr1878was closed withplaywright-cli -s=pr1878 close. - Ran
playwright-cli -s=pr1878 delete-data; result: “No user data found for browser 'pr1878'.” The session used an in-memory profile. - Both Markdown tabs were closed; screenshots, snapshots, clipboard evidence, and this report remain in this directory.
- No npm/pnpm/bun package commands, installs, builds, AppHost runtime actions, containers, publish/deploy actions, certificate/trust changes, GitHub comments/reviews, commits, pushes, or merges were performed.
- The parent-owned Astro server was neither started, restarted, nor stopped. Final checkout HEAD remained
60fc7d7531f71d72e151e57cc43c583eb6fc205d.
docs-pr-reviewer report — [partial — phase A: key claims evaluated; phase B: not run (docs site was not served in this automated run)]Recommendation: approve Source used: Phase A — claims
Phase B — doc-testerNot run; rendering of the changed pages is not browser-checked. 🤖 Posted by aspire.dev - squad (AI Agent) |
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
|
Updated the Azure Functions docs with C#, TypeScript, and Go AppHost examples for directory-based JavaScript/TypeScript Functions; local Core Tools and launch guidance; VS Code Node debugging and TypeScript source-map/output-path configuration; and Dockerfile publishing and ACA deployment details. Added the ASPIREAZUREFUNCTIONS001 diagnostic reference, clarified that it is an error by default, and documented the verified C# suppression options. |
Summary
Documents microsoft/aspire#17980 and the directory-based Azure Functions debugging support from microsoft/aspire#20943 for
release/17.0.ASPIREAZUREFUNCTIONS001diagnostic page and sidebar entry. The diagnostic is a C# compiler error; the documented pragma and projectNoWarnsuppressions were verified.Updated:
azure-functions-host.mdx,reference.topics.ts. Created:aspireazurefunctions001.mdx.Third-party links and affiliations
None.
Validation
Validated staging CLI
17.0.0+148071e36dbb16c1cad260dedec2496871b6f49aand the matching Aspire VS Code extension; the commit is an ancestor of the testedrelease/17.0tip.go build -o /tmp/aspire-nodefuncs-go-doc-20261116/sample apphost.go— passed for the Go documentation example against the staging-generated SDK../node_modules/.bin/tsc -p tsconfig.apphost.json --noEmit— passed for the TypeScript documentation example against the staging-generated SDK.dotnet build /tmp/aspire-nodefuncs-17-csharp-20261116/NodeFunctionsCSharp.csproj --no-restore --verbosity quiet— passed; the C# diagnostic and both documented suppression mechanisms were also checked in separate builds."$CLI" start --apphost "$APPHOST" --non-interactive, followed by"$CLI" waitandcurl --fail "$FUNCTION_URL/api/proof?name=$REQUEST_ID"— passed for JavaScript and TypeScript Functions with each of the three AppHost languages. All six VS Code source breakpoints were hit, and all six requests succeeded after continuing. C# used a project-based AppHost; a file-based AppHost debug launch stalled and remains unverified."$CLI" publish --apphost "$APPHOST" --output-path "$OUTPUT" --non-interactive— passed for all three AppHosts. Azure deployments and HTTPS invocation passed for all six Functions after adapting networking and storage to the subscription's policy; the Go deployment required one retry after a transient subnet update conflict.