Repository navigation
Preserve partial SAST results and recover DAST and correlation streams - #1169
Open
kireetivar wants to merge 5 commits into
Open
kireetivar wants to merge 5 commits into
kireetivar wants to merge 5 commits into
Conversation
Retain received results on terminal stream failure without using exceptions as partial-result containers. Keep unexpected local failures exceptional, release completed stream waits, and cover partial FPR persistence. ValueEdge: 2501018 (Feature 2491057)
Use one recovery budget across reconnect delays, initialization waits, and temporary APPLICATION_BUSY responses. End recovery when initialization succeeds; keep permanent failures and cancellation terminal. Fence stale attempts, preserve received results and request accounting, and abort failed sends without flushing. Keep normal completion graceful and leave server lease settings unchanged. Add deterministic coverage for lease-length recovery, exact deadline expiry, reconnect quota filtering, stale callbacks, and stream cleanup. Related: ValueEdge feature 2491057
Report retry delay and attempt without exposing the full recovery budget in each warning. Close active processors before shutting down the scheduler so callers cannot remain blocked in retry backoff. Clarify partial-result warning counts and add regression coverage for output and client shutdown.
kireetivar
marked this pull request as ready for review
November 18, 2026 09:44
anishkumarnagaraj-design
approved these changes
Nov 20, 2026
…iled-scan-partial-results
Bound connection recovery and replay only unresolved requests so transient outages do not discard completed work. Preserve terminal error behavior and report quota metadata from the latest accepted DAST stream.
ankit2995
approved these changes
Nov 27, 2026
anishkumarnagaraj-design
approved these changes
Nov 27, 2026
This branch has not been deployed
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.
Summary
Changelog
Changes and reasons
Preserve usable results after terminal stream failures.
Previously, exceptional completion could prevent received results from reaching FPR output.
Explicit completed/failed outcomes now carry the received responses.
A failed stream with usable successful results follows the existing partial-FPR path.
Failure without usable successful results remains an error.
Allow 150 seconds for each connection-recovery episode.
Earlier retry limits could stop recovery before the existing 120-second application lease expired.
Reconnect delays, recovery-time initialization waits, and temporary
APPLICATION_BUSYresponses share one budget.Accepted initialization ends recovery immediately. A later disconnect starts a new episode.
This does not impose a 150-second model-processing timeout.
Isolate failed attempts and preserve request accounting.
Failed attempts abort without flushing queued sends. Old callbacks cannot change a replacement attempt.
Normal completion still closes gracefully. Reconnect quota filtering accounts for previously completed work.
Quota and cost impact
Compatibility and limits
Evidence
Squash message