Skip to content

Revert "[blazor] Extract current dotnet.d.ts from runtime pack for re… - #70374

Merged
maraf merged 1 commit into
mainfrom
revert-70344-maraf-runtime-typescript-definitions
Nov 7, 2026
Merged

maraf merged 1 commit into
mainfrom
revert-70344-maraf-runtime-typescript-definitions

Conversation

@maraf

@maraf maraf commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

…pository build"

See dotnet/dotnet#10802 (comment)

@maraf
maraf requested review from a team, SamMonoRT and wtgodbe as code owners November 7, 2026 09:47
Copilot AI balanced review requested due to automatic review settings November 7, 2026 09:47
@github-actions github-actions Bot added area-blazor Includes: Blazor, Razor Components area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework labels Nov 7, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

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 affected Windows_x64 VMR restore/build path was not executed, so source inspection alone cannot confirm that removing the runtime-pack download dependency resolves the reported failure.

No open issues 🎉

What changed in this PR

This PR reverts runtime-pack extraction of Blazor’s TypeScript declarations, restoring a checked-in dotnet.d.ts and removing the associated restore-time dependency.

Changes:

  • Restore the runtime declaration file to source control.
  • Remove runtime-pack download and declaration-copy targets, and simplify npm build inputs.
  • Remove build instructions that applied to generated, untracked declarations.
File Description
src/​Components/​dotnet-runtime-js/​dotnet.d.ts Restore checked-in .NET runtime TypeScript declarations.
src/​Components/​dotnet-runtime-js/​.gitignore Remove the ignore rule for dotnet.d.ts.
eng/​tools/​GenerateFiles/​GenerateFiles.csproj Remove the runtime-pack download and declaration-copy target.
eng/​Npm.Workspace.nodeproj Remove declaration restore orchestration and use the standard TypeScript input glob.
docs/​BuildFromSource.md Remove instructions for extracting declarations during restore.

Review effort: Balanced

@akoeplinger

Copy link
Copy Markdown
Member

/ba-g BA is pending but all builds passed

@maraf
maraf merged commit 9ff7a4d into main Nov 7, 2026
35 checks passed
@maraf
maraf deleted the revert-70344-maraf-runtime-typescript-definitions branch November 7, 2026 16:39
@maraf
maraf temporarily deployed to copilot-pat-pool November 7, 2026 16:39 — with GitHub Actions Inactive
@maraf
maraf temporarily deployed to copilot-pat-pool November 7, 2026 16:40 — with GitHub Actions Inactive
@maraf
maraf temporarily deployed to copilot-pat-pool November 7, 2026 16:40 — with GitHub Actions Inactive
@maraf
maraf temporarily deployed to copilot-pat-pool November 7, 2026 16:42 — with GitHub Actions Inactive
@maraf
maraf temporarily deployed to copilot-pat-pool November 7, 2026 16:43 — with GitHub Actions Inactive
@maraf
maraf temporarily deployed to copilot-pat-pool November 7, 2026 16:44 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

✅ No documentation PR was created.

Confidence that documentation is needed: 3%

No docs needed: the PR reverts a repository build change (eng files, dotnet.d.ts, BuildFromSource.md) and has no user-facing impact.

Documentation surfaces considered

  • Conceptual article: Not required — Build infrastructure revert; no public API or behavior change.
  • Migration guidance: Not required — No upgrade action for users.
  • Breaking change: Not required — No compatibility impact; no signals found.

@maraf
maraf temporarily deployed to copilot-pat-pool November 7, 2026 16:44 — with GitHub Actions Inactive
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 8, 2026

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 8d8050b2 Deployed Nov 7, 2026 by maraf via conclusion #234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants