Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ServerErrors][JavaScript] 5.0.0-dev.20230115 #52254

Closed
typescript-bot opened this issue Jan 15, 2023 · 8 comments
Closed

[ServerErrors][JavaScript] 5.0.0-dev.20230115 #52254

typescript-bot opened this issue Jan 15, 2023 · 8 comments

Comments

@typescript-bot
Copy link
Collaborator

The following errors were reported by 5.0.0-dev.20230115
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 7
Detected no interesting changes 184
Language service disabled in new TS 1
Unknown failure 8

Investigation Status

Repo Errors Outcome
GoogleChrome/lighthouse 1
impress/impress.js 1
jgraph/drawio 1
mrdoob/three.js 1
swagger-api/swagger-ui 1
YMFE/yapi 1
zhaoolee/ChromeAppHeroes 1
@typescript-bot
Copy link
Collaborator Author

GoogleChrome/lighthouse

⚠️ Note that typescript-4.9.4 also had errors ⚠️
Req #24752 - references
    at formatMessage (/typescript-4.9.4/lib/tsserver.js:179295:29)
    at IOSession.Session.writeMessage (/typescript-4.9.4/lib/tsserver.js:180370:31)
    at IOSession.Session.send (/typescript-4.9.4/lib/tsserver.js:180367:22)
    at IOSession.Session.doOutput (/typescript-4.9.4/lib/tsserver.js:180420:22)
    at IOSession.Session.onMessage (/typescript-4.9.4/lib/tsserver.js:182067:30)
    at Interface.<anonymous> (/typescript-4.9.4/lib/tsserver.js:186178:31)
Req #24752 - references
    at formatMessage2 (/typescript-5.0.0-dev.20230115/lib/tsserver.js:174244:21)
    at IOSession.writeMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175518:21)
    at IOSession.send (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175515:10)
    at IOSession.doOutput (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175571:10)
    at IOSession.onMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:177349:14)
    at Interface.<anonymous> (/typescript-5.0.0-dev.20230115/lib/tsserver.js:178787:14)

That is a filtered view of the text. To see the raw error text, go to RepoResults3/GoogleChrome.lighthouse.rawError.txt in the artifact folder

Last few requests

{"seq":24749,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/core/test/fixtures/source-maps/coursehero-bundle-1.js","line":1,"offset":467334,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":24750,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/core/test/fixtures/source-maps/coursehero-bundle-1.js","line":1,"offset":467334,"entryNames":["_deps"]}}
{"seq":24751,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/core/test/fixtures/source-maps/coursehero-bundle-1.js","line":1,"offset":467441,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":"."}}
{"seq":24752,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/core/test/fixtures/source-maps/coursehero-bundle-1.js","line":1,"offset":468633}}

Repro Steps

  1. git clone https://github.com/GoogleChrome/lighthouse --recurse-submodules
  2. In dir lighthouse, run git reset --hard 46e461e9fd585f5529f11618b602174065ec9c14
  3. Back in the initial folder, download RepoResults3/GoogleChrome.lighthouse.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./lighthouse ./GoogleChrome.lighthouse.replay.txt path/to/tsserver.js
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@typescript-bot
Copy link
Collaborator Author

impress/impress.js

⚠️ Note that typescript-4.9.4 also had errors ⚠️
Req #9371 - references
    at formatMessage (/typescript-4.9.4/lib/tsserver.js:179295:29)
    at IOSession.Session.writeMessage (/typescript-4.9.4/lib/tsserver.js:180370:31)
    at IOSession.Session.send (/typescript-4.9.4/lib/tsserver.js:180367:22)
    at IOSession.Session.doOutput (/typescript-4.9.4/lib/tsserver.js:180420:22)
    at IOSession.Session.onMessage (/typescript-4.9.4/lib/tsserver.js:182067:30)
    at Interface.<anonymous> (/typescript-4.9.4/lib/tsserver.js:186178:31)
Req #9371 - references
    at formatMessage2 (/typescript-5.0.0-dev.20230115/lib/tsserver.js:174244:21)
    at IOSession.writeMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175518:21)
    at IOSession.send (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175515:10)
    at IOSession.doOutput (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175571:10)
    at IOSession.onMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:177349:14)
    at Interface.<anonymous> (/typescript-5.0.0-dev.20230115/lib/tsserver.js:178787:14)

That is a filtered view of the text. To see the raw error text, go to RepoResults2/impress.impress.js.rawError.txt in the artifact folder

Last few requests

{"seq":9368,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/extras/mathjax/extensions/a11y/mathmaps/mathmaps_ie.js","line":1,"offset":161252,"entryNames":["sre"]}}
{"seq":9369,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/extras/mathjax/extensions/a11y/mathmaps/mathmaps_ie.js","line":1,"offset":161757,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":" "}}
{"seq":9370,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/extras/mathjax/extensions/a11y/mathmaps/mathmaps_ie.js","line":1,"offset":161941}}
{"seq":9371,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/extras/mathjax/extensions/a11y/mathmaps/mathmaps_ie.js","line":1,"offset":162474}}

Repro Steps

  1. git clone https://github.com/impress/impress.js --recurse-submodules
  2. In dir impress.js, run git reset --hard 7817f12c12b36b1616e050b01e9451ce4de3342b
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir impress.js/extras/mathjax, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir impress.js, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults2/impress.impress.js.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./impress.js ./impress.impress.js.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@typescript-bot
Copy link
Collaborator Author

jgraph/drawio

⚠️ Note that typescript-4.9.4 also had errors ⚠️
Req #32225 - references
    at formatMessage (/typescript-4.9.4/lib/tsserver.js:179295:29)
    at IOSession.Session.writeMessage (/typescript-4.9.4/lib/tsserver.js:180370:31)
    at IOSession.Session.send (/typescript-4.9.4/lib/tsserver.js:180367:22)
    at IOSession.Session.doOutput (/typescript-4.9.4/lib/tsserver.js:180420:22)
    at IOSession.Session.onMessage (/typescript-4.9.4/lib/tsserver.js:182067:30)
    at Interface.<anonymous> (/typescript-4.9.4/lib/tsserver.js:186178:31)
Req #32225 - references
    at formatMessage2 (/typescript-5.0.0-dev.20230115/lib/tsserver.js:174244:21)
    at IOSession.writeMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175518:21)
    at IOSession.send (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175515:10)
    at IOSession.doOutput (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175571:10)
    at IOSession.onMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:177349:14)
    at Interface.<anonymous> (/typescript-5.0.0-dev.20230115/lib/tsserver.js:178787:14)

That is a filtered view of the text. To see the raw error text, go to RepoResults2/jgraph.drawio.rawError.txt in the artifact folder

Last few requests

{"seq":32222,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/main/webapp/math/es5/tex-chtml-full.js","line":1,"offset":135317}}
{"seq":32223,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/main/webapp/math/es5/tex-chtml-full.js","line":1,"offset":136325}}
{"seq":32224,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/main/webapp/math/es5/tex-chtml-full.js","line":1,"offset":136457,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":" "}}
{"seq":32225,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/main/webapp/math/es5/tex-chtml-full.js","line":1,"offset":137292}}

Repro Steps

  1. git clone https://github.com/jgraph/drawio --recurse-submodules
  2. In dir drawio, run git reset --hard 6c43d708d5f47b3f10205a4b41a6ede091919c30
  3. Back in the initial folder, download RepoResults2/jgraph.drawio.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./drawio ./jgraph.drawio.replay.txt path/to/tsserver.js
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@typescript-bot
Copy link
Collaborator Author

mrdoob/three.js

⚠️ Note that typescript-4.9.4 also had errors ⚠️
Req #7801 - references
    at formatMessage (/typescript-4.9.4/lib/tsserver.js:179295:29)
    at IOSession.Session.writeMessage (/typescript-4.9.4/lib/tsserver.js:180370:31)
    at IOSession.Session.send (/typescript-4.9.4/lib/tsserver.js:180367:22)
    at IOSession.Session.doOutput (/typescript-4.9.4/lib/tsserver.js:180420:22)
    at IOSession.Session.onMessage (/typescript-4.9.4/lib/tsserver.js:182067:30)
    at Interface.<anonymous> (/typescript-4.9.4/lib/tsserver.js:186178:31)
Req #7801 - references
    at formatMessage2 (/typescript-5.0.0-dev.20230115/lib/tsserver.js:174244:21)
    at IOSession.writeMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175518:21)
    at IOSession.send (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175515:10)
    at IOSession.doOutput (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175571:10)
    at IOSession.onMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:177349:14)
    at Interface.<anonymous> (/typescript-5.0.0-dev.20230115/lib/tsserver.js:178787:14)

That is a filtered view of the text. To see the raw error text, go to RepoResults1/mrdoob.three.js.rawError.txt in the artifact folder

Last few requests

{"seq":7798,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/jsm/libs/draco/draco_encoder.js","line":11,"offset":135438,"entryNames":["_"]}}
{"seq":7799,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/jsm/libs/draco/draco_encoder.js","line":11,"offset":136087,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":7800,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/jsm/libs/draco/draco_encoder.js","line":11,"offset":136087,"entryNames":["_"]}}
{"seq":7801,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/examples/jsm/libs/draco/draco_encoder.js","line":11,"offset":136489}}

Repro Steps

  1. git clone https://github.com/mrdoob/three.js --recurse-submodules
  2. In dir three.js, run git reset --hard 996f6c9f5f606d3193b3c5545b88de7eb09cbb55
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir three.js, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir three.js/test, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults1/mrdoob.three.js.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./three.js ./mrdoob.three.js.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@typescript-bot
Copy link
Collaborator Author

swagger-api/swagger-ui

⚠️ Note that typescript-4.9.4 also had errors ⚠️
Req #4026 - references
    at formatMessage (/typescript-4.9.4/lib/tsserver.js:179295:29)
    at IOSession.Session.writeMessage (/typescript-4.9.4/lib/tsserver.js:180370:31)
    at IOSession.Session.send (/typescript-4.9.4/lib/tsserver.js:180367:22)
    at IOSession.Session.doOutput (/typescript-4.9.4/lib/tsserver.js:180420:22)
    at IOSession.Session.onMessage (/typescript-4.9.4/lib/tsserver.js:182067:30)
    at Interface.<anonymous> (/typescript-4.9.4/lib/tsserver.js:186178:31)
Req #4026 - references
    at formatMessage2 (/typescript-5.0.0-dev.20230115/lib/tsserver.js:174244:21)
    at IOSession.writeMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175518:21)
    at IOSession.send (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175515:10)
    at IOSession.doOutput (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175571:10)
    at IOSession.onMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:177349:14)
    at Interface.<anonymous> (/typescript-5.0.0-dev.20230115/lib/tsserver.js:178787:14)

That is a filtered view of the text. To see the raw error text, go to RepoResults3/swagger-api.swagger-ui.rawError.txt in the artifact folder

Last few requests

{"seq":4023,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/dist/swagger-ui-es-bundle.js","line":2,"offset":636661,"entryNames":["_"]}}
{"seq":4024,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/swagger-ui-es-bundle.js","line":2,"offset":637297,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":4025,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/dist/swagger-ui-es-bundle.js","line":2,"offset":637297,"entryNames":["_"]}}
{"seq":4026,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/dist/swagger-ui-es-bundle.js","line":2,"offset":639391}}

Repro Steps

  1. git clone https://github.com/swagger-api/swagger-ui --recurse-submodules
  2. In dir swagger-ui, run git reset --hard f3c6a2552d8c75ee10ebca027b67a1cfd9250fee
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir swagger-ui, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir swagger-ui/swagger-ui-dist-package, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults3/swagger-api.swagger-ui.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./swagger-ui ./swagger-api.swagger-ui.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@typescript-bot
Copy link
Collaborator Author

YMFE/yapi

⚠️ Note that typescript-4.9.4 also had errors ⚠️
Req #5101 - references
    at formatMessage (/typescript-4.9.4/lib/tsserver.js:179295:29)
    at IOSession.Session.writeMessage (/typescript-4.9.4/lib/tsserver.js:180370:31)
    at IOSession.Session.send (/typescript-4.9.4/lib/tsserver.js:180367:22)
    at IOSession.Session.doOutput (/typescript-4.9.4/lib/tsserver.js:180420:22)
    at IOSession.Session.onMessage (/typescript-4.9.4/lib/tsserver.js:182067:30)
    at Interface.<anonymous> (/typescript-4.9.4/lib/tsserver.js:186178:31)
Req #5101 - references
    at formatMessage2 (/typescript-5.0.0-dev.20230115/lib/tsserver.js:174244:21)
    at IOSession.writeMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175518:21)
    at IOSession.send (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175515:10)
    at IOSession.doOutput (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175571:10)
    at IOSession.onMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:177349:14)
    at Interface.<anonymous> (/typescript-5.0.0-dev.20230115/lib/tsserver.js:178787:14)

That is a filtered view of the text. To see the raw error text, go to RepoResults3/YMFE.yapi.rawError.txt in the artifact folder

Last few requests

{"seq":5098,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/static/prd/index@40d464d7fa4bb1bea815.js","line":1,"offset":406082}}
{"seq":5099,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/static/prd/index@40d464d7fa4bb1bea815.js","line":1,"offset":406867}}
{"seq":5100,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/static/prd/index@40d464d7fa4bb1bea815.js","line":1,"offset":407165}}
{"seq":5101,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/static/prd/index@40d464d7fa4bb1bea815.js","line":1,"offset":407248}}

Repro Steps

  1. git clone https://github.com/YMFE/yapi --recurse-submodules
  2. In dir yapi, run git reset --hard 59bade3a8a43e7db077d38a4b0c7c584f30ddf8c
  3. Back in the initial folder, download RepoResults3/YMFE.yapi.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./yapi ./YMFE.yapi.replay.txt path/to/tsserver.js
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@typescript-bot
Copy link
Collaborator Author

zhaoolee/ChromeAppHeroes

⚠️ Note that typescript-4.9.4 also had errors ⚠️
Req #27063 - references
    at formatMessage (/typescript-4.9.4/lib/tsserver.js:179295:29)
    at IOSession.Session.writeMessage (/typescript-4.9.4/lib/tsserver.js:180370:31)
    at IOSession.Session.send (/typescript-4.9.4/lib/tsserver.js:180367:22)
    at IOSession.Session.doOutput (/typescript-4.9.4/lib/tsserver.js:180420:22)
    at IOSession.Session.onMessage (/typescript-4.9.4/lib/tsserver.js:182067:30)
    at Interface.<anonymous> (/typescript-4.9.4/lib/tsserver.js:186178:31)
Req #27063 - references
    at formatMessage2 (/typescript-5.0.0-dev.20230115/lib/tsserver.js:174244:21)
    at IOSession.writeMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175518:21)
    at IOSession.send (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175515:10)
    at IOSession.doOutput (/typescript-5.0.0-dev.20230115/lib/tsserver.js:175571:10)
    at IOSession.onMessage (/typescript-5.0.0-dev.20230115/lib/tsserver.js:177349:14)
    at Interface.<anonymous> (/typescript-5.0.0-dev.20230115/lib/tsserver.js:178787:14)

That is a filtered view of the text. To see the raw error text, go to RepoResults4/zhaoolee.ChromeAppHeroes.rawError.txt in the artifact folder

Last few requests

{"seq":27060,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/backup/110-wechatsync/hchobocdmclopcbnibdnoafilagadion/1.0.10_0/editor.js","line":2,"offset":727599,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":27061,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/backup/110-wechatsync/hchobocdmclopcbnibdnoafilagadion/1.0.10_0/editor.js","line":2,"offset":727599,"entryNames":["_"]}}
{"seq":27062,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/backup/110-wechatsync/hchobocdmclopcbnibdnoafilagadion/1.0.10_0/editor.js","line":2,"offset":727632}}
{"seq":27063,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/backup/110-wechatsync/hchobocdmclopcbnibdnoafilagadion/1.0.10_0/editor.js","line":2,"offset":727746}}

Repro Steps

  1. git clone https://github.com/zhaoolee/ChromeAppHeroes --recurse-submodules
  2. In dir ChromeAppHeroes, run git reset --hard ec3cccff21ebb345451e6f94aadaf2eec4b05472
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir ChromeAppHeroes/docs, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir ChromeAppHeroes, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults4/zhaoolee.ChromeAppHeroes.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./ChromeAppHeroes ./zhaoolee.ChromeAppHeroes.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@jakebailey
Copy link
Member

FWIW all of these formatMessage2 ones should go away now that microsoft/typescript-error-deltas#92 is in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants