Skip to content

format: fixed devContainer format#26565

Merged
markfields merged 1 commit intomicrosoft:mainfrom
MarioJGMsoft:marioja/fixFormat
Feb 26, 2026
Merged

format: fixed devContainer format#26565
markfields merged 1 commit intomicrosoft:mainfrom
MarioJGMsoft:marioja/fixFormat

Conversation

@MarioJGMsoft
Copy link
Contributor

Description

With this change: Pull request, there was a format error that was added to devcontainer.json.

Reviewer Guidance

The review process is outlined on this wiki page.

Copilot AI review requested due to automatic review settings February 26, 2026 19:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a JSON syntax error in the devcontainer configuration that was introduced in PR #26547. The previous PR added the MAI extension and inadvertently left a trailing comma after the last item in the extensions array, which is invalid JSON syntax.

Changes:

  • Removed trailing comma after "mutantdino.resourcemonitor" in the extensions array to fix JSON syntax error

@markfields markfields merged commit ca55edf into microsoft:main Feb 26, 2026
25 checks passed
frankmueller-msft added a commit to frankmueller-msft/FluidFramework that referenced this pull request Feb 26, 2026
Files like .devcontainer/devcontainer.json and .vscode/extensions.json
are formatted by biome but were not in the build-client pipeline trigger
paths. PRs that only touch these files skip the format check, allowing
formatting errors to merge (e.g. PR microsoft#26547 → fix PR microsoft#26565).

Add .devcontainer/*, .vscode/*, .pnpmfile.cjs, _buildProject.config.cjs,
and assertTagging.config.mjs to both trigger and pr path includes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
frankmueller-msft added a commit that referenced this pull request Feb 26, 2026
## Summary

PR #26547 changed `.devcontainer/devcontainer.json` and
`.vscode/extensions.json` but no CI pipeline checked formatting,
allowing a trailing comma error to merge (fixed by PR #26565).

**Root cause:** `biome check .` (run by `check:format:repo`) covers the
entire repo, but no pipeline was running it on every PR. The
`build-client` pipeline only triggers on specific paths, and
`.devcontainer/` and `.vscode/` weren't included.

**Fix (two parts):**

1. **`repo-policy-check.yml`** — Add `check:format:repo` step (`biome
check .`). This pipeline runs on every PR with no path filter, so
formatting is always validated regardless of which files change. Note:
`npm run checks` (the broader check) can't be used here because it
depends on `fluid-build`/`flub` and full workspace deps, but this
pipeline only installs root deps. `policy-check` and `layer-check`
already run as separate steps.

2. **`build-client.yml`** — Add missing root-level config files that
biome formats to the trigger paths:
   - `.pnpmfile.cjs`
   - `_buildProject.config.cjs`
   - `assertTagging.config.mjs`

## Test plan

- [ ] Verify the pipeline YAML is valid (no syntax errors)
- [ ] Confirm `repo-policy-check` pipeline runs `check:format:repo` on
PRs touching any files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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.

4 participants