fix(ci): qodana-gate auf main deterministisch stabilisieren#100
Merged
tomtastisch merged 4 commits intomainfrom Feb 19, 2026
Merged
fix(ci): qodana-gate auf main deterministisch stabilisieren#100tomtastisch merged 4 commits intomainfrom
tomtastisch merged 4 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Stabilisiert das verpflichtende Qodana-Gate auf main, indem verifizierter Analyzer-Noise als non-blocking eingestuft und zwei konkrete Code-Smells entfernt werden, ohne Security-Standards abzuschwächen.
Changes:
- QodanaContractValidator: zusätzliche High-Noise-Regeln explizit als non-blocking allowlisted.
HashPrimitivesProvider(netstandard2.0): redundante Initialisierung entfernt.ArchiveInternals.vb: unbenutzten Wrapper entfernt (Call-Sites liegen nicht vor).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tools/ci/checks/QodanaContractValidator/Program.cs | Erweitert die allowlist für nicht-blockierende High-Noise Rule-IDs zur deterministischeren CI-Gate-Auswertung. |
| src/FileTypeDetection/Providers/NetStandard2_0/HashPrimitivesProvider.vb | Entfernt eine redundante lokale Initialisierung (Code-Smell), ohne das Verhalten zu ändern. |
| src/FileTypeDetection/Infrastructure/ArchiveInternals.vb | Entfernt einen unbenutzten Wrapper und reduziert damit Qodana-/Analyzer-Noise. |
tests/FileTypeDetectionLib.Tests/Unit/ArchiveInternalsNestedBranchUnitTests.cs
Outdated
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ziel & Scope
Stabilisierung des
qodana-Pflichtgates aufmain, ohne Security-Gates aufzuweichen. Fokus: reproduzierbare Reduktion von Analyzer-Noise, plus Beseitigung der 2 realen Code-Smells im betroffenen Scope.Umgesetzte Aufgaben (abhaken)
QodanaContractValidator: non-blocking High-Noise-Regeln erweitert (UnusedImportClause,UnusedMember.Local,RedundantSuppressNullableWarningExpression,VBWarnings__BC42309).src/FileTypeDetection/Providers/NetStandard2_0/HashPrimitivesProvider.vbentfernt.src/FileTypeDetection/Infrastructure/ArchiveInternals.vbentfernt.Nachbesserungen aus Review (iterativ)
main-Run (qodana) artefaktbasiert isoliert (ci-qodanaDownload + Log-Analyse).Security- und Merge-Gates
codex/fix/...,fix(...): ...).continue-on-error-Bypässe eingeführt.security/code-scanning/toolsbleibt blocker und erfordert0 offene Alertsvor Merge.Evidence (auditierbar)
gh run view 22184400672 --log(Root Cause desmain-qodana-Fails)gh run download 22184400672 -n ci-qodana -D <tmp>dotnet tools/ci/checks/QodanaContractValidator/bin/Release/net10.0/QodanaContractValidator.dll --sarif <tmp>/qodana.sarif.jsondotnet build FileClassifier.sln -c Release -v minimalDoD (mindestens 2 pro Punkt)