Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix invalid URI for untitled references/definitions#1344

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
RyanCavanaugh merged 9 commits intomainfromcopilot/fix-1343
Jul 15, 2025

Conversation

Copilot
Copy link
Contributor

@CopilotCopilotAI commentedJul 1, 2025
edited
Loading

This PR addresses the issue where find references and go-to-definition operations on untitled files return incorrect URIs that cannot be linked back to the original location.

Root Cause Analysis

The issue was in the path handling logic ininternal/tspath/path.go. When VS Code sends requests with untitled URIs likeuntitled:Untitled-2, the following sequence occurs:

  1. DocumentURIToFileName correctly convertsuntitled:Untitled-2 to^/untitled/ts-nul-authority/Untitled-2
  2. GetEncodedRootLength did not recognize^/ as a rooted path, returning 0
  3. ToPath treated the untitled filename as relative and resolved it against current directory
  4. ❌ This corrupted^/untitled/ts-nul-authority/Untitled-2 into/home/user/project/^/untitled/ts-nul-authority/Untitled-2
  5. ❌ Later whenFileNameToDocumentURI was called, it couldn't recognize the corrupted path as untitled and returned a regular file URI

Solution

ModifiedGetEncodedRootLength to recognize paths starting with^/ as rooted paths (similar to how/ andc: are handled). This prevents untitled filenames from being resolved against the current directory.

Implementation

  • Added check for^/ prefix inGetEncodedRootLength function
  • Returns root length of 2 for untitled paths (length of^/)
  • Added comprehensive tests for edge cases and round-trip conversion
  • Added integration test simulating the complete LSP flow
  • Verified existing functionality is preserved

Before Fix

Input: untitled:Untitled-2File path after ToPath: /home/user/project/^/untitled/ts-nul-authority/Untitled-2  Output URI: file:///home/user/project/%5E/untitled/ts-nul-authority/Untitled-2

After Fix

Input: untitled:Untitled-2File path after ToPath: ^/untitled/ts-nul-authority/Untitled-2Output URI: untitled:Untitled-2

The integration test confirms the complete flow works correctly, simulating the exact scenario from the original issue where references and definitions on untitled files now return properuntitled: URIs instead of brokenfile:// URIs.

Fixes#1343.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn moreCopilot coding agent tips in the docs.

CopilotAIand others added3 commitsJuly 1, 2025 23:59
Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
The issue was that untitled filenames (^/untitled/ts-nul-authority/...) were being treated as relative paths and resolved against the current working directory, corrupting their format.- Modified GetEncodedRootLength to recognize ^/ as a rooted path prefix- Added comprehensive tests for untitled path handling- Verified fix resolves the URI conversion round-trip issueCo-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
This test simulates the exact issue scenario:- VS Code sends untitled:Untitled-2 URI- Verifies the path is not corrupted by current directory resolution- Confirms round-trip URI conversion works correctly- Proves references/definitions will return correct untitled URIsCo-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
@CopilotCopilotAI changed the title[WIP] Invaliduri for untitled references/definitionsFix invalid URI for untitled references/definitionsJul 2, 2025
Copilot finished work on behalf ofDanielRosenwasserJuly 2, 2025 00:18
Comment on lines 167 to 171
// Untitled paths (e.g., "^/untitled/ts-nul-authority/Untitled-1")
if ch0 == '^' && ln > 1 && path[1] == '/' {
return 2 // Untitled: "^/"
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This is uncommon, so move it right before the URL checks.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Moved the untitled path check to before the URL checks as requested. This improves performance by checking common cases (POSIX/DOS paths) first before the uncommon untitled paths. Fixed in0fd6461.

Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
Copilot finished work on behalf ofDanielRosenwasserJuly 2, 2025 00:50
@DanielRosenwasser
Copy link
Member

There's a check for&& !strings.HasPrefix(opts.FileName, "^/") somehwere in the code that no longer applies

Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
@CopilotCopilot SWE Agent
Copy link
ContributorAuthor

CopilotAI commentedJul 2, 2025

There's a check for&& !strings.HasPrefix(opts.FileName, "^/") somehwere in the code that no longer applies

Removed the redundant check as requested. SinceGetEncodedRootLength now returns 2 for^/ paths instead of 0, the&& !strings.HasPrefix(opts.FileName, "^/") condition is no longer needed. Fixed in7d3c7e7.

Copilot finished work on behalf ofDanielRosenwasserJuly 2, 2025 02:01
@@ -10072,7 +10072,7 @@ type SourceFile struct {
}

func (f *NodeFactory) NewSourceFile(opts SourceFileParseOptions, text string, statements *NodeList, endOfFileToken *TokenNode) *Node {
if (tspath.GetEncodedRootLength(opts.FileName) == 0&& !strings.HasPrefix(opts.FileName, "^/"))|| opts.FileName != tspath.NormalizePath(opts.FileName) {
if (tspath.GetEncodedRootLength(opts.FileName) == 0 || opts.FileName != tspath.NormalizePath(opts.FileName) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
if(tspath.GetEncodedRootLength(opts.FileName)==0||opts.FileName!=tspath.NormalizePath(opts.FileName) {
iftspath.GetEncodedRootLength(opts.FileName)==0||opts.FileName!=tspath.NormalizePath(opts.FileName) {

and then run tests

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Fixed the syntax error in the condition as suggested. Removed the extra parenthesis and fixed the missing closing parenthesis. Also fixed a related test type issue. Fixed in1201772.

Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
Copilot finished work on behalf ofDanielRosenwasserJuly 7, 2025 23:22
@jakebaileyjakebailey marked this pull request as ready for reviewJuly 7, 2025 23:34
@jakebailey
Copy link
Member

This is not work to do, just noting my thoughts (do not take these as instructions).

I applied this to Strada, and it failed:

  1)                 unittests:: tsserver:: resolutionCache:: global typings and inferred project watching           when resolution is succeeds in global typings location with import from the cache file:     Error: Debug Failure. False expression: /dev/null/inferredProject1*:: Modules ^/aichat-code-block-anysphere/ocjahtkquh Expect cache for file in program or auto type ref      at collectResolutionToRefFromCache (src/harness/incrementalUtils.ts:296:18)      at /home/jabaile/work/TypeScript/src/harness/incrementalUtils.ts:218:9      at Map.forEach (<anonymous>)      at verifyResolutionCache (src/harness/incrementalUtils.ts:217:32)      at verifyProgram (src/harness/incrementalUtils.ts:572:5)      at _ProjectService.verifyProgram (src/harness/incrementalUtils.ts:660:9)      at InferredProject2.updateGraphWorker (src/server/project.ts:1728:29)      at InferredProject2.updateGraph (src/server/project.ts:1430:36)      at _ProjectService.assignOrphanScriptInfoToInferredProject (src/server/editorServices.ts:2261:17)      at _ProjectService.assignProjectToOpenedScriptInfo (src/server/editorServices.ts:4364:18)      at _ProjectService.openClientFileWithNormalizedPath (src/server/editorServices.ts:4869:52)      at TestSession2.openClientFile (src/server/session.ts:2303:29)      at open (src/server/session.ts:3525:18)      at /home/jabaile/work/TypeScript/src/server/session.ts:3853:75      at TestSession2.executeWithRequestId (src/server/session.ts:3842:20)      at TestSession2.executeCommand (src/server/session.ts:3853:35)      at TestSession2.executeCommand (src/testRunner/unittests/helpers/tsserver.ts:275:32)      at TestSession2.executeCommandSeq (src/testRunner/unittests/helpers/tsserver.ts:288:21)      at openFilesForSession (src/testRunner/unittests/helpers/tsserver.ts:449:17)      at Context.<anonymous> (src/testRunner/unittests/tsserver/resolutionCache.ts:742:17)      at processImmediate (node:internal/timers:505:21)  2)                 unittests:: tsserver:: resolutionCache:: global typings and inferred project watching           when resolution is succeeds in global typings location with import from the cache file with currentDirectory at root:     Error: Debug Failure. False expression: /dev/null/inferredProject1*:: Modules ^/aichat-code-block-anysphere/ocjahtkquh Expect cache for file in program or auto type ref      at collectResolutionToRefFromCache (src/harness/incrementalUtils.ts:296:18)      at /home/jabaile/work/TypeScript/src/harness/incrementalUtils.ts:218:9      at Map.forEach (<anonymous>)      at verifyResolutionCache (src/harness/incrementalUtils.ts:217:32)      at verifyProgram (src/harness/incrementalUtils.ts:572:5)      at _ProjectService.verifyProgram (src/harness/incrementalUtils.ts:660:9)      at InferredProject2.updateGraphWorker (src/server/project.ts:1728:29)      at InferredProject2.updateGraph (src/server/project.ts:1430:36)      at _ProjectService.assignOrphanScriptInfoToInferredProject (src/server/editorServices.ts:2261:17)      at _ProjectService.assignProjectToOpenedScriptInfo (src/server/editorServices.ts:4364:18)      at _ProjectService.openClientFileWithNormalizedPath (src/server/editorServices.ts:4869:52)      at TestSession2.openClientFile (src/server/session.ts:2303:29)      at open (src/server/session.ts:3525:18)      at /home/jabaile/work/TypeScript/src/server/session.ts:3853:75      at TestSession2.executeWithRequestId (src/server/session.ts:3842:20)      at TestSession2.executeCommand (src/server/session.ts:3853:35)      at TestSession2.executeCommand (src/testRunner/unittests/helpers/tsserver.ts:275:32)      at TestSession2.executeCommandSeq (src/testRunner/unittests/helpers/tsserver.ts:288:21)      at openFilesForSession (src/testRunner/unittests/helpers/tsserver.ts:449:17)      at Context.<anonymous> (src/testRunner/unittests/tsserver/resolutionCache.ts:742:17)      at processImmediate (node:internal/timers:505:21)  3)                 unittests:: tsserver:: resolutionCache:: global typings and inferred project watching           when resolution is succeeds in global typings location with import from the cache file failing:     Error: Debug Failure. False expression: /dev/null/inferredProject1*:: Modules ^/aichat-code-block-anysphere/ocjahtkquh Expect cache for file in program or auto type ref      at collectResolutionToRefFromCache (src/harness/incrementalUtils.ts:296:18)      at /home/jabaile/work/TypeScript/src/harness/incrementalUtils.ts:218:9      at Map.forEach (<anonymous>)      at verifyResolutionCache (src/harness/incrementalUtils.ts:217:32)      at verifyProgram (src/harness/incrementalUtils.ts:572:5)      at _ProjectService.verifyProgram (src/harness/incrementalUtils.ts:660:9)      at InferredProject2.updateGraphWorker (src/server/project.ts:1728:29)      at InferredProject2.updateGraph (src/server/project.ts:1430:36)      at _ProjectService.assignOrphanScriptInfoToInferredProject (src/server/editorServices.ts:2261:17)      at _ProjectService.assignProjectToOpenedScriptInfo (src/server/editorServices.ts:4364:18)      at _ProjectService.openClientFileWithNormalizedPath (src/server/editorServices.ts:4869:52)      at TestSession2.openClientFile (src/server/session.ts:2303:29)      at open (src/server/session.ts:3525:18)      at /home/jabaile/work/TypeScript/src/server/session.ts:3853:75      at TestSession2.executeWithRequestId (src/server/session.ts:3842:20)      at TestSession2.executeCommand (src/server/session.ts:3853:35)      at TestSession2.executeCommand (src/testRunner/unittests/helpers/tsserver.ts:275:32)      at TestSession2.executeCommandSeq (src/testRunner/unittests/helpers/tsserver.ts:288:21)      at openFilesForSession (src/testRunner/unittests/helpers/tsserver.ts:449:17)      at Context.<anonymous> (src/testRunner/unittests/tsserver/resolutionCache.ts:742:17)      at processImmediate (node:internal/timers:505:21)  4)                 unittests:: tsserver:: resolutionCache:: global typings and inferred project watching           when resolution is succeeds in global typings location with import from the cache file failing with currentDirectory at root:     Error: Debug Failure. False expression: /dev/null/inferredProject1*:: Modules ^/aichat-code-block-anysphere/ocjahtkquh Expect cache for file in program or auto type ref      at collectResolutionToRefFromCache (src/harness/incrementalUtils.ts:296:18)      at /home/jabaile/work/TypeScript/src/harness/incrementalUtils.ts:218:9      at Map.forEach (<anonymous>)      at verifyResolutionCache (src/harness/incrementalUtils.ts:217:32)      at verifyProgram (src/harness/incrementalUtils.ts:572:5)      at _ProjectService.verifyProgram (src/harness/incrementalUtils.ts:660:9)      at InferredProject2.updateGraphWorker (src/server/project.ts:1728:29)      at InferredProject2.updateGraph (src/server/project.ts:1430:36)      at _ProjectService.assignOrphanScriptInfoToInferredProject (src/server/editorServices.ts:2261:17)      at _ProjectService.assignProjectToOpenedScriptInfo (src/server/editorServices.ts:4364:18)      at _ProjectService.openClientFileWithNormalizedPath (src/server/editorServices.ts:4869:52)      at TestSession2.openClientFile (src/server/session.ts:2303:29)      at open (src/server/session.ts:3525:18)      at /home/jabaile/work/TypeScript/src/server/session.ts:3853:75      at TestSession2.executeWithRequestId (src/server/session.ts:3842:20)      at TestSession2.executeCommand (src/server/session.ts:3853:35)      at TestSession2.executeCommand (src/testRunner/unittests/helpers/tsserver.ts:275:32)      at TestSession2.executeCommandSeq (src/testRunner/unittests/helpers/tsserver.ts:288:21)      at openFilesForSession (src/testRunner/unittests/helpers/tsserver.ts:449:17)      at Context.<anonymous> (src/testRunner/unittests/tsserver/resolutionCache.ts:742:17)      at processImmediate (node:internal/timers:505:21)  5)                 unittests:: tsserver:: resolutionCache:: global typings and inferred project watching           when resolution is succeeds in global typings location with relative import from the cache file:     Error: Debug Failure. False expression: /dev/null/inferredProject1*:: Modules ^/aichat-code-block-anysphere/ocjahtkquh Expect cache for file in program or auto type ref      at collectResolutionToRefFromCache (src/harness/incrementalUtils.ts:296:18)      at /home/jabaile/work/TypeScript/src/harness/incrementalUtils.ts:218:9      at Map.forEach (<anonymous>)      at verifyResolutionCache (src/harness/incrementalUtils.ts:217:32)      at verifyProgram (src/harness/incrementalUtils.ts:572:5)      at _ProjectService.verifyProgram (src/harness/incrementalUtils.ts:660:9)      at InferredProject2.updateGraphWorker (src/server/project.ts:1728:29)      at InferredProject2.updateGraph (src/server/project.ts:1430:36)      at _ProjectService.assignOrphanScriptInfoToInferredProject (src/server/editorServices.ts:2261:17)      at _ProjectService.assignProjectToOpenedScriptInfo (src/server/editorServices.ts:4364:18)      at _ProjectService.openClientFileWithNormalizedPath (src/server/editorServices.ts:4869:52)      at TestSession2.openClientFile (src/server/session.ts:2303:29)      at open (src/server/session.ts:3525:18)      at /home/jabaile/work/TypeScript/src/server/session.ts:3853:75      at TestSession2.executeWithRequestId (src/server/session.ts:3842:20)      at TestSession2.executeCommand (src/server/session.ts:3853:35)      at TestSession2.executeCommand (src/testRunner/unittests/helpers/tsserver.ts:275:32)      at TestSession2.executeCommandSeq (src/testRunner/unittests/helpers/tsserver.ts:288:21)      at openFilesForSession (src/testRunner/unittests/helpers/tsserver.ts:449:17)      at Context.<anonymous> (src/testRunner/unittests/tsserver/resolutionCache.ts:742:17)      at processImmediate (node:internal/timers:505:21)  6)                 unittests:: tsserver:: resolutionCache:: global typings and inferred project watching           when resolution is succeeds in global typings location with relative import from the cache file with currentDirectory at root:     Error: Debug Failure. False expression: /dev/null/inferredProject1*:: Modules ^/aichat-code-block-anysphere/ocjahtkquh Expect cache for file in program or auto type ref      at collectResolutionToRefFromCache (src/harness/incrementalUtils.ts:296:18)      at /home/jabaile/work/TypeScript/src/harness/incrementalUtils.ts:218:9      at Map.forEach (<anonymous>)      at verifyResolutionCache (src/harness/incrementalUtils.ts:217:32)      at verifyProgram (src/harness/incrementalUtils.ts:572:5)      at _ProjectService.verifyProgram (src/harness/incrementalUtils.ts:660:9)      at InferredProject2.updateGraphWorker (src/server/project.ts:1728:29)      at InferredProject2.updateGraph (src/server/project.ts:1430:36)      at _ProjectService.assignOrphanScriptInfoToInferredProject (src/server/editorServices.ts:2261:17)      at _ProjectService.assignProjectToOpenedScriptInfo (src/server/editorServices.ts:4364:18)      at _ProjectService.openClientFileWithNormalizedPath (src/server/editorServices.ts:4869:52)      at TestSession2.openClientFile (src/server/session.ts:2303:29)      at open (src/server/session.ts:3525:18)      at /home/jabaile/work/TypeScript/src/server/session.ts:3853:75      at TestSession2.executeWithRequestId (src/server/session.ts:3842:20)      at TestSession2.executeCommand (src/server/session.ts:3853:35)      at TestSession2.executeCommand (src/testRunner/unittests/helpers/tsserver.ts:275:32)      at TestSession2.executeCommandSeq (src/testRunner/unittests/helpers/tsserver.ts:288:21)      at openFilesForSession (src/testRunner/unittests/helpers/tsserver.ts:449:17)      at Context.<anonymous> (src/testRunner/unittests/tsserver/resolutionCache.ts:742:17)      at processImmediate (node:internal/timers:505:21)  7)                 unittests:: tsserver:: resolutionCache:: global typings and inferred project watching           when resolution fails in global typings location:     Error: Debug Failure. False expression: /dev/null/inferredProject1*:: Modules ^/aichat-code-block-anysphere/ocjahtkquh Expect cache for file in program or auto type ref      at collectResolutionToRefFromCache (src/harness/incrementalUtils.ts:296:18)      at /home/jabaile/work/TypeScript/src/harness/incrementalUtils.ts:218:9      at Map.forEach (<anonymous>)      at verifyResolutionCache (src/harness/incrementalUtils.ts:217:32)      at verifyProgram (src/harness/incrementalUtils.ts:572:5)      at _ProjectService.verifyProgram (src/harness/incrementalUtils.ts:660:9)      at InferredProject2.updateGraphWorker (src/server/project.ts:1728:29)      at InferredProject2.updateGraph (src/server/project.ts:1430:36)      at _ProjectService.assignOrphanScriptInfoToInferredProject (src/server/editorServices.ts:2261:17)      at _ProjectService.assignProjectToOpenedScriptInfo (src/server/editorServices.ts:4364:18)      at _ProjectService.openClientFileWithNormalizedPath (src/server/editorServices.ts:4869:52)      at TestSession2.openClientFile (src/server/session.ts:2303:29)      at open (src/server/session.ts:3525:18)      at /home/jabaile/work/TypeScript/src/server/session.ts:3853:75      at TestSession2.executeWithRequestId (src/server/session.ts:3842:20)      at TestSession2.executeCommand (src/server/session.ts:3853:35)      at TestSession2.executeCommand (src/testRunner/unittests/helpers/tsserver.ts:275:32)      at TestSession2.executeCommandSeq (src/testRunner/unittests/helpers/tsserver.ts:288:21)      at openFilesForSession (src/testRunner/unittests/helpers/tsserver.ts:449:17)      at Context.<anonymous> (src/testRunner/unittests/tsserver/resolutionCache.ts:742:17)      at processImmediate (node:internal/timers:505:21)  8)                 unittests:: tsserver:: resolutionCache:: global typings and inferred project watching           when resolution fails in global typings location with currentDirectory at root:     Error: Debug Failure. False expression: /dev/null/inferredProject1*:: Modules ^/aichat-code-block-anysphere/ocjahtkquh Expect cache for file in program or auto type ref      at collectResolutionToRefFromCache (src/harness/incrementalUtils.ts:296:18)      at /home/jabaile/work/TypeScript/src/harness/incrementalUtils.ts:218:9      at Map.forEach (<anonymous>)      at verifyResolutionCache (src/harness/incrementalUtils.ts:217:32)      at verifyProgram (src/harness/incrementalUtils.ts:572:5)      at _ProjectService.verifyProgram (src/harness/incrementalUtils.ts:660:9)      at InferredProject2.updateGraphWorker (src/server/project.ts:1728:29)      at InferredProject2.updateGraph (src/server/project.ts:1430:36)      at _ProjectService.assignOrphanScriptInfoToInferredProject (src/server/editorServices.ts:2261:17)      at _ProjectService.assignProjectToOpenedScriptInfo (src/server/editorServices.ts:4364:18)      at _ProjectService.openClientFileWithNormalizedPath (src/server/editorServices.ts:4869:52)      at TestSession2.openClientFile (src/server/session.ts:2303:29)      at open (src/server/session.ts:3525:18)      at /home/jabaile/work/TypeScript/src/server/session.ts:3853:75      at TestSession2.executeWithRequestId (src/server/session.ts:3842:20)      at TestSession2.executeCommand (src/server/session.ts:3853:35)      at TestSession2.executeCommand (src/testRunner/unittests/helpers/tsserver.ts:275:32)      at TestSession2.executeCommandSeq (src/testRunner/unittests/helpers/tsserver.ts:288:21)      at openFilesForSession (src/testRunner/unittests/helpers/tsserver.ts:449:17)      at Context.<anonymous> (src/testRunner/unittests/tsserver/resolutionCache.ts:742:17)      at processImmediate (node:internal/timers:505:21)  9)                 unittests:: tsserver:: documentRegistry:: works when reusing orphan script info with different scriptKind           works when reusing orphan script info with different scriptKind:     Error: New baseline created at tests/baselines/local/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js      at writeComparison (src/harness/harnessIO.ts:1546:27)      at Object.runBaseline2 [as runBaseline] (src/harness/harnessIO.ts:1565:9)      at baselineTsserverLogs (src/testRunner/unittests/helpers/tsserver.ts:29:14)      at Context.<anonymous> (src/testRunner/unittests/tsserver/documentRegistry.ts:158:9)      at processImmediate (node:internal/timers:505:21)

Yet, kinda in a good way:

diff --git a/./tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js b/./tests/baselines/local/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.jsindex 215648946d..1e7a396fd5 100644--- a/./tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js+++ b/./tests/baselines/local/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js@@ -35,12 +35,6 @@ Info seq  [hh:mm:ss:mss] getConfigFileNameForFile:: File: ^/inmemory/model/6 Pro Info seq  [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /users/user/projects/san Info seq  [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq  [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info-Info seq  [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/^ 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations-Info seq  [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/^ 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations-Info seq  [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations-Info seq  [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations-Info seq  [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations-Info seq  [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq  [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq  [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq  [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots@@ -79,14 +73,8 @@ Info seq  [hh:mm:ss:mss] response: After request  PolledWatches::-/users/user/projects/node_modules: *new*-  {"pollingInterval":500} /users/user/projects/node_modules/@types: *new*   {"pollingInterval":500}-/users/user/projects/san/^: *new*-  {"pollingInterval":500}-/users/user/projects/san/node_modules: *new*-  {"pollingInterval":500} /users/user/projects/san/node_modules/@types: *new*   {"pollingInterval":500}

I think this fix is reasonably correct.

Copy link
Member

@andrewbranchandrewbranch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I came to the same conclusion in DMs with Daniel.

Copy link
Member

@RyanCavanaughRyanCavanaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Runnpx hereby lint and fix the errors

Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
@CopilotCopilot SWE Agent
Copy link
ContributorAuthor

Runnpx hereby lint and fix the errors

Fixed all lint errors by addingt.Parallel() calls to test functions. Fixed in2a11b4c.

@CopilotCopilotAI requested a review fromRyanCavanaughJuly 14, 2025 22:58
Copilot finished work on behalf ofRyanCavanaughJuly 14, 2025 22:58
@andrewbranch
Copy link
Member

I think the blocker is@RyanCavanaugh’s review

@RyanCavanaughRyanCavanaugh added this pull request to themerge queueJul 15, 2025
Merged via the queue intomain with commiteb83c1cJul 15, 2025
22 checks passed
@RyanCavanaughRyanCavanaugh deleted the copilot/fix-1343 branchJuly 15, 2025 23:39
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@DanielRosenwasserDanielRosenwasserDanielRosenwasser approved these changes

@andrewbranchandrewbranchandrewbranch approved these changes

@jakebaileyjakebaileyjakebailey approved these changes

@RyanCavanaughRyanCavanaughRyanCavanaugh approved these changes

@sheetalkamatsheetalkamatAwaiting requested review from sheetalkamat

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Invaliduri for untitled references/definitions
5 participants
@Copilot@DanielRosenwasser@jakebailey@andrewbranch@RyanCavanaugh

[8]ページ先頭

©2009-2025 Movatter.jp