Skip to content

fix: fix agent controller validation error parsing#1077

Merged
greenbonebot merged 3 commits into
mainfrom
fix/agent-controller-validation-errors
Jun 3, 2026
Merged

fix: fix agent controller validation error parsing#1077
greenbonebot merged 3 commits into
mainfrom
fix/agent-controller-validation-errors

Conversation

@ozgen

@ozgen ozgen commented Jun 3, 2026

Copy link
Copy Markdown
Member

What

  • Updated agent controller error parsing to support the new validation error response structure.
  • Added/updated tests for multiple validation errors and multiple agent IDs.

Why

  • Agent controller now returns validation errors grouped by agent ID.
  • gvm-libs needs to collect and report these errors correctly.

References

GEA-1701

Checklist

  • Tests

Parse validation errors from the updated agent controller error response structure.

The response now contains validation entries per agent ID, each with its
own list of errors. Collect all validation errors so they can be logged
and returned correctly.
@ozgen ozgen requested review from a team as code owners June 3, 2026 11:58
@greenbonebot greenbonebot enabled auto-merge (rebase) June 3, 2026 11:59
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 967d330.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@greenbonebot greenbonebot merged commit f618956 into main Jun 3, 2026
24 checks passed
@greenbonebot greenbonebot deleted the fix/agent-controller-validation-errors branch June 3, 2026 12:12
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.

3 participants