Repository navigation
test(transcripts): name the virtual status field, not a column - #1000
Merged
Merged
Conversation
`job-stage-view.spec.ts` still described `status` as a column with a default. #968 made it `virtual: true` with `options` and no default, so `statusField()`'s `defaultValue` member has had no reader since, and two case titles claimed a column the collection does not declare. Titles and a cast only. No assertion changed. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U3GMP2omkacZGYzMPriFHS
This was referenced Oct 20, 2026
sydevs-bot
marked this pull request as ready for review
October 20, 2026 18:12
sydevs-bot
enabled auto-merge
October 20, 2026 18:12
Contributor
Author
|
Adversarial review skipped: 1 file(s), 8 changed line(s), under 🤖 sydevs dispatcher |
Ardnived
approved these changes
Oct 20, 2026
sydevs-bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
Three conflicts, all where #995 and #1000 edited lines this branch had also touched: - `src/jobs/queues.ts` — keep this branch's `default` queue entry and main's `queueTranscription` rename. The transcription comment's clearance list named a queue `imports` that this branch no longer declares; it is `default`. - `tests/unit/job-stage-view.spec.ts` — keep the generalised `fieldNamed` helper. It still reads `defaultValue`, which the imports status field has and the now-virtual transcripts one does not. - `docs/architecture.md` — keep the CSV import bullet and take main's rewritten `TranscribeMeditation` paragraph. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01H6zmb4FdfrMUxYahrrPDrD
sydevs-bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
The 18:36Z merge commit took a stale `origin/main` ref, so it never saw #995 (three stale transcript claims corrected) or #1000 (`status` named as the virtual field it is). Two files conflicted, and both are files this branch touches only in 3b05cad, the pure `prettier --write` commit, so each took main's content and was re-formatted rather than merged hunk by hunk: - tests/unit/job-stage-view.spec.ts — #1000 drops `defaultValue` from `statusField()`'s return type and its cast - tests/COVERAGE.md — #1000's wording for the transcripts row For all five files main changed, the merged content is byte-for-byte `prettier(main's version)`, so nothing main wrote was dropped and nothing but formatting was imposed on it. `prettier --check .` passes over the whole tree, which is what the `format:check` step this branch adds will run in CI. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_014ZW1ZZGzCifwbAHoJnypsy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
job-stage-view.spec.tsstill callsmeditation-transcripts.statusa column with a default. feat(meditations): transcribe a recording when it is added #968 made itvirtual: truewithoptionsand no default.Change outline
1. A
defaultValuemember nothing has read since #968The one caller, at
:273, destructuresoptionsalone. The cast widened the shape to a property the collection no longer declares, so a reader could not tell the default was gone.2. Two case titles naming a column
A virtual field is derived in an
afterReadhook and has no column behind it (MeditationTranscripts.ts:107-118). The second title is the case that reads the live config, so it was the one naming the wrong thing about the thing it reads.Preview
Nothing to see in a running app. Test titles and a local type annotation.
Test results
pnpm lint,pnpm typecheck,pnpm typecheck:tests,pnpm test:unit(203 files, 2642 cases, 154s)job-stage-view.spec.tsis in that run. All 4 of itsmeditation-transcriptscases pass unchanged.Manual verification
grep -n 'defaultValue' tests/unit/job-stage-view.spec.tsreturns nothing.MeditationTranscripts.ts:107—virtual: true,options: [...TRANSCRIPT_STATUSES], nodefaultValue.Notes for reviewer
test-only.mjs --base origin/main:TEST-ONLY — 1 test file(s), 0 outside findings.testGlobs.claude/docs-…and changesdocs/architecture.mdandsrc/jobs/queues.ts, sotest-only.mjsreportsNOT TEST-ONLYon it; a ticketless PR carries one kind, never both. Raised there as aconsiderfinding onjob-stage-view.spec.ts:11.securityReview.triggerPattern.Generated by Claude Code