mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
fix: a trashed note file leaves its note, quieter MCP sweep, bounded compose logs
A note's attachment moved to the trash from the file manager kept showing on the note; the hydration read now skips it, as the chat one already did. The MCP session sweep logged a line every minute while any session was open; it logs only when it cleaned something. The compose file caps the container log, and three test mocks that pointed at modules long gone are removed.
This commit is contained in:
@@ -9,7 +9,6 @@ import TourDetailDialog from './TourDetailDialog'
|
||||
|
||||
vi.mock('../../../../server/src/config', () => { throw new Error('Config initialization is forbidden in client tests') })
|
||||
vi.mock('../../../../server/src/db/database', () => { throw new Error('Legacy database imports are forbidden in client tests') })
|
||||
vi.mock('../../../../server/src/nest/database/database.service', () => { throw new Error('Database service imports are forbidden in client tests') })
|
||||
vi.mock('better-sqlite3', () => { throw new Error('SQLite imports are forbidden in client tests') })
|
||||
|
||||
const place = buildPlace({
|
||||
|
||||
@@ -12,7 +12,6 @@ import { TourPlannerRail, TourPlannerToursRail } from './TourPlannerPanels'
|
||||
|
||||
vi.mock('../../../../../server/src/config', () => { throw new Error('Config initialization is forbidden in client tests') })
|
||||
vi.mock('../../../../../server/src/db/database', () => { throw new Error('Legacy database imports are forbidden in client tests') })
|
||||
vi.mock('../../../../../server/src/nest/database/database.service', () => { throw new Error('Database service imports are forbidden in client tests') })
|
||||
vi.mock('better-sqlite3', () => { throw new Error('SQLite imports are forbidden in client tests') })
|
||||
|
||||
const tour: TourListItem = {
|
||||
|
||||
@@ -87,10 +87,6 @@ vi.mock('../components/Planner/DayDetailPanel', () => ({
|
||||
},
|
||||
}));
|
||||
|
||||
vi.mock('../components/Memories/MemoriesPanel', () => ({
|
||||
default: () => React.createElement('div', { 'data-testid': 'memories-panel' }),
|
||||
}));
|
||||
|
||||
vi.mock('../components/Collab/CollabPanel', () => ({
|
||||
default: () => React.createElement('div', { 'data-testid': 'collab-panel' }),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user