René's URL Explorer Experiment


Title: refactor(compiler-cli): enforce authoritative ModuleFormat and single module-load boundary by clydin · Pull Request #72181 · angular/angular · GitHub

Open Graph Title: refactor(compiler-cli): enforce authoritative ModuleFormat and single module-load boundary by clydin · Pull Request #72181 · angular/angular

X Title: refactor(compiler-cli): enforce authoritative ModuleFormat and single module-load boundary by clydin · Pull Request #72181 · angular/angular

Description: Host-supplied ModuleFormat values are now authoritative across ng-analyze and the TypeScript preprocessor layer. Module loads resolve format via LoadResult.format, falling back to ResolveResult.format, then ModuleFormat::from_path for IdKind::Path modules, and failing with a HostError when still undetermined. Proactive un-resolved virtual overlays continue to default to TypeScript unless an explicit FileUpdate.format is supplied. FileIdInterner records each module's authoritative format so .d.ts classification, TypeScript source closure filtering, compilation-root gating, and NgModule chunk grouping consult ModuleFormat rather than path suffixes. AnalysisResult and FileUpdate also carry optional format metadata so ExpressionPrinter.emitTypes, HMR updates, and declaration-file tracking honor host-provided formats. Finally, ResolvedModule::code is removed from internal Rust resolution types while keeping inline code on the external wire protocol in BatchingHost. AnalysisHost::load is now the sole module-content path and ResolutionCache never retains module source strings.

Open Graph Description: Host-supplied ModuleFormat values are now authoritative across ng-analyze and the TypeScript preprocessor layer. Module loads resolve format via LoadResult.format, falling back to ResolveResult.for...

X Description: Host-supplied ModuleFormat values are now authoritative across ng-analyze and the TypeScript preprocessor layer. Module loads resolve format via LoadResult.format, falling back to ResolveResult.for...

Opengraph URL: https://github.com/angular/angular/pull/72181

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:40ee134e-e0db-a05d-7bb4-6b817f003329
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9954:3B6B85:2FFA03:3F5575:6B06166A
html-safe-nonceb821f9685523be87f1c9fd555206c2cc4bbb9afedfbff060a2d645c3074895aa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTU0OjNCNkI4NToyRkZBMDM6M0Y1NTc1OjZCMDYxNjZBIiwidmlzaXRvcl9pZCI6IjI0NTIzNjc5MjA1NTEzMDI3NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacec1057eaa9b15484d2d7d018c1c7b4c3ca29a1c79e81dbb3c9e73ab8a8b730ac
hovercard-subject-tagpull_request:5463460720
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular/pull/72181/files
twitter:imagehttps://avatars.githubusercontent.com/u/19598772?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/19598772?s=400&v=4
og:image:altHost-supplied ModuleFormat values are now authoritative across ng-analyze and the TypeScript preprocessor layer. Module loads resolve format via LoadResult.format, falling back to ResolveResult.for...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release866f202ebf7ac5aff8f633417d9fd8a53818a977
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/pull/72181/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F72181%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F72181%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/pull/72181/files
Reloadhttps://github.com/angular/angular/pull/72181/files
Reloadhttps://github.com/angular/angular/pull/72181/files
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues831 (831)https://github.com/angular/angular/issues
Pull requests123 (123)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
clydinhttps://github.com/clydin
angular:mainhttps://github.com/angular/angular/tree/main
clydin:ngp-host-h6https://github.com/clydin/angular/tree/ngp-host-h6
Conversation 0 https://github.com/angular/angular/pull/72181
Commits 2 https://github.com/angular/angular/pull/72181/commits
Checks 19 https://github.com/angular/angular/pull/72181/checks
Files changed 38 https://github.com/angular/angular/pull/72181/files
refactor(compiler-cli): enforce authoritative ModuleFormat and single module-load boundary https://github.com/angular/angular/pull/72181/files#top
Show all changes 2 commits https://github.com/angular/angular/pull/72181/files
ef5abb1 refactor(compiler-cli): expose AnalyzerHost protocol and auto-select … clydin Nov 12, 2026 https://github.com/angular/angular/pull/72181/commits/ef5abb18ad802817f06e82c916800bc984f707a2
aa40ff6 refactor(compiler-cli): enforce authoritative ModuleFormat and single… clydin Nov 23, 2026 https://github.com/angular/angular/pull/72181/commits/aa40ff653d52ff837f307afa3b8f92b1a5cdb39d
Clear filters https://github.com/angular/angular/pull/72181/files
Please reload this pagehttps://github.com/angular/angular/pull/72181/files
Please reload this pagehttps://github.com/angular/angular/pull/72181/files
api.ts https://github.com/angular/angular/pull/72181/files#diff-db5447d77a11327b2d7a822d82ad206c7e6cd9a7d22949f737f4b827e0f16339
di_facts.rs https://github.com/angular/angular/pull/72181/files#diff-823b7e2cbfe366480934075992196291f3925e269a06ab1b6db2388646febec5
transforms.rs https://github.com/angular/angular/pull/72181/files#diff-60b84f92ec5016a49849b2d4f498f4f5eb7634bacdee042a706d901e64cbe141
analyzer.rs https://github.com/angular/angular/pull/72181/files#diff-e7a79e568a3b4e77c7aefa78953723e9cdd51a485a0baa8b17fc175e53ed0be5
component.rs https://github.com/angular/angular/pull/72181/files#diff-dfc849879c7e72b3e7bd2b7b77f60ecc386d0ba31cbbfbd34d5c39a68630350f
ng_module.rs https://github.com/angular/angular/pull/72181/files#diff-ded44a8944f1cb60dba894b917567442249044554bfe0673ba87626a49c95f62
tests.rs https://github.com/angular/angular/pull/72181/files#diff-4a5760cb70939aeccfaa453b057b119cae8e60ffa6d0ef380c41583615683a27
fs.rs https://github.com/angular/angular/pull/72181/files#diff-c7785c4a5c448e46f0904a874fac9e8f70be80bded8530128c63d8fb050d98b7
batching.rs https://github.com/angular/angular/pull/72181/files#diff-4ab905daf0bab2c48f8b15999beb615ffc13d8c95852f6c2aff85495538c6d3b
default_fs.rs https://github.com/angular/angular/pull/72181/files#diff-c2035b7f4c9f7585a7ffd08902344af79937087d96ec7db416ef9930e46032ba
mod.rs https://github.com/angular/angular/pull/72181/files#diff-7850e3d4af529e9a25106850269840b2d6e5349461c0af7341ab4c33e586d5c0
engine.rs https://github.com/angular/angular/pull/72181/files#diff-866236297d5fb7a544d61433400aef3512722d8a68ae9fc85d2ed4b529feeffc
file_id.rs https://github.com/angular/angular/pull/72181/files#diff-5e9717bd59e21b10ef1bd1cbd51e403cd7f4358c48c32a7b5bfcb1553659180a
module_scope.rs https://github.com/angular/angular/pull/72181/files#diff-053bcbffb7a48c52bf71e4bff4f8f457c7d93cd5079c8ada4bd672ff2de947e2
resolution_cache.rs https://github.com/angular/angular/pull/72181/files#diff-2478a17b727ed1c9b1571a7c412ad41de76f6f85d743127c4f2c97491bc95e98
scope.rs https://github.com/angular/angular/pull/72181/files#diff-d6e7eb067313f87c4390de3decb13ae07cccb9c23b8b321443db998db892c0fe
resource_registry.rs https://github.com/angular/angular/pull/72181/files#diff-b60550bb7be6fa26abddf42541efbb99e204eec4fca421214318859c4b502dc5
analysis.rs https://github.com/angular/angular/pull/72181/files#diff-facab0539cc41d190635e69ee2e3cb2d04995c791605f0ed764f5e5d8f30079a
api.rs https://github.com/angular/angular/pull/72181/files#diff-5e66c544c0e6a3fb5d2c6e2714c36eaef978dd572ae18905104a7af8391b1a49
parsed.rs https://github.com/angular/angular/pull/72181/files#diff-bb7ec23ca2baa5a206a2174fd7ba227caa2d1c80ab014766d89ef322bad8bc9e
mod.rs https://github.com/angular/angular/pull/72181/files#diff-9fdbe282ea943bf00abfa8089073356e8317e1ec0204425238b7e264b7689078
analyzer_loader.ts https://github.com/angular/angular/pull/72181/files#diff-024f29335e06c56fca5a10eadf47bb805c0a4304bff371b18828c7b1e0a03585
analyzer_napi.ts https://github.com/angular/angular/pull/72181/files#diff-f789fc39e41c7e4bb097844d0d17d4fa610414b08b14a33dd9573c5ae76fb3d7
analyzer_sidecar.ts https://github.com/angular/angular/pull/72181/files#diff-5f387dadb7322aa8fc903a2bbe60793bbfecef3e016b303a7218b935ce9f71ff
analyzer_wasm.ts https://github.com/angular/angular/pull/72181/files#diff-bb224a50f5bacede764858556d22d22a159f53ab6701f1dadd430da72badcd65
hmr.ts https://github.com/angular/angular/pull/72181/files#diff-de8bd0c87efef8ee03a4eb90c0a658d6726bced7d2ab78153d372c33c4540ffc
hybrid_compiler.ts https://github.com/angular/angular/pull/72181/files#diff-60223c41d836c73215d29429fd266fd4aa0f5dc0303245d235aab7c2c6e4dbed
incremental.ts https://github.com/angular/angular/pull/72181/files#diff-96ff2d230bac437b0279fe251c4166838bb357d8c4369c67a9e32332cfe0ae5a
output_ast_printer.ts https://github.com/angular/angular/pull/72181/files#diff-9f89130c9871d1a558361bba89f723bca431d8cf80f792d228fbff9b1c626c95
processor.ts https://github.com/angular/angular/pull/72181/files#diff-11a554aadc1f61a057b3627c52168004340ba132daabd01546c3729336fd4d4d
types.ts https://github.com/angular/angular/pull/72181/files#diff-5cda70b78e16ec0f651d4b12291a191ac5d8e4d2f684fb7aeac0d92c9572cdac
analyzer_host_protocol_spec.ts https://github.com/angular/angular/pull/72181/files#diff-060118d62cebb5ebb8e7278a110fc2a50096faca17a454ce6cf9c7f0ed388dbe
analyzer_wasm_spec.ts https://github.com/angular/angular/pull/72181/files#diff-f4ca68ae7abb6a3b6ef6fc60d3b7b5947af97b122ce841dc1cf585d9b9082ab4
ast_printer_spec.ts https://github.com/angular/angular/pull/72181/files#diff-ac43abf71bf6958312a0d443618eff69c0de143b596dee08fbac953c622137e6
hybrid_compiler_update_queue_spec.ts https://github.com/angular/angular/pull/72181/files#diff-e0578d1610a2e2104abb0ca69dc06fcf5b055edd054cf885eeca006fe93eba57
incremental_emit_tracker_spec.ts https://github.com/angular/angular/pull/72181/files#diff-3d14424d6866fbe56c2aab7ecb1bd810b6460134cfa782d1d2b11d85b4ca8e33
project_relative_path_spec.ts https://github.com/angular/angular/pull/72181/files#diff-3160278b28d2f758752586bab16a924fd9525a0b57eae1b80e25763e834aeb83
sidecar_framing_spec.ts https://github.com/angular/angular/pull/72181/files#diff-76992aa70b1552ba6cf08d39a2b4c56c38672f36c4b754246c1ecada74762608
packages/compiler-cli/preprocessor/api.tshttps://github.com/angular/angular/pull/72181/files#diff-db5447d77a11327b2d7a822d82ad206c7e6cd9a7d22949f737f4b827e0f16339
View file https://github.com/angular/angular/blob/aa40ff653d52ff837f307afa3b8f92b1a5cdb39d/packages/compiler-cli/preprocessor/api.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/72181/{{ revealButtonHref }}
https://github.com/angular/angular/pull/72181/files#diff-db5447d77a11327b2d7a822d82ad206c7e6cd9a7d22949f737f4b827e0f16339
https://github.com/angular/angular/pull/72181/files#diff-db5447d77a11327b2d7a822d82ad206c7e6cd9a7d22949f737f4b827e0f16339
https://github.com/angular/angular/pull/72181/files#diff-db5447d77a11327b2d7a822d82ad206c7e6cd9a7d22949f737f4b827e0f16339
packages/compiler-cli/preprocessor/ng-analyze/src/analyzer/di_facts.rshttps://github.com/angular/angular/pull/72181/files#diff-823b7e2cbfe366480934075992196291f3925e269a06ab1b6db2388646febec5
View file https://github.com/angular/angular/blob/aa40ff653d52ff837f307afa3b8f92b1a5cdb39d/packages/compiler-cli/preprocessor/ng-analyze/src/analyzer/di_facts.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/72181/{{ revealButtonHref }}
https://github.com/angular/angular/pull/72181/files#diff-823b7e2cbfe366480934075992196291f3925e269a06ab1b6db2388646febec5
https://github.com/angular/angular/pull/72181/files#diff-823b7e2cbfe366480934075992196291f3925e269a06ab1b6db2388646febec5
packages/compiler-cli/preprocessor/ng-analyze/src/analyzer/transforms.rshttps://github.com/angular/angular/pull/72181/files#diff-60b84f92ec5016a49849b2d4f498f4f5eb7634bacdee042a706d901e64cbe141
View file https://github.com/angular/angular/blob/aa40ff653d52ff837f307afa3b8f92b1a5cdb39d/packages/compiler-cli/preprocessor/ng-analyze/src/analyzer/transforms.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/72181/{{ revealButtonHref }}
https://github.com/angular/angular/pull/72181/files#diff-60b84f92ec5016a49849b2d4f498f4f5eb7634bacdee042a706d901e64cbe141
https://github.com/angular/angular/pull/72181/files#diff-60b84f92ec5016a49849b2d4f498f4f5eb7634bacdee042a706d901e64cbe141
Please reload this pagehttps://github.com/angular/angular/pull/72181/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.