René's URL Explorer Experiment


Title: OOME/Excessively deep type on upgrade from 4.9.4 to 5.x, introduced in 5.0.0-dev.20230203 · Issue #54517 · microsoft/TypeScript · GitHub

Open Graph Title: OOME/Excessively deep type on upgrade from 4.9.4 to 5.x, introduced in 5.0.0-dev.20230203 · Issue #54517 · microsoft/TypeScript

X Title: OOME/Excessively deep type on upgrade from 4.9.4 to 5.x, introduced in 5.0.0-dev.20230203 · Issue #54517 · microsoft/TypeScript

Description: Bug Report 🔎 Search Terms tsc 5.x Out of Memory Heap 🕗 Version & Regression Information This is a crash This changed between versions 5.0.0-dev.20230202 and 5.0.0-dev.20230203 ⏯ Playground Link Unavailable, as I'm trying to compile an in...

Open Graph Description: Bug Report 🔎 Search Terms tsc 5.x Out of Memory Heap 🕗 Version & Regression Information This is a crash This changed between versions 5.0.0-dev.20230202 and 5.0.0-dev.20230203 ⏯ Playground Link Una...

X Description: Bug Report 🔎 Search Terms tsc 5.x Out of Memory Heap 🕗 Version & Regression Information This is a crash This changed between versions 5.0.0-dev.20230202 and 5.0.0-dev.20230203 ⏯ Playground Link...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/54517

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OOME/Excessively deep type on upgrade from 4.9.4 to 5.x, introduced in 5.0.0-dev.20230203","articleBody":"# Bug Report\r\n\r\n### 🔎 Search Terms\r\n\r\ntsc 5.x Out of Memory Heap\r\n\r\n### 🕗 Version & Regression Information\r\n\r\n- This is a crash\r\n- This changed between versions 5.0.0-dev.20230202 and 5.0.0-dev.20230203\r\n\r\n### ⏯ Playground Link\r\n\r\nUnavailable, as I'm trying to compile an internal codebase, but I can provide access to our github repo if possible.\r\n\r\n### 💻 Code\r\n\r\nThe \"Type is excessively deep\" is being triggered in code that calls this function:\r\n\r\n```\r\nexport type LoadedCollaboration = Loaded\u003cCollaboration, \"parent\">;\r\nexport async function getCollaborationMetadata(c: LoadedCollaboration): Promise\u003cCollaborationMetadata> {\r\n  ...\r\n}\r\n```\r\n\r\nWhere `Loaded` is a mapped type (which is available in our open source project):\r\n\r\nhttps://github.com/stephenh/joist-ts/blob/main/packages/orm/src/loadHints.ts#L168\r\n\r\nAnd the `Collaboration` `\"parent\"` key (from our internal project) is a union type with ~20 different types in it:\r\n\r\n```\r\nexport type CollaborationParent =\r\n  | ScheduleSubPhase\r\n  | Approval\r\n  ...15 others...\r\n  | ToDo\r\n  | SchedulePhase;\r\n```\r\n\r\n### 🙁 Actual behavior\r\n\r\nIn TS 4.9.4, our codebase compiled fine, in about 50 seconds.\r\n\r\nI tried upgrading to TS 5.1.3, and the compile now OOMEs, and if given enough RAM, eventually after ~10-15 minutes, fails with a \"Type instantiation is excessively deep and possibly infinite\" error.\r\n\r\nBy using the 5.0.0 nightlies published to npm, I was able to bisect that version 5.0.0-dev.20230203 is what introducing the issue, and caused our compile times to jump from ~50 seconds -> 10+ minutes & fail with the type error.\r\n\r\n### 🙂 Expected behavior\r\n\r\n","author":{"url":"https://github.com/stephenh","@type":"Person","name":"stephenh"},"datePublished":"2023-06-04T20:34:40Z","url":"https://github.com/microsoft/TypeScript/issues/54517"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:023266e9-99d1-431b-d37d-e4b72d6e72d4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id96E4:17FB7:1D327B2:24FE538:6B01974C
html-safe-nonce78ad4210609c2471b917fb6706a3e70065ef9b4a8d73c9c8559ae0be24f67207
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkU0OjE3RkI3OjFEMzI3QjI6MjRGRTUzODo2QjAxOTc0QyIsInZpc2l0b3JfaWQiOiI1MjIyMDA0NDI5MjE3MTc1MzcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb8cc62eacb6731776a1545237ea2d3dc801e5205a97ed77c3e67eb3622c8b0ab
hovercard-subject-tagissue:1740574472
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/54517/issue_layout
twitter:imagehttps://opengraph.githubassets.com/85c602e863f3bb5de9c8348b9767134567ead7bd2c117e7e4802ffa4d0b60c93/microsoft/TypeScript/issues/54517
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/85c602e863f3bb5de9c8348b9767134567ead7bd2c117e7e4802ffa4d0b60c93/microsoft/TypeScript/issues/54517
og:image:altBug Report 🔎 Search Terms tsc 5.x Out of Memory Heap 🕗 Version & Regression Information This is a crash This changed between versions 5.0.0-dev.20230202 and 5.0.0-dev.20230203 ⏯ Playground Link Una...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestephenh
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/54517#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F54517
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%2Fmicrosoft%2FTypeScript%2Fissues%2F54517
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/54517
Reloadhttps://github.com/microsoft/TypeScript/issues/54517
Reloadhttps://github.com/microsoft/TypeScript/issues/54517
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/54517
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/54517
OOME/Excessively deep type on upgrade from 4.9.4 to 5.x, introduced in 5.0.0-dev.20230203https://github.com/microsoft/TypeScript/issues/54517#top
https://github.com/jakebailey
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
https://github.com/stephenh
Stephen Haberman (stephenh)https://github.com/stephenh
on Jun 4, 2023https://github.com/microsoft/TypeScript/issues/54517#issue-1740574472
https://github.com/stephenh/joist-ts/blob/main/packages/orm/src/loadHints.ts#L168https://github.com/stephenh/joist-ts/blob/main/packages/orm/src/loadHints.ts#L168
https://github.com/stephenh
Stephen Haberman (stephenh)https://github.com/stephenh
on Jun 4, 2023https://github.com/microsoft/TypeScript/issues/54517#issuecomment-1575703559
Jake Bailey (@jakebailey)https://github.com/jakebailey
#53087https://github.com/microsoft/TypeScript/issues/53087
https://github.com/stephenh
Stephen Haberman (stephenh)https://github.com/stephenh
on Jun 4, 2023https://github.com/microsoft/TypeScript/issues/54517#issuecomment-1575742125
trace2.tar.gzhttps://github.com/microsoft/TypeScript/files/11646720/trace2.tar.gz
https://github.com/fesieg
fesieghttps://github.com/fesieg
on Jun 5, 2023https://github.com/microsoft/TypeScript/issues/54517#issuecomment-1577168323
https://github.com/ernestostifano
Ernesto Stifano (ernestostifano)https://github.com/ernestostifano
on Jun 5, 2023https://github.com/microsoft/TypeScript/issues/54517#issuecomment-1577178973
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
on Jun 20, 2023https://github.com/microsoft/TypeScript/issues/54517#event-9581702791
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Jake Bailey (jakebailey)https://github.com/jakebailey
on Jun 20, 2023https://github.com/microsoft/TypeScript/issues/54517#event-9581703703
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
on Aug 14, 2023https://github.com/microsoft/TypeScript/issues/54517#issuecomment-1677210171
#52392https://github.com/microsoft/TypeScript/pull/52392
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Oct 12, 2023https://github.com/microsoft/TypeScript/issues/54517#issuecomment-1760178906
https://www.npmjs.com/package/every-ts#bisectinghttps://www.npmjs.com/package/every-ts#bisecting
Stephen Haberman (@stephenh)https://github.com/stephenh
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Oct 12, 2023https://github.com/microsoft/TypeScript/issues/54517#issuecomment-1760190613
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
on Oct 12, 2023https://github.com/microsoft/TypeScript/issues/54517#issuecomment-1760260833
Stephen Haberman (@stephenh)https://github.com/stephenh
#52392https://github.com/microsoft/TypeScript/pull/52392
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Oct 12, 2023https://github.com/microsoft/TypeScript/issues/54517#issuecomment-1760262702
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/54517
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/54517
Jake Bailey (jakebailey)https://github.com/jakebailey
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
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

Viewport: width=device-width


URLs of crawlers that visited me.