VSCode extension doesn't support new Apple macOS Resource classes?

With the recent announcement of Apple macOS M1 and M2 resource class deprecation, I went in to update a pipeline.

The CCI VSCode extension is warning me that the m4 resource classes are not valid. I don’t know if these come from the plugin itself, or the language server it uses, but some sort of enum likely needs to be updated I’d guess?

The class is underlined:

resource_class: [u]m4pro.medium[/u]

And the popup error says,

executors.apple-ci-x86-medium.resource_class must be one of the following: “small”, “medium”, “medium+”, “large”, “xlarge”, “2xlarge”, “2xlarge+”, “arm.medium”, “arm.large”, “arm.xlarge”, “arm.2xlarge”, “gpu.nvidia.small”, “gpu.nvidia.medium”, “windows.gpu.nvidia.medium”, “macos.m1.medium.gen1”, "macos.m1.large.gen1"cci-language-server

Self-hosted runner

https://circleci.com/docs/reference/configuration-reference/#resourceclass

Resource class for the job. Can be either a predefined resource class (e.g., medium, large) or a self-hosted runner in the format <namespace>/<runner-name>.

1 Like

Hi @adam-harvey_atko , thanks for raising this. We are working on a fix!

3 Likes

Looks like it needs PR chore(main): release 0.24.0 by CircleCIPublicDevExpBot · Pull Request #382 · CircleCI-Public/circleci-yaml-language-server · GitHub to be merged. Edit: this PR has now been merged.

I also got confused by this.

In addition, since I’m on a free plan for my open source work, I got hit by the fact that the m4 resource_class is not available until Nov 10, 2025 (according to Deprecation of Mac M1 and M2 resource classes - CircleCI Changelog ).

I’m seeing this working now with CircleCI Language Server updated to 0.24.0.

1 Like

Confirmed - I see the fix now live also.

Thanks CircleCI team! (and Mike for the friendly push)

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.