Uh oh!
There was an error while loading. Please reload this page.
Always build project irrespective of errors in dependency with tsc -b - #58854
Conversation
Sheetal Nandi (sheetalkamat)
commented
Jun 13, 2024
TypeScript Bot (@typescript-bot) test it |
TypeScript Bot (typescript-bot)
commented
Jun 13, 2024
Hey Sheetal Nandi (@sheetalkamat), the results of running the DT tests are ready. Everything looks the same! |
TypeScript Bot (typescript-bot)
commented
Jun 13, 2024
TypeScript Bot (typescript-bot)
commented
Jun 13, 2024
Sheetal Nandi (@sheetalkamat) Here they are:tscComparison Report - baseline..pr
System info unknown Hosts
Scenarios
Developer Information: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Jake Bailey (jakebailey)
commented
Jun 13, 2024
This is going to be awesome for benchmarking and extended testing, since we'll actually be able to build build-mode projects without them short circuiting, right? |
TypeScript Bot (typescript-bot)
commented
Jun 13, 2024
Sheetal Nandi (@sheetalkamat) Here are the results of running the top 400 repos with tsc comparing Everything looks good! |
Sheetal Nandi (sheetalkamat)
commented
Jun 14, 2024
Yes. While debugging you could just build without having to block on errors |
Sheetal Nandi (sheetalkamat)
commented
Jun 14, 2024
#58854 (comment) shows how more packages are being built and errors are reported |
Wesley Wigham (weswigham)
left a comment
There was a problem hiding this comment.
Since we don't do project concatenation anymore, there's not even a reason to block when noEmitOnError is set, neat.
Jake Bailey (jakebailey)
left a comment
There was a problem hiding this comment.
So excited for this one.
Are there any issues that this closes? I assume that docs will have to be updated too (surely we document the short circuiting somewhere...).
I also assume that nobody's hard depending on this behavior and we don't need some sort of flag to ask build mode to bail early on failures?
Sheetal Nandi (sheetalkamat)
commented
Jun 14, 2024
I am hoping we dont need a flag. If the need arises we should evaluate adding the flag at that point. |
Could that flag be |
Sheetal Nandi (sheetalkamat)
commented
Jun 14, 2024
Daniel Rosenwasser (@DanielRosenwasser) when i was working on this, i tried that option already and it has no effect, because "d.ts" files from referenced projects will not have errors and blocking project build just because its dependency had error means nothing really. its really whether d.ts file from referenced project has changed or not. |
Stav Alfi (stavalfi)
commented
Jun 21, 2024
Sheetal Nandi (@sheetalkamat) Does this PR means that if project1 depends on project2, if project 2 has an error, I would eventually see compilation errors in both projects? |
Sheetal Nandi (sheetalkamat)
commented
Jun 21, 2024
Yes |
No description provided.