section 13: Phase 13: Session status from the client type, compaction-dr

This commit is contained in:
Chris Scott committed 2026-11-02 12:01:18 -05:00
1 parent 717536c5a6
commit 2d4abe79e1
21 files changed
+194 -100

No files matched your search

+2 -2
View File
@@ -153,7 +153,7 @@ describe('useActiveWork', () => {
await waitFor(() => expect(recentIDs(result.current.groups)).toContain('root2'))
expect(mocks.listSessionPage).toHaveBeenCalledWith({ cursor: 'page2', includeChildren: true }, 'local')
expect(mocks.listSessionPage).toHaveBeenCalledWith({ cursor: 'page2' }, 'local')
})
it('does not request another page when the oldest loaded session is outside the window', async () => {
@@ -333,7 +333,7 @@ describe('useActiveWork', () => {
expect(row.repo).toBeNull()
expect(row.path).toBe('/servers/srv_kitchen/sessions/ses_remote_recent')
expect(mocks.listRemoteSessionPage).toHaveBeenCalledWith(
{ limit: 50, order: 'desc', includeChildren: true },
{ limit: 50, order: 'desc' },
'srv_kitchen',
)
expect(result.current.isError).toBe(false)