Skip to content

Conversation

@SebastienDegodez
Copy link
Member

@SebastienDegodez SebastienDegodez commented Jan 11, 2026

Pull Request

Proposed Changes

  • Replace custom ApplicationJsonMediaType with standard MediaTypeNames.Application.Json
  • Make ConfigurationConstants class static
  • Add 'out' keyword to generic parameter for covariance in IArtifactAndSnapshotManager
  • Make ExtractOperationName method static in MicrocksAsyncMinionContainer
  • Use InvalidOperationException in SecretBuilder
  • Fix _microcksImage field usage in MicrocksBuilder.Init()
  • Add SuppressMessage to exclude HTTP localhost URLs in test containers from HTTPS warning (S5332)

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run dotnet test and ensure you have test coverage for the lines you are introducing
  • run dotnet husky run and fix any issues that you have introduced

Reviewer

  • Label as either feature, fix, documentation, enhancement, maintenance or breaking

@SebastienDegodez SebastienDegodez added this to the 0.3.3 milestone Jan 11, 2026
@SebastienDegodez SebastienDegodez added kind/bug Something isn't working kind/task labels Jan 11, 2026
- Replace custom ApplicationJsonMediaType with standard MediaTypeNames.Application.Json
- Make ConfigurationConstants class static
- Add 'out' keyword to generic parameter for covariance in IArtifactAndSnapshotManager
- Make ExtractOperationName method static in MicrocksAsyncMinionContainer
- Use nameof() in ArgumentNullException parameter in SecretBuilder
- Fix _microcksImage field usage in MicrocksBuilder.Init()
- Exclude HTTP localhost URLs in test containers from HTTPS warning (S5332)

Signed-off-by: SebastienDegodez <[email protected]>
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
65.4% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@SebastienDegodez SebastienDegodez merged commit 01b27a5 into main Jan 11, 2026
13 of 14 checks passed
@SebastienDegodez SebastienDegodez deleted the fix/sonar-issue branch January 11, 2026 21:41
@SebastienDegodez SebastienDegodez changed the title fix: resolve SonarQube code quality issues refactor: resolve SonarQube code quality issues Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working kind/task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant