Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

FixedsilentNeverType leak by propagating it throughgetIndexType#62825

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Andarist wants to merge2 commits intomicrosoft:main
base:main
Choose a base branch
Loading
fromAndarist:fix/silent-never-leak-index-type

Conversation

@Andarist
Copy link
Contributor

fixes#62824

@github-project-automationgithub-project-automationbot moved this toNot started inPR BacklogDec 2, 2025
@typescript-bottypescript-bot added the For Uncommitted BugPR for untriaged, rejected, closed or missing bug labelDec 2, 2025
@AndaristAndaristforce-pushed thefix/silent-never-leak-index-type branch from7565a32 to59bda8fCompareDecember 2, 2025 22:11
@typescript-bottypescript-bot added For Backlog BugPRs that fix a backlog bug and removed For Uncommitted BugPR for untriaged, rejected, closed or missing bug labelsDec 3, 2025
@github-project-automationgithub-project-automationbot moved this fromNot started toNeeds merge inPR BacklogDec 5, 2025
@jakebailey
Copy link
Member

@typescript-bot test it

typescript-bot reacted with thumbs up emoji

@typescript-bot
Copy link
Collaborator

typescript-bot commentedDec 5, 2025
edited
Loading

Starting jobs; this comment will be updated as builds start and complete.

CommandStatusResults
test top400✅ Started✅ Results
user test this✅ Started✅ Results
run dt✅ Started✅ Results
perf test this faster✅ Started👀 Results

@typescript-bot
Copy link
Collaborator

Hey@jakebailey, the results of running the DT tests are ready.

Everything looks the same!

You can check the log here.

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the user tests with tsc comparingmain andrefs/pull/62825/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Git clone failed"

Otherwise...

Everything looks good!

@typescript-bot
Copy link
Collaborator

@jakebailey
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
MetricbaselineprDeltaBestWorstp-value
Compiler-Unions - node (v18.15.0, x64)
Errors11~~~p=1.000 n=6
Symbols62,37062,370~~~p=1.000 n=6
Types50,38750,387~~~p=1.000 n=6
Memory used195,644k (± 0.71%)196,209k (± 0.13%)~195,779k196,520kp=0.423 n=6
Parse Time1.59s (± 1.73%)1.60s (± 1.23%)~1.57s1.62sp=0.368 n=6
Bind Time0.91s (± 1.89%)0.90s (± 1.66%)~0.89s0.93sp=0.563 n=6
Check Time11.95s (± 0.68%)11.98s (± 0.62%)~11.90s12.10sp=0.336 n=6
Emit Time3.36s (± 3.63%)3.47s (± 5.18%)~3.27s3.71sp=0.199 n=6
Total Time17.81s (± 0.73%)17.96s (± 0.69%)~17.82s18.14sp=0.128 n=6
angular-1 - node (v18.15.0, x64)
Errors22~~~p=1.000 n=6
Symbols956,050956,050~~~p=1.000 n=6
Types415,908415,908~~~p=1.000 n=6
Memory used1,255,236k (± 0.00%)1,255,185k (± 0.01%)~1,255,074k1,255,251kp=0.128 n=6
Parse Time7.97s (± 0.88%)8.03s (± 0.53%)~7.98s8.09sp=0.199 n=6
Bind Time2.34s (± 0.63%)2.34s (± 0.54%)~2.32s2.35sp=0.869 n=6
Check Time38.50s (± 0.27%)38.60s (± 0.41%)~38.29s38.75sp=0.092 n=6
Emit Time17.79s (± 0.63%)17.78s (± 0.77%)~17.68s17.98sp=0.687 n=6
Total Time66.60s (± 0.26%)66.74s (± 0.31%)~66.38s66.96sp=0.229 n=6
mui-docs - node (v18.15.0, x64)
Errors00~~~p=1.000 n=6
Symbols2,722,1302,722,130~~~p=1.000 n=6
Types937,535937,535~~~p=1.000 n=6
Memory used3,051,229k (± 0.01%)3,051,154k (± 0.00%)~3,051,020k3,051,367kp=0.575 n=6
Parse Time10.45s (± 0.39%)10.47s (± 0.54%)~10.40s10.53sp=0.871 n=6
Bind Time2.80s (± 0.98%)2.82s (± 0.47%)~2.80s2.84sp=0.418 n=6
Check Time114.33s (± 1.38%)112.23s (± 0.47%)-2.10s (- 1.83%)111.52s113.07sp=0.020 n=6
Emit Time0.38s (± 2.74%)0.38s (± 1.08%)~0.37s0.38sp=0.924 n=6
Total Time127.96s (± 1.25%)125.90s (± 0.42%)-2.06s (- 1.61%)125.24s126.74sp=0.016 n=6
self-build-src - node (v18.15.0, x64)
Errors00~~~p=1.000 n=6
Symbols1,252,0491,252,049~~~p=1.000 n=6
Types259,840259,840~~~p=1.000 n=6
Memory used3,003,894k (± 9.90%)3,125,587k (± 0.03%)~3,124,430k3,126,583kp=0.575 n=6
Parse Time6.61s (± 1.43%)6.71s (± 0.82%)+0.10s (+ 1.54%)6.62s6.77sp=0.045 n=6
Bind Time2.23s (± 1.68%)2.18s (± 1.32%)-0.05s (- 2.09%)2.15s2.23sp=0.024 n=6
Check Time43.03s (± 0.41%)43.09s (± 0.27%)~43.01s43.32sp=0.575 n=6
Emit Time3.52s (± 2.45%)3.42s (± 2.80%)~3.28s3.54sp=0.128 n=6
Total Time55.39s (± 0.29%)55.42s (± 0.17%)~55.31s55.53sp=0.810 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors00~~~p=1.000 n=6
Symbols1,252,0491,252,049~~~p=1.000 n=6
Types259,840259,840~~~p=1.000 n=6
Memory used3,188,530k (± 0.02%)3,188,965k (± 0.02%)~3,188,285k3,189,603kp=0.298 n=6
Parse Time6.81s (± 0.81%)6.83s (± 0.77%)~6.76s6.88sp=0.575 n=6
Bind Time2.25s (± 0.93%)2.25s (± 1.75%)~2.17s2.28sp=0.872 n=6
Check Time43.19s (± 0.36%)43.18s (± 0.28%)~43.07s43.40sp=1.000 n=6
Emit Time3.48s (± 1.21%)3.52s (± 1.48%)~3.45s3.58sp=0.298 n=6
Total Time55.73s (± 0.32%)55.77s (± 0.16%)~55.65s55.89sp=0.575 n=6
self-compiler - node (v18.15.0, x64)
Errors00~~~p=1.000 n=6
Symbols264,682264,682~~~p=1.000 n=6
Types104,051104,051~~~p=1.000 n=6
Memory used443,376k (± 0.00%)443,369k (± 0.01%)~443,308k443,447kp=0.689 n=6
Parse Time3.51s (± 0.83%)3.53s (± 0.77%)~3.49s3.57sp=0.469 n=6
Bind Time1.37s (± 1.34%)1.37s (± 1.28%)~1.34s1.39sp=0.685 n=6
Check Time19.19s (± 0.58%)19.17s (± 0.24%)~19.12s19.22sp=1.000 n=6
Emit Time1.55s (± 1.49%)1.53s (± 1.22%)~1.51s1.56sp=0.226 n=6
Total Time25.63s (± 0.40%)25.60s (± 0.24%)~25.51s25.68sp=0.810 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors7272~~~p=1.000 n=6
Symbols225,493225,493~~~p=1.000 n=6
Types94,37394,373~~~p=1.000 n=6
Memory used370,169k (± 0.02%)370,203k (± 0.04%)~370,102k370,457kp=1.000 n=6
Parse Time2.84s (± 0.79%)2.84s (± 0.91%)~2.81s2.88sp=0.746 n=6
Bind Time1.64s (± 1.12%)1.65s (± 1.31%)~1.62s1.68sp=0.217 n=6
Check Time16.58s (± 0.41%)16.65s (± 0.33%)~16.57s16.70sp=0.127 n=6
Emit Time0.00s0.00s~~~p=1.000 n=6
Total Time21.06s (± 0.37%)21.15s (± 0.32%)~21.08s21.26sp=0.128 n=6
vscode - node (v18.15.0, x64)
Errors1111~~~p=1.000 n=6
Symbols4,080,0684,080,068~~~p=1.000 n=6
Types1,285,6011,285,601~~~p=1.000 n=6
Memory used3,865,387k (± 0.00%)3,865,419k (± 0.00%)~3,865,289k3,865,533kp=0.521 n=6
Parse Time12.89s (± 0.27%)12.87s (± 0.18%)~12.85s12.90sp=0.418 n=6
Bind Time4.38s (± 0.44%)4.38s (± 0.49%)~4.35s4.41sp=0.935 n=6
Check Time94.13s (± 0.31%)94.94s (± 1.74%)~94.04s98.26sp=0.471 n=6
Emit Time31.48s (± 0.31%)32.30s (± 6.15%)~31.38s36.36sp=0.521 n=6
Total Time142.88s (± 0.23%)144.49s (± 2.52%)~142.83s151.89sp=0.378 n=6
webpack - node (v18.15.0, x64)
Errors4040~~~p=1.000 n=6
Symbols380,702380,702~~~p=1.000 n=6
Types166,804166,804~~~p=1.000 n=6
Memory used540,806k (± 0.02%)540,903k (± 0.02%)~540,772k541,050kp=0.378 n=6
Parse Time4.73s (± 0.67%)4.74s (± 0.90%)~4.68s4.80sp=0.747 n=6
Bind Time2.03s (± 1.33%)2.04s (± 1.09%)~2.01s2.06sp=0.462 n=6
Check Time22.98s (± 0.46%)23.02s (± 0.56%)~22.91s23.26sp=0.688 n=6
Emit Time0.00s0.00s~~~p=1.000 n=6
Total Time29.73s (± 0.39%)29.79s (± 0.46%)~29.67s30.05sp=0.630 n=6
xstate-main - node (v18.15.0, x64)
Errors3055🔻+25 (+83.33%)~~p=0.001 n=6
Symbols692,951693,344+393 (+ 0.06%)~~p=0.001 n=6
Types210,424210,839+415 (+ 0.20%)~~p=0.001 n=6
Memory used588,940k (± 0.03%)589,393k (± 0.02%)+454k (+ 0.08%)589,281k589,497kp=0.005 n=6
Parse Time4.18s (± 0.81%)4.20s (± 0.66%)~4.16s4.23sp=0.466 n=6
Bind Time1.42s (± 0.44%)1.42s (± 1.60%)~1.40s1.46sp=0.676 n=6
Check Time21.49s (± 1.68%)21.52s (± 2.47%)~20.84s22.20sp=0.470 n=6
Emit Time0.00s (±244.70%)0.00s (±154.76%)~0.00s0.01sp=0.595 n=6
Total Time27.09s (± 1.31%)27.15s (± 2.04%)~26.44s27.82sp=0.471 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Compiler-Unions - node (v18.15.0, x64)
  • angular-1 - node (v18.15.0, x64)
  • mui-docs - node (v18.15.0, x64)
  • self-build-src - node (v18.15.0, x64)
  • self-build-src-public-api - node (v18.15.0, x64)
  • self-compiler - node (v18.15.0, x64)
  • ts-pre-modules - node (v18.15.0, x64)
  • vscode - node (v18.15.0, x64)
  • webpack - node (v18.15.0, x64)
  • xstate-main - node (v18.15.0, x64)
BenchmarkNameIterations
Currentpr6
Baselinebaseline6

Developer Information:

Download Benchmarks

@jakebailey
Copy link
Member

Big xstate regression it seems

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the top 400 repos with tsc comparingmain andrefs/pull/62825/merge:

Everything looks good!

@jakebailey
Copy link
Member

@typescript-bot pack this

typescript-bot reacted with thumbs up emoji

@typescript-bot
Copy link
Collaborator

typescript-bot commentedDec 5, 2025
edited
Loading

Starting jobs; this comment will be updated as builds start and complete.

CommandStatusResults
pack this✅ Started✅ Results

@typescript-bot
Copy link
Collaborator

typescript-bot commentedDec 5, 2025
edited
Loading

Hey@jakebailey, I've packed this intoan installable tgz. You can install it for testing by referencing it in yourpackage.json like so:

{    "devDependencies": {        "typescript": "https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/166714/artifacts?artifactName=tgz&fileId=1265CC202DCC49DEA2B1D246A939D00563E44CC67B2EE06ABBB5368D2A608AD602&fileName=/typescript-6.0.0-insiders.20251205.tgz"    }}

and then runningnpm install.


There is also a playgroundfor this build and annpm module you can use via"typescript": "npm:@typescript-deploys/pr-build@6.0.0-pr-62825-9".;

@AndaristAndarist marked this pull request as draftDecember 6, 2025 17:03
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@jakebaileyjakebaileyjakebailey approved these changes

Assignees

No one assigned

Labels

For Backlog BugPRs that fix a backlog bug

Projects

Status: Needs merge

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

silentNeverType leak through return type inference

3 participants

@Andarist@jakebailey@typescript-bot

[8]ページ先頭

©2009-2025 Movatter.jp