Skip to content

[docs] Document existing Dockerfile entrypoint handling for Go and Python - #1979

Merged
Eric Erhardt (eerhardt) merged 1 commit into
release/17.0from
docs/pr-21186-40914589241-1-16bd8b16ac91453c
Nov 16, 2026
Merged

Eric Erhardt (eerhardt) merged 1 commit into
release/17.0from
docs/pr-21186-40914589241-1-16bd8b16ac91453c

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#21186

Author: @IEvangelist-reviewed source PR author per source PR metadata (see source PR).

Targeting release/17.0 based on the source PR milestone 17.0 (exact_match).

Why

Publishing a Go or Python app with its own Dockerfile previously ignored the resource's entrypoint silently. Go now logs a warning when packagePath isn't the app directory; Python now fails when WithEntrypoint(...) changes the entrypoint. Docs didn't describe this.

Changes (updated pages)

  • src/frontend/src/content/docs/integrations/frameworks/python.mdx: new "Use an existing Dockerfile" section.
  • src/frontend/src/content/docs/integrations/frameworks/go/go-host.mdx: new "Use an existing Dockerfile" section under Publish Go apps.

Triggered signal: pr_body_has_cli_flag_mention (--publisher manifest note).

Generated by PR Documentation Check for #21186 · copilot · auto · 27.5 AIC · ⌖ 1.15 AIC · ⊞ 7.1K · ◷

@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

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

VS Code: Open PR #1979 artifacts

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

Copy link
Copy Markdown
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: approve

Source used: microsoft/aspire#21186 (merged 2026-10-29)
PR status: draft, mergeable, bot-authored, opened 2026-10-29 — not stale.

Phase A — claims

  • ✅ source PR merged ('Warn for Go and fail for Python publish when an existing Dockerfile ignores the entrypoint'); PublishAsDockerFile(c => c.WithEntrypoint(...)) workaround documented.
  • ⚠️ nuance: the section heading 'Use an existing Dockerfile' appears twice in the diff (Go and Python); confirm the Python page says it fails rather than warns.

Phase B — doc-tester

Not run; rendering of the changed pages is not browser-checked.

🤖 Posted by aspire.dev - squad (AI Agent)

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.

🔵 Needs a closer look

The publish-time behavior depends on an upstream change that could not be inspected, while dependency-free review constraints prevent runtime validation of the Python failure and Go warning.

No open issues 🎉

What changed in this PR

This documentation-only PR explains how existing Dockerfiles affect Go and Python publishing in Aspire 17.0, following microsoft/aspire#21186.

Changes:

  • Documents Python publishing failures when WithEntrypoint(...) changes the original entrypoint, including resolution options.
  • Explains Go warnings for non-default packagePath values, how to suppress them, and why manifest-only publishing does not show them.
File Description
src/​frontend/​src/​content/​docs/​integrations/​frameworks/​python.mdx Adds existing-Dockerfile guidance for entrypoint conflicts and remedies.
src/​frontend/​src/​content/​docs/​integrations/​frameworks/​go/​go-host.mdx Adds existing-Dockerfile guidance for package-path warnings and publishing exceptions.

Review effort: Balanced

@eerhardt
Eric Erhardt (eerhardt) merged commit 04de3cc into release/17.0 Nov 16, 2026
17 of 18 checks passed
@eerhardt
Eric Erhardt (eerhardt) deleted the docs/pr-21186-40914589241-1-16bd8b16ac91453c branch November 16, 2026 19:46
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