Skip to content

Split azd core and extension cspell checks - #7572

Merged
JeffreyCA merged 4 commits into
mainfrom
copilot/cspell-check-core-and-extensions
Apr 8, 2026
Merged

Split azd core and extension cspell checks#7572
JeffreyCA merged 4 commits into
mainfrom
copilot/cspell-check-core-and-extensions

Conversation

Copilot AI commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Resolves #7571

This PR restructures how spell checking is managed for extension code and documentation. It moves extension-specific spelling overrides out of the main configuration and into per-extension cspell.yaml files, and introduces a dedicated GitHub Actions workflow to lint only extension files. This makes the spell check configuration more modular and maintainable.

Spell check configuration modularization:

  • Moved extension-specific spelling overrides from the main cli/azd/.vscode/cspell.yaml into individual cspell.yaml files for each extension (e.g., azure.ai.agents, azure.ai.finetune, microsoft.azd.demo, etc.), each importing the shared config and defining their own overrides as needed. [1] [2] [3] [4] [5] [6] [7] [8]

  • Cleaned up the main cspell.yaml by removing extension-specific overrides, ensuring it only contains project-wide settings. [1] [2] [3]

CI workflow improvements:

  • Updated the main spell check job in .github/workflows/cli-ci.yml to exclude extension files and only lint core project files.

  • Added a new workflow .github/workflows/cspell-ext.yml that runs spell checking specifically for extension files and their configs, ensuring per-extension cspell.yaml files are respected.

Copilot AI changed the title [WIP] Update cspell check to handle core and extension files separately Split azd core and extension cspell checks Apr 8, 2026
Copilot AI requested a review from JeffreyCA April 8, 2026 00:19
Copilot AI and others added 2 commits April 8, 2026 00:30

@jongio Jon Gallant (jongio) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean PR. Checked override migration paths, cspell config cascade with import, workflow trigger/exclusion patterns, and extension completeness - nothing to flag.

@github-actions

github-actions Bot commented Apr 8, 2026

Copy link
Copy Markdown

📋 Prioritization Note

Thanks for the contribution! The linked issue isn't in the current milestone yet.
Review may take a bit longer — reach out to Rajesh Kamal (@rajeshkamal5050) or Kristen Womack (@kristenwomack) if you'd like to discuss prioritization.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Splits cspell validation between azd core and extensions by introducing per-extension cspell configs that import the main azd config, and by separating GitHub Actions spellcheck workflows accordingly.

Changes:

  • Added/updated per-extension cspell.yaml files to import the main azd cspell config and keep extension-specific overrides local.
  • Removed extension-specific override entries from cli/azd/.vscode/cspell.yaml.
  • Added a dedicated cspell-ext workflow and updated cli-ci spellcheck to exclude extensions.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
cli/azd/extensions/microsoft.azd.extensions/cspell.yaml Adds per-extension cspell config importing main config and local overrides.
cli/azd/extensions/microsoft.azd.demo/cspell.yaml Imports main config and moves an override locally while retaining extension words.
cli/azd/extensions/microsoft.azd.concurx/cspell.yaml Adds per-extension cspell config importing main config and local overrides.
cli/azd/extensions/microsoft.azd.ai.builder/cspell.yaml Adds per-extension cspell config importing main config and local overrides.
cli/azd/extensions/azure.coding-agent/cspell.yaml Adds minimal per-extension cspell config importing main config.
cli/azd/extensions/azure.appservice/cspell.yaml Adds minimal per-extension cspell config importing main config.
cli/azd/extensions/azure.ai.models/cspell.yaml Imports main config and moves a file-specific override locally while retaining extension words.
cli/azd/extensions/azure.ai.finetune/cspell.yaml Imports main config while retaining extension words.
cli/azd/extensions/azure.ai.agents/cspell.yaml Imports main config while retaining extension words.
cli/azd/.vscode/cspell.yaml Removes extension-specific overrides now handled in per-extension configs.
.github/workflows/cspell-ext.yml Introduces extension-only cspell workflow.
.github/workflows/cli-ci.yml Excludes extensions from core spellcheck job and runs from cli/azd working directory.

@JeffreyCA

Copy link
Copy Markdown
Contributor

/check-enforcer evaluate

@JeffreyCA

Copy link
Copy Markdown
Contributor

/check-enforcer override

@JeffreyCA
JeffreyCA merged commit c6927d1 into main Apr 8, 2026
142 of 144 checks passed
@JeffreyCA
JeffreyCA deleted the copilot/cspell-check-core-and-extensions branch April 8, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cspell - check core and extension source files separately

4 participants