microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
101k stars 12.48k forks source link

[ServerErrors][TypeScript] 5.5.0-dev.20240602 #58739

Closed typescript-bot closed 5 months ago

typescript-bot commented 5 months ago

The following errors were reported by 5.5.0-dev.20240602 Pipeline that generated this bug Logs for the pipeline run File that generated the pipeline

This run considered 300 popular TS repos from GH (after skipping the top 0).

Successfully analyzed 283 of 300 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 26 | | Detected no interesting changes | 257 | | Git clone failed | 3 | | Language service disabled in new TS | 1 | | Unknown failure | 13 |

Investigation Status

Repo Errors Outcome
typescript-bot commented 5 months ago
Error: Debug Failure. False expression: Token end is child end ``` Req #6129 - completionInfo at processChildNode (/typescript-5.4.5/lib/tsserver.js:173446:17) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInTypeReference (/typescript-5.4.5/lib/tsserver.js:30585:12) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInUnionOrIntersectionType (/typescript-5.4.5/lib/tsserver.js:30943:10) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInTypeReference (/typescript-5.4.5/lib/tsserver.js:30585:49) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInPropertyDeclaration (/typescript-5.4.5/lib/tsserver.js:30532:179) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at formatSpanWorker (/typescript-5.4.5/lib/tsserver.js:173176:5) at /typescript-5.4.5/lib/tsserver.js:173116:105 at getFormattingScanner (/typescript-5.4.5/lib/tsserver.js:171919:15) at Object.formatNodeGivenIndentation (/typescript-5.4.5/lib/tsserver.js:173116:10) at /typescript-5.4.5/lib/tsserver.js:160210:36 at flatMap (/typescript-5.4.5/lib/tsserver.js:2609:17) at Object.printAndFormatSnippetList (/typescript-5.4.5/lib/tsserver.js:160208:21) at getEntryForMemberCompletion (/typescript-5.4.5/lib/tsserver.js:159971:28) at createCompletionEntry (/typescript-5.4.5/lib/tsserver.js:159795:35) at getCompletionEntriesFromSymbols (/typescript-5.4.5/lib/tsserver.js:160382:19) at completionInfoFromData (/typescript-5.4.5/lib/tsserver.js:159451:23) at Object.getCompletionsAtPosition (/typescript-5.4.5/lib/tsserver.js:158993:24) at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.5/lib/tsserver.js:146550:35) at IOSession.getCompletions (/typescript-5.4.5/lib/tsserver.js:186785:54) at completionInfo (/typescript-5.4.5/lib/tsserver.js:185175:43) at /typescript-5.4.5/lib/tsserver.js:187569:69 at IOSession.executeWithRequestId (/typescript-5.4.5/lib/tsserver.js:187561:14) at IOSession.executeCommand (/typescript-5.4.5/lib/tsserver.js:187569:29) at IOSession.onMessage (/typescript-5.4.5/lib/tsserver.js:187611:51) at Interface. (/typescript-5.4.5/lib/tsserver.js:189196:14) ```

Repos no longer reporting the error

typescript-bot commented 5 months ago
Error: Debug Failure. False expression: Token end is child end ``` Req #2256 - completionInfo at processChildNode (/typescript-5.4.5/lib/tsserver.js:173446:17) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInPropertySignature (/typescript-5.4.5/lib/tsserver.js:30535:59) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInTypeLiteral (/typescript-5.4.5/lib/tsserver.js:30594:12) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInPropertyDeclaration (/typescript-5.4.5/lib/tsserver.js:30532:179) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at formatSpanWorker (/typescript-5.4.5/lib/tsserver.js:173176:5) at /typescript-5.4.5/lib/tsserver.js:173116:105 at getFormattingScanner (/typescript-5.4.5/lib/tsserver.js:171919:15) at Object.formatNodeGivenIndentation (/typescript-5.4.5/lib/tsserver.js:173116:10) at /typescript-5.4.5/lib/tsserver.js:160210:36 at flatMap (/typescript-5.4.5/lib/tsserver.js:2609:17) at Object.printAndFormatSnippetList (/typescript-5.4.5/lib/tsserver.js:160208:21) at getEntryForMemberCompletion (/typescript-5.4.5/lib/tsserver.js:159971:28) at createCompletionEntry (/typescript-5.4.5/lib/tsserver.js:159795:35) at getCompletionEntriesFromSymbols (/typescript-5.4.5/lib/tsserver.js:160382:19) at completionInfoFromData (/typescript-5.4.5/lib/tsserver.js:159451:23) at Object.getCompletionsAtPosition (/typescript-5.4.5/lib/tsserver.js:158993:24) at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.5/lib/tsserver.js:146550:35) at IOSession.getCompletions (/typescript-5.4.5/lib/tsserver.js:186785:54) at completionInfo (/typescript-5.4.5/lib/tsserver.js:185175:43) at /typescript-5.4.5/lib/tsserver.js:187569:69 at IOSession.executeWithRequestId (/typescript-5.4.5/lib/tsserver.js:187561:14) at IOSession.executeCommand (/typescript-5.4.5/lib/tsserver.js:187569:29) at IOSession.onMessage (/typescript-5.4.5/lib/tsserver.js:187611:51) at Interface. (/typescript-5.4.5/lib/tsserver.js:189196:14) ```

Repos no longer reporting the error

typescript-bot commented 5 months ago
Error: Debug Failure. False expression. ``` Req #4356 - completionInfo at consumeTokenAndAdvanceScanner (/typescript-5.4.5/lib/tsserver.js:173529:13) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173438:9) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInPropertySignature (/typescript-5.4.5/lib/tsserver.js:30535:92) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInTypeLiteral (/typescript-5.4.5/lib/tsserver.js:30594:12) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInTypeReference (/typescript-5.4.5/lib/tsserver.js:30585:49) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInParameter (/typescript-5.4.5/lib/tsserver.js:30529:177) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInMethodDeclaration (/typescript-5.4.5/lib/tsserver.js:30558:273) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at formatSpanWorker (/typescript-5.4.5/lib/tsserver.js:173176:5) at /typescript-5.4.5/lib/tsserver.js:173116:105 at getFormattingScanner (/typescript-5.4.5/lib/tsserver.js:171919:15) at Object.formatNodeGivenIndentation (/typescript-5.4.5/lib/tsserver.js:173116:10) at /typescript-5.4.5/lib/tsserver.js:160210:36 at flatMap (/typescript-5.4.5/lib/tsserver.js:2609:17) at Object.printAndFormatSnippetList (/typescript-5.4.5/lib/tsserver.js:160208:21) at getEntryForMemberCompletion (/typescript-5.4.5/lib/tsserver.js:159971:28) at createCompletionEntry (/typescript-5.4.5/lib/tsserver.js:159795:35) at getCompletionEntriesFromSymbols (/typescript-5.4.5/lib/tsserver.js:160382:19) at completionInfoFromData (/typescript-5.4.5/lib/tsserver.js:159451:23) at Object.getCompletionsAtPosition (/typescript-5.4.5/lib/tsserver.js:158993:24) at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.5/lib/tsserver.js:146550:35) at IOSession.getCompletions (/typescript-5.4.5/lib/tsserver.js:186785:54) at completionInfo (/typescript-5.4.5/lib/tsserver.js:185175:43) at /typescript-5.4.5/lib/tsserver.js:187569:69 at IOSession.executeWithRequestId (/typescript-5.4.5/lib/tsserver.js:187561:14) at IOSession.executeCommand (/typescript-5.4.5/lib/tsserver.js:187569:29) at IOSession.onMessage (/typescript-5.4.5/lib/tsserver.js:187611:51) at Interface. (/typescript-5.4.5/lib/tsserver.js:189196:14) ```

Repos no longer reporting the error

typescript-bot commented 5 months ago
Error: Debug Failure. False expression. ``` Req #8792 - completionInfo at consumeTokenAndAdvanceScanner (/typescript-5.4.5/lib/tsserver.js:173529:13) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173438:9) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInParameter (/typescript-5.4.5/lib/tsserver.js:30529:135) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInMethodSignature (/typescript-5.4.5/lib/tsserver.js:30561:186) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInTypeLiteral (/typescript-5.4.5/lib/tsserver.js:30594:12) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInUnionOrIntersectionType (/typescript-5.4.5/lib/tsserver.js:30943:10) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInParameter (/typescript-5.4.5/lib/tsserver.js:30529:177) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInMethodDeclaration (/typescript-5.4.5/lib/tsserver.js:30558:273) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at formatSpanWorker (/typescript-5.4.5/lib/tsserver.js:173176:5) at /typescript-5.4.5/lib/tsserver.js:173116:105 at getFormattingScanner (/typescript-5.4.5/lib/tsserver.js:171919:15) at Object.formatNodeGivenIndentation (/typescript-5.4.5/lib/tsserver.js:173116:10) at /typescript-5.4.5/lib/tsserver.js:160210:36 at flatMap (/typescript-5.4.5/lib/tsserver.js:2609:17) at Object.printAndFormatSnippetList (/typescript-5.4.5/lib/tsserver.js:160208:21) at getEntryForMemberCompletion (/typescript-5.4.5/lib/tsserver.js:159971:28) at createCompletionEntry (/typescript-5.4.5/lib/tsserver.js:159795:35) at getCompletionEntriesFromSymbols (/typescript-5.4.5/lib/tsserver.js:160382:19) at completionInfoFromData (/typescript-5.4.5/lib/tsserver.js:159451:23) at Object.getCompletionsAtPosition (/typescript-5.4.5/lib/tsserver.js:158993:24) at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.5/lib/tsserver.js:146550:35) at IOSession.getCompletions (/typescript-5.4.5/lib/tsserver.js:186785:54) at completionInfo (/typescript-5.4.5/lib/tsserver.js:185175:43) at /typescript-5.4.5/lib/tsserver.js:187569:69 at IOSession.executeWithRequestId (/typescript-5.4.5/lib/tsserver.js:187561:14) at IOSession.executeCommand (/typescript-5.4.5/lib/tsserver.js:187569:29) at IOSession.onMessage (/typescript-5.4.5/lib/tsserver.js:187611:51) at Interface. (/typescript-5.4.5/lib/tsserver.js:189196:14) ```

Repos no longer reporting the error

typescript-bot commented 5 months ago
Error: Debug Failure. False expression. ``` Req #7097 - completionInfo at consumeTokenAndAdvanceScanner (/typescript-5.4.5/lib/tsserver.js:173529:13) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173438:9) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInPropertySignature (/typescript-5.4.5/lib/tsserver.js:30535:92) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInTypeLiteral (/typescript-5.4.5/lib/tsserver.js:30594:12) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInUnionOrIntersectionType (/typescript-5.4.5/lib/tsserver.js:30943:10) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInParenthesizedTypeOrTypeOperator (/typescript-5.4.5/lib/tsserver.js:30946:10) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInIndexedAccessType (/typescript-5.4.5/lib/tsserver.js:30619:12) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInConditionalType (/typescript-5.4.5/lib/tsserver.js:30605:90) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInTypeParameter (/typescript-5.4.5/lib/tsserver.js:30520:131) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInMethodDeclaration (/typescript-5.4.5/lib/tsserver.js:30558:221) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at formatSpanWorker (/typescript-5.4.5/lib/tsserver.js:173176:5) at /typescript-5.4.5/lib/tsserver.js:173116:105 at getFormattingScanner (/typescript-5.4.5/lib/tsserver.js:171919:15) at Object.formatNodeGivenIndentation (/typescript-5.4.5/lib/tsserver.js:173116:10) at /typescript-5.4.5/lib/tsserver.js:160210:36 at flatMap (/typescript-5.4.5/lib/tsserver.js:2609:17) at Object.printAndFormatSnippetList (/typescript-5.4.5/lib/tsserver.js:160208:21) at getEntryForMemberCompletion (/typescript-5.4.5/lib/tsserver.js:159971:28) at createCompletionEntry (/typescript-5.4.5/lib/tsserver.js:159795:35) at getCompletionEntriesFromSymbols (/typescript-5.4.5/lib/tsserver.js:160382:19) at completionInfoFromData (/typescript-5.4.5/lib/tsserver.js:159451:23) at Object.getCompletionsAtPosition (/typescript-5.4.5/lib/tsserver.js:158993:24) at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.5/lib/tsserver.js:146550:35) at IOSession.getCompletions (/typescript-5.4.5/lib/tsserver.js:186785:54) at completionInfo (/typescript-5.4.5/lib/tsserver.js:185175:43) at /typescript-5.4.5/lib/tsserver.js:187569:69 at IOSession.executeWithRequestId (/typescript-5.4.5/lib/tsserver.js:187561:14) at IOSession.executeCommand (/typescript-5.4.5/lib/tsserver.js:187569:29) at IOSession.onMessage (/typescript-5.4.5/lib/tsserver.js:187611:51) at Interface. (/typescript-5.4.5/lib/tsserver.js:189196:14) ```

Repos no longer reporting the error

typescript-bot commented 5 months ago

RangeError: Maximum call stack size exceeded

Req #141 - references
    at escapeString (/typescript-5.5.0-dev.20240602/lib/typescript.js:19871:12)
    at escapeNonAsciiString (/typescript-5.5.0-dev.20240602/lib/typescript.js:19875:7)
    at getLiteralText (/typescript-5.5.0-dev.20240602/lib/typescript.js:17049:22)
    at getLiteralTextOfNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:121774:12)
    at emitLiteral (/typescript-5.5.0-dev.20240602/lib/typescript.js:119141:18)
    at pipelineEmitWithHintWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:118985:18)
    at pipelineEmitWithHint (/typescript-5.5.0-dev.20240602/lib/typescript.js:118635:7)
    at pipelineEmit (/typescript-5.5.0-dev.20240602/lib/typescript.js:118584:5)
    at print (/typescript-5.5.0-dev.20240602/lib/typescript.js:118502:5)
    at Object.writeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:118443:5)
    at symbolToStringWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:53940:15)
    at usingSingleLineStringWriter (/typescript-5.5.0-dev.20240602/lib/typescript.js:16318:5)
    at symbolToString (/typescript-5.5.0-dev.20240602/lib/typescript.js:53935:62)
    at isSymbolAccessibleWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:53797:30)
    at isSymbolAccessible (/typescript-5.5.0-dev.20240602/lib/typescript.js:53775:12)
    at serializeTypeName (/typescript-5.5.0-dev.20240602/lib/typescript.js:56234:11)
    at visitExistingNodeTreeSymbolsWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:56582:36)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56304:24)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryReuseExistingTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:56294:27)
    at tryReuseExistingNonParameterTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54120:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54579:32)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at serializeExistingTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:56286:14)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56309:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryReuseExistingTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:56294:27)
    at tryReuseExistingNonParameterTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54120:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54579:32)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at serializeExistingTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:56286:14)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56309:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryReuseExistingTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:56294:27)
    at tryReuseExistingNonParameterTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54120:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54579:32)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at serializeExistingTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:56286:14)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56309:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryReuseExistingTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:56294:27)
    at tryReuseExistingNonParameterTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54120:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54579:32)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at serializeExistingTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:56286:14)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56309:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryReuseExistingTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:56294:27)
    at tryReuseExistingNonParameterTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54120:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54579:32)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at serializeExistingTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:56286:14)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56309:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryReuseExistingTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:56294:27)
    at tryReuseExistingNonParameterTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54120:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54579:32)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at serializeExistingTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:56286:14)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56309:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryReuseExistingTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:56294:27)
    at tryReuseExistingNonParameterTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54120:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54579:32)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at serializeExistingTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:56286:14)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56309:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryReuseExistingTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:56294:27)
    at tryReuseExistingNonParameterTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54120:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54579:32)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at serializeExistingTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:56286:14)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56309:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryReuseExistingTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:56294:27)
    at tryReuseExistingNonParameterTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54120:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54579:32)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at serializeExistingTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:56286:14)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56309:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryReuseExistingTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:56294:27)
    at tryReuseExistingNonParameterTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54120:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54579:32)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at serializeExistingTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:56286:14)
    at visitExistingNodeTreeSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:56309:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)

Affected repos

styled-components/styled-components Raw error text: RepoResults2/styled-components.styled-components.rawError.txt in the artifact folder
Replay commands: RepoResults2/styled-components.styled-components.replay.txt in the artifact folder

Last few requests

```json {"seq":138,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/styled-components/src/index.ts","line":1,"offset":58}} {"seq":139,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/styled-components/src/index.ts","line":3,"offset":7,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":140,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/styled-components/src/index.ts","line":12,"offset":19}} {"seq":141,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/styled-components/src/index.ts","line":29,"offset":10}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/styled-components/styled-components --recurse-submodules git -C "./styled-components" reset --hard 770d1fa2bc1a4bfe3eea1b14a0357671ba9407a4 yarn --cwd "/mnt/ts_downloads/base/styled-components" install --no-immutable --mode=skip-build downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults2.zip "$downloadUrl" unzip -p RepoResults2.zip RepoResults2/styled-components.styled-components.replay.txt > styled-components.styled-components.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./styled-components ./styled-components.styled-components.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression.

Req #10939 - references
    at Object.resetTokenState (/typescript-5.5.0-dev.20240602/lib/typescript.js:14607:11)
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148054:11)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148082:3)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInFunctionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:31802:111)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:136380:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:136353:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240602/lib/typescript.js:136350:10)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:168827:33
    at mapDefined (/typescript-5.5.0-dev.20240602/lib/typescript.js:2704:22)
    at getPossibleSymbolReferenceNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:168826:12)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:168895:25
    at flatMap (/typescript-5.5.0-dev.20240602/lib/typescript.js:2634:17)
    at getAllReferencesForKeyword (/typescript-5.5.0-dev.20240602/lib/typescript.js:168893:24)
    at getReferencedSymbolsSpecial (/typescript-5.5.0-dev.20240602/lib/typescript.js:168435:14)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:168215:23)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:167837:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:149324:41)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:188521:43
    at searchPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:188663:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:188642:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:188513:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:190435:24)
    at references (/typescript-5.5.0-dev.20240602/lib/typescript.js:188940:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

invoke-ai/InvokeAI Raw error text: RepoResults4/invoke-ai.InvokeAI.rawError.txt in the artifact folder
Replay commands: RepoResults4/invoke-ai.InvokeAI.replay.txt in the artifact folder

Last few requests

```json {"seq":10936,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/invokeai/frontend/web/src/features/parameters/store/generationSlice.ts","line":114,"offset":17,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":10937,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/invokeai/frontend/web/src/features/parameters/store/generationSlice.ts","line":121,"offset":44}} {"seq":10938,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/invokeai/frontend/web/src/features/parameters/store/generationSlice.ts","line":149,"offset":27,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":10939,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/invokeai/frontend/web/src/features/parameters/store/generationSlice.ts","line":157,"offset":62}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/invoke-ai/InvokeAI --recurse-submodules git -C "./InvokeAI" reset --hard 6b24424727ecc5f0d1c6df0bf2c2e38c125520ac # Install packages (exact steps are below, but it might be easier to follow the repo readme) pnpm --dir "/mnt/ts_downloads/base/InvokeAI/invokeai/frontend/web" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent npm --prefix "/mnt/ts_downloads/base/InvokeAI/invokeai/frontend/web/scripts" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults4&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults4.zip "$downloadUrl" unzip -p RepoResults4.zip RepoResults4/invoke-ai.InvokeAI.replay.txt > invoke-ai.InvokeAI.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./InvokeAI ./invoke-ai.InvokeAI.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression.

Req #3316 - references
    at Object.resetTokenState (/typescript-5.5.0-dev.20240602/lib/typescript.js:14607:11)
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148054:11)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148082:3)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInFunctionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:31802:111)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:136380:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:136353:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240602/lib/typescript.js:136350:10)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:168827:33
    at mapDefined (/typescript-5.5.0-dev.20240602/lib/typescript.js:2704:22)
    at getPossibleSymbolReferenceNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:168826:12)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:168895:25
    at flatMap (/typescript-5.5.0-dev.20240602/lib/typescript.js:2634:17)
    at getAllReferencesForKeyword (/typescript-5.5.0-dev.20240602/lib/typescript.js:168893:24)
    at getReferencedSymbolsSpecial (/typescript-5.5.0-dev.20240602/lib/typescript.js:168435:14)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:168215:23)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:167837:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:149324:41)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:188521:43
    at searchPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:188663:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:188642:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:188513:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:190435:24)
    at references (/typescript-5.5.0-dev.20240602/lib/typescript.js:188940:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

toeverything/AFFiNE Raw error text: RepoResults2/toeverything.AFFiNE.rawError.txt in the artifact folder
Replay commands: RepoResults2/toeverything.AFFiNE.replay.txt in the artifact folder

Last few requests

```json {"seq":3313,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/packages/frontend/electron/test/main/mocks/app-adapter.ts"}} {"seq":3314,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/packages/frontend/electron/test/main/mocks/app-adapter.ts","textChanges":[{"newText":" //comment","start":{"line":1,"offset":67},"end":{"line":1,"offset":67}}]}],"closedFiles":[],"openFiles":[]}} {"seq":3315,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/frontend/electron/test/main/mocks/app-adapter.ts","line":5,"offset":57}} {"seq":3316,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/frontend/electron/test/main/mocks/app-adapter.ts","line":31,"offset":46}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/toeverything/AFFiNE --recurse-submodules git -C "./AFFiNE" reset --hard 03be1d66f98c8222399f44d58c46348ce28c0a5a downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults2.zip "$downloadUrl" unzip -p RepoResults2.zip RepoResults2/toeverything.AFFiNE.replay.txt > toeverything.AFFiNE.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./AFFiNE ./toeverything.AFFiNE.replay.txt ```
typescript-bot commented 5 months ago

RangeError: Maximum call stack size exceeded

Req #18859 - completionInfo
    at isDeprecatedSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:51019:30)
    at checkIdentifierCalculateNodeCheckFlags (/typescript-5.5.0-dev.20240602/lib/typescript.js:74589:9)
    at checkIdentifier (/typescript-5.5.0-dev.20240602/lib/typescript.js:74628:5)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83159:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkNonNullExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:77348:29)
    at getQuickTypeOfExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83084:139)
    at checkDeclarationInitializer (/typescript-5.5.0-dev.20240602/lib/typescript.js:82809:18)
    at getTypeForVariableLikeDeclaration (/typescript-5.5.0-dev.20240602/lib/typescript.js:58903:66)
    at getWidenedTypeForVariableLikeDeclaration (/typescript-5.5.0-dev.20240602/lib/typescript.js:59350:48)
    at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:59498:14)
    at getTypeOfVariableOrParameterOrProperty (/typescript-5.5.0-dev.20240602/lib/typescript.js:59431:20)
    at getTypeOfSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:59760:14)
    at getNarrowedTypeOfSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:74501:18)
    at checkIdentifier (/typescript-5.5.0-dev.20240602/lib/typescript.js:74640:16)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83159:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at getContextFreeTypeOfExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83103:42)
    at addEvolvingArrayElementType (/typescript-5.5.0-dev.20240602/lib/typescript.js:72610:80)
    at getTypeAtFlowArrayMutation (/typescript-5.5.0-dev.20240602/lib/typescript.js:73127:32)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72993:18)
    at getTypeAtFlowBranchLabel (/typescript-5.5.0-dev.20240602/lib/typescript.js:73191:26)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72991:48)
    at getTypeAtFlowLoopLabel (/typescript-5.5.0-dev.20240602/lib/typescript.js:73256:22)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72991:81)
    at getTypeAtFlowCondition (/typescript-5.5.0-dev.20240602/lib/typescript.js:73143:24)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72983:18)
    at getFlowTypeOfReference (/typescript-5.5.0-dev.20240602/lib/typescript.js:72934:45)
    at checkIdentifier (/typescript-5.5.0-dev.20240602/lib/typescript.js:74684:134)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83159:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionWithContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:82763:18)
    at getSignatureApplicabilityError (/typescript-5.5.0-dev.20240602/lib/typescript.js:78593:25)
    at chooseOverload (/typescript-5.5.0-dev.20240602/lib/typescript.js:79130:13)
    at resolveCall (/typescript-5.5.0-dev.20240602/lib/typescript.js:78977:16)
    at resolveCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79414:12)
    at resolveSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79807:16)
    at getResolvedSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79833:18)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79944:23)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkConditionalExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:82713:19)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83239:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionCached (/typescript-5.5.0-dev.20240602/lib/typescript.js:82787:28)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:81262:20
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17722:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInIfStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:31961:51)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at forEachReturnStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:17718:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.5.0-dev.20240602/lib/typescript.js:81243:5)
    at getReturnTypeFromBody (/typescript-5.5.0-dev.20240602/lib/typescript.js:81056:21)
    at getReturnTypeOfSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:62543:426)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79969:24)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at maybeCheckExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:82202:28)
    at BinaryExpressionStateMachine.onLeft (/typescript-5.5.0-dev.20240602/lib/typescript.js:82138:16)
    at Array.left (/typescript-5.5.0-dev.20240602/lib/typescript.js:31403:30)
    at trampoline (/typescript-5.5.0-dev.20240602/lib/typescript.js:31507:42)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:82096:22
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83237:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionCached (/typescript-5.5.0-dev.20240602/lib/typescript.js:82787:28)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:81262:20
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17722:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at forEachReturnStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:17718:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.5.0-dev.20240602/lib/typescript.js:81243:5)
    at getReturnTypeFromBody (/typescript-5.5.0-dev.20240602/lib/typescript.js:81056:21)
    at getReturnTypeOfSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:62543:426)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79969:24)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionCached (/typescript-5.5.0-dev.20240602/lib/typescript.js:82787:28)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:81262:20
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17722:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInIfStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:31961:51)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)

Affected repos

angular/angular-cli Raw error text: RepoResults3/angular.angular-cli.rawError.txt in the artifact folder
Replay commands: RepoResults3/angular.angular-cli.replay.txt in the artifact folder

Last few requests

```json {"seq":18856,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":55077,"offset":27}} {"seq":18857,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":55087,"offset":36,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":18858,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":55087,"offset":36,"entryNames":["__copyProps"]}} {"seq":18859,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":55101,"offset":75,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/angular/angular-cli --recurse-submodules git -C "./angular-cli" reset --hard 22e05dcb4a9ae963997c58fad86125ca51b19a36 # Install packages (exact steps are below, but it might be easier to follow the repo readme) yarn --cwd "/mnt/ts_downloads/base/angular-cli" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/schematics/update/packages/update-peer-dependencies-angular-5-2" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/schematics/update/packages/update-peer-dependencies-angular-5" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/schematics/update/packages/update-peer-dependencies-2" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/schematics/update/packages/update-peer-dependencies-1" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/schematics/update/packages/update-package-group-2" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/schematics/update/packages/update-package-group-1" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/schematics/update/packages/update-migrations-external" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/schematics/update/packages/update-migrations" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/schematics/update/packages/update-base" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/legacy-cli/e2e/ng-snapshot" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/legacy-cli/e2e/assets/schematic-boolean-option-negated" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/legacy-cli/e2e/assets/schematic-allow-scripts" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/legacy-cli/e2e/assets/nested-schematic-main" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/legacy-cli/e2e/assets/nested-schematic-dependency" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/legacy-cli/e2e/assets/add-collection-peer-good" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/legacy-cli/e2e/assets/add-collection-peer-bad" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/legacy-cli/e2e/assets/add-collection" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/angular-cli/tests/legacy-cli/e2e/assets/15.0-project" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/angular.angular-cli.replay.txt > angular.angular-cli.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./angular-cli ./angular.angular-cli.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression.

Req #18946 - organizeImports
    at Object.resetTokenState (/typescript-5.5.0-dev.20240602/lib/typescript.js:14607:11)
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148054:11)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148082:3)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInFunctionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:31802:111)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:136380:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:136353:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240602/lib/typescript.js:136350:10)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:168827:33
    at mapDefined (/typescript-5.5.0-dev.20240602/lib/typescript.js:2704:22)
    at getPossibleSymbolReferenceNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:168826:12)
    at eachSymbolReferenceInFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168773:25)
    at Object.isSymbolReferencedInFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168767:12)
    at isDeclarationUsed (/typescript-5.5.0-dev.20240602/lib/typescript.js:171745:221)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171720:66
    at removeUnusedImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:171720:52)
    at processImportsOfSameModuleSpecifier (/typescript-5.5.0-dev.20240602/lib/typescript.js:171608:39)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171576:175
    at flatMap (/typescript-5.5.0-dev.20240602/lib/typescript.js:2634:17)
    at organizeDeclsWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:171576:28)
    at organizeImportsWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:171613:5)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171555:57
    at Object.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:171555:28)
    at Object.organizeImports2 [as organizeImports] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149495:39)
    at IOSession.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:191127:50)
    at organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:189312:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

vercel/hyper Raw error text: RepoResults2/vercel.hyper.rawError.txt in the artifact folder
Replay commands: RepoResults2/vercel.hyper.replay.txt in the artifact folder

Last few requests

```json {"seq":18943,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/actions/term-groups.ts","line":149,"offset":24,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":18944,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/lib/components/new-tab.tsx"],"openFiles":[]}} {"seq":18945,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/lib/actions/sessions.ts","projectRootPath":"@PROJECT_ROOT@"}]}} {"seq":18946,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/lib/actions/sessions.ts"}},"skipDestructiveCodeActions":false}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/vercel/hyper --recurse-submodules git -C "./hyper" reset --hard 2a7bb18259d975f27b30b502af1be7576f6f5656 # Install packages (exact steps are below, but it might be easier to follow the repo readme) yarn --cwd "/mnt/ts_downloads/base/hyper" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/hyper/app" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults2.zip "$downloadUrl" unzip -p RepoResults2.zip RepoResults2/vercel.hyper.replay.txt > vercel.hyper.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./hyper ./vercel.hyper.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression.

Req #1999 - organizeImports
    at Object.resetTokenState (/typescript-5.5.0-dev.20240602/lib/typescript.js:14607:11)
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148054:11)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148082:3)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInFunctionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:31802:111)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:136380:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:136353:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240602/lib/typescript.js:136350:10)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:168827:33
    at mapDefined (/typescript-5.5.0-dev.20240602/lib/typescript.js:2704:22)
    at getPossibleSymbolReferenceNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:168826:12)
    at eachSymbolReferenceInFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168773:25)
    at Object.isSymbolReferencedInFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168767:12)
    at isDeclarationUsed (/typescript-5.5.0-dev.20240602/lib/typescript.js:171745:221)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171720:66
    at removeUnusedImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:171720:52)
    at processImportsOfSameModuleSpecifier (/typescript-5.5.0-dev.20240602/lib/typescript.js:171608:39)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171576:175
    at flatMap (/typescript-5.5.0-dev.20240602/lib/typescript.js:2634:17)
    at organizeDeclsWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:171576:28)
    at organizeImportsWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:171613:5)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171555:57
    at Object.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:171555:28)
    at Object.organizeImports2 [as organizeImports] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149495:39)
    at IOSession.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:191127:50)
    at organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:189312:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

ant-design/ant-design Raw error text: RepoResults1/ant-design.ant-design.rawError.txt in the artifact folder
Replay commands: RepoResults1/ant-design.ant-design.replay.txt in the artifact folder

Last few requests

```json {"seq":1996,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/components/badge/SingleNumber.tsx"],"openFiles":[]}} {"seq":1997,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/components/app/index.tsx","projectRootPath":"@PROJECT_ROOT@"}]}} {"seq":1998,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/components/app/index.tsx"}},"skipDestructiveCodeActions":true}} {"seq":1999,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/components/app/index.tsx"}},"skipDestructiveCodeActions":false}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/ant-design/ant-design --recurse-submodules git -C "./ant-design" reset --hard c7dc0acfb7d7ce14a3457e6c720ff72eef20db5d npm --prefix "/mnt/ts_downloads/base/ant-design" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults1&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults1.zip "$downloadUrl" unzip -p RepoResults1.zip RepoResults1/ant-design.ant-design.replay.txt > ant-design.ant-design.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./ant-design ./ant-design.ant-design.replay.txt ```
typescript-bot commented 5 months ago

TypeError: Cannot read properties of undefined (reading 'kind')

Req #29454 - completionInfo
    at isDeclaration (/typescript-5.5.0-dev.20240602/lib/typescript.js:16027:12)
    at isDeclarationName (/typescript-5.5.0-dev.20240602/lib/typescript.js:19149:60)
    at literalIsName (/typescript-5.5.0-dev.20240602/lib/typescript.js:150068:10)
    at walk (/typescript-5.5.0-dev.20240602/lib/typescript.js:150052:109)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInBinaryExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:31926:87)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at walk (/typescript-5.5.0-dev.20240602/lib/typescript.js:150059:5)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInParenthesizedExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:31902:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at walk (/typescript-5.5.0-dev.20240602/lib/typescript.js:150059:5)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInJSDocImportTag (/typescript-5.5.0-dev.20240602/lib/typescript.js:32239:87)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at walk (/typescript-5.5.0-dev.20240602/lib/typescript.js:150059:5)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInJSDoc (/typescript-5.5.0-dev.20240602/lib/typescript.js:32131:103)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at walk (/typescript-5.5.0-dev.20240602/lib/typescript.js:150062:9)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at walk (/typescript-5.5.0-dev.20240602/lib/typescript.js:150059:5)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInFunctionExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:31825:267)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at walk (/typescript-5.5.0-dev.20240602/lib/typescript.js:150059:5)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInParenthesizedExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:31902:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at walk (/typescript-5.5.0-dev.20240602/lib/typescript.js:150059:5)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInCallOrNewExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:32202:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at walk (/typescript-5.5.0-dev.20240602/lib/typescript.js:150059:5)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInExpressionStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:31958:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at walk (/typescript-5.5.0-dev.20240602/lib/typescript.js:150059:5)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInSourceFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:31949:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at SourceFileObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at initializeNameTable (/typescript-5.5.0-dev.20240602/lib/typescript.js:150051:14)
    at getNameTable (/typescript-5.5.0-dev.20240602/lib/typescript.js:150045:5)
    at getJSCompletionEntries (/typescript-5.5.0-dev.20240602/lib/typescript.js:163287:3)
    at completionInfoFromData (/typescript-5.5.0-dev.20240602/lib/typescript.js:163100:5)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162571:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

angular-ui/ui-router Raw error text: RepoResults8/angular-ui.ui-router.rawError.txt in the artifact folder
Replay commands: RepoResults8/angular-ui.ui-router.replay.txt in the artifact folder

Last few requests

```json {"seq":29451,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/test/angular/1.4/angular.js","line":211,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":29452,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/test/angular/1.4/angular.js","line":211,"offset":4,"entryNames":["@abstract"]}} {"seq":29453,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/test/angular/1.4/angular.js","line":212,"offset":4}} {"seq":29454,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/test/angular/1.4/angular.js","line":236,"offset":12,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/angular-ui/ui-router --recurse-submodules git -C "./ui-router" reset --hard e8694114594d5aaf9f40e27b8ba194bca85595de # Install packages (exact steps are below, but it might be easier to follow the repo readme) yarn --cwd "/mnt/ts_downloads/base/ui-router" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/ui-router/test/typescript/template" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/ui-router/test/typescript/3.9" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults8.zip "$downloadUrl" unzip -p RepoResults8.zip RepoResults8/angular-ui.ui-router.replay.txt > angular-ui.ui-router.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./ui-router ./angular-ui.ui-router.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure.

Req #1609 - completionInfo
    at Object.addImportFromExportedSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:154231:13)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:161316:38
    at importSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:161316:11)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:160928:11
    at sameMap (/typescript-5.5.0-dev.20240602/lib/typescript.js:2604:22)
    at createSignatureDeclarationFromSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:160922:27)
    at outputMethod (/typescript-5.5.0-dev.20240602/lib/typescript.js:160824:20)
    at Object.addNewNodeForMemberSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:160810:9)
    at getEntryForMemberCompletion (/typescript-5.5.0-dev.20240602/lib/typescript.js:163504:22)
    at createCompletionEntry (/typescript-5.5.0-dev.20240602/lib/typescript.js:163376:35)
    at getCompletionEntriesFromSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:163980:19)
    at completionInfoFromData (/typescript-5.5.0-dev.20240602/lib/typescript.js:163027:23)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162571:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

postcss/postcss Raw error text: RepoResults3/postcss.postcss.rawError.txt in the artifact folder
Replay commands: RepoResults3/postcss.postcss.replay.txt in the artifact folder

Last few requests

```json {"seq":1606,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/at-rule.d.ts","line":109,"offset":6,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":1607,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/lib/at-rule.d.ts","line":109,"offset":6,"entryNames":["AtRule"]}} {"seq":1608,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/at-rule.d.ts","line":116,"offset":55,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":1609,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/at-rule.d.ts","line":124,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/postcss/postcss --recurse-submodules git -C "./postcss" reset --hard f9a9868eb3a591cd99d504ac57bf7ee77380856b pnpm --dir "/mnt/ts_downloads/base/postcss" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/postcss.postcss.replay.txt > postcss.postcss.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./postcss ./postcss.postcss.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression: Token end is child end

Req #6432 - completionInfo
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177106:17)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177037:9
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInPropertySignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:31784:59)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInTypeLiteral (/typescript-5.5.0-dev.20240602/lib/typescript.js:31843:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInTypeReference (/typescript-5.5.0-dev.20240602/lib/typescript.js:31834:49)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInTypeReference (/typescript-5.5.0-dev.20240602/lib/typescript.js:31834:49)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInTypeReference (/typescript-5.5.0-dev.20240602/lib/typescript.js:31834:49)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177037:9
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInGetAccessor (/typescript-5.5.0-dev.20240602/lib/typescript.js:31816:192)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at formatSpanWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:176837:5)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:176777:105
    at getFormattingScanner (/typescript-5.5.0-dev.20240602/lib/typescript.js:175578:15)
    at Object.formatNodeGivenIndentation (/typescript-5.5.0-dev.20240602/lib/typescript.js:176777:10)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:163808:36
    at flatMap (/typescript-5.5.0-dev.20240602/lib/typescript.js:2634:17)
    at Object.printAndFormatSnippetList (/typescript-5.5.0-dev.20240602/lib/typescript.js:163806:21)
    at getEntryForMemberCompletion (/typescript-5.5.0-dev.20240602/lib/typescript.js:163564:28)
    at createCompletionEntry (/typescript-5.5.0-dev.20240602/lib/typescript.js:163376:35)
    at getCompletionEntriesFromSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:163980:19)
    at completionInfoFromData (/typescript-5.5.0-dev.20240602/lib/typescript.js:163027:23)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162571:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

puppeteer/puppeteer Raw error text: RepoResults1/puppeteer.puppeteer.rawError.txt in the artifact folder
Replay commands: RepoResults1/puppeteer.puppeteer.replay.txt in the artifact folder

Last few requests

```json {"seq":6429,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/puppeteer-core/src/bidi/Realm.ts","line":363,"offset":4}} {"seq":6430,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/puppeteer-core/src/bidi/Realm.ts","line":363,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":6431,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/puppeteer-core/src/bidi/Realm.ts","line":363,"offset":4,"entryNames":["@abstract"]}} {"seq":6432,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/puppeteer-core/src/bidi/Realm.ts","line":365,"offset":49,"includeExternalModuleExports":true,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/puppeteer/puppeteer --recurse-submodules git -C "./puppeteer" reset --hard 726e528a980042b31f5749dc648b04e194dd8f74 # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "/mnt/ts_downloads/base/puppeteer" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/puppeteer/website" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/puppeteer/examples/puppeteer-in-extension" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/puppeteer/examples/puppeteer-in-browser" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults1&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults1.zip "$downloadUrl" unzip -p RepoResults1.zip RepoResults1/puppeteer.puppeteer.replay.txt > puppeteer.puppeteer.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./puppeteer ./puppeteer.puppeteer.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. Expected 1 < 1.

Req #7299 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172826:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172843:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:172817:16)
    at getContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:164364:48)
    at getCompletionData (/typescript-5.5.0-dev.20240602/lib/typescript.js:164602:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162553:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

the1812/Bilibili-Evolved Raw error text: RepoResults4/the1812.Bilibili-Evolved.rawError.txt in the artifact folder
Replay commands: RepoResults4/the1812.Bilibili-Evolved.replay.txt in the artifact folder

Last few requests

```json {"seq":7296,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/plugins/data.ts","line":111,"offset":4}} {"seq":7297,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/plugins/data.ts","line":111,"offset":4}} {"seq":7298,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/plugins/data.ts","line":112,"offset":4}} {"seq":7299,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/plugins/data.ts","line":115,"offset":21,"includeExternalModuleExports":true,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/the1812/Bilibili-Evolved --recurse-submodules git -C "./Bilibili-Evolved" reset --hard 7800adbb02ef884e269ce82c9c8564a17662c279 # Install packages (exact steps are below, but it might be easier to follow the repo readme) pnpm --dir "/mnt/ts_downloads/base/Bilibili-Evolved" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/Bilibili-Evolved/registry" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/Bilibili-Evolved/dev-tools/donate-table" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults4&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults4.zip "$downloadUrl" unzip -p RepoResults4.zip RepoResults4/the1812.Bilibili-Evolved.replay.txt > the1812.Bilibili-Evolved.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./Bilibili-Evolved ./the1812.Bilibili-Evolved.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. Expected 1 < 1.

Req #2260 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172826:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172843:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:172817:16)
    at getContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:164364:48)
    at getCompletionData (/typescript-5.5.0-dev.20240602/lib/typescript.js:164602:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162553:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

microsoft/vscode Raw error text: RepoResults1/microsoft.vscode.rawError.txt in the artifact folder
Replay commands: RepoResults1/microsoft.vscode.replay.txt in the artifact folder

Last few requests

```json {"seq":2257,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/vs/workbench/browser/web.factory.ts","line":126,"offset":6,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":2258,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/vs/workbench/browser/web.factory.ts","line":138,"offset":6}} {"seq":2259,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/vs/workbench/browser/web.factory.ts","line":138,"offset":6}} {"seq":2260,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/vs/workbench/browser/web.factory.ts","line":156,"offset":65,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/microsoft/vscode --recurse-submodules git -C "./vscode" reset --hard acfe0e20cee238c102fa6eaa3c753907652fcf4a # Install packages (exact steps are below, but it might be easier to follow the repo readme) yarn --cwd "/mnt/ts_downloads/base/vscode" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/test/smoke" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/test/monaco" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/test/leaks" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/test/integration/browser" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/test/automation" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/remote" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/remote/web" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/yaml" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/xml" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/vscode-test-resolver" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/vscode-colorize-tests" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/vscode-api-tests" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/vb" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/typescript-language-features" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/typescript-basics" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/tunnel-forwarding" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-tomorrow-night-blue" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-solarized-light" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-solarized-dark" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-seti" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-red" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-quietlight" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-monokai-dimmed" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-monokai" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-kimbie-dark" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-defaults" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/theme-abyss" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/swift" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/sql" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/simple-browser" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/shellscript" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/shaderlab" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/search-result" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/scss" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/rust" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/ruby" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/restructuredtext" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/references-view" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/razor" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/r" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/python" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/pug" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/powershell" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/php-language-features" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/php" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/perl" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/objective-c" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/npm" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/notebook-renderers" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/microsoft-authentication" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/merge-conflict" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/media-preview" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/markdown-math" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/markdown-language-features" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/markdown-language-features/server" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/markdown-basics" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/make" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/lua" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/log" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/less" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/latex" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/julia" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/json-language-features" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/json-language-features/server" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/json" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/javascript" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/java" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/jake" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/ipynb" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/ini" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/html-language-features" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/html-language-features/server" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/html" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/hlsl" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/handlebars" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/gulp" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/grunt" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/groovy" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/go" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/github-authentication" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/github" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/git-base" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/git" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/fsharp" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/extension-editing" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/emmet" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/docker" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/diff" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/debug-server-ready" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/debug-auto-launch" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/dart" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/css-language-features" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/css-language-features/server" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/css" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/csharp" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/cpp" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/configuration-editing" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/coffeescript" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/clojure" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/extensions/bat" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/build" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/build/npm/gyp" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/build/monaco" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/vscode/build/builtin" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults1&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults1.zip "$downloadUrl" unzip -p RepoResults1.zip RepoResults1/microsoft.vscode.replay.txt > microsoft.vscode.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./vscode ./microsoft.vscode.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression: Token end is child end

Req #6888 - completionInfo
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177106:17)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177037:9
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInPropertySignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:31784:59)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInTypeLiteral (/typescript-5.5.0-dev.20240602/lib/typescript.js:31843:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:32193:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177037:9
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInParenthesizedTypeOrTypeOperator (/typescript-5.5.0-dev.20240602/lib/typescript.js:32196:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:32193:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInTypeReference (/typescript-5.5.0-dev.20240602/lib/typescript.js:31834:49)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:32193:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInTypeReference (/typescript-5.5.0-dev.20240602/lib/typescript.js:31834:49)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:32193:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at processChildNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:177156:32)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177050:9
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInTypeReference (/typescript-5.5.0-dev.20240602/lib/typescript.js:31834:49)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177037:9
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInGetAccessor (/typescript-5.5.0-dev.20240602/lib/typescript.js:31816:192)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at formatSpanWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:176837:5)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:176777:105
    at getFormattingScanner (/typescript-5.5.0-dev.20240602/lib/typescript.js:175578:15)
    at Object.formatNodeGivenIndentation (/typescript-5.5.0-dev.20240602/lib/typescript.js:176777:10)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:163808:36
    at flatMap (/typescript-5.5.0-dev.20240602/lib/typescript.js:2634:17)
    at Object.printAndFormatSnippetList (/typescript-5.5.0-dev.20240602/lib/typescript.js:163806:21)
    at getEntryForMemberCompletion (/typescript-5.5.0-dev.20240602/lib/typescript.js:163564:28)
    at createCompletionEntry (/typescript-5.5.0-dev.20240602/lib/typescript.js:163376:35)
    at getCompletionEntriesFromSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:163980:19)
    at completionInfoFromData (/typescript-5.5.0-dev.20240602/lib/typescript.js:163027:23)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162571:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

jhipster/generator-jhipster Raw error text: RepoResults4/jhipster.generator-jhipster.rawError.txt in the artifact folder
Replay commands: RepoResults4/jhipster.generator-jhipster.replay.txt in the artifact folder

Last few requests

```json {"seq":6885,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/generators/bootstrap-application-server/generator.ts"}} {"seq":6886,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/bootstrap-application-server/generator.ts","line":7,"offset":46,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":6887,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/generators/bootstrap-application-server/generator.ts","line":44,"offset":42}} {"seq":6888,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/bootstrap-application-server/generator.ts","line":51,"offset":82,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/jhipster/generator-jhipster --recurse-submodules git -C "./generator-jhipster" reset --hard 7a88a44587aac03d8a47ed8c224fd8dc773984fa # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "/mnt/ts_downloads/base/generator-jhipster" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/generator-jhipster/generators/vue/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/generator-jhipster/generators/react/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/generator-jhipster/generators/init/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/generator-jhipster/generators/generate-blueprint/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/generator-jhipster/generators/common/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/generator-jhipster/generators/client/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/generator-jhipster/generators/angular/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults4&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults4.zip "$downloadUrl" unzip -p RepoResults4.zip RepoResults4/jhipster.generator-jhipster.replay.txt > jhipster.generator-jhipster.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./generator-jhipster ./jhipster.generator-jhipster.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression: Token end is child end

Req #7265 - completionInfo
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177106:17)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177037:9
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInComputedPropertyName (/typescript-5.5.0-dev.20240602/lib/typescript.js:32077:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at processChildNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177113:7)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:177037:9
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInPropertyDeclaration (/typescript-5.5.0-dev.20240602/lib/typescript.js:31781:59)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at processNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:177034:5)
    at formatSpanWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:176837:5)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:176777:105
    at getFormattingScanner (/typescript-5.5.0-dev.20240602/lib/typescript.js:175578:15)
    at Object.formatNodeGivenIndentation (/typescript-5.5.0-dev.20240602/lib/typescript.js:176777:10)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:163808:36
    at flatMap (/typescript-5.5.0-dev.20240602/lib/typescript.js:2634:17)
    at Object.printAndFormatSnippetList (/typescript-5.5.0-dev.20240602/lib/typescript.js:163806:21)
    at getEntryForMemberCompletion (/typescript-5.5.0-dev.20240602/lib/typescript.js:163564:28)
    at createCompletionEntry (/typescript-5.5.0-dev.20240602/lib/typescript.js:163376:35)
    at getCompletionEntriesFromSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:163980:19)
    at completionInfoFromData (/typescript-5.5.0-dev.20240602/lib/typescript.js:163027:23)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162571:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

facebook/lexical Raw error text: RepoResults6/facebook.lexical.rawError.txt in the artifact folder
Replay commands: RepoResults6/facebook.lexical.replay.txt in the artifact folder

Last few requests

```json {"seq":7262,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/vanilla-js-plugin/src/emoji-plugin/EmojiNode.ts","line":14,"offset":3}} {"seq":7263,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/examples/vanilla-js-plugin/src/emoji-plugin/EmojiNode.ts","line":20,"offset":4}} {"seq":7264,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/vanilla-js-plugin/src/emoji-plugin/EmojiNode.ts","line":20,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":7265,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/vanilla-js-plugin/src/emoji-plugin/EmojiNode.ts","line":27,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/facebook/lexical --recurse-submodules git -C "./lexical" reset --hard 2194888d29d69df74e5acae07bdec5c6f50ac6a0 # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "/mnt/ts_downloads/base/lexical" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/lexical/examples/vanilla-js-plugin" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/lexical/examples/vanilla-js" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/lexical/examples/react-rich-collab" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/lexical/examples/react-rich" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/lexical/eslint-plugin" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults6.zip "$downloadUrl" unzip -p RepoResults6.zip RepoResults6/facebook.lexical.replay.txt > facebook.lexical.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./lexical ./facebook.lexical.replay.txt ```
typescript-bot commented 5 months ago

Error: start < 0

Req #763 - references
    at createTextSpan (/typescript-5.5.0-dev.20240602/lib/typescript.js:14737:11)
    at createTextSpanFromBounds (/typescript-5.5.0-dev.20240602/lib/typescript.js:14745:10)
    at getErrorSpanForNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:17552:10)
    at createDiagnosticForNodeFromMessageChain (/typescript-5.5.0-dev.20240602/lib/typescript.js:17362:16)
    at resolveExternalModule (/typescript-5.5.0-dev.20240602/lib/typescript.js:52895:31)
    at resolveExternalModuleNameWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:52789:61)
    at resolveExternalModuleName (/typescript-5.5.0-dev.20240602/lib/typescript.js:52786:12)
    at getSymbolAtLocation (/typescript-5.5.0-dev.20240602/lib/typescript.js:89361:18)
    at Object.getSymbolAtLocation (/typescript-5.5.0-dev.20240602/lib/typescript.js:50052:21)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:167490:36
    at forEachImport (/typescript-5.5.0-dev.20240602/lib/typescript.js:167525:7)
    at findModuleReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:167489:5)
    at getReferencedSymbolsForModule (/typescript-5.5.0-dev.20240602/lib/typescript.js:168373:35)
    at getReferencedSymbolsForModuleIfDeclaredBySourceFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168315:30)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:168246:30)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:167837:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:149324:41)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:188521:43
    at searchPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:188663:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:188642:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:188513:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:190435:24)
    at references (/typescript-5.5.0-dev.20240602/lib/typescript.js:188940:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

statelyai/xstate Raw error text: RepoResults3/statelyai.xstate.rawError.txt in the artifact folder
Replay commands: RepoResults3/statelyai.xstate.replay.txt in the artifact folder

Last few requests

```json {"seq":760,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts"}} {"seq":761,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts"}} {"seq":762,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts","line":1,"offset":36}} {"seq":763,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts","line":1,"offset":36}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/statelyai/xstate --recurse-submodules git -C "./xstate" reset --hard e79d480c0183ad00ce0d5902f58a77526a08925e # Install packages (exact steps are below, but it might be easier to follow the repo readme) yarn --cwd "/mnt/ts_downloads/base/xstate" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/templates/vue-ts" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/templates/vanilla-ts" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/templates/svelte-ts" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/templates/react-ts" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-send-cloudevent" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-reusing-functions" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-purchase-order-deadline" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-provision-orders" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-parallel" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-new-patient-onboarding" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-monitor-patient" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-monitor-job" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-media-scanner" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-math-problem" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-hello" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-greeting" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-finalize-college-app" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-filling-water" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-event-greeting" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-event-based-service" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-event-based" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-credit-check" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-check-inbox" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-car-vitals" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-car-auction-bids" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-book-lending" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-async-subflow" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-async-function" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-applicant-request" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/workflow-accumulate-room-readings" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/trivia-game-example" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/toggle" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/todomvc-react" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/timer" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/tiles" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/tic-tac-toe-react" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/store-counter-react" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/stopwatch" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/snake-react" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/persisted-donut-maker" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/mongodb-persisted-state" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/mongodb-credit-check-api" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/friends-list-react" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/fetch" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/express-workflow" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/counter" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/7guis-temperature-react" install --ignore-engines --ignore-scripts --silent npm --prefix "/mnt/ts_downloads/base/xstate/examples/7guis-flight-booker-react" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q yarn --cwd "/mnt/ts_downloads/base/xstate/examples/7guis-counter-react" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/7guis-2-temperature-vue" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/examples/7guis-1-counter-vue" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/docs" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/docs/zh/sandboxes/todomvc" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/docs/sandboxes/todomvc" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/xstate/docs/fr/sandboxes/todomvc" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/statelyai.xstate.replay.txt > statelyai.xstate.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./xstate ./statelyai.xstate.replay.txt ```
typescript-bot commented 5 months ago

Error: start < 0

Req #7497 - references
    at createTextSpan (/typescript-5.5.0-dev.20240602/lib/typescript.js:14737:11)
    at createTextSpanFromBounds (/typescript-5.5.0-dev.20240602/lib/typescript.js:14745:10)
    at getErrorSpanForNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:17552:10)
    at createDiagnosticForNodeFromMessageChain (/typescript-5.5.0-dev.20240602/lib/typescript.js:17362:16)
    at resolveExternalModule (/typescript-5.5.0-dev.20240602/lib/typescript.js:52895:31)
    at resolveExternalModuleNameWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:52789:61)
    at resolveExternalModuleName (/typescript-5.5.0-dev.20240602/lib/typescript.js:52786:12)
    at getSymbolAtLocation (/typescript-5.5.0-dev.20240602/lib/typescript.js:89361:18)
    at Object.getSymbolAtLocation (/typescript-5.5.0-dev.20240602/lib/typescript.js:50052:21)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:167490:36
    at forEachImport (/typescript-5.5.0-dev.20240602/lib/typescript.js:167525:7)
    at findModuleReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:167489:5)
    at getReferencedSymbolsForModule (/typescript-5.5.0-dev.20240602/lib/typescript.js:168373:35)
    at getReferencedSymbolsForModuleIfDeclaredBySourceFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168315:30)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:168246:30)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:167837:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:149324:41)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:188521:43
    at searchPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:188663:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:188642:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:188513:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:190435:24)
    at references (/typescript-5.5.0-dev.20240602/lib/typescript.js:188940:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

facebook/docusaurus Raw error text: RepoResults1/facebook.docusaurus.rawError.txt in the artifact folder
Replay commands: RepoResults1/facebook.docusaurus.replay.txt in the artifact folder

Last few requests

```json {"seq":7494,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/docusaurus-plugin-vercel-analytics/src/options.ts","line":9,"offset":20}} {"seq":7495,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/docusaurus-plugin-vercel-analytics/src/options.ts","line":9,"offset":20,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":7496,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/docusaurus-plugin-vercel-analytics/src/options.ts","line":9,"offset":20,"entryNames":["core"]}} {"seq":7497,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/docusaurus-plugin-vercel-analytics/src/options.ts","line":10,"offset":45}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/facebook/docusaurus --recurse-submodules git -C "./docusaurus" reset --hard 189bb3d4a04b96baafd56f84bd531940403941b5 # Install packages (exact steps are below, but it might be easier to follow the repo readme) yarn --cwd "/mnt/ts_downloads/base/docusaurus" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/docusaurus/examples/classic-typescript" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/docusaurus/examples/classic" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/docusaurus/admin/scripts" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults1&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults1.zip "$downloadUrl" unzip -p RepoResults1.zip RepoResults1/facebook.docusaurus.replay.txt > facebook.docusaurus.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./docusaurus ./facebook.docusaurus.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression.

Req #4569 - organizeImports
    at Object.resetTokenState (/typescript-5.5.0-dev.20240602/lib/typescript.js:14607:11)
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148054:11)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148082:3)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInMappedType (/typescript-5.5.0-dev.20240602/lib/typescript.js:31871:208)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:136380:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:136353:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240602/lib/typescript.js:136350:10)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:168827:33
    at mapDefined (/typescript-5.5.0-dev.20240602/lib/typescript.js:2704:22)
    at getPossibleSymbolReferenceNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:168826:12)
    at eachSymbolReferenceInFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168773:25)
    at Object.isSymbolReferencedInFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168767:12)
    at isDeclarationUsed (/typescript-5.5.0-dev.20240602/lib/typescript.js:171745:221)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171720:66
    at removeUnusedImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:171720:52)
    at processImportsOfSameModuleSpecifier (/typescript-5.5.0-dev.20240602/lib/typescript.js:171608:39)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171576:175
    at flatMap (/typescript-5.5.0-dev.20240602/lib/typescript.js:2634:17)
    at organizeDeclsWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:171576:28)
    at organizeImportsWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:171613:5)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171555:57
    at Object.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:171555:28)
    at Object.organizeImports2 [as organizeImports] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149495:39)
    at IOSession.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:191127:50)
    at organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:189312:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

pnpm/pnpm Raw error text: RepoResults3/pnpm.pnpm.rawError.txt in the artifact folder
Replay commands: RepoResults3/pnpm.pnpm.replay.txt in the artifact folder

Last few requests

```json {"seq":4566,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/reviewing/dependencies-hierarchy/src/index.ts"],"openFiles":[]}} {"seq":4567,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/reviewing/dependencies-hierarchy/src/buildDependenciesHierarchy.ts","projectRootPath":"@PROJECT_ROOT@"}]}} {"seq":4568,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/reviewing/dependencies-hierarchy/src/buildDependenciesHierarchy.ts"}},"skipDestructiveCodeActions":true}} {"seq":4569,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/reviewing/dependencies-hierarchy/src/buildDependenciesHierarchy.ts"}},"skipDestructiveCodeActions":false}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/pnpm/pnpm --recurse-submodules git -C "./pnpm" reset --hard 9bfebc5b136beb39518e9438f83b35fea94d20d1 # Install packages (exact steps are below, but it might be easier to follow the repo readme) pnpm --dir "/mnt/ts_downloads/base/pnpm" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/workspace/spec-parser" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/workspace/sort-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/workspace/resolve-workspace-range" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/workspace/read-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/workspace/pkgs-graph" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/workspace/find-workspace-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/workspace/find-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/workspace/filter-workspace-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/worker" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/text/comments-parser" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/store-path" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/store-controller-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/store-connection-manager" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/server" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/plugin-commands-store-inspecting" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/plugin-commands-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/plugin-commands-server" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/package-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/create-cafs-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/cafs-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/store/cafs" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/reviewing/plugin-commands-outdated" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/reviewing/plugin-commands-listing" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/reviewing/plugin-commands-licenses" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/reviewing/outdated" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/reviewing/list" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/reviewing/list/example" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/reviewing/license-scanner" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/reviewing/dependencies-hierarchy" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/reviewing/dependencies-hierarchy/example" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/resolving/tarball-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/resolving/resolver-base" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/resolving/npm-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/resolving/local-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/resolving/local-resolver/example-package" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/resolving/git-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/resolving/default-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/releasing/plugin-commands-publishing" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/releasing/plugin-commands-deploy" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pnpm" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pnpm/dev" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pnpm/artifacts/win-x64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pnpm/artifacts/macos-x64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pnpm/artifacts/macos-arm64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pnpm/artifacts/linux-x64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pnpm/artifacts/linux-arm64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pnpm/artifacts/exe" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manifest/write-project-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manifest/read-project-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manifest/read-package-json" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manifest/manifest-utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manifest/exportable-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/resolve-dependencies" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/remove-bins" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/real-hoist" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/read-projects-context" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/plugin-commands-installation" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/package-requester" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/package-bins" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/modules-yaml" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/modules-cleaner" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/link-bins" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/hoist" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/headless" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/get-context" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/direct-dep-linker" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/core" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/pkg-manager/client" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/patching/plugin-commands-patching" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/patching/apply-patch" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/which-version-is-pinned" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/render-peer-issues" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/plugin-commands-setup" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/plugin-commands-init" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/plugin-commands-doctor" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/parse-wanted-dependency" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/make-dedicated-lockfile" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/git-utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/error" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/dependency-path" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/crypto.base32-hash" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/core-loggers" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/constants" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/packages/calc-dep-state" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/network/fetching-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/network/fetch" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/network/auth-header" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/modules-mounter/daemon" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/prune-lockfile" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/preferred-versions" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/plugin-commands-audit" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/merge-lockfile-changes" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/lockfile-walker" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/lockfile-utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/lockfile-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/lockfile-to-pnp" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/lockfile-file" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/filter-lockfile" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/detect-dep-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/lockfile/audit" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/hooks/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/hooks/read-package-hook" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/hooks/pnpmfile" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fs/symlink-dependency" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fs/read-modules-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fs/packlist" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fs/is-empty-dir-or-nothing" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fs/indexed-pkg-importer" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fs/hard-link-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fs/graceful-fs" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fs/find-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fetching/tarball-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fetching/pick-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fetching/git-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fetching/fetcher-base" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/fetching/directory-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/exec/run-npm" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/exec/prepare-package" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/exec/plugin-commands-script-runners" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/exec/plugin-commands-rebuild" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/exec/pkg-requires-build" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/exec/lifecycle" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/exec/build-modules" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/env/plugin-commands-env" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/env/node.resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/env/node.fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/deps/graph-sequencer" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/deps/graph-builder" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/dedupe/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/dedupe/issues-renderer" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/dedupe/check" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/crypto/object-hasher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/config/plugin-commands-config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/config/pick-registry-for-package" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/config/parse-overrides" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/config/package-is-installable" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/config/normalize-registries" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/config/matcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/config/config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/completion/plugin-commands-completion" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/cli/parse-cli-args" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/cli/default-reporter" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/cli/common-cli-options-help" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/cli/command" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/cli/cli-utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/cli/cli-meta" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/__utils__/tsconfig" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/__utils__/test-ipc-server" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/__utils__/scripts" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/__utils__/prepare" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/__utils__/get-release-text" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/__utils__/eslint-config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/__utils__/build-artifacts" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/__utils__/assert-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/__utils__/assert-project" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/pnpm/__typings__" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/pnpm.pnpm.replay.txt > pnpm.pnpm.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./pnpm ./pnpm.pnpm.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression.

Req #3262 - organizeImports
    at Object.resetTokenState (/typescript-5.5.0-dev.20240602/lib/typescript.js:14607:11)
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148054:11)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148082:3)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInMappedType (/typescript-5.5.0-dev.20240602/lib/typescript.js:31871:208)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:136380:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:136353:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240602/lib/typescript.js:136350:10)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:168827:33
    at mapDefined (/typescript-5.5.0-dev.20240602/lib/typescript.js:2704:22)
    at getPossibleSymbolReferenceNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:168826:12)
    at eachSymbolReferenceInFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168773:25)
    at Object.isSymbolReferencedInFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168767:12)
    at isDeclarationUsed (/typescript-5.5.0-dev.20240602/lib/typescript.js:171745:221)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171720:66
    at removeUnusedImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:171720:52)
    at processImportsOfSameModuleSpecifier (/typescript-5.5.0-dev.20240602/lib/typescript.js:171608:39)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171576:175
    at flatMap (/typescript-5.5.0-dev.20240602/lib/typescript.js:2634:17)
    at organizeDeclsWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:171576:28)
    at organizeImportsWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:171613:5)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:171555:57
    at Object.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:171555:28)
    at Object.organizeImports2 [as organizeImports] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149495:39)
    at IOSession.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:191127:50)
    at organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:189312:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

tldraw/tldraw Raw error text: RepoResults2/tldraw.tldraw.rawError.txt in the artifact folder
Replay commands: RepoResults2/tldraw.tldraw.replay.txt in the artifact folder

Last few requests

```json {"seq":3259,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/tlschema/src/shapes/TLArrowShape.ts","line":188,"offset":16,"entryNames":["meta"]}} {"seq":3260,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/tlschema/src/shapes/TLEmbedShape.ts"],"openFiles":[]}} {"seq":3261,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/tlschema/src/records/TLShape.ts","projectRootPath":"@PROJECT_ROOT@"}]}} {"seq":3262,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/packages/tlschema/src/records/TLShape.ts"}},"skipDestructiveCodeActions":false}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/tldraw/tldraw --recurse-submodules git -C "./tldraw" reset --hard aba77fd089747abc533fe11969fe60d4029f3f1e downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults2.zip "$downloadUrl" unzip -p RepoResults2.zip RepoResults2/tldraw.tldraw.replay.txt > tldraw.tldraw.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./tldraw ./tldraw.tldraw.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression.

Req #8012 - organizeImports
    at Object.resetTokenState (/typescript-5.5.0-dev.20240602/lib/typescript.js:14607:11)
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148054:11)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148082:3)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInFunctionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:31802:111)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at NodeObject.getLastToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:148015:27)
    at NodeObject.getLastToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:148020:61)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:137793:30)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInTypeLiteral (/typescript-5.5.0-dev.20240602/lib/typescript.js:31843:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:137807:12)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInTypeAliasDeclaration (/typescript-5.5.0-dev.20240602/lib/typescript.js:32019:144)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:137807:12)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInSourceFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:31949:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at probablyUsesSemicolons (/typescript-5.5.0-dev.20240602/lib/typescript.js:137784:3)
    at getFormatCodeSettingsForWriting (/typescript-5.5.0-dev.20240602/lib/typescript.js:138222:122)
    at getFormattedTextOfNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:174969:27)
    at format (/typescript-5.5.0-dev.20240602/lib/typescript.js:174961:27)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:174962:106
    at computeNewText (/typescript-5.5.0-dev.20240602/lib/typescript.js:174962:82)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:174923:25
    at mapDefined (/typescript-5.5.0-dev.20240602/lib/typescript.js:2704:22)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:174920:28
    at mapDefined (/typescript-5.5.0-dev.20240602/lib/typescript.js:2704:22)
    at Object.getTextChangesFromChanges (/typescript-5.5.0-dev.20240602/lib/typescript.js:174914:12)
    at _ChangeTracker.getChanges (/typescript-5.5.0-dev.20240602/lib/typescript.js:174811:35)
    at Object.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:171568:24)
    at Object.organizeImports2 [as organizeImports] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149495:39)
    at IOSession.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:191127:50)
    at organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:189312:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

element-plus/element-plus Raw error text: RepoResults4/element-plus.element-plus.rawError.txt in the artifact folder
Replay commands: RepoResults4/element-plus.element-plus.replay.txt in the artifact folder

Last few requests

```json {"seq":8009,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/components/popper/src/content.ts","line":141,"offset":5}} {"seq":8010,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/components/popper/style/index.ts"],"openFiles":[]}} {"seq":8011,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/components/popper/src/constants.ts","projectRootPath":"@PROJECT_ROOT@"}]}} {"seq":8012,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/packages/components/popper/src/constants.ts"}},"skipDestructiveCodeActions":false}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/element-plus/element-plus --recurse-submodules git -C "./element-plus" reset --hard 587c44653b179070a7233e0bfb717f53f18c65fe pnpm --dir "/mnt/ts_downloads/base/element-plus" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults4&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults4.zip "$downloadUrl" unzip -p RepoResults4.zip RepoResults4/element-plus.element-plus.replay.txt > element-plus.element-plus.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./element-plus ./element-plus.element-plus.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. Expected 2 < 2.

Req #29208 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172826:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172843:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:172817:16)
    at getContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:164364:48)
    at getCompletionData (/typescript-5.5.0-dev.20240602/lib/typescript.js:164602:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162553:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

discordjs/discord.js Raw error text: RepoResults3/discordjs.discord.js.rawError.txt in the artifact folder
Replay commands: RepoResults3/discordjs.discord.js.replay.txt in the artifact folder

Last few requests

```json {"seq":29205,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/builders/src/components/selectMenu/StringSelectMenu.ts","line":106,"offset":5}} {"seq":29206,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/builders/src/components/selectMenu/StringSelectMenu.ts","line":106,"offset":5,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":29207,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/builders/src/components/selectMenu/StringSelectMenu.ts","line":106,"offset":5,"entryNames":["@abstract"]}} {"seq":29208,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/builders/src/components/selectMenu/StringSelectMenu.ts","line":128,"offset":47,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/discordjs/discord.js --recurse-submodules git -C "./discord.js" reset --hard 311aaf26058c7a95f6d973686e49818c9ecb0fb1 pnpm --dir "/mnt/ts_downloads/base/discord.js" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/discordjs.discord.js.replay.txt > discordjs.discord.js.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./discord.js ./discordjs.discord.js.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression.

Req #12982 - organizeImports
    at Object.resetTokenState (/typescript-5.5.0-dev.20240602/lib/typescript.js:14607:11)
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148054:11)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148082:3)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInFunctionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:31802:111)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at NodeObject.getLastToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:148015:27)
    at NodeObject.getLastToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:148020:61)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:137793:30)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInTypeLiteral (/typescript-5.5.0-dev.20240602/lib/typescript.js:31843:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:137807:12)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInArrowFunction (/typescript-5.5.0-dev.20240602/lib/typescript.js:31828:159)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:137807:12)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInVariableDeclaration (/typescript-5.5.0-dev.20240602/lib/typescript.js:31790:123)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:137807:12)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInVariableDeclarationList (/typescript-5.5.0-dev.20240602/lib/typescript.js:31955:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:137807:12)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInVariableStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:31952:59)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:137807:12)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInSourceFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:31949:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at probablyUsesSemicolons (/typescript-5.5.0-dev.20240602/lib/typescript.js:137784:3)
    at getFormatCodeSettingsForWriting (/typescript-5.5.0-dev.20240602/lib/typescript.js:138222:122)
    at getFormattedTextOfNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:174969:27)
    at format (/typescript-5.5.0-dev.20240602/lib/typescript.js:174961:27)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:174962:106
    at computeNewText (/typescript-5.5.0-dev.20240602/lib/typescript.js:174962:82)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:174923:25
    at mapDefined (/typescript-5.5.0-dev.20240602/lib/typescript.js:2704:22)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:174920:28
    at mapDefined (/typescript-5.5.0-dev.20240602/lib/typescript.js:2704:22)
    at Object.getTextChangesFromChanges (/typescript-5.5.0-dev.20240602/lib/typescript.js:174914:12)
    at _ChangeTracker.getChanges (/typescript-5.5.0-dev.20240602/lib/typescript.js:174811:35)
    at Object.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:171568:24)
    at Object.organizeImports2 [as organizeImports] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149495:39)
    at IOSession.organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:191127:50)
    at organizeImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:189312:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

tinymce/tinymce Raw error text: RepoResults7/tinymce.tinymce.rawError.txt in the artifact folder
Replay commands: RepoResults7/tinymce.tinymce.replay.txt in the artifact folder

Last few requests

```json {"seq":12979,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/modules/sugar/src/main/ts/ephox/sugar/api/dom/DomFuture.ts","line":25,"offset":14,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":12980,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/modules/sugar/src/main/ts/ephox/sugar/api/dom/Truncate.ts"],"openFiles":[]}} {"seq":12981,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/modules/snooker/src/test/ts/module/ephox/snooker/test/SizeUtils.ts","projectRootPath":"@PROJECT_ROOT@"}]}} {"seq":12982,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/modules/snooker/src/test/ts/module/ephox/snooker/test/SizeUtils.ts"}},"skipDestructiveCodeActions":true}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/tinymce/tinymce --recurse-submodules git -C "./tinymce" reset --hard 647845a121acc550a4919ffeda1c0d00d22c1fe5 yarn --cwd "/mnt/ts_downloads/base/tinymce" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults7&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults7.zip "$downloadUrl" unzip -p RepoResults7.zip RepoResults7/tinymce.tinymce.replay.txt > tinymce.tinymce.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./tinymce ./tinymce.tinymce.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. False expression.

Req #715 - references
    at Object.resetTokenState (/typescript-5.5.0-dev.20240602/lib/typescript.js:14607:11)
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148054:11)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148082:3)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInFunctionType (/typescript-5.5.0-dev.20240602/lib/typescript.js:31802:111)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:136380:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:136353:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240602/lib/typescript.js:136350:10)
    at getReferencesAtLocation (/typescript-5.5.0-dev.20240602/lib/typescript.js:168919:31)
    at getReferencesInContainer (/typescript-5.5.0-dev.20240602/lib/typescript.js:168912:7)
    at getReferencesInSourceFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168905:12)
    at searchForName (/typescript-5.5.0-dev.20240602/lib/typescript.js:168719:7)
    at getReferencesInContainerOrFiles (/typescript-5.5.0-dev.20240602/lib/typescript.js:168520:9)
    at getReferencedSymbolsForSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:168502:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:168252:24)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:167837:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:149324:41)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:188521:43
    at searchPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:188663:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:188642:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:188513:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:190435:24)
    at references (/typescript-5.5.0-dev.20240602/lib/typescript.js:188940:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

mattermost/mattermost Raw error text: RepoResults3/mattermost.mattermost.rawError.txt in the artifact folder
Replay commands: RepoResults3/mattermost.mattermost.replay.txt in the artifact folder

Last few requests

```json {"seq":712,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/webapp/channels/src/tests/performance_mock.test.ts"}} {"seq":713,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/webapp/channels/src/tests/performance_mock.test.ts","textChanges":[{"newText":" //comment","start":{"line":1,"offset":68},"end":{"line":1,"offset":68}}]}],"closedFiles":[],"openFiles":[]}} {"seq":714,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/webapp/channels/src/tests/performance_mock.test.ts","line":45,"offset":35}} {"seq":715,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/webapp/channels/src/tests/performance_mock.test.ts","line":52,"offset":13}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/mattermost/mattermost --recurse-submodules git -C "./mattermost" reset --hard 58b7032a8ce617be1d313e42fd9a002cceaa90a5 # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "/mnt/ts_downloads/base/mattermost/webapp" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/mattermost/e2e-tests/playwright" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/mattermost/e2e-tests/cypress" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/mattermost/api" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162052/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/mattermost.mattermost.replay.txt > mattermost.mattermost.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./mattermost ./mattermost.mattermost.replay.txt ```