Repository navigation
Add Deno hosting: AddDenoApp / DenoAppResource in Aspire.Hosting.JavaScript #18628
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
Merged
Sébastien Ros (sebastienros)
merged 91 commits into
microsoft:main
from
rickylabs:feat/deno-hosting-adddenoapp
Sep 2, 2026
Merged
Changes from 79 commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
d9500a1
Add AddDenoApp for Deno-native apps
rickylabs 6f6a2f0
feat(hosting-js): full Deno flag surface for AddDenoApp
rickylabs 9fe71cf
feat(hosting-js): pre-cache Deno image deps, set NODE_ENV, document s…
rickylabs f508946
feat(vscode-ext): add Deno debug adapter chain for AddDenoApp
rickylabs d5a3a1b
Fix Deno flag docs markdown lint
adamint e59d3a6
Fix Deno hosting debugger and publish behavior
adamint 817bde3
Fix Deno task import map args
adamint 227f040
Fix Deno task publish cache args
adamint ff1ce1f
Address Deno review feedback
davidfowl 942524e
Merge main into Deno hosting PR
davidfowl abacdca
Fix Deno review feedback
davidfowl e7f81b7
Handle Deno task debug launches
davidfowl 5c29498
Fix remaining Deno hosting feedback
davidfowl 36b0b42
Address Deno follow-up review feedback
davidfowl d432598
Fix Deno publish edge cases
davidfowl 38d1ebe
Fix Deno package-manager review feedback
davidfowl c9d6eb2
Address Deno hosting review coverage
davidfowl 353ab42
Address Deno hosting review feedback
davidfowl b0fd0a0
Address Deno reviewer suppressed-comment feedback
davidfowl 1ab7ffa
Align generated Deno package-script Dockerfile with Deno's Docker gui…
davidfowl b7d5be8
Reject comma-containing Deno permission values and correct deno serve…
davidfowl b81b01e
Reject serve host/port overrides and keep watch flags exclusive
davidfowl add3fb1
Follow POSIX double-quote escaping and generalize package-script docs
davidfowl bf6209f
Resolve the build image from the package manager when only a runtime …
davidfowl cf96718
Harden Deno shell boundary, flag conflicts, path checks, and permissi…
davidfowl 6484832
Document generalized Deno managed-flag conflicts and cache-policy sup…
davidfowl cf9538e
Remove trailing blank line in deno-flag-surface.md
davidfowl ccbeb8c
Quote all Dockerfile RUN commands, reject unterminated quotes, fix in…
davidfowl 06e6622
Forward resolution flags to deno cache and withdraw the serve endpoin…
davidfowl da8d131
Correct the PublishAsPackageScript docs about Deno dependency caching
davidfowl ea0d8b5
Unify Deno path validation and cover config aliases
davidfowl b5446ff
Address Deno integration review feedback
davidfowl 11d007e
Address final Deno review feedback
davidfowl 4360405
Honor OTLP protocol in Docker Compose
davidfowl 78e9a72
Reject dotenv files in generated Deno images
davidfowl f0a85bb
Fix Deno permission and path validation
davidfowl e25f047
Keep Deno runnable without an OTLP endpoint
davidfowl 36a5310
Document launch configuration callback context design
fc48eb7
docs: add launch configuration callback plan
ad326ea
Add launch configuration callback context
bfb9027
Fix launch producer restart handling
9a8c99a
Reset debug execution before rebuilding arguments
e9ea853
Migrate debug launch configuration producers
9efdff8
Finalize debug callback context API
65a56a7
Migrate debug support playground
ac32975
Fix debug support documentation whitespace
b0fcfd3
Address callback context review findings
8de33ce
Remove agent planning artifacts and restore load-bearing comments
900a331
Fix MAUI launch configuration regression and rename PrepareObjects
7d4d8fe
Address launch configuration context review
0ee07ef
Install Azure Functions Core Tools from release archive
2db433e
Recompute debug argument callbacks after original snapshot
6cb79d3
Validate legacy debug producer return type
1481f78
Revert unrelated Azure Functions tool install change
dcf4b09
Preserve launch override process args
024577a
Fix debug executable configuration snapshots
adamint 24588ab
Reuse original argument resolutions across the debug rewrite
adamint 5b8d2f3
Address review findings on debug launch configuration
adamint 92901b8
Fix debug argument rewrite reuse and legacy overload validation
adamint 64dd50d
Address debug launch context review feedback
3b95b28
Merge branch 'main' into adamint/issue-18956-launch-config-context
adamint a904ac7
Prevent later arg mutations from stripping debug-injected arguments
30d272c
Narrow debug launch context to resolved environment
35bea19
Clarify process-mode launch producer behavior
fa5c96c
Fix launch-override producer wiring
c5855b8
Clarify asynchronous debug producer guidance
7cdb91a
Cover the no-fallback rule when a launch configuration producer throws
b739005
Merge branch 'main' into adamint/issue-18956-launch-config-context
629c3ea
Merge remote-tracking branch 'upstream/main' into adamint/issue-18956…
130043f
Merge PR 19077 launch configuration changes
7447fcd
Merge latest main into Deno hosting PR
b9856e8
Document JavaScript runtime-specific hosting APIs
854a5a6
Validate Deno APIs through polyglot AppHosts
443c9f3
Honor OTLP protocols in Kubernetes publishing
7ae5fe6
Optimize Deno package-script Dockerfile layers
96cec63
Enable Deno telemetry only with OTLP endpoints
a842d49
Address Deno review follow-ups
50f3c87
Trigger Deno CI
9d03991
Use repository-local Deno setup action
ad47f25
Handle Deno entrypoint paths on Windows
a852b43
Fix final Deno CI dependencies
ecaf33f
Use HTTP for Deno telemetry validation
8bdb11f
Address final Deno hosting review feedback
4b0cfb9
Merge main into Deno hosting branch
1558a2d
Fix OTLP activation in publishers
a50d77c
Reject unsupported Deno publish modes
8198435
Fix explicit Deno launch metadata
ffd290c
Reject invalid Deno permission values
46c55c2
Merge origin/main into Deno hosting
sebastienros 61f50c6
Fix late Deno debugger cleanup registration
sebastienros 459393a
Fix Deno Python AppHost type validation
sebastienros 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,85 @@ | ||
| name: 'Setup Deno' | ||
| description: 'Installs the pinned Deno version used by Aspire tests' | ||
|
|
||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - name: Install Deno (Linux/macOS) | ||
| if: runner.os != 'Windows' | ||
| shell: bash | ||
| run: | | ||
| case "${{ runner.os }}-${{ runner.arch }}" in | ||
| Linux-X64) | ||
| TARGET="x86_64-unknown-linux-gnu" | ||
| SHA256="96c9c73fc05ea57603bc28d8071d41e861bd40bcf2a9f849dd5969ed1a2c8498" | ||
| ;; | ||
| Linux-ARM64) | ||
| TARGET="aarch64-unknown-linux-gnu" | ||
| SHA256="a0f266eb189af2f27db0c6dcf9eb2f68ba2e8bbff1442c969ace398463f8b2bf" | ||
| ;; | ||
| macOS-X64) | ||
| TARGET="x86_64-apple-darwin" | ||
| SHA256="04f71604d738ef2a3b0c08d00743b1a6580fd65d0dab604da2f57f30f4c74b55" | ||
| ;; | ||
| macOS-ARM64) | ||
| TARGET="aarch64-apple-darwin" | ||
| SHA256="2d11cf0505d4600a4492de8d07456a7a5e7eedebf68bdcbcb9092f520fcde0f1" | ||
| ;; | ||
| *) | ||
| echo "Unsupported runner: ${{ runner.os }}-${{ runner.arch }}" >&2 | ||
| exit 1 | ||
| ;; | ||
| esac | ||
|
|
||
| INSTALL_DIR="${RUNNER_TEMP}/deno-2.9.0" | ||
| ARCHIVE="${RUNNER_TEMP}/deno-${TARGET}.zip" | ||
| curl --fail --location --retry 5 --output "$ARCHIVE" \ | ||
| "https://github.com/denoland/deno/releases/download/v2.9.0/deno-${TARGET}.zip" | ||
|
|
||
| if [ "${{ runner.os }}" = "macOS" ]; then | ||
| echo "${SHA256} ${ARCHIVE}" | shasum --algorithm 256 --check | ||
| else | ||
| echo "${SHA256} ${ARCHIVE}" | sha256sum --check | ||
| fi | ||
|
|
||
| mkdir -p "$INSTALL_DIR" | ||
| unzip -q "$ARCHIVE" -d "$INSTALL_DIR" | ||
| chmod +x "$INSTALL_DIR/deno" | ||
| echo "$INSTALL_DIR" >> "$GITHUB_PATH" | ||
| "$INSTALL_DIR/deno" --version | ||
|
|
||
| - name: Install Deno (Windows) | ||
| if: runner.os == 'Windows' | ||
| shell: pwsh | ||
| run: | | ||
| $target, $sha256 = switch ("${{ runner.arch }}") { | ||
| "X64" { | ||
| "x86_64-pc-windows-msvc" | ||
| "37e3a8e5f4ee360d08bbeec9ee07fdcaa9dcd1a39d4aeaac5807354aec557451" | ||
| } | ||
| "ARM64" { | ||
| "aarch64-pc-windows-msvc" | ||
| "de3d31811dd583d6b15746db1463bebc204118aa0e8b3fe2b5ecc488ed198cbf" | ||
| } | ||
| default { | ||
| Write-Error "Unsupported runner: Windows-${{ runner.arch }}" | ||
| exit 1 | ||
| } | ||
| } | ||
|
|
||
| $installDir = Join-Path $env:RUNNER_TEMP "deno-2.9.0" | ||
| $archive = Join-Path $env:RUNNER_TEMP "deno-$target.zip" | ||
| Invoke-WebRequest ` | ||
| -Uri "https://github.com/denoland/deno/releases/download/v2.9.0/deno-$target.zip" ` | ||
| -OutFile $archive | ||
|
|
||
| $actualHash = (Get-FileHash -Algorithm SHA256 $archive).Hash | ||
| if ($actualHash -ne $sha256) { | ||
| Write-Error "Deno archive checksum mismatch. Expected $sha256, got $actualHash." | ||
| exit 1 | ||
| } | ||
|
|
||
| New-Item -ItemType Directory -Force -Path $installDir | Out-Null | ||
| Expand-Archive -Path $archive -DestinationPath $installDir -Force | ||
| $installDir | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
| & (Join-Path $installDir "deno.exe") --version |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.