Skip to content

test(qa): add 61 deterministic story-cited tests for notes, photos, files, and workflows - #2414

Draft
NubsCarson wants to merge 1 commit into
developfrom
feat/qa-stories-notes-photos-files-workflows
Draft

NubsCarson wants to merge 1 commit into
developfrom
feat/qa-stories-notes-photos-files-workflows

Conversation

@NubsCarson

Copy link
Copy Markdown
Collaborator

Summary

Adds 4 deterministic story-cited Vitest suites under apps/app/test/ closing all 61 stories across spec/app/notes/, spec/app/photos/, spec/app/files/, and spec/app/workflows/ that previously had no runnable Vitest test coverage:

  • apps/app/test/notes-stories.test.ts (26 stories across editor, index, linkNote, microphone, note, previous, recording, transfer, trash, voice, voiceDeletion).
  • apps/app/test/workflows-stories.test.ts (18 stories across approvals, automations, builder, clock, generate, index, list, runs, schedule, sheet, steps).
  • apps/app/test/files-stories.test.ts (11 stories across correction, destination, preview, scan, scanText, search, trash).
  • apps/app/test/photos-stories.test.ts (6 stories across actor, index).

Coverage impact on develop (313c69414e7b):

  • Runnable Vitest story coverage (testFiles): 527/634 (83.1%) -> 588/634 (92.7%, +61 deterministic runnable Vitest story tests; 133/133 = 100% across notes, photos, files, and workflows).
  • Combined pnpm cli qa status coverage (testFiles + qaFiles including capture/flows/): 626/634 (98.7%) -> 629/634 (99.2%), with 0 dangling citations.
  • Zero edits to spec/, gen/, or spec/lock.json.

Verification

  • pnpm exec node vibestack/spec.ts tasks @repo/app#typecheck: PASS (9/9 tasks)
  • pnpm --filter @repo/app exec vitest run --project node test/photos-stories.test.ts test/files-stories.test.ts test/workflows-stories.test.ts test/notes-stories.test.ts: PASS (4/4 files, 61/61 tests)
  • pnpm cli qa status --summary --json: PASS (629/634 combined = 99.2%, 588/634 runnable Vitest = 92.7%, 133/133 across notes/photos/files/workflows, 0 dangling citations)
  • NODE_OPTIONS=--max-old-space-size=4096 pnpm exec eslint --max-warnings 0 on all 4 new test files: PASS (0 errors, 0 warnings)
  • pnpm exec jscpd --silent --threshold 0 on all 4 new test files and across all 173 non-capture files in apps/app/test: PASS (0 clones, 0.00%)
  • pnpm exec knip --workspace apps/app: PASS (0 unused files/exports)
  • pnpm exec madge --circular vibestack packages apps: PASS (2540 files, 0 circular dependencies)
  • pnpm run no-bun: PASS

Copilot AI balanced review requested due to automatic review settings December 4, 2026 22:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@NubsCarson
NubsCarson marked this pull request as draft December 4, 2026 22:07

This branch was successfully deployed

No deployments
turbo-cache-read — 74af72bf Deployed Dec 4, 2026 by NubsCarson via prepare-eliza #1666
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.

2 participants