Skip to content

search: call the job search bound a wait - #2229

Merged
santoshkumarradha merged 10 commits into
app/v3from
c52/search-wait-name
Nov 2, 2026
Merged

santoshkumarradha merged 10 commits into
app/v3from
c52/search-wait-name

Conversation

@santoshkumarradha

Copy link
Copy Markdown
Member

Follow-up to #2221, built on its head. The leaf deadline law TestOnlyTheSubharnessTableSizesALeafsRoom read job search's constant appSearchJobsDeadline as sizing a model call's room.

It doesn't. That 1.5-second bound limits reads of factory queues while a person types, and no model call happens under it. So exec.SubharnessFor(name).Deadline(tokens) doesn't apply, and the constant is now appSearchJobsWait, matching the other waits in this package. The value and behaviour are unchanged, and the law itself is untouched.

Validation: the law and the job search test pass on the head. Wider suites run in the stream's later check.

🤖 Generated with Claude Code

santoshkumarradha and others added 10 commits November 2, 2026 12:33
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The 1.5 second bound limits reads of factory queues during typing. It sizes no
model call, so the subharness table has no say in it and the deadline law should
not read it as a leaf's room.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	cmd/codeaf/appfactory_search.go
@santoshkumarradha
santoshkumarradha marked this pull request as ready for review November 2, 2026 19:27
@santoshkumarradha
santoshkumarradha merged commit 01ae2aa into app/v3 Nov 2, 2026
@santoshkumarradha
santoshkumarradha deleted the c52/search-wait-name branch November 2, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant