Repository navigation
Add Aspire azd transition page and deployment notices - #1933
Draft
Mitch Denny (mitchdenny) wants to merge 1 commit into
Draft
Mitch Denny (mitchdenny) wants to merge 1 commit into
Mitch Denny (mitchdenny) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 5346f301-2bdb-4056-8eef-7c4fdef7c4dd
Contributor
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
This was referenced Oct 30, 2026
David Pine (IEvangelist)
pushed a commit
that referenced
this pull request
Nov 1, 2026
## Summary
Fixes seven broken internal links in the English docs. Every locale
falls back to these pages, so each broken link appears on all 15
locales. The links validator didn't flag them because it never inspects
these two kinds of link:
- `starlight-links-validator` runs with `errorOnRelativeLinks: false`,
so it skips `./` and `../` links entirely.
- It only reads string `href` attributes. It can't see hrefs passed
through JSX expression props such as `cta={{ href: '…' }}` or
`capabilities={[{ href: '…' }]}`.
| Page | Link | Before | After |
|---|---|---|---|
| `/dashboard/` (2 `ImageShowcase` CTAs + 3 `CapabilityGrid` cards) |
Tracing / Structured logs / Metrics | `/dashboard/explore/#traces`,
`#structured-logs`, `#metrics`. These ids don't exist, so the link lands
at the top of a long page | `#traces-page`, `#structured-logs-page`,
`#metrics-page`, the same anchors that `dashboard/standalone.mdx` and
`data/dev-hub.ts` already use |
| `/reference/cli/commands/aspire-dashboard-run/` | Dashboard
configuration | `../../../dashboard/configuration/` →
`/reference/dashboard/configuration/` (**404**) |
`/dashboard/configuration/` |
| `/integrations/cloud/azure/azure-cache-redis/azure-cache-redis-host/`
| Redis Hosting integration |
`../../../caching/redis/redis-host/#…-redis-insights` →
`/integrations/cloud/caching/redis/redis-host/` (**404**), and the
anchor was misspelled |
`/integrations/caching/redis/redis-host/#add-redis-resource-with-redis-insight`
|
The fixed links are absolute, so `starlight-links-validator` now checks
the two Markdown ones at build time. A new unit test,
`tests/unit/docs-internal-links.vitest.test.ts`, covers the gap for the
English docs. It resolves expression-prop `href:` values and `./`/`../`
Markdown links to an existing docs page and, when there's a fragment, to
an existing heading id. It follows the existing pattern in
`dev-glossary.vitest.test.ts` and slugs headings with `github-slugger`,
as Starlight does. Like the validator config, it skips `/reference/api/`
and `/hub/`.
### How this was found
I crawled main's CI `frontend-dist` artifact, the production build of
`29550055` from [run
41062457941](https://github.com/microsoft/aspire.dev/actions/runs/41062457941),
covering all 8,327 non-API HTML pages. I checked every internal `<a
href>` against the built files and ids. Before this change the live site
behaves as follows:
- `https://aspire.dev/reference/dashboard/configuration/` returns 404.
- `https://aspire.dev/integrations/cloud/caching/redis/redis-host/`
returns 404.
- `https://aspire.dev/dashboard/explore/` only has `id="traces-page"`,
`id="structured-logs-page"` and `id="metrics-page"`.
The crawl also found broken links that this PR leaves alone:
- Localized `.md` page-action links: covered by #1990.
- Localized glossary links: covered by #1989.
- Bare relative links in `whats-new/aspire-9-4.mdx` and
`aspire-9-5.mdx`: these files are being edited by open PRs #1933, #1896
and #1876.
- A typo in a synced sample README (`data/samples.json`): it comes from
the upstream samples repo.
## Third-party links and affiliations
None.
## Validation
- The regression test fails before the fix with exactly the 7 links
above, and passed in 3 of 3 runs after it. Before-fix output:
```
dashboard/index.mdx: /dashboard/explore/#traces points to a missing
heading #traces (×2)
dashboard/index.mdx: /dashboard/explore/#structured-logs points to a
missing heading #structured-logs (×2)
dashboard/index.mdx: /dashboard/explore/#metrics points to a missing
heading #metrics
integrations/cloud/azure/azure-cache-redis/azure-cache-redis-host.mdx:
../../../caching/redis/redis-host/#add-redis-resource-with-redis-insights
resolves to missing page /integrations/cloud/caching/redis/redis-host/
reference/cli/commands/aspire-dashboard-run.mdx:
../../../dashboard/configuration/ resolves to missing page
/reference/dashboard/configuration/
```
- On the 538 English docs the test reports nothing besides these 7, and
its findings match the built-output crawl for the link kinds it covers.
- `npx vitest run`: 84 files passed; 1,121 tests passed and 1 skipped.
- `npx eslint . --max-warnings 0` passes, and the new test file is
Prettier-formatted.
- Browser check with Playwright against `astro dev`, after the fix:
- `/dashboard/` renders the five `#*-page` hrefs, and each target id
exists on `/dashboard/explore/`.
- The Dashboard configuration link returns 200.
- The Redis Hosting integration link returns 200, and its anchor exists.
- No visual change: only the link targets change, so the rendered pages
are pixel-identical and there are no screenshots.
**🤖 Posted by AspireAgent (AI Agent)**
---------
Co-authored-by: davidfowl <[email protected]>
Co-authored-by: Copilot <[email protected]>
David Pine (IEvangelist)
pushed a commit
that referenced
this pull request
Nov 1, 2026
## Summary The "What's new" pages for Aspire 9.4 and 9.5 contain links ported from the old docs site that don't work on aspire.dev, plus one `[!INCLUDE]` directive that shows up as raw text. The site's links validator misses all of them. It runs with `errorOnRelativeLinks: false`, treats `https://aspire.dev/...` as external, and accepts redirect sources. **`whats-new/aspire-9-4.mdx`** | Before | After | Problem | |---|---|---| | `` [Aspire SDK](`microsoft/aspire/sdk`) `` | `/get-started/aspire-sdk/` | The target is in backticks, so it resolves to a 404 | | `cli-reference/aspire/` | `/reference/cli/commands/aspire/` | Bare relative link → 404 | | `cli-reference/aspire-config/` | `/reference/cli/commands/aspire-config/` | Bare relative link → 404 | | `[!INCLUDE [aspire exec feature flag note](cli/includes/exec-feature-flag-note/)]` | Inline 🧪 **Feature Flag** note, in the same style as the `aspire deploy` note on the same page | Rendered as literal text, with a 404 link | | `cli-reference/aspire-deploy/` | `/reference/cli/commands/aspire-deploy/` | Bare relative link → 404 | | `fundamentals/orchestrate-resources.md#express-external-service-resources` | `/reference/api/csharp/aspire.hosting/externalservicebuilderextensions/` | 404. No conceptual page covers `AddExternalService`, so it links to the API reference | | `https://aspire.dev/app-host/eventing/#apphost-life-cycle-events` | `#apphost-eventing` | Anchor doesn't exist | | `https://aspire.dev/app-host/configuration/#aspire-version-update-notifications` | `#version-update-notifications` | Anchor doesn't exist | **`whats-new/aspire-9-5.mdx`** | Before | After | Problem | |---|---|---| | `` [Aspire SDK](`microsoft/aspire/sdk`) `` | `/get-started/aspire-sdk/` | The target is in backticks → 404 | | `cli-reference/aspire-config-set/` | `/reference/cli/commands/aspire-config-set/` | Bare relative link → 404 | | "For more information, see [aspire exec command](cli-reference/aspire-exec/) reference." | Sentence removed | 404. `aspire exec` is no longer in the CLI, and `/reference/cli/commands/aspire-exec/` redirects to `aspire-resource`, which is a different command (#1814) | | `cli-reference/aspire-config/` | `/reference/cli/commands/aspire-config/` | Bare relative link → 404 | | `/integrations/reverse-proxies/yarp/#multi-stage-docker-builds` | `#static-file-serving` | Anchor doesn't exist. The static-files section is the one the text describes | | `/integrations/messaging/rabbitmq/rabbitmq-client/#auto-activation` | `/integrations/messaging/rabbitmq/rabbitmq-connect/#auto-activation` | The old path is a meta-refresh redirect stub that drops `#auto-activation` | **Regression test:** the new `tests/unit/docs-markdown-link-targets.vitest.test.ts` scans English docs markdown (skipping code fences) for these patterns: - `[!INCLUDE` directives - link targets wrapped in backticks - bare relative targets - anchored links to redirect sources - `https://aspire.dev/...` links to missing pages or missing heading anchors It skips the same paths the links validator excludes (`/reference/api/`, `/hub/`, `/i18n/`). **Scope:** open PR #1995 covers a different set of link gaps (dashboard anchors and Azure pages) and doesn't touch these lines. Other open PRs that edit these files (#1933, #1896, #1876) don't change these links either. ## Third-party links and affiliations None. ## Validation - **Regression test:** fails on `main` with 15 problems across the two files, and passes with this change (2/2). - **Unit tests:** `bun run test:unit` → 85 files, 1122 passed, 1 skipped. - **Lint:** `bun run lint` passes. - **Playwright, against the local dev server:** opened both pages and requested every changed link, checking the target anchor exists. - Before: 12 failures (404s, missing anchors, plus the raw `[!INCLUDE` text on 9.4). - After: all 12 links resolve, every anchor is present, and there is no `[!INCLUDE` text. - **Redirect behaviour:** checked against the production build artifact from `main` CI. `rabbitmq-client/#auto-activation` lands on `rabbitmq-connect/` with an empty hash, so the anchor is lost. **Before:** the 9.4 `aspire exec` section renders the raw directive. ![Before: Aspire 9.4 What's new shows literal "[!INCLUDE aspire exec feature flag note]" text](https://github.com/user-attachments/assets/6162ca7e-9bd6-4df9-8271-af24daae09e1) **After:** the feature-flag note renders.  **🤖 Posted by AspireAgent (AI Agent)** --------- Co-authored-by: davidfowl <[email protected]> Co-authored-by: Copilot <[email protected]>
Member
docs-pr-reviewer report — [partial — phase A: key claims evaluated; phase B: not run (docs site was not served in this automated run)]Recommendation: needs human Source used: n/a — placeholder page; related implementation microsoft/aspire#21230 not checked Phase A — claims
Phase B — doc-testerNot run; rendering of the changed pages is not browser-checked. 🤖 Posted by aspire.dev - squad (AI Agent) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
azd) toaspire deploy. Explicitly clarify that Azure Developer CLI andazd up,azd provision, andazd deployare not being retired.Intended destination for https://aka.ms/aspire/azd-transition: https://aspire.dev/deployment/azd-transition/. Short-link configuration is a separate step and is not performed by this PR.
Related implementation: microsoft/aspire#21230.
Third-party links and affiliations
None. Documentation links added by this change are site-relative.
Validation
pnpm --dir src/frontend exec vitest run --config vitest.config.ts tests/unit/banner-render.vitest.test.ts— passed, 7 tests.pnpm --dir src/frontend exec vitest run --config vitest.config.ts tests/unit/seo-lengths.vitest.test.ts— passed, 3 tests.pnpm --dir src/frontend exec eslint config/sidebar/deployment.topics.ts --max-warnings 0— passed.git diff --check— passed.playwright-clibrowser verification: banner visible and contained within a 375px viewport; clicking its link navigates to the placeholder page.