You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If this triage request was created for an escalation, close the
970
1018
// linked escalation bead too so it doesn't sit open indefinitely.
971
1019
// The escalation_bead_id is nested under metadata.context (set by
@@ -3245,7 +3293,7 @@ export class TownDO extends DurableObject<Env> {
3245
3293
[
3246
3294
...query(
3247
3295
this.sql,
3248
-
/* sql */`SELECT COUNT(*) AS cnt FROM ${beads} WHERE ${beads.status} IN ('open', 'in_progress') AND ${beads.type} NOT IN ('agent', 'message')`,
3296
+
/* sql */`SELECT COUNT(*) AS cnt FROM ${beads} WHERE ${beads.status} IN ('open', 'in_progress', 'in_review') AND ${beads.type} NOT IN ('agent', 'message')`,
3249
3297
[]
3250
3298
),
3251
3299
][0]?.cnt??0
@@ -3274,6 +3322,7 @@ export class TownDO extends DurableObject<Env> {
3274
3322
beads: {
3275
3323
open: number;
3276
3324
inProgress: number;
3325
+
inReview: number;
3277
3326
failed: number;
3278
3327
triageRequests: number;
3279
3328
};
@@ -3328,12 +3377,13 @@ export class TownDO extends DurableObject<Env> {
0 commit comments