feat(webapp): expose is_warm_start in TRQL runs schema (#3667)

Add is_warm_start to TRQL runs schema so warm vs cold start data is
queryable
This commit is contained in:
Iss
2026-05-19 09:05:31 -04:00
committed by GitHub
parent 436b7a9ea1
commit 204a766bb1
2 changed files with 23 additions and 2 deletions
@@ -0,0 +1,6 @@
---
area: webapp
type: feature
---
Expose `is_warm_start` in the TRQL `runs` schema so warm vs cold start data can be queried and visualized in Dashboards.
+17 -2
View File
@@ -176,11 +176,19 @@ export const runsSchema: TableSchema = {
idempotency_key: {
name: "idempotency_key",
clickhouseName: "idempotency_key_user",
...column("String", { description: "Idempotency key (available from 4.3.3)", example: "user-123-action-456" }),
...column("String", {
description: "Idempotency key (available from 4.3.3)",
example: "user-123-action-456",
}),
},
idempotency_key_scope: {
name: "idempotency_key_scope",
...column("String", { description: "The idempotency key scope determines whether a task should be considered unique within a parent run, a specific attempt, or globally. An empty value means there's no idempotency key set (available from 4.3.3).", example: "run", allowedValues: ["global", "run", "attempt"], }),
...column("String", {
description:
"The idempotency key scope determines whether a task should be considered unique within a parent run, a specific attempt, or globally. An empty value means there's no idempotency key set (available from 4.3.3).",
example: "run",
allowedValues: ["global", "run", "attempt"],
}),
},
region: {
name: "region",
@@ -404,6 +412,13 @@ export const runsSchema: TableSchema = {
...column("UInt8", { description: "Whether this is a test run (0 or 1)", example: "0" }),
expression: "if(is_test > 0, true, false)",
},
is_warm_start: {
name: "is_warm_start",
...column("Nullable(UInt8)", {
description: "Whether this run used a warm start vs a cold start.",
example: "1",
}),
},
concurrency_key: {
name: "concurrency_key",
...column("String", {