Closed
Description
The following errors were reported by 4.9.0-dev.20220907
Pipeline that generated this bug
Logs for the pipeline run
File that generated the pipeline
This run considered 200 popular TS repos from GH (after skipping the top 0).
Successfully analyzed 191 of 200 visited repos
Outcome | Count |
---|---|
Detected interesting changes | 8 |
Detected no interesting changes | 183 |
Git clone failed | 2 |
Unknown failure | 7 |
apache/echarts
Repro Steps
git clone https://github.com/apache/echarts
- In dir
echarts
, rungit reset --hard 29a4fe91f7cf59ea347e066bb241346f0b1bde75
- Download
RepoResults1/apache.echarts.replay.txt
from the artifact folder npm install --no-save @typescript/server-replay
npx tsreplay ./echarts ./apache.echarts.replay.txt path/to/tsserver.js
Last few requests
{"seq":4669,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/echarts.common.min.js","line":45,"offset":233233,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":4670,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/dist/echarts.common.min.js","line":45,"offset":233233,"entryNames":["_"]}}
{"seq":4671,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/echarts.common.min.js","line":45,"offset":233723,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":" "}}
{"seq":4672,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/dist/echarts.common.min.js","line":45,"offset":234248}}
Error
> "message": "Error processing request. Invalid string length\nRangeError: Invalid string length\n at JSON.stringify (<anonymous>)\n at formatMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178006:29)\n at IOSession.Session.writeMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179082:31)\n at IOSession.Session.send (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179079:22)\n at IOSession.Session.doOutput (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179132:22)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180778:30)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:184885:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"
>
⚠️ Note that typescript-4.8.2 also had errors ⚠️
> {"seq":0,"type":"response","command":"references","request_seq":4672,"success":false,"message":"Error processing request. Invalid string length\nRangeError: Invalid string length\n at JSON.stringify (<anonymous>)\n at formatMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:177411:29)\n at IOSession.Session.writeMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178487:31)\n at IOSession.Session.send (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178484:22)\n at IOSession.Session.doOutput (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178537:22)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180183:30)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:184304:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"}
>
desktop/desktop
Repro Steps
git clone https://github.com/desktop/desktop
- In dir
desktop
, rungit reset --hard e2262a52f9742f9566297cd1de8f5d1ba51f04db
- In dir
desktop/app
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
desktop/app/static/common/choosealicense.com/assets/vendor/clipboard
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
desktop/app/static/common/choosealicense.com/assets/vendor/jquery
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
desktop/app/static/common/choosealicense.com/license-list-XML
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
desktop
, runyarn install --silent --ignore-engines --ignore-scripts
- Download
RepoResults5/desktop.desktop.replay.txt
from the artifact folder npm install --no-save @typescript/server-replay
npx tsreplay ./desktop ./desktop.desktop.replay.txt path/to/tsserver.js
Last few requests
{"seq":25323,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/vendor/yarn-1.21.1.js","line":84971,"offset":92161,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":"\""}}
{"seq":25324,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/vendor/yarn-1.21.1.js","line":84971,"offset":93037,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":"\""}}
{"seq":25325,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/vendor/yarn-1.21.1.js","line":84971,"offset":93173,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":25326,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/vendor/yarn-1.21.1.js","line":84971,"offset":95487}}
Error
> "message": "Error processing request. Invalid string length\nRangeError: Invalid string length\n at JSON.stringify (<anonymous>)\n at formatMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178006:29)\n at IOSession.Session.writeMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179082:31)\n at IOSession.Session.send (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179079:22)\n at IOSession.Session.doOutput (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179132:22)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180778:30)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:184885:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"
>
⚠️ Note that typescript-4.8.2 also had errors ⚠️
> {"seq":0,"type":"response","command":"references","request_seq":25326,"success":false,"message":"Error processing request. Invalid string length\nRangeError: Invalid string length\n at JSON.stringify (<anonymous>)\n at formatMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:177411:29)\n at IOSession.Session.writeMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178487:31)\n at IOSession.Session.send (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178484:22)\n at IOSession.Session.doOutput (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178537:22)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180183:30)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:184304:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"}
>
facebook/flipper
Repro Steps
git clone https://github.com/facebook/flipper
- In dir
flipper
, rungit reset --hard ccec5a6abe6ecb3b66183d53d11849926c2e2644
- In dir
flipper/desktop/app
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/babel-transformer
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/doctor
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/eslint-plugin-flipper
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/examples/headless-demo
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/examples/headless-tic-tac-toe
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/flipper-common
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/flipper-dump
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/flipper-frontend-core
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/flipper-plugin
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/flipper-plugin/src/data-source
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/flipper-server-companion
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/flipper-server-core
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/flipper-server
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/flipper-ui-browser
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/flipper-ui-core
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/pkg-lib
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/pkg
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/pkg/schemas
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugin-lib
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/cpu
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/crash_reporter
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/databases
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/example
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/fresco
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/headless-demo
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/hermesdebuggerrn
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/kaios-allocations
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/kaios-ram
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/layout
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/leak_canary
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/logs
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/navigation
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/network
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/reactdevtools
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/rn-tic-tac-toe
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/sandbox
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/seamammals
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/shared_preferences
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/plugins/public/ui-debugger
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/scripts
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/static
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/test-utils
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/desktop/types
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/js/js-flipper
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/js/react-flipper-example
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/react-native/react-native-flipper
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/react-native/ReactNativeFlipperExample
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
flipper/website
, runyarn install --silent --ignore-engines --ignore-scripts
- Download
RepoResults7/facebook.flipper.replay.txt
from the artifact folder npm install --no-save @typescript/server-replay
npx tsreplay ./flipper ./facebook.flipper.replay.txt path/to/tsserver.js
Last few requests
{"seq":1387,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/desktop/flipper-plugin/src/data-source/DataSource.tsx","line":642,"offset":46,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":" "}}
{"seq":1388,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/desktop/flipper-plugin/src/data-source/DataSource.tsx","line":646,"offset":11,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":1389,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/desktop/flipper-plugin/src/data-source/DataSource.tsx","line":646,"offset":11,"entryNames":["arguments"]}}
{"seq":1390,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/desktop/flipper-plugin/src/data-source/DataSource.tsx","line":674,"offset":23}}
Error
> "message": "Error processing request. Debug Failure.\nError: Debug Failure.\n at getSymbolForProgram (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:167798:38)\n at Object.updateIsDefinitionOfReferencedSymbols (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:167768:26)\n at /home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178212:68\n at Map.forEach (<anonymous>)\n at _loop_9 (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178209:39)\n at getReferencesWorker (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178222:35)\n at IOSession.Session.getReferences (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179764:34)\n at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178601:61)\n at /home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180735:96\n at IOSession.Session.executeWithRequestId (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180726:28)\n at IOSession.Session.executeCommand (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180735:41)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180763:35)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:184885:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"
>
⚠️ Note that typescript-4.8.2 also had errors ⚠️
> {"seq":0,"type":"response","command":"references","request_seq":1390,"success":false,"performanceData":{"updateGraphDurationMs":4186.30695200013},"message":"Error processing request. Debug Failure.\nError: Debug Failure.\n at getSymbolForProgram (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:167203:38)\n at Object.updateIsDefinitionOfReferencedSymbols (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:167173:26)\n at /home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:177617:68\n at Map.forEach (<anonymous>)\n at _loop_9 (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:177614:39)\n at getReferencesWorker (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:177627:35)\n at IOSession.Session.getReferences (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:179169:34)\n at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178006:61)\n at /home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180140:96\n at IOSession.Session.executeWithRequestId (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180131:28)\n at IOSession.Session.executeCommand (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180140:41)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180168:35)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:184304:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"}
>
formatjs/formatjs
Repro Steps
git clone https://github.com/formatjs/formatjs
- In dir
formatjs
, rungit reset --hard f1af8b13433d1d98ed55addf5450dcafa4b8bdae
- Download
RepoResults7/formatjs.formatjs.replay.txt
from the artifact folder npm install --no-save @typescript/server-replay
npx tsreplay ./formatjs ./formatjs.formatjs.replay.txt path/to/tsserver.js
Last few requests
{"seq":4173,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/test262/test/language/expressions/class/dstr/private-gen-meth-static-dflt-obj-ptrn-rest-val-obj.js"],"openFiles":[]}}
{"seq":4174,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-gen-rs-static-privatename-identifier-alt.js","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":4175,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-gen-rs-static-privatename-identifier-alt.js"}}
{"seq":4176,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-gen-rs-static-privatename-identifier-alt.js","line":74,"offset":11,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
Error
> "message": "Error processing request. Debug Failure. Did not expect SourceFile to have an Identifier in its trivia\nError: Debug Failure. Did not expect SourceFile to have an Identifier in its trivia\n at addSyntheticNodes (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:166636:30)\n at createSyntaxList (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:166652:13)\n at processNodes (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:166615:27)\n at visitNodes (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:30980:24)\n at forEachChildInSourceFile (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:31343:20)\n at Object.forEachChild (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:31758:47)\n at SourceFileObject.NodeObject.forEachChild (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:166590:23)\n at createChildren (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:166624:14)\n at SourceFileObject.NodeObject.getChildren (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:166567:56)\n at find (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:129595:30)\n at Object.findPrecedingToken (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:129588:22)\n at getRelevantTokens (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:137109:36)\n at Object.getCompletionsAtPosition (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:134272:33)\n at Object.getCompletionsAtPosition (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:167870:35)\n at IOSession.Session.getCompletions (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180002:64)\n at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178675:61)\n at /home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180735:96\n at IOSession.Session.executeWithRequestId (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180726:28)\n at IOSession.Session.executeCommand (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180735:41)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180763:35)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:184885:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"
>
⚠️ Note that typescript-4.8.2 also had errors ⚠️
> {"seq":0,"type":"response","command":"completionInfo","request_seq":4176,"success":false,"message":"Error processing request. Debug Failure. Did not expect SourceFile to have an Identifier in its trivia\nError: Debug Failure. Did not expect SourceFile to have an Identifier in its trivia\n at addSyntheticNodes (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:166044:30)\n at createSyntaxList (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:166060:13)\n at processNodes (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:166023:27)\n at visitNodes (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:30906:24)\n at Object.forEachChild (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:31238:24)\n at SourceFileObject.NodeObject.forEachChild (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:165998:23)\n at createChildren (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:166032:14)\n at SourceFileObject.NodeObject.getChildren (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:165975:56)\n at find (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:129105:30)\n at Object.findPrecedingToken (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:129098:22)\n at getRelevantTokens (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:136614:36)\n at Object.getCompletionsAtPosition (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:133779:33)\n at Object.getCompletionsAtPosition (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:167275:35)\n at IOSession.Session.getCompletions (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:179407:64)\n at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178080:61)\n at /home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180140:96\n at IOSession.Session.executeWithRequestId (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180131:28)\n at IOSession.Session.executeCommand (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180140:41)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180168:35)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:184304:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"}
>
jupyterlab/jupyterlab
Repro Steps
git clone https://github.com/jupyterlab/jupyterlab
- In dir
jupyterlab
, rungit reset --hard c6d57dc28dd566aa60fe95a7548640143fb443ee
- In dir
jupyterlab/builder
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/buildutils
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/buildutils/template
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/dev_mode
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/examples/app
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/examples/cell
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/examples/console
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/examples/federated/core_package
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/examples/federated/md_package
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/examples/federated/middle_package
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/examples/federated
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/examples/filebrowser
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/examples/notebook
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/examples/terminal
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/galata
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/staging
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/tests/mock_packages/extension
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/tests/mock_packages/incompat
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/tests/mock_packages/interop/consumer
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/tests/mock_packages/interop/provider
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/tests/mock_packages/interop/token
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/tests/mock_packages/mimeextension
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/tests/mock_packages/package
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/tests/mock_packages/test_no_hyphens
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/tests/mock_packages/test-hyphens-underscore
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/jupyterlab/tests/mock_packages/test-hyphens
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab
, runyarn install --silent --ignore-engines --ignore-scripts
- In dir
jupyterlab/testutils
, runyarn install --silent --ignore-engines --ignore-scripts
- Download
RepoResults7/jupyterlab.jupyterlab.replay.txt
from the artifact folder npm install --no-save @typescript/server-replay
npx tsreplay ./jupyterlab ./jupyterlab.jupyterlab.replay.txt path/to/tsserver.js
Last few requests
{"seq":15284,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/jupyterlab/staging/yarn.js","line":85060,"offset":54365,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":15285,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/jupyterlab/staging/yarn.js","line":85060,"offset":54928,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":15286,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/jupyterlab/staging/yarn.js","line":85060,"offset":56024,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":15287,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/jupyterlab/staging/yarn.js","line":85060,"offset":58394}}
Error
> "message": "Error processing request. Invalid string length\nRangeError: Invalid string length\n at JSON.stringify (<anonymous>)\n at formatMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178006:29)\n at IOSession.Session.writeMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179082:31)\n at IOSession.Session.send (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179079:22)\n at IOSession.Session.doOutput (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179132:22)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180778:30)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:184885:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"
>
⚠️ Note that typescript-4.8.2 also had errors ⚠️
> {"seq":0,"type":"response","command":"references","request_seq":15287,"success":false,"message":"Error processing request. Invalid string length\nRangeError: Invalid string length\n at JSON.stringify (<anonymous>)\n at formatMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:177411:29)\n at IOSession.Session.writeMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178487:31)\n at IOSession.Session.send (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178484:22)\n at IOSession.Session.doOutput (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178537:22)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180183:30)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:184304:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"}
>
n8n-io/n8n
Repro Steps
git clone https://github.com/n8n-io/n8n
- In dir
n8n
, rungit reset --hard ca8c2d657711fd75d8c40914a0fbf1a920cdfab0
- In dir
n8n
, runnpm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
n8n/packages/cli
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
n8n/packages/core
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
n8n/packages/design-system
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
n8n/packages/editor-ui
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
n8n/packages/node-dev
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
n8n/packages/nodes-base
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
n8n/packages/workflow
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- Download
RepoResults3/n8n-io.n8n.replay.txt
from the artifact folder npm install --no-save @typescript/server-replay
npx tsreplay ./n8n ./n8n-io.n8n.replay.txt path/to/tsserver.js
Last few requests
{"seq":12192,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/nodes-base/nodes/SentryIo/ProjectDescription.ts","line":11,"offset":24,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":12193,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/nodes-base/nodes/SentryIo/ProjectDescription.ts","line":28,"offset":1}}
{"seq":12194,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/nodes-base/nodes/SentryIo/ProjectDescription.ts","line":89,"offset":16,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":" "}}
{"seq":12195,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/nodes-base/nodes/SentryIo/ProjectDescription.ts","line":112,"offset":10}}
Error
> "message": "Error processing request. Invalid string length\nRangeError: Invalid string length\n at JSON.stringify (<anonymous>)\n at formatMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178006:29)\n at IOSession.Session.writeMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179082:31)\n at IOSession.Session.send (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179079:22)\n at IOSession.Session.doOutput (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179132:22)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180778:30)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:184885:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"
>
⚠️ Note that typescript-4.8.2 also had errors ⚠️
> {"seq":0,"type":"response","command":"references","request_seq":12195,"success":false,"message":"Error processing request. Invalid string length\nRangeError: Invalid string length\n at JSON.stringify (<anonymous>)\n at formatMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:177411:29)\n at IOSession.Session.writeMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178487:31)\n at IOSession.Session.send (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178484:22)\n at IOSession.Session.doOutput (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178537:22)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180183:30)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:184304:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"}
>
nhn/tui.editor
Repro Steps
git clone https://github.com/nhn/tui.editor
- In dir
tui.editor
, rungit reset --hard 06355b6c1885fa2b5109209e93292c7f2367e4d7
- In dir
tui.editor/apps/editor
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
tui.editor/apps/react-editor
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
tui.editor/apps/vue-editor
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
tui.editor/libs/toastmark
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
tui.editor
, runnpm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
tui.editor/plugins/chart
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
tui.editor/plugins/code-syntax-highlight
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
tui.editor/plugins/color-syntax
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
tui.editor/plugins/table-merged-cell
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- In dir
tui.editor/plugins/uml
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
- Download
RepoResults5/nhn.tui.editor.replay.txt
from the artifact folder npm install --no-save @typescript/server-replay
npx tsreplay ./tui.editor ./nhn.tui.editor.replay.txt path/to/tsserver.js
Last few requests
{"seq":46,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/apps/editor/rollup.config.js","line":57,"offset":17}}
{"seq":47,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/apps/editor/rollup.config.js","line":61,"offset":17,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":48,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/__mocks__/cssMock.js"],"openFiles":[]}}
{"seq":49,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/editor/scripts/createConfigVariable.js","projectRootPath":"@PROJECT_ROOT@"}]}}
Error
> "message": "Error processing request. No Project.\nError: No Project.\n at Object.ThrowNoProject (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:170870:23)\n at ScriptInfo.getDefaultProject (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:171713:46)\n at ProjectService.telemetryOnOpenFile (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:177098:42)\n at /home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:177180:76\n at Array.forEach (<anonymous>)\n at ProjectService.applyChangesInOpenFiles (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:177180:37)\n at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178543:46)\n at /home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180735:96\n at IOSession.Session.executeWithRequestId (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180726:28)\n at IOSession.Session.executeCommand (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180735:41)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180763:35)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:184885:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"
>
⚠️ Note that typescript-4.8.2 also had errors ⚠️
> {"seq":0,"type":"response","command":"updateOpen","request_seq":49,"success":false,"performanceData":{"updateGraphDurationMs":20.67305799946189},"message":"Error processing request. No Project.\nError: No Project.\n at Object.ThrowNoProject (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:170275:23)\n at ScriptInfo.getDefaultProject (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:171118:46)\n at ProjectService.telemetryOnOpenFile (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:176503:42)\n at /home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:176585:76\n at Array.forEach (<anonymous>)\n at ProjectService.applyChangesInOpenFiles (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:176585:37)\n at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:177948:46)\n at /home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180140:96\n at IOSession.Session.executeWithRequestId (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180131:28)\n at IOSession.Session.executeCommand (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180140:41)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180168:35)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:184304:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"}
>
palantir/blueprint
Repro Steps
git clone https://github.com/palantir/blueprint
- In dir
blueprint
, rungit reset --hard 93dfdaecf21d07f9d7b939923ff606e77689fe75
- In dir
blueprint
, runyarn install --silent --ignore-engines --ignore-scripts
- Download
RepoResults4/palantir.blueprint.replay.txt
from the artifact folder npm install --no-save @typescript/server-replay
npx tsreplay ./blueprint ./palantir.blueprint.replay.txt path/to/tsserver.js
Last few requests
{"seq":12988,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/1/docs-app.js","line":1,"offset":529178}}
{"seq":12989,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/1/docs-app.js","line":1,"offset":529340}}
{"seq":12990,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/1/docs-app.js","line":1,"offset":529402,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":"\""}}
{"seq":12991,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/1/docs-app.js","line":1,"offset":529559}}
Error
> "message": "Error processing request. Invalid string length\nRangeError: Invalid string length\n at JSON.stringify (<anonymous>)\n at formatMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:178006:29)\n at IOSession.Session.writeMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179082:31)\n at IOSession.Session.send (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179079:22)\n at IOSession.Session.doOutput (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:179132:22)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:180778:30)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.9.0-dev.20220907/lib/tsserver.js:184885:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"
>
⚠️ Note that typescript-4.8.2 also had errors ⚠️
> {"seq":0,"type":"response","command":"references","request_seq":12991,"success":false,"message":"Error processing request. Invalid string length\nRangeError: Invalid string length\n at JSON.stringify (<anonymous>)\n at formatMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:177411:29)\n at IOSession.Session.writeMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178487:31)\n at IOSession.Session.send (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178484:22)\n at IOSession.Session.doOutput (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:178537:22)\n at IOSession.Session.onMessage (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:180183:30)\n at Interface.<anonymous> (/home/vsts/work/1/s/typescript-4.8.2/lib/tsserver.js:184304:31)\n at Interface.emit (node:events:513:28)\n at Interface._onLine (node:readline:491:10)\n at Interface._normalWrite (node:readline:665:12)\n at Socket.ondata (node:readline:272:10)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228:10)\n at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)"}
>
Metadata
Metadata
Assignees
Labels
No labels