Skip to content

Surface incomplete scatter-gather results and server query timeouts - #3107

Open
ramonsmits wants to merge 1 commit into
ramon/audit-super-date-pickerfrom
ramon/audit-incomplete-results
Open

Surface incomplete scatter-gather results and server query timeouts#3107
ramonsmits wants to merge 1 commit into
ramon/audit-super-date-pickerfrom
ramon/audit-incomplete-results

Conversation

@ramonsmits

@ramonsmits ramonsmits commented Sep 4, 2026

Copy link
Copy Markdown
Member

Fifth PR in the audit query series, stacked on:

ServiceControl (Particular/ServiceControl#5848) now tells clients when a composite result is incomplete: a partial answer stays HTTP 200 with the data that did arrive plus a X-Particular-Incomplete-Results header naming every instance that contributed nothing (instanceId:timeout|unavailable|error), and a query nobody answered becomes a 504. This PR makes All Messages read both:

  • A partial page keeps its data and shows a warning naming each missing instance and why: Partial results. No data from audit-2 (timed out), audit-3 (unreachable).
  • The results line presents the total as a floor while results are partial: Showing 3 of at least 87,421,337 result(s)
  • A 504 gets a precise "exceeded the ServiceControl query time limit" message (with the existing one-click narrower-range escape hatches) instead of the generic failure text
Partial results warning in All Messages

The header parser is shared (incompleteResults.ts) so the conversation and saga views can adopt it next.

ServiceControl (Particular/ServiceControl#5848) now answers a partial
composite with the X-Particular-Incomplete-Results header naming every
instance whose data is missing (instanceId:timeout|unavailable|error),
and a fully timed-out query with a 504. All Messages now reads both: a
partial page keeps its data but shows a 'Partial results' warning naming
each missing instance and its reason, and a 504 gets a precise 'exceeded
the ServiceControl query time limit' message instead of the generic
failure text. The header parser is shared so the conversation and saga
views can adopt it next.
@ramonsmits ramonsmits added this to the 2.11.0 milestone Sep 4, 2026
@jpalac jpalac modified the milestones: 2.11.0, 2.12.0 Sep 6, 2026
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