Skip to content

Fix coverage report glob pattern and update npm devDependencies - #123

Merged
Malcolmnixon merged 2 commits into
mainfrom
fix/sonarcloud-opencover-glob-pattern
Aug 29, 2026
Merged

Fix coverage report glob pattern and update npm devDependencies#123
Malcolmnixon merged 2 commits into
mainfrom
fix/sonarcloud-opencover-glob-pattern

Conversation

@Malcolmnixon

Copy link
Copy Markdown
Member

This pull request includes small but important updates to the build configuration and development dependencies. The main changes are an update to the SonarCloud OpenCover report path pattern and upgrades to several dev dependencies in package.json.

Build and CI configuration:

  • Updated the SonarCloud OpenCover report path pattern in .github/workflows/build.yaml to match **/coverage.opencover.*.xml, making the report collection more robust for multi-project setups.

Development dependencies:

  • Upgraded @mermaid-js/mermaid-cli to 11.16.0, cspell to 10.1.1, and markdownlint-cli2 to 0.23.2 in package.json for improved features and bug fixes.

Malcolm Nixon and others added 2 commits August 29, 2026 11:31
coverlet.MTP (required alongside xunit.v3 4.0.0 under the Microsoft.Testing.Platform
'dotnet test' mode) names its opencover output files
'coverage.opencover.<session-id>.xml'. The previous scanner glob
'**/*.opencover.xml' only matches filenames literally ending in
'opencover.xml', so it silently found zero coverage reports despite
tests passing. Updated the glob to '**/coverage.opencover.*.xml' to
match coverlet.MTP's actual output naming.

Verified locally: 'dotnet test --coverlet --coverlet-output-format
opencover' produces coverage.opencover.<session-id>.xml files that
match the new glob, and all tests pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Updated devDependencies in package.json to their latest published
versions to address Dependabot-flagged vulnerabilities and keep
tooling current:

- @mermaid-js/mermaid-cli 11.12.0 -> 11.16.0
- cspell 9.7.0 -> 10.1.1
- markdownlint-cli2 0.21.0 -> 0.23.2

mermaid-filter was already at the latest version (1.4.7). Only direct
dependencies were bumped; package-lock.json is gitignored in this
repo so there is no lockfile diff to manage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 29, 2026 15:33

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

This PR updates CI/dev-tooling configuration by adjusting the SonarCloud OpenCover coverage report path pattern in the build workflow and bumping several Node-based devDependencies used for documentation/lint tooling.

Changes:

  • Bumped @mermaid-js/mermaid-cli, cspell, and markdownlint-cli2 versions in package.json.
  • Updated SonarScanner OpenCover report glob in .github/workflows/build.yaml.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Upgrades devDependencies for mermaid rendering, spell checking, and markdown linting.
.github/workflows/build.yaml Adjusts SonarCloud OpenCover report path pattern used during CI analysis.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/build.yaml
@Malcolmnixon
Malcolmnixon merged commit 8d1174e into main Aug 29, 2026
7 checks passed
@Malcolmnixon
Malcolmnixon deleted the fix/sonarcloud-opencover-glob-pattern branch August 29, 2026 15:41
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.

2 participants