microsoft / TypeScript

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

[ServerErrors][JavaScript] 5.0.0-dev.20230226 #52988

Closed typescript-bot closed 1 year ago

typescript-bot commented 1 year ago

The following errors were reported by 5.0.0-dev.20230226 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 195 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 55 | | Detected no interesting changes | 140 | | Language service disabled in new TS | 1 | | Unknown failure | 4 |

Investigation Status

Repo Errors Outcome
agalwood/Motrix 1
atlassian/react-beautiful-dnd 1
Automattic/mongoose 1
benweet/stackedit 1
bilibili/flv.js 1
ccxt/ccxt 1
chartjs/Chart.js 1
ColorlibHQ/AdminLTE 1
cypress-io/cypress 1
dcloudio/uni-app 1
discordjs/discord.js 1
DIYgod/RSSHub 1
emberjs/ember.js 1
fabricjs/fabric.js 1
facebook/create-react-app 1
fastify/fastify 1
gatsbyjs/gatsby 1
GoogleChrome/lighthouse 1
jquery/jquery 1
Leaflet/Leaflet 1
louislam/uptime-kuma 1
lovell/sharp 1
lutzroeder/netron 1
marktext/marktext 1
Meituan-Dianping/mpvue 1
mermaid-js/mermaid 1
meteor/meteor 1
microsoft/monaco-editor 1
mochajs/mocha 1
moment/moment 1
mozilla/pdf.js 1
mrdoob/three.js 1
odoo/odoo 1
parallax/jsPDF 1
parcel-bundler/parcel 1
petkaantonov/bluebird 1
pugjs/pug 1
quasarframework/quasar 1
quilljs/quill 1
ramda/ramda 1
Semantic-Org/Semantic-UI 1
sequelize/sequelize 1
serverless/serverless 1
SheetJS/sheetjs 1
strapi/strapi 1
swagger-api/swagger-ui 1
tastejs/todomvc 1
tj/commander.js 1
twbs/bootstrap 1
vercel/next.js 1
vercel/pkg 1
videojs/video.js 1
vuejs/vuepress 1
webpack/webpack 1
winstonjs/winston 1
typescript-bot commented 1 year ago

vercel/pkg

:warning: Note that typescript-4.9.5 had errors :warning: ``` Req #279 - completionEntryDetails at getImportFixForSymbol (/typescript-4.9.5/lib/tsserver.js:156523:22) at Object.getImportCompletionAction (/typescript-4.9.5/lib/tsserver.js:156506:45) at getCompletionEntryCodeActionsAndSourceDisplay (/typescript-4.9.5/lib/tsserver.js:136327:33) at Object.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:136266:30) at Object.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:169156:35) at /typescript-4.9.5/lib/tsserver.js:181347:57 at Object.mapDefined (/typescript-4.9.5/lib/tsserver.js:621:30) at IOSession.Session.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:181345:33) at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.9.5/lib/tsserver.js:179982:61) at /typescript-4.9.5/lib/tsserver.js:182034:96 at IOSession.Session.executeWithRequestId (/typescript-4.9.5/lib/tsserver.js:182025:28) at IOSession.Session.executeCommand (/typescript-4.9.5/lib/tsserver.js:182034:41) at IOSession.Session.onMessage (/typescript-4.9.5/lib/tsserver.js:182062:35) at Interface. (/typescript-4.9.5/lib/tsserver.js:186188:31) ```

:tada: New server no longer has errors :tada:

typescript-bot commented 1 year ago

videojs/video.js

:warning: Note that typescript-4.9.5 had errors :warning: ``` Req #7228 - completionEntryDetails at getSingleExportInfoForSymbol (/typescript-4.9.5/lib/tsserver.js:156548:29) at Object.getImportCompletionAction (/typescript-4.9.5/lib/tsserver.js:156501:20) at getCompletionEntryCodeActionsAndSourceDisplay (/typescript-4.9.5/lib/tsserver.js:136327:33) at Object.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:136266:30) at Object.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:169156:35) at /typescript-4.9.5/lib/tsserver.js:181347:57 at Object.mapDefined (/typescript-4.9.5/lib/tsserver.js:621:30) at IOSession.Session.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:181345:33) at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.9.5/lib/tsserver.js:179982:61) at /typescript-4.9.5/lib/tsserver.js:182034:96 at IOSession.Session.executeWithRequestId (/typescript-4.9.5/lib/tsserver.js:182025:28) at IOSession.Session.executeCommand (/typescript-4.9.5/lib/tsserver.js:182034:41) at IOSession.Session.onMessage (/typescript-4.9.5/lib/tsserver.js:182062:35) at Interface. (/typescript-4.9.5/lib/tsserver.js:186188:31) ```

:tada: New server no longer has errors :tada:

typescript-bot commented 1 year ago

vuejs/vuepress

:warning: Note that typescript-4.9.5 had errors :warning: ``` Req #502 - completionEntryDetails at getImportFixForSymbol (/typescript-4.9.5/lib/tsserver.js:156523:22) at Object.getImportCompletionAction (/typescript-4.9.5/lib/tsserver.js:156506:45) at getCompletionEntryCodeActionsAndSourceDisplay (/typescript-4.9.5/lib/tsserver.js:136327:33) at Object.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:136266:30) at Object.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:169156:35) at /typescript-4.9.5/lib/tsserver.js:181347:57 at Object.mapDefined (/typescript-4.9.5/lib/tsserver.js:621:30) at IOSession.Session.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:181345:33) at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.9.5/lib/tsserver.js:179982:61) at /typescript-4.9.5/lib/tsserver.js:182034:96 at IOSession.Session.executeWithRequestId (/typescript-4.9.5/lib/tsserver.js:182025:28) at IOSession.Session.executeCommand (/typescript-4.9.5/lib/tsserver.js:182034:41) at IOSession.Session.onMessage (/typescript-4.9.5/lib/tsserver.js:182062:35) at Interface. (/typescript-4.9.5/lib/tsserver.js:186188:31) ```

:tada: New server no longer has errors :tada:

typescript-bot commented 1 year ago

webpack/webpack

:warning: Note that typescript-4.9.5 had errors :warning: ``` Req #3542 - completionEntryDetails at getImportFixForSymbol (/typescript-4.9.5/lib/tsserver.js:156523:22) at Object.getImportCompletionAction (/typescript-4.9.5/lib/tsserver.js:156506:45) at getCompletionEntryCodeActionsAndSourceDisplay (/typescript-4.9.5/lib/tsserver.js:136327:33) at Object.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:136266:30) at Object.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:169156:35) at /typescript-4.9.5/lib/tsserver.js:181347:57 at Object.mapDefined (/typescript-4.9.5/lib/tsserver.js:621:30) at IOSession.Session.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:181345:33) at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.9.5/lib/tsserver.js:179982:61) at /typescript-4.9.5/lib/tsserver.js:182034:96 at IOSession.Session.executeWithRequestId (/typescript-4.9.5/lib/tsserver.js:182025:28) at IOSession.Session.executeCommand (/typescript-4.9.5/lib/tsserver.js:182034:41) at IOSession.Session.onMessage (/typescript-4.9.5/lib/tsserver.js:182062:35) at Interface. (/typescript-4.9.5/lib/tsserver.js:186188:31) ```
Req #4451 - completionEntryDetails
    at getCompletionEntryCodeActionsAndSourceDisplay (/typescript-5.0.0-dev.20230226/lib/tsserver.js:149828:9)
    at Object.getCompletionEntryDetails (/typescript-5.0.0-dev.20230226/lib/tsserver.js:149699:46)
    at Object.getCompletionEntryDetails2 [as getCompletionEntryDetails] (/typescript-5.0.0-dev.20230226/lib/tsserver.js:135588:35)
    at /typescript-5.0.0-dev.20230226/lib/tsserver.js:179210:43
    at mapDefined (/typescript-5.0.0-dev.20230226/lib/tsserver.js:2628:22)
    at IOSession.getCompletionEntryDetails (/typescript-5.0.0-dev.20230226/lib/tsserver.js:179208:20)
    at completionEntryDetails (/typescript-5.0.0-dev.20230226/lib/tsserver.js:177554:43)
    at /typescript-5.0.0-dev.20230226/lib/tsserver.js:179898:69
    at IOSession.executeWithRequestId (/typescript-5.0.0-dev.20230226/lib/tsserver.js:179890:14)
    at IOSession.executeCommand (/typescript-5.0.0-dev.20230226/lib/tsserver.js:179898:29)
    at IOSession.onMessage (/typescript-5.0.0-dev.20230226/lib/tsserver.js:179940:51)
    at Interface.<anonymous> (/typescript-5.0.0-dev.20230226/lib/tsserver.js:181484:14)

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

Last few requests

```json {"seq":4448,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/lib/library/UmdLibraryPlugin.js","line":29,"offset":8,"entryNames":[{"name":"ExportPropertyLibraryPlugin","source":"/mnt/ts_downloads/webpack/lib/library/ExportPropertyLibraryPlugin","data":{"exportName":"export=","exportMapKey":"ExportPropertyLibraryPlugin|38657|","fileName":"/mnt/ts_downloads/webpack/lib/library/ExportPropertyLibraryPlugin.js"}}]}} {"seq":4449,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/lib/library/UmdLibraryPlugin.js","line":29,"offset":8,"entryNames":[{"name":"exports","source":"enhanced-resolve","data":{"exportName":"export=","exportMapKey":"exports|5703|","moduleSpecifier":"enhanced-resolve","fileName":"/mnt/ts_downloads/webpack/node_modules/enhanced-resolve/types.d.ts"}}]}} {"seq":4450,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/lib/library/UmdLibraryPlugin.js","line":29,"offset":8,"entryNames":[{"name":"exports","source":"../RuntimeGlobals","data":{"exportName":"exports","exportMapKey":"exports|21269|","moduleSpecifier":"../RuntimeGlobals","fileName":"/mnt/ts_downloads/webpack/lib/RuntimeGlobals.js"}}]}} {"seq":4451,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/lib/library/UmdLibraryPlugin.js","line":29,"offset":8,"entryNames":[{"name":"EXPORTS_OBJECT_REFERENCED","source":"../dependencies/LoaderDependency","data":{"exportName":"EXPORTS_OBJECT_REFERENCED","exportMapKey":"EXPORTS_OBJECT_REFERENCED|34515|","moduleSpecifier":"../dependencies/LoaderDependency","fileName":"/mnt/ts_downloads/webpack/lib/dependencies/LoaderDependency.js"}}]}} ```

Repro Steps

  1. git clone https://github.com/webpack/webpack --recurse-submodules
  2. In dir webpack, run git reset --hard b67626c7b4ffed8737d195b27c8cea1e68d58134
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir webpack, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir webpack/test/cases/entry-exports-field/imports, run yarn install --ignore-engines --ignore-scripts --silent
    3. In dir webpack/test/cases/entry-exports-field/self, run yarn install --ignore-engines --ignore-scripts --silent
    4. In dir webpack/test/cases/inner-graph/no-side-effects/package, run yarn install --ignore-engines --ignore-scripts --silent
    5. In dir webpack/test/cases/inner-graph/static-of-class/other, run yarn install --ignore-engines --ignore-scripts --silent
    6. In dir webpack/test/cases/loaders/issue-4959, run yarn install --ignore-engines --ignore-scripts --silent
    7. In dir webpack/test/cases/mjs/cjs-import-default, run yarn install --ignore-engines --ignore-scripts --silent
    8. In dir webpack/test/cases/mjs/namespace-object-lazy, run yarn install --ignore-engines --ignore-scripts --silent
    9. In dir webpack/test/cases/mjs/no-module-main-field, run yarn install --ignore-engines --ignore-scripts --silent
    10. In dir webpack/test/cases/mjs/type-module, run yarn install --ignore-engines --ignore-scripts --silent
    11. In dir webpack/test/cases/mjs/type-null, run yarn install --ignore-engines --ignore-scripts --silent
    12. In dir webpack/test/cases/parsing/harmony-export-import-specifier/side-effect-free, run yarn install --ignore-engines --ignore-scripts --silent
    13. In dir webpack/test/cases/parsing/harmony-star-conflict/named-with-namespace-no-side, run yarn install --ignore-engines --ignore-scripts --silent
    14. In dir webpack/test/cases/scope-hoisting/order-without-side-effects, run yarn install --ignore-engines --ignore-scripts --silent
    15. In dir webpack/test/cases/scope-hoisting/side-effects-11990-star, run yarn install --ignore-engines --ignore-scripts --silent
    16. In dir webpack/test/cases/scope-hoisting/side-effects-11990, run yarn install --ignore-engines --ignore-scripts --silent
    17. In dir webpack/test/cases/scope-hoisting/side-effects-9159/package, run yarn install --ignore-engines --ignore-scripts --silent
    18. In dir webpack/test/cases/side-effects/dynamic-reexports/dedupe-target-with-side, run yarn install --ignore-engines --ignore-scripts --silent
    19. In dir webpack/test/cases/side-effects/dynamic-reexports, run yarn install --ignore-engines --ignore-scripts --silent
    20. In dir webpack/test/cases/side-effects/issue-12071, run yarn install --ignore-engines --ignore-scripts --silent
    21. In dir webpack/test/cases/side-effects/issue-12570-second-try, run yarn install --ignore-engines --ignore-scripts --silent
    22. In dir webpack/test/cases/side-effects/issue-12570, run yarn install --ignore-engines --ignore-scripts --silent
    23. In dir webpack/test/cases/side-effects/missing-module-7499/example, run yarn install --ignore-engines --ignore-scripts --silent
    24. In dir webpack/test/cases/side-effects/order-issue-7665/module, run yarn install --ignore-engines --ignore-scripts --silent
    25. In dir webpack/test/cases/side-effects/wrong-module-10146/module, run yarn install --ignore-engines --ignore-scripts --silent
    26. In dir webpack/test/configCases/container/1-container-full, run yarn install --ignore-engines --ignore-scripts --silent
    27. In dir webpack/test/configCases/container/2-container-full, run yarn install --ignore-engines --ignore-scripts --silent
    28. In dir webpack/test/configCases/container/3-container-full, run yarn install --ignore-engines --ignore-scripts --silent
    29. In dir webpack/test/configCases/container/exposed-overridables, run yarn install --ignore-engines --ignore-scripts --silent
    30. In dir webpack/test/configCases/ecmaVersion/browserslist-missing, run yarn install --ignore-engines --ignore-scripts --silent
    31. In dir webpack/test/configCases/ecmaVersion/browserslist, run yarn install --ignore-engines --ignore-scripts --silent
    32. In dir webpack/test/configCases/records/issue-2991/pkgs/somepackage, run yarn install --ignore-engines --ignore-scripts --silent
    33. In dir webpack/test/configCases/resolve-merging/override/package, run yarn install --ignore-engines --ignore-scripts --silent
    34. In dir webpack/test/configCases/resolve/context-resolve-with-ignore/a/foo, run yarn install --ignore-engines --ignore-scripts --silent
    35. In dir webpack/test/configCases/resolve/context-resolve-with-ignore/b/foo, run yarn install --ignore-engines --ignore-scripts --silent
    36. In dir webpack/test/configCases/sharing/consume-module, run yarn install --ignore-engines --ignore-scripts --silent
    37. In dir webpack/test/configCases/sharing/consume-multiple-versions, run yarn install --ignore-engines --ignore-scripts --silent
    38. In dir webpack/test/configCases/sharing/no-override-loaded, run yarn install --ignore-engines --ignore-scripts --silent
    39. In dir webpack/test/configCases/sharing/provide-eager-module, run yarn install --ignore-engines --ignore-scripts --silent
    40. In dir webpack/test/configCases/sharing/provide-module, run yarn install --ignore-engines --ignore-scripts --silent
    41. In dir webpack/test/configCases/sharing/provide-multiple-versions, run yarn install --ignore-engines --ignore-scripts --silent
    42. In dir webpack/test/configCases/sharing/share-multiple-versions, run yarn install --ignore-engines --ignore-scripts --silent
    43. In dir webpack/test/configCases/sharing/share-plugin, run yarn install --ignore-engines --ignore-scripts --silent
    44. In dir webpack/test/configCases/split-chunks/asnyc-entries, run yarn install --ignore-engines --ignore-scripts --silent
    45. In dir webpack/test/configCases/web/unique-jsonp, run yarn install --ignore-engines --ignore-scripts --silent
    46. In dir webpack/test/statsCases/ignore-warnings, run yarn install --ignore-engines --ignore-scripts --silent
    47. In dir webpack/test/statsCases/resolve-plugin-context, run yarn install --ignore-engines --ignore-scripts --silent
    48. In dir webpack/test/statsCases/side-effects-issue-7428/components, run yarn install --ignore-engines --ignore-scripts --silent
    49. In dir webpack/test/watchCases/side-effects/issue-7400/0/my-module, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults1/webpack.webpack.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./webpack ./webpack.webpack.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 1 year ago

winstonjs/winston

:warning: Note that typescript-4.9.5 had errors :warning: ``` Req #567 - completionEntryDetails at getImportFixForSymbol (/typescript-4.9.5/lib/tsserver.js:156523:22) at Object.getImportCompletionAction (/typescript-4.9.5/lib/tsserver.js:156506:45) at getCompletionEntryCodeActionsAndSourceDisplay (/typescript-4.9.5/lib/tsserver.js:136327:33) at Object.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:136266:30) at Object.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:169156:35) at /typescript-4.9.5/lib/tsserver.js:181347:57 at Object.mapDefined (/typescript-4.9.5/lib/tsserver.js:621:30) at IOSession.Session.getCompletionEntryDetails (/typescript-4.9.5/lib/tsserver.js:181345:33) at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.9.5/lib/tsserver.js:179982:61) at /typescript-4.9.5/lib/tsserver.js:182034:96 at IOSession.Session.executeWithRequestId (/typescript-4.9.5/lib/tsserver.js:182025:28) at IOSession.Session.executeCommand (/typescript-4.9.5/lib/tsserver.js:182034:41) at IOSession.Session.onMessage (/typescript-4.9.5/lib/tsserver.js:182062:35) at Interface. (/typescript-4.9.5/lib/tsserver.js:186188:31) ```

:tada: New server no longer has errors :tada: