Skip to content

fix: report all rule 6.1.36 conflicts - #1004

Merged
tziemek merged 2 commits into
csaf-rs:mainfrom
bshek-xitaso:fix/6-1-36-report-all-conflicts
Sep 17, 2026
Merged

tziemek merged 2 commits into
csaf-rs:mainfrom
bshek-xitaso:fix/6-1-36-report-all-conflicts

Conversation

@bshek-xitaso

@bshek-xitaso bshek-xitaso commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

This PR addresses #369 (comment) and resolves #369.

It adds a logic for collecting and reporting all the found errors resolving #369 (comment).
The existing OASIS test expectations are updated accordingly.

It also includes a small refactoring (centralizing the three error helper functions into a single one; improving variable names and comments for readability).

@bshek-xitaso
bshek-xitaso force-pushed the fix/6-1-36-report-all-conflicts branch 2 times, most recently from 512285f to c69245c Compare September 14, 2026 14:49
@bshek-xitaso
bshek-xitaso marked this pull request as ready for review September 14, 2026 15:04
@bshek-xitaso
bshek-xitaso requested a review from a team as a code owner September 14, 2026 15:04
@Gronner
Gronner requested a lite review from Copilot September 15, 2026 07:21

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.

🟢 Approval recommended

No unresolved review issues were identified.

Pull request overview

Updates CSAF 2.1 rule 6.1.36 validation to report all conflicting remediation combinations.

Changes:

  • Collects all validation findings.
  • Centralizes conflict error creation.
  • Updates expected test results.
File summaries
File Description
csaf-rs/src/validations/test_6_1_36.rs Implements comprehensive conflict collection and updates tests.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

@bshek-xitaso
bshek-xitaso marked this pull request as draft September 15, 2026 13:57
@bshek-xitaso
bshek-xitaso force-pushed the fix/6-1-36-report-all-conflicts branch from c69245c to 864d3bd Compare September 15, 2026 16:39
@bshek-xitaso
bshek-xitaso marked this pull request as ready for review September 15, 2026 16:45
@bshek-xitaso
bshek-xitaso marked this pull request as draft September 15, 2026 23:15
@bshek-xitaso
bshek-xitaso marked this pull request as ready for review September 16, 2026 08:34
@tziemek
tziemek merged commit 7d0c687 into csaf-rs:main Sep 17, 2026
19 of 21 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.

Implement 6.1.36 Contradicting Product Status Remediation Combination for CSAF2.1

3 participants