Skip to content

NCO-61: Update async analytics API to current spec#56

Merged
davidkelly merged 7 commits intomasterfrom
dk/61
Apr 11, 2026
Merged

NCO-61: Update async analytics API to current spec#56
davidkelly merged 7 commits intomasterfrom
dk/61

Conversation

@davidkelly
Copy link
Copy Markdown
Collaborator

  • Refactor async query types for spec compliance:
    • Replace QueryStatus and QueryHandleResults with QueryResultHandle
    • Remove handle serialization logic
    • Adopt fluent builder options (FetchResultHandleOptions, etc.)
    • Drop RequestTimeout, ResultTTL, and Deserializer from start options
  • Add Scope.StartQueryAsync() to support context-mapped async queries
  • Map 404s to QueryNotFoundException on fetches, and treat as success for cancel and discard operations
  • Update unit and func tests for options, 404s, and end-to-end flows

* Refactor async query types for spec compliance:
  * Replace QueryStatus and QueryHandleResults with QueryResultHandle
  * Remove handle serialization logic
  * Adopt fluent builder options (FetchResultHandleOptions, etc.)
  * Drop RequestTimeout, ResultTTL, and Deserializer from start options
* Add Scope.StartQueryAsync() to support context-mapped async queries
* Map 404s to QueryNotFoundException on fetches, and treat as success
  for cancel and discard operations
* Update unit and func tests for options, 404s, and end-to-end flows
@davidkelly davidkelly marked this pull request as ready for review April 9, 2026 23:22
@davidkelly davidkelly requested review from emilienbev and jeffrymorris and removed request for emilienbev April 9, 2026 23:22
@davidkelly davidkelly merged commit 0127d0c into master Apr 11, 2026
3 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.

1 participant