test(dsum): restore missing daily standup core module import #824

Open
opened 2026-06-29 06:20:16 +00:00 by simon · 0 comments
Owner

While validating AI model settings work on origin/dev, the full web unit suite fails in apps/web/lib/dsum/core.test.mjs because all seven DSUM tests dynamically import ./dsum.ts, but apps/web/lib/dsum/dsum.ts is not present in the current tree.\n\nCommand: corepack pnpm@10.6.5 --filter web test:unit\n\nEvidence from /tmp/ct-ops-ai-unit.log:\n- not ok 410 - daily standup sections group manual items by completion state\n- error: Cannot find module '/Volumes/MacBookStorage-Dev/dev/carrtech/ct-ops-ai-provider-multiplex/apps/web/lib/dsum/dsum.ts' imported from apps/web/lib/dsum/core.test.mjs\n- the same missing-module error repeats for tests 411 through 416\n\nSuggested fix: either restore apps/web/lib/dsum/dsum.ts with the exported DSUM helpers expected by core.test.mjs, or update the tests to import the current module that owns buildDailyStandupSections, buildDailyStandupTaskEngineerSummary, buildDailyStandupRolloverItems, createdAtForDailyStandupRollover, standupDateForTimeZone, filterDailyStandupEngineerActions, and filterDailyStandupEngineerTasks.

While validating AI model settings work on origin/dev, the full web unit suite fails in apps/web/lib/dsum/core.test.mjs because all seven DSUM tests dynamically import ./dsum.ts, but apps/web/lib/dsum/dsum.ts is not present in the current tree.\n\nCommand: corepack pnpm@10.6.5 --filter web test:unit\n\nEvidence from /tmp/ct-ops-ai-unit.log:\n- not ok 410 - daily standup sections group manual items by completion state\n- error: Cannot find module '/Volumes/MacBookStorage-Dev/dev/carrtech/ct-ops-ai-provider-multiplex/apps/web/lib/dsum/dsum.ts' imported from apps/web/lib/dsum/core.test.mjs\n- the same missing-module error repeats for tests 411 through 416\n\nSuggested fix: either restore apps/web/lib/dsum/dsum.ts with the exported DSUM helpers expected by core.test.mjs, or update the tests to import the current module that owns buildDailyStandupSections, buildDailyStandupTaskEngineerSummary, buildDailyStandupRolloverItems, createdAtForDailyStandupRollover, standupDateForTimeZone, filterDailyStandupEngineerActions, and filterDailyStandupEngineerTasks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carrtech/ct-ops#824
No description provided.