sql/sqlExecutionOutcome.ts

dbx · apps/desktop/src/lib/sql/sqlExecutionOutcome.ts · typescript · Apache-2.0
database

Type definitions for SQL execution outcomes and reasons for non-started or deferred states.

// Source: https://github.com/t8y2/dbx | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * What one editor execution actually did (#11962).
 *
 * The editor path ignores this value — its feedback is the tab's own result pane
 * — but a caller that starts an execution on a tab the user is *not* looking at
 * (the AI panel does, see `lib/ai/aiSqlActionFeedback`) has nowhere else to learn
 * that the request ran, ran late, or never started. Reporting every early return
 * is the point: silence there is exactly the bug in #11962.
 */

/**
 * Why an execution request never reached the database.
 *
 * `cancelled` / `parameters` / `blocked` / `missing-database` are the reasons the
 * 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key