Skip to content

fix: address Copilot PR #7 review feedback#9

Merged
gragra33 merged 1 commit into
developfrom
hotfix/copilot-pr7-fixes
Apr 19, 2026
Merged

fix: address Copilot PR #7 review feedback#9
gragra33 merged 1 commit into
developfrom
hotfix/copilot-pr7-fixes

Conversation

@gragra33
Copy link
Copy Markdown
Owner

Addresses 3 Copilot review comments from PR #7.

Changes

.github/workflows/release.yml

  • Add concurrency group (${{ github.workflow }}-${{ github.ref }}, cancel-in-progress: false) — prevents race conditions when multiple pushes to master happen close together; an in-flight release is never aborted mid-way
  • Add explicit Fail if this version was already released step after tag_check — when the tag already exists the job now fails loudly with ::error:: and exit 1 instead of silently succeeding with nothing published

tests/Blazing.Json.Queryable.Tests/CollectionDefinitions.cs

  • Fix XML doc cref targets: DisableParallelizationXunit.CollectionDefinitionAttribute.DisableParallelization; ConcurrentDictionary{TKey, TValue}ConcurrentDictionary{TKey,TValue} (space removed to avoid CS1574 warnings if doc generation is enabled for the test project)

Test Results

All 487 tests pass.

- release.yml: add concurrency group to prevent race conditions when
  multiple pushes to master happen close together; cancel-in-progress
  is false so a running release is never aborted mid-way
- release.yml: add explicit 'Fail if this version was already released'
  step after tag_check so a duplicate-version push to master fails
  loudly with ::error:: rather than silently succeeding with no publish
- CollectionDefinitions.cs: fix XML doc cref targets — qualify
  DisableParallelization as Xunit.CollectionDefinitionAttribute.DisableParallelization
  and remove the space in ConcurrentDictionary{TKey,TValue} to avoid
  CS1574 warnings when doc generation is enabled
Copilot AI review requested due to automatic review settings April 19, 2026 12:16
Copy link
Copy Markdown

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 addresses prior review feedback by tightening the release workflow’s behavior under concurrent pushes and cleaning up XML documentation cref references in the test suite to avoid doc-generation warnings.

Changes:

  • Add workflow-level concurrency to serialize master release runs.
  • Fail the release job explicitly when the computed release tag already exists.
  • Fix XML doc cref targets in test collection definitions to avoid CS1574 warnings.

Reviewed changes

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

File Description
.github/workflows/release.yml Serializes release runs and adds an explicit failure step when a tag already exists, preventing silent no-op releases.
tests/Blazing.Json.Queryable.Tests/CollectionDefinitions.cs Updates XML doc cref targets to correct fully-qualified references and valid generic formatting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gragra33 gragra33 merged commit 2c9a13a into develop Apr 19, 2026
8 checks passed
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