Skip to content

EPMDEDP-16730: feat: Move severity filtering to server-side with configurable timeout#32

Merged
SergK merged 1 commit intomainfrom
update-sas-cli-functionality
Apr 24, 2026
Merged

EPMDEDP-16730: feat: Move severity filtering to server-side with configurable timeout#32
SergK merged 1 commit intomainfrom
update-sas-cli-functionality

Conversation

@SergK
Copy link
Copy Markdown
Member

@SergK SergK commented Apr 24, 2026

  • Raise HTTP client timeout from 30s to 45s to sit 15s above portal's 30s handler deadline, ensuring portal's 408 or truncated:true response surfaces cleanly instead of as a transport error
  • Add Severity field to SCAComponentsParams struct to accept server-side filter request; portal now applies filter across all project dependencies before paginating, not post-fetch
  • Add Truncated bool field to SCAComponentsResponse to signal incomplete results when portal hits its auto-paging safety cap (50 iterations max)
  • Remove client-side severity filtering helpers; all filtering logic moved to portal REST layer for better memory efficiency and consistency
  • Update components command to wire --severity flag through OpenAPI spec to portal; help text now correctly states server-side application

…igurable timeout

- Raise HTTP client timeout from 30s to 45s to sit 15s above portal's 30s
  handler deadline, ensuring portal's 408 or truncated:true response surfaces
  cleanly instead of as a transport error
- Add Severity field to SCAComponentsParams struct to accept server-side filter
  request; portal now applies filter across all project dependencies before
  paginating, not post-fetch
- Add Truncated bool field to SCAComponentsResponse to signal incomplete results
  when portal hits its auto-paging safety cap (50 iterations max)
- Remove client-side severity filtering helpers; all filtering logic moved to
  portal REST layer for better memory efficiency and consistency
- Update components command to wire --severity flag through OpenAPI spec to
  portal; help text now correctly states server-side application

Signed-off-by: Sergiy Kulanov <sergiy_kulanov@epam.com>
@SergK SergK force-pushed the update-sas-cli-functionality branch from 1980677 to e03b40e Compare April 24, 2026 12:49
@SergK SergK merged commit 88cfd39 into main Apr 24, 2026
2 checks passed
@SergK SergK deleted the update-sas-cli-functionality branch April 24, 2026 13:05
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