Skip to content

Fix Aspire regression scaffolding for package-based templates - #301

Merged
David Negstad (danegsta) merged 1 commit into
mainfrom
danegsta-aspire-regression-fixes
Oct 19, 2026
Merged

David Negstad (danegsta) merged 1 commit into
mainfrom
danegsta-aspire-regression-fixes

Conversation

@danegsta

Copy link
Copy Markdown
Member

The Aspire regression script assumes the daily CLI generates a #:sdk directive and fails when newer templates use package-based configuration instead.

Preserve all scaffolded #: build directives—including SDK/package pins and build properties—before appending the regression AppHost body. Leave scaffold validation to Aspire and .NET rather than requiring a particular directive type.

Extracts only the two test/aspire/ file changes from #292, with identical contents. No watcher, API-server, or dependency changes are included; #292 is otherwise unchanged.

Validation: shell syntax and whitespace checks pass. Controlled SDK-based, package-based, mixed-directive, and directive-free scaffolds preserve the exact expected directives and AppHost body. Actual Aspire E2E execution is left to the existing PR CI workflow.

Keep all build directives generated by the daily Aspire CLI instead of requiring a single SDK directive. This supports package-based templates and leaves scaffold validation to Aspire and .NET.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: d725021c-e976-45de-abfe-496756b8d520
@danegsta
David Negstad (danegsta) merged commit 786a30b into main Oct 19, 2026
12 checks passed
@danegsta
David Negstad (danegsta) deleted the danegsta-aspire-regression-fixes branch October 19, 2026 18:31
@danegsta

Copy link
Copy Markdown
Member Author

/backport to release/0.27

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

David Negstad (@danegsta) backport PR couldn't be created automatically, please create the backport PR manually!

Open backport PR into release/0.27.

@danegsta

Copy link
Copy Markdown
Member Author

/backport to release/0.26

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

David Negstad (@danegsta) backport PR couldn't be created automatically, please create the backport PR manually!

Open backport PR into release/0.26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants