Skip to content

Chronicle SQL: Cloud query source has 78% failure rate #317356

@digitarald

Description

@digitarald

Problem

The cloud source for chronicle SQL queries fails ~78% of the time. Very few devices have ever successfully queried cloud.

Error breakdown:

Root Cause

Sessions either haven't been synced yet, have expired server-side, or the cloud API can't find them by the IDs being queried. The LLM may also be constructing queries for sessions that only exist locally.

Fix

  1. Pre-validate that a session exists in cloud before routing the query there
  2. Return a clear session_not_synced error (not generic 404) so the tool can fall back to local
  3. Investigate why empty_result is so common — are the queries valid but the data missing?

Telemetry

Event: chronicle.sqlQuery with source=cloud, errors empty_result and HTTP 404

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugchronicle

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions