test(home): two stream tests call ProjectionCore.streams (base compile red)

Closed
TE
16d ago
+6-7

CmuxNextAppTests stops compiling on feat-cmux-next:

HomeTranscriptLayerKeepsBubblesInsideTests.swift:78:32: error: value of type 'ProjectionCore' has no member 'stream'

b93524c0fe10 ("one ordered timeline per conversation") replaced ProjectionCore.stream(_ draft: HomeTurnDraft, state:) with streams(_ rows: [HomeStreamRow], state:) and updated HomeSendOrderTests. It left two tests calling the old method: HomeTranscriptLayerKeepsBubblesInsideTests (CmuxNextAppTests) and HomeStreamingResizeTests (MessagesLabHomeTests). Both now build one HomeStreamRow(turn:author:text:) with the same text, as HomeSendOrderTests.draft does.

Why this matters beyond the two tests: the base autofix's "action exports (Mac)" job regenerates the settings exports by running Swift tests, so it fails on this compile error. Run 39415476690 shows it at "Regenerate the settings exports" and then "Fail when a regeneration failed". That keeps schemas/defaults/cmux-next.json and the settings exports stale, which causes:

  • the defaults-snapshot red;
  • the webviews settings/strings.test.ts red (settings.appearance.density.help is missing from the generated strings in all 21 locales);
  • the regeneration #22497 needs for the categories.test.ts red.

Verification

Not compiled here: the targets import AppKit, and no Mac builds run on these hosts. The new call matches the streams signature at HomeProjection+Streams.swift:44 and the existing use in HomeSendOrderTests.swift:35,58. HomeStreamRow is public in CmuxHomeCore, which both files import @testable. CI's Mac test lanes and the next base autofix run are the compile check.

Changelog

none

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes the compile error in two home tests caused by ProjectionCore.stream being replaced with streams, and unblocks the settings exports regeneration that depends on the Mac test job.

  • Updates HomeTranscriptLayerKeepsBubblesInsideTests and HomeStreamingResizeTests to build one HomeStreamRow and call streams, matching HomeSendOrderTests.
  • Adds schemas/keybindings/ghostty-reserved-keys.json to the reads of the CmuxNextAgentActivity target in ci-target-graph.json.
  • Unblocks the base autofix's "action exports (Mac)" job, which regenerates schemas/defaults/cmux-next.json and the settings exports by running the Swift tests.