Skip to content

Add CI validation for schema keyword drift #2978

Description

@TalZaccai

Action schemas and their .keywords.json files can drift because keyword refresh is manual and sourceHash is not checked. Add a deterministic CI check that compares each configured schema’s active actions with its keyword entries and reports missing or extra actions. When validation fails, print the appropriate @collision keywords backfill --llm <schema> command. LLM regeneration should remain local, not run in CI.

A scan found existing drift in six other files:

Keyword file Missing actions
codeActionsSchema.keywords.json 7 actions
editorCodeActionsSchema.keywords.json launchCopilotChat
desktop/actionsSchema.keywords.json RestartService
github-cliSchema.keywords.json prMergedStatus, myPullRequests
listSchema.keywords.json deleteList
scriptActions.keywords.json 5 PowerShell flow actions

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions