GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — perf(server): seek live nodes for the subagent recovery probe (#29644) · pingdotgg/t3code@8648aea

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/server/src/orchestration-v2
    • ProjectionStore.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/server/src/orchestration-v2/ProjectionStore.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/orchestration-v2/ProjectionStore.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4098,9 +4098,10 @@ export const layer: Layer.Layer<ProjectionStoreV2, never, SqlClient.SqlClient> =
40984098
AND EXISTS (
40994099
SELECT 1 FROM orchestration_v2_projection_nodes AS node
41004100
WHERE node.thread_id = subagents.child_thread_id
4101-
AND node.run_id IS NULL
4101+
-- Matches nodes_live_idx; +run_id keeps thread_run_idx from scanning settled nodes.
4102+
AND node.status IN ('pending', 'starting', 'running', 'waiting')
4103+
AND +node.run_id IS NULL
41024104
AND node.kind = 'root_turn'
4103-
AND node.status IN ('pending', 'running', 'waiting')
41044105
)
41054106
UNION
41064107
-- No native subagent outlives the provider process that ran it.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.