BUG: Editor title menu items appear on all files

Extension version 1.10.1

The when clause in the package.json contributes editor/title and editor/context entries are invalid. I manually changed it to

			"editor/title": [
				{
					"submenu": "circleci/configValidator",
					"when": "isExtensionReady && resourcePath =~ /.*\\/.circleci\\/.*/ && resourceLangId == yaml && configIsValid == true",
					"group": "navigation@1"
				},
				{
					"submenu": "circleci/configValidatorRed",
					"when": "isExtensionReady && resourcePath =~ /.*\\/.circleci\\/.*/ && resourceLangId == yaml && configIsValid == false",
					"group": "navigation@1"
				}
			],
			"editor/context": [
				{
					"submenu": "circleci/configValidator",
					"when": "isExtensionReady && resourcePath =~ /.*\\/.circleci\\/.*/ && resourceLangId == yaml && configIsValid == true",
					"group": "_circleci@2"
				},
				{
					"submenu": "circleci/configValidatorRed",
					"when": "isExtensionReady && resourcePath =~ /.*\\/.circleci\\/.*/ && resourceLangId == yaml && configIsValid == false",
					"group": "_circleci@2"
				}
			],

to fix this issue.

Hi @forivall , thank you very much for this!! I’m the PM of the Developer Experience team who owns the extension, we’ll fix this in the next release.
I’m curious, how did you initially spot this? Were you seeing an explicit error somewhere?