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

It keeps used/test #2152

Open
ibretsam opened this issue Oct 31, 2024 · 5 comments
Open

It keeps used/test #2152

ibretsam opened this issue Oct 31, 2024 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug intent-detection
Milestone

Comments

@ibretsam
Copy link

Type: Bug

I tried to make it generate the code, but it keeps using workspace used/tests (rerun without), why can't it generate code as normal, I didn't tell it to do that, so annoying

Extension version: 0.23.2024102903
VS Code version: Code 1.95.0 (Universal) (912bb683695358a54ae0c670461738984cbb5b95, 2024-10-28T20:16:24.561Z)
OS version: Darwin arm64 24.1.0
Modes:

System Info
Item Value
CPUs Apple M1 (8 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 12, 35, 41
Memory (System) 8.00GB (0.16GB free)
Process Argv --crash-reporter-id f12eeb7a-2a5e-4254-9113-d1a33ce170b7
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
da93g388:31013173
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
nativerepl1:31139838
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
iacca1:31156133
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013

@github-actions github-actions bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Oct 31, 2024
@zoumath19
Copy link

zoumath19 commented Nov 19, 2024

Same issue here forced to use /explain all the time, annoying...

@smitmartijn
Copy link

Some here, but it's off and on. I can't determine what triggers it - it seems like its the file name, but not sure. The prompt has a clear write code or help me write a function command and doesn't mention tests, yet:

Image

@isidorn isidorn assigned jrieken and unassigned rebornix Dec 11, 2024
@isidorn isidorn removed the triage-needed Issues needing to be assigned to the prospective feature owner label Dec 11, 2024
@jrieken jrieken assigned joyceerhl and unassigned jrieken Dec 11, 2024
@joyceerhl
Copy link

@ibretsam @smitmartijn could you please share:

  1. Does this still repro with today's Copilot Chat release (0.23.0)
  2. What query are you using when this kicks in?

@joyceerhl joyceerhl added info-needed Issue requires more information from poster intent-detection labels Dec 11, 2024
Copy link

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 19, 2024
@WesleySmits
Copy link

I am getting this same error whenever i'm asking anything where it uses a test file as the current file.

To reproduce my setup.

I am using vitest, i'm in a FileName.spec.ts file in src/components/tests/FileName.spec.ts.

It gives the following error:

Workspace
used /tests (rerun without)
Invalid file pattern provided **/package.json

Somehow it expects tests to be in a /tests folder and fails on it.

@joyceerhl joyceerhl reopened this Jan 3, 2025
@joyceerhl joyceerhl added bug Issue identified by VS Code Team member as probable bug and removed info-needed Issue requires more information from poster labels Jan 3, 2025
@joyceerhl joyceerhl added this to the January 2025 milestone Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug intent-detection
Projects
None yet
Development

No branches or pull requests

8 participants