Skip to content

Commit 18564d4

Browse files
authored
fix(ui): temporarily raise project session list ceiling (NeuralNomadsAI#604)
## Summary - raise PROJECT_SESSION_LIST_LIMIT from 1,000 to 10,000 - keep sessions visible for projects whose subagent activity exceeds the current 1,000-session cap - leave the existing one-shot project-scoped request behavior unchanged ## Context This is an urgent temporary mitigation for the regression described in NeuralNomadsAI#565 (comment). PR NeuralNomadsAI#565 replaced paginated loading with a single request capped at 1,000 sessions. Projects that exceed that cap can still have all sessions in OpenCode's database, but older sessions disappear from the CodeNomad UI. This PR deliberately does not solve the underlying scalability problem. The follow-up fix should restore proper paginated loading and remove reliance on a fixed high ceiling. ## Validation - npm run typecheck --workspace @codenomad/ui - node --test packages/ui/src/stores/session-pagination.test.ts (5 passed)
1 parent e169c0a commit 18564d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ui/src/stores/session-list-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const PROJECT_SESSION_LIST_LIMIT = 1000
1+
export const PROJECT_SESSION_LIST_LIMIT = 10000
22

33
type ProjectSessionListInput = {
44
directory?: string

0 commit comments

Comments
 (0)