Repository navigation
Add opt-in AppHost Server v2 to the CLI bundle #20897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
David Fowler (davidfowl)
wants to merge
66
commits into
main
Choose a base branch
from
davidfowl/lean-native-runtime-feasibility
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+65,035
−159
Open
Changes from 14 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
a55fa46
Explore lean native hosting feasibility
davidfowl 41ec4cb
Explore native hosting compatibility edges
davidfowl 999d9d9
Explore native DCP primitives with Redis and PostgreSQL ports
davidfowl 357d7ac
Explore custom resource lifecycle with a Dev Tunnels port
davidfowl bb6f2ae
Explore ATS-native AppHost server and integration ports
davidfowl c44bd60
Wire the native ATS hosting experiment into aspire run
davidfowl 8145040
Explore ATS-native AppHost contracts and v2 integration authoring
davidfowl d8bd7f6
Add validated ATS-native model annotations to hosting experiment
davidfowl f95c659
Build ATS-native AppHost server with resource-preserving revisions
davidfowl 586ee2e
Preserve CLI contracts and generalize native server policies
davidfowl 1d10f9e
Document current native composition comparison boundaries
davidfowl 6ec0462
Record native server swap measurements and neutralize fixture process…
davidfowl 8167609
Implement native auxiliary backchannel contracts and verify server swaps
davidfowl d5f3fa4
Extract minimal native hosting kernel and generalize workload contracts
davidfowl d1f8583
Record final native baseline and diagnose stalled fixture shutdown
davidfowl 3e73af9
Preserve auxiliary removals and isolate unexpected request failures
davidfowl acd0823
Document verified auxiliary semantics and refreshed native footprint
davidfowl 5d493ca
Complete dismissed native Dashboard confirmations as rejected
davidfowl 0c53af0
Use typed native boundaries, diagnostic channels, and injectable clocks
davidfowl 55a766a
Fix native compiler references and PR feedback regressions
davidfowl 5b41044
Release backchannel stream capacity on natural completion
davidfowl d60a260
Pass explicit server launch mode from the native CLI override
davidfowl b16ea9f
Target native hosting at .NET 11 with replaceable RPC and logging
davidfowl b602d1e
Exclude non-integration native bindings from managed ATS compatibilit…
davidfowl 92e34d7
Clarify native integration authoring and existing-integration accepta…
davidfowl e39f682
Add native declarative hosting and real C# and TypeScript Redis integ…
davidfowl 89d4f08
Preserve fluent builder authoring over native ATS hosting
davidfowl d14684c
Fix native provider shutdown and lifecycle cleanup
davidfowl 6817d94
Refine native hosting lifetime and authoring contracts
davidfowl 6c392b7
Separate provider protocol parsing from invocation ownership
davidfowl 6e18215
Bound native provider shutdown and tolerate normal exit races
davidfowl 8664899
Drain C# provider resource invocations before local disposal
davidfowl 440f6f1
Preserve cleanup-only workspace authority for retirement retries
davidfowl 43a46a1
Serialize native workload mutations with symbolic configuration
davidfowl 4f7a4db
Drain native integration fixture requests before disconnecting
davidfowl 3421174
Reduce native RPC parsing and observation allocations
davidfowl c91a59d
Remove obsolete native hosting prototypes and simplify model guide
davidfowl 4592de5
Refine native hosting boundaries and provider activation cleanup
davidfowl c114106
Refactor native provider projections and RPC protocol boundaries
davidfowl 4f1f3c9
Release disconnected provider routes and bound activation cleanup
davidfowl 9b61bb9
Ship AppHost Server v2 behind a project-scoped CLI feature flag
davidfowl 6384d47
Merge latest main into AppHost Server v2
davidfowl 69dea46
Retain independent workload cleanup leases and monitor the launching CLI
davidfowl 2fe389d
Fix CI bundle publish logging and update native payload fixtures
davidfowl e399feb
Use the repository dotnet host for ATS build-time generators
davidfowl 5ead876
Retain bundle tooling for AppHost Server v2 developer overrides
davidfowl 0b74e0b
Address v2 feedback and support Windows guest RPC
davidfowl 6b6c18a
Keep named-pipe regression paths within Unix socket limits
davidfowl b940090
Expand v2 integration authoring with worked code examples
davidfowl ef1c879
Add native RPC authoring and cycle-safe workload allocation
davidfowl 6ed4096
Document integration-host codegen discovery and process lifetimes
davidfowl f756cd0
Separate native provider parsing, policy and code generation
davidfowl 441c568
Merge latest main into native runtime feasibility branch
davidfowl 729a089
Address native host review feedback and repair CI smoke expectations
davidfowl d5d2604
Fix readiness-cycle expectation in native revision smoke
davidfowl 8f236b5
Align v2 Compose authoring and deployment pipelines
davidfowl 5521946
Add native CSharp Docker Compose comparison integration
davidfowl 1e2cec0
Address native backchannel, layout and feature configuration reviews
davidfowl c277c18
Use portable executable paths in native Compose test fixture
davidfowl 705c640
Align native IPC ownership and DCP environment policy with Hosting
davidfowl b8b4a24
Address native host project and integration lifecycle feedback
davidfowl 246ff36
Await ordered native retirement without replaying startup failures
davidfowl 105693e
Drain native guest lifetimes before host shutdown
davidfowl 64e5860
Cover managed dashboard assembly launch and scoped CLI stops
davidfowl d54aa38
Make native hosting tests deterministic and snapshot generated artifacts
davidfowl 564f480
Validate native contract fingerprints without platform-specific snaps…
davidfowl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| # Native.Core.Tests builds AotSmoke but does not execute it. This independent lane | ||
| # executes the published binaries and generated SDK against real Docker, DCP and Chromium. | ||
| name: Native hosting validation | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| # Broad source/build coverage intentionally includes transitive MSBuild dependencies, | ||
| # linked files and runtime-only CLI/Dashboard/codegen inputs without a second project graph. | ||
| - 'src/**' | ||
| - 'eng/**' | ||
| - 'tests/Aspire.Hosting.Native.Core.Tests/**' | ||
| - 'tests/PolyglotAppHosts/Aspire.Hosting/TypeScript/package.json' | ||
| - 'tests/Directory.Build.*' | ||
| - 'tests/Shared/**' | ||
| - 'Directory.*' | ||
| - '*.props' | ||
| - '*.targets' | ||
| - '.editorconfig' | ||
| - '.config/**' | ||
| - 'global.json' | ||
| - 'NuGet.config' | ||
| - 'Aspire.slnx' | ||
| - 'restore.sh' | ||
| - 'build.sh' | ||
| - '.github/workflows/native-hosting-validation.yml' | ||
| push: | ||
| branches: [main, 'release/**'] | ||
| paths: | ||
| - 'src/**' | ||
| - 'eng/**' | ||
| - 'tests/Aspire.Hosting.Native.Core.Tests/**' | ||
| - 'tests/PolyglotAppHosts/Aspire.Hosting/TypeScript/package.json' | ||
| - 'tests/Directory.Build.*' | ||
| - 'tests/Shared/**' | ||
| - 'Directory.*' | ||
| - '*.props' | ||
| - '*.targets' | ||
| - '.editorconfig' | ||
| - '.config/**' | ||
| - 'global.json' | ||
| - 'NuGet.config' | ||
| - 'Aspire.slnx' | ||
| - 'restore.sh' | ||
| - 'build.sh' | ||
| - '.github/workflows/native-hosting-validation.yml' | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| concurrency: | ||
| group: native-hosting-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| native_hosting: | ||
| name: Native AOT, generated SDK, Docker, DCP, CLI and Dashboard | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 35 | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | ||
|
davidfowl marked this conversation as resolved.
Fixed
|
||
| with: | ||
| node-version: '24' | ||
| - name: Execute native hosting validation | ||
| run: bash eng/scripts/test-native-hosting.sh linux-x64 | ||
| - name: Upload native hosting evidence | ||
| if: always() | ||
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | ||
| with: | ||
| name: native-hosting-linux-x64 | ||
| path: | | ||
| artifacts/native-hosting/ci/logs/ | ||
| artifacts/native-hosting/native-dashboard.png | ||
| artifacts/native-hosting/ci/cli-apphost/*proof.json | ||
| if-no-files-found: warn | ||
| retention-days: 7 | ||
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.