Skip to content

Test stuff #2

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

Open
wants to merge 52 commits into
base: main
Choose a base branch
from
Open

Test stuff #2

wants to merge 52 commits into from

Conversation

armanio123
Copy link
Owner

Fixes #

@armanio123
Copy link
Owner Author

armanio123 commented Mar 8, 2023

@armanio123 Here are the results of running the top-repos suite comparing main and refs/pull/2/merge:

Something interesting changed - please have a look.

Details

completionInfo

Req #4391 - completionInfo
at Object.addImportFromExportedSymbol (/typescript-52651/built/local/tsserver.js:140793:13)
at /typescript-52651/built/local/tsserver.js:146513:38
at importSymbols (/typescript-52651/built/local/tsserver.js:146513:11)
at Object.addNewNodeForMemberSymbol (/typescript-52651/built/local/tsserver.js:145946:11)
at getEntryForMemberCompletion (/typescript-52651/built/local/tsserver.js:148372:22)
at createCompletionEntry (/typescript-52651/built/local/tsserver.js:148269:64)
at getCompletionEntriesFromSymbols (/typescript-52651/built/local/tsserver.js:148808:19)
at completionInfoFromData (/typescript-52651/built/local/tsserver.js:147936:23)
at Object.getCompletionsAtPosition (/typescript-52651/built/local/tsserver.js:147758:24)
at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition]
(/typescript-52651/built/local/tsserver.js:134880:35)
at IOSession.getCompletions (/typescript-52651/built/local/tsserver.js:178378:54)
at completionInfo (/typescript-52651/built/local/tsserver.js:176789:43)
at /typescript-52651/built/local/tsserver.js:179142:69
at IOSession.executeWithRequestId (/typescript-52651/built/local/tsserver.js:179134:14)
at IOSession.executeCommand (/typescript-52651/built/local/tsserver.js:179142:29)
at IOSession.onMessage (/typescript-52651/built/local/tsserver.js:179184:51)
at Interface.<anonymous> (/typescript-52651/built/local/tsserver.js:180728:14)

Affected repos

codex-team/editor.js Raw error text: RepoResults4/codex-team.editor.js.rawError.txt in the artifact folder

Last few requests

{"seq":4388,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/components/modules/toolbar/inline.ts","line":331,"offset":1,"entryNames":["_"]}}
{"seq":4389,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/components/modules/toolbar/inline.ts","line":391,"offset":14,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":4390,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/components/modules/toolbar/inline.ts","line":391,"offset":14,"entryNames":["_"]}}
{"seq":4391,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/components/modules/toolbar/inline.ts","line":425,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}}

Repro Steps

  1. git clone https://github.com/codex-team/editor.js --recurse-submodules
  2. In dir editor.js, run git reset --hard 551e3f10b92cf5f5bb4fbd95ac504a815526dc18
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir editor.js/example/tools/checklist, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir editor.js/example/tools/code, run yarn install --ignore-engines --ignore-scripts --silent
    3. In dir editor.js/example/tools/delimiter, run yarn install --ignore-engines --ignore-scripts --silent
    4. In dir editor.js/example/tools/embed, run yarn install --ignore-engines --ignore-scripts --silent
    5. In dir editor.js/example/tools/header, run yarn install --ignore-engines --ignore-scripts --silent
    6. In dir editor.js/example/tools/image, run yarn install --ignore-engines --ignore-scripts --silent
    7. In dir editor.js/example/tools/inline-code, run yarn install --ignore-engines --ignore-scripts --silent
    8. In dir editor.js/example/tools/link, run yarn install --ignore-engines --ignore-scripts --silent
    9. In dir editor.js/example/tools/list, run yarn install --ignore-engines --ignore-scripts --silent
    10. In dir editor.js/example/tools/marker, run yarn install --ignore-engines --ignore-scripts --silent
    11. In dir editor.js/example/tools/nested-list, run yarn install --ignore-engines --ignore-scripts --silent
    12. In dir editor.js/example/tools/quote, run yarn install --ignore-engines --ignore-scripts --silent
    13. In dir editor.js/example/tools/raw, run yarn install --ignore-engines --ignore-scripts --silent
    14. In dir editor.js/example/tools/simple-image, run yarn install --ignore-engines --ignore-scripts --silent
    15. In dir editor.js/example/tools/table, run yarn install --ignore-engines --ignore-scripts --silent
    16. In dir editor.js/example/tools/text-variant-tune, run yarn install --ignore-engines --ignore-scripts --silent
    17. In dir editor.js/example/tools/warning, run yarn install --ignore-engines --ignore-scripts --silent
    18. In dir editor.js, run yarn install --ignore-engines --ignore-scripts --silent
    19. In dir editor.js/src/tools/paragraph, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults4/codex-team.editor.js.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./editor.js ./codex-team.editor.js.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typeorm/typeorm Raw error text: RepoResults2/typeorm.typeorm.rawError.txt in the artifact folder

Last few requests

{"seq":2191,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/src/query-builder/DeleteQueryBuilder.ts"}},"skipDestructiveCodeActions":true}}
{"seq":2192,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/src/query-builder/DeleteQueryBuilder.ts"}}
{"seq":2193,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/query-builder/DeleteQueryBuilder.ts","line":19,"offset":15}}
{"seq":2194,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/query-builder/DeleteQueryBuilder.ts","line":37,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}}

Repro Steps

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

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

backstage/backstage Raw error text: RepoResults4/backstage.backstage.rawError.txt in the artifact folder

Last few requests

{"seq":6466,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/src/database/DefaultProviderDatabase.test.ts","line":335,"offset":22}}
{"seq":6467,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/src/database/DefaultProviderDatabase.test.ts","line":400,"offset":25,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":6468,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/src/database/DefaultProviderDatabase.test.ts","line":400,"offset":25,"entryNames":["applyDatabaseMigrations"]}}
{"seq":6469,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/src/database/DefaultProviderDatabase.test.ts","line":580,"offset":35}}

Repro Steps

  1. git clone https://github.com/backstage/backstage --recurse-submodules
  2. In dir backstage, run git reset --hard 2db93700fe9cc19a7db4f0711544b0c189aefeba
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir backstage/cypress, run yarn install --no-immutable --mode=skip-build
    2. In dir backstage/microsite-next, run yarn install --no-immutable --mode=skip-build
    3. In dir backstage/microsite, run yarn install --no-immutable --mode=skip-build
    4. In dir backstage, run yarn install --no-immutable --mode=skip-build
    5. In dir backstage/storybook, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults4/backstage.backstage.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./backstage ./backstage.backstage.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

Armando Aguirre added 2 commits March 9, 2023 18:02
@zkat
Copy link

zkat commented Mar 13, 2023

This looks really good!!

@armanio123
Copy link
Owner Author

@armanio123 Here are the results of running the user test suite comparing main and refs/pull/2/merge:

Unfortunately, something went wrong, but it probably wasn't caused by your change.

Details

⚠️ Old server errors ⚠️

Error: Old Error 1
Req #4 - getOutliningSpans
    at IOSession.getOutliningSpans (\typescript-main\built\local\tsserver.js:179250:13)
    at getOutliningSpans (\typescript-main\built\local\tsserver.js:177767:43)
    at \typescript-main\built\local\tsserver.js:180176:69
    at IOSession.executeWithRequestId (\typescript-main\built\local\tsserver.js:180168:14)
    at IOSession.executeCommand (\typescript-main\built\local\tsserver.js:180176:29)
    at IOSession.onMessage (\typescript-main\built\local\tsserver.js:180218:51)
    at Interface.<anonymous> (\typescript-main\built\local\tsserver.js:181762:14)

Repos no longer reporting the error

Error: Old Error 2
Req #4 - getOutliningSpans
    at IOSession.getOutliningSpans (\typescript-main\built\local\tsserver.js:179248:13)
    at getOutliningSpans (\typescript-main\built\local\tsserver.js:177767:43)
    at \typescript-main\built\local\tsserver.js:180176:69
    at IOSession.executeWithRequestId (\typescript-main\built\local\tsserver.js:180168:14)
    at IOSession.executeCommand (\typescript-main\built\local\tsserver.js:180176:29)
    at IOSession.onMessage (\typescript-main\built\local\tsserver.js:180218:51)
    at Interface.<anonymous> (\typescript-main\built\local\tsserver.js:181762:14)

Repos no longer reporting the error

Error: This is error 1

Req #5 - navto
    at IOSession.getNavigateToItems (\typescript-2\built\local\tsserver.js:179673:13)
    at navto (\typescript-2\built\local\tsserver.js:177937:43)
    at \typescript-2\built\local\tsserver.js:180179:69
    at IOSession.executeWithRequestId (\typescript-2\built\local\tsserver.js:180171:14)
    at IOSession.executeCommand (\typescript-2\built\local\tsserver.js:180179:29)
    at IOSession.onMessage (\typescript-2\built\local\tsserver.js:180221:51)
    at Interface.<anonymous> (\typescript-2\built\local\tsserver.js:181765:14)

Affected repos

acorn Raw error text: out\acorn.rawError.txt in the artifact folder

Last few requests

{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":false}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/index.ts"}}
{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test acorn
  2. Back in the initial folder, download out\acorn.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./acorn ./acorn.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
async Raw error text: out\async.rawError.txt in the artifact folder

Last few requests

{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/index.ts"}}
{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test async
  2. Back in the initial folder, download out\async.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./async ./async.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
clear-require Raw error text: out\clear-require.rawError.txt in the artifact folder

Last few requests

{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":false}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/index.ts"}}
{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test clear-require
  2. Back in the initial folder, download out\clear-require.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./clear-require ./clear-require.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
minimatch Raw error text: out\minimatch.rawError.txt in the artifact folder

Last few requests

{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/index.ts"}}
{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test minimatch
  2. Back in the initial folder, download out\minimatch.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./minimatch ./minimatch.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
url-search-params Raw error text: out\url-search-params.rawError.txt in the artifact folder

Last few requests

{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/index.ts"}}
{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test url-search-params
  2. Back in the initial folder, download out\url-search-params.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./url-search-params ./url-search-params.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

Error: Test error message.

Req #9 - completionInfo
    at IOSession.getCompletions (\typescript-2\built\local\tsserver.js:179400:13)
    at completionInfo (\typescript-2\built\local\tsserver.js:177831:43)
    at \typescript-2\built\local\tsserver.js:180179:69
    at IOSession.executeWithRequestId (\typescript-2\built\local\tsserver.js:180171:14)
    at IOSession.executeCommand (\typescript-2\built\local\tsserver.js:180179:29)
    at IOSession.onMessage (\typescript-2\built\local\tsserver.js:180221:51)
    at Interface.<anonymous> (\typescript-2\built\local\tsserver.js:181765:14)

Affected repos

npm Raw error text: out\npm.rawError.txt in the artifact folder

Last few requests

{"seq":6,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/bin/npx-cli.js"}},"skipDestructiveCodeActions":false}}
{"seq":7,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/bin/npx-cli.js"}}
{"seq":8,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/bin/npx-cli.js","textChanges":[{"newText":" //comment","start":{"line":1,"offset":20},"end":{"line":1,"offset":20}}]}],"closedFiles":[],"openFiles":[]}}
{"seq":9,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/bin/npx-cli.js","line":36,"offset":17,"includeExternalModuleExports":false,"triggerKind":1}}

Repro steps

  1. git clone https://github.com/npm/cli.git --recurse-submodules
  2. In dir npm, run git reset --hard 434b461e4c15513817eaec6acfe82c7814789c85
  3. Back in the initial folder, download out\npm.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./npm ./npm.replay.txt path/to/tsserver.js
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
TypeScript-React-Native-Starter Raw error text: out\TypeScript-React-Native-Starter.rawError.txt in the artifact folder

Last few requests

{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/ExampleProject/__tests__/App.tsx","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/ExampleProject/__tests__/App.tsx"}}
{"seq":4,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/ExampleProject/__tests__/App.tsx","textChanges":[{"newText":" //comment","start":{"line":1,"offset":23},"end":{"line":1,"offset":23}}]}],"closedFiles":[],"openFiles":[]}}
{"seq":5,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/ExampleProject/__tests__/App.tsx","line":5,"offset":59,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}}

Repro steps

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

Error: This is error 0

Req #5 - navto
    at IOSession.getNavigateToItems (\typescript-2\built\local\tsserver.js:179671:13)
    at navto (\typescript-2\built\local\tsserver.js:177937:43)
    at \typescript-2\built\local\tsserver.js:180179:69
    at IOSession.executeWithRequestId (\typescript-2\built\local\tsserver.js:180171:14)
    at IOSession.executeCommand (\typescript-2\built\local\tsserver.js:180179:29)
    at IOSession.onMessage (\typescript-2\built\local\tsserver.js:180221:51)
    at Interface.<anonymous> (\typescript-2\built\local\tsserver.js:181765:14)

Affected repos

clone Raw error text: out\clone.rawError.txt in the artifact folder

Last few requests

{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":false}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/index.ts"}}
{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test clone
  2. Back in the initial folder, download out\clone.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./clone ./clone.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
content-disposition Raw error text: out\content-disposition.rawError.txt in the artifact folder

Last few requests

{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/index.ts"}}
{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test content-disposition
  2. Back in the initial folder, download out\content-disposition.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./content-disposition ./content-disposition.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
debug Raw error text: out\debug.rawError.txt in the artifact folder

Last few requests

{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":false}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/index.ts"}}
{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test debug
  2. Back in the initial folder, download out\debug.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./debug ./debug.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
enhanced-resolve Raw error text: out\enhanced-resolve.rawError.txt in the artifact folder

Last few requests

{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"disableLineTextInReferences":true,"includePackageJsonAutoImports":"auto","includeCompletionsForImportStatements":true,"includeCompletionsWithSnippetText":true,"includeAutomaticOptionalChainCompletions":true,"includeCompletionsWithInsertText":true,"includeCompletionsWithClassMemberSnippets":true,"allowIncompleteCompletions":true,"includeCompletionsForModuleExports":false},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":false}}
{"seq":4,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test enhanced-resolve
  2. Back in the initial folder, download out\enhanced-resolve.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./enhanced-resolve ./enhanced-resolve.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
follow-redirects Raw error text: out\follow-redirects.rawError.txt in the artifact folder

Last few requests

{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/index.ts"}}
{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test follow-redirects
  2. Back in the initial folder, download out\follow-redirects.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./follow-redirects ./follow-redirects.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
fp-ts Raw error text: out\fp-ts.rawError.txt in the artifact folder

Last few requests

{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"disableLineTextInReferences":true,"includePackageJsonAutoImports":"auto","includeCompletionsForImportStatements":true,"includeCompletionsWithSnippetText":true,"includeAutomaticOptionalChainCompletions":true,"includeCompletionsWithInsertText":true,"includeCompletionsWithClassMemberSnippets":true,"allowIncompleteCompletions":true,"includeCompletionsForModuleExports":false},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/dtslint/index.d.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/dtslint/index.d.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. git clone https://github.com/gcanti/fp-ts.git --recurse-submodules
  2. In dir fp-ts, run git reset --hard 2ce18c53604ad772937f4d3281d3590a17d70a95
  3. Back in the initial folder, download out\fp-ts.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./fp-ts ./fp-ts.replay.txt path/to/tsserver.js
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
util Raw error text: out\util.rawError.txt in the artifact folder

Last few requests

{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"disableLineTextInReferences":true,"includePackageJsonAutoImports":"auto","includeCompletionsForImportStatements":true,"includeCompletionsWithSnippetText":true,"includeAutomaticOptionalChainCompletions":true,"includeCompletionsWithInsertText":true,"includeCompletionsWithClassMemberSnippets":true,"allowIncompleteCompletions":true,"includeCompletionsForModuleExports":false},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/index.ts"}}
{"seq":4,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. Download user test util
  2. Back in the initial folder, download out\util.replay.txt from the artifact folder
  3. npm install --no-save @typescript/server-replay
  4. npx tsreplay ./util ./util.replay.txt path/to/tsserver.js
  5. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

andrewbranch and others added 23 commits April 6, 2023 13:06
donaldnevermore and others added 25 commits April 13, 2023 08:35
…ate resolutions from everything in the scoped package (microsoft#53873)
… since we dont need to check ambient module presence to determine whether to watch them (microsoft#53875)
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

Successfully merging this pull request may close these issues.