Skip to content

fix: address Copilot PR #7 review feedback#8

Closed
gragra33 wants to merge 1 commit into
developfrom
feature/fix-copilot-pr7-feedback
Closed

fix: address Copilot PR #7 review feedback#8
gragra33 wants to merge 1 commit into
developfrom
feature/fix-copilot-pr7-feedback

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) to prevent race conditions when multiple pushes to master happen close together
  • 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} (remove space to avoid CS1574 warnings)

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:13
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 master pushes and by fixing XML doc cref targets to avoid compiler warnings in the test project.

Changes:

  • Add workflow-level concurrency to serialize release runs per ref.
  • Fail the release job explicitly when the computed release tag already exists.
  • Correct XML documentation cref references to remove CS1574 warning sources.

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 releases and adds an explicit failure path when attempting to re-release an existing version tag.
tests/Blazing.Json.Queryable.Tests/CollectionDefinitions.cs Fixes XML doc cref targets for xUnit and ConcurrentDictionary generic formatting.

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

@gragra33 gragra33 closed this Apr 19, 2026
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