Skip to content

[docs] Update Go Delve server docs for new WithDelveServer API shape - #1449

Merged
David Pine (IEvangelist) merged 1 commit into
release/13.5from
docs/go-delve-server-api-19081-c0d8f4db97452aed
Aug 7, 2026
Merged

David Pine (IEvangelist) merged 1 commit into
release/13.5from
docs/go-delve-server-api-19081-c0d8f4db97452aed

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#19081

@sebastienros

Targeting release/13.5 based on the source PR milestone 13.5 (exact match).

Why

PR #19081 corrected the WithDelveServer / withDelveServer API shape on the Aspire.Hosting.Go integration:

  • WithDelveServer() now takes no port argument by default; WithDelveServer(DelveServerOptions) exposes AcceptMultiClient, OnlySameUser, ContinueOnStart, Log, and LogOutput.
  • The old WithDelveServer(int port = 2345) overload remains only as an obsolete binary-compatibility shim.
  • AcceptMultiClient casing was corrected and multi-client support now defaults to false.

The docs site's Go hosting integration page (go-host.mdx) still showed the old WithDelveServer(port: 2345) call and didn't document the new DelveServerOptions type, so it was out of sync with the shipped API.

What changed

  • src/frontend/src/content/docs/integrations/frameworks/go/go-host.mdx: Updated the "Headless Delve server" section to show WithDelveServer() with no args for the default case, added a new example showing DelveServerOptions (multi-client, continue-on-start, logging), added the options table (mirroring the integration README), and added a note about the obsolete port: overload.

No new pages were created; only the existing Go hosting page was updated.

Generated by PR Documentation Check for #19081 · auto · 43.4 AIC · ⌖ 8.04 AIC · ⊞ 19.4K · ◷

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Aug 7, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1449. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1449 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

@IEvangelist
David Pine (IEvangelist) marked this pull request as ready for review August 7, 2026 20:46
Copilot AI lite review requested due to automatic review settings August 7, 2026 20:46
@IEvangelist
David Pine (IEvangelist) merged commit 672882f into release/13.5 Aug 7, 2026
10 of 11 checks passed
@IEvangelist
David Pine (IEvangelist) deleted the docs/go-delve-server-api-19081-c0d8f4db97452aed branch August 7, 2026 20:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Aspire docs site’s Go hosting integration page to reflect the corrected WithDelveServer / withDelveServer API shape (default no-args overload plus the DelveServerOptions configuration path), aligning the documentation with the shipped Aspire.Hosting.Go integration behavior.

Changes:

  • Updates the headless Delve server examples to use WithDelveServer() / withDelveServer() with no arguments for the default behavior.
  • Adds a new advanced example showing configuration via DelveServerOptions (C#) and the equivalent TypeScript options object.
  • Adds an options table and a note about the obsolete WithDelveServer(int port = 2345) overload.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +436 to +437

| Option | Default | Delve behavior |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants