vscode-github-actions icon indicating copy to clipboard operation
vscode-github-actions copied to clipboard

`Failed to fetch action metadata for actions/c/undefined: 'Not Found'`

Open jsoref opened this issue 9 months ago • 3 comments

Type: Bug

Create a workflow file and type:

jobs:
  something:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/c

get completion for the end of actions/c

expected results: do not try to use /undefined -- I didn't type that and it's clearly a bug.

Extension version: 0.27.1 VS Code version: Code 1.97.2 (Universal) (e54c774e0add60467559eb0d1e229c6452cf8447, 2025-02-12T23:20:35.343Z) OS version: Darwin arm64 24.3.0 Modes:

System Info
Item Value
CPUs Apple M1 Max (10 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) 8, 7, 7
Memory (System) 64.00GB (0.07GB free)
Process Argv --crash-reporter-id 1fc67ee2-0174-4598-9f98-4537df0dd32c
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
5a9hg449:31230677
hdaa2157:31222309
copilot_t_ci:31222730
jda6j935:31233686

jsoref avatar Mar 06 '25 15:03 jsoref

  • The larger workflow is present in https://github.com/microsoft/vscode/issues/242815

jsoref avatar Mar 06 '25 15:03 jsoref

Fwiw, just opening the workflow with the cursor at - uses: actions/c here triggers this message -- triggered as part of upgrading to:

Version: 1.98.0 (Universal)
Commit: 6609ac3d66f4eade5cf376d1cb76f13985724bcb
Date: 2025-03-04T21:06:18.612Z (1 day ago)
Electron: 34.2.0
ElectronBuildId: 11044223
Chromium: 132.0.6834.196
Node.js: 20.18.2
V8: 13.2.152.36-electron.0
OS: Darwin arm64 24.3.0

jsoref avatar Mar 06 '25 16:03 jsoref

Note that while you're in the neighborhood, these messages shouldn't be errors.

It is perfectly reasonable for a user to be slowly typing:

      - uses: actions/checkout@v4

And they shouldn't get Error events as they do this:

[Error - 10:52:31 AM] Failed to fetch action metadata for actions/c/undefined: 'Not Found'
[Error - 11:03:39 AM] Failed to fetch action metadata for actions/d/undefined: 'Not Found'
[Error - 11:03:47 AM] Failed to fetch action metadata for actions/c/undefined: 'Not Found'
[Error - 11:04:53 AM] Failed to fetch action metadata for actions/ch/undefined: 'Not Found'
[Error - 11:04:55 AM] Failed to fetch action metadata for actions/che/undefined: 'Not Found'
[Error - 11:04:55 AM] Failed to fetch action metadata for actions/chec/undefined: 'Not Found'
[Error - 11:04:56 AM] Failed to fetch action metadata for actions/check/undefined: 'Not Found'
[Error - 11:04:57 AM] Failed to fetch action metadata for actions/checko/undefined: 'Not Found'
[Error - 11:04:58 AM] Failed to fetch action metadata for actions/checkou/undefined: 'Not Found'
[Error - 11:05:04 AM] Failed to fetch action metadata for actions/checkout/v: 'No commit found for the ref v'

It'd be reasonable to log them as Notice/Info whatever the non Warning/Error category is.

jsoref avatar Mar 06 '25 16:03 jsoref