Skip to content

Refactor: the screenshot launch flags move out of RecordScreenModel.start() (#890) - #949

Merged
Skeyelab merged 1 commit into
mainfrom
refactor/890-screenshot-flags
Oct 23, 2026
Merged

Skeyelab merged 1 commit into
mainfrom
refactor/890-screenshot-flags

Conversation

@Skeyelab

Copy link
Copy Markdown
Member

One item of #890. RecordScreenModel.start() ran the screenshot and layout-check launch flags (-demoDrive, -demoNames, -demoRecord) inline after the real startup. They are now a private runScreenshotFlags(), called as the last statement of start(): the same code in the same order, six lines added and none changed.

No red test is possible: it is a pure move with no behavior change. A Code Reviewer compared the body with the old lines (nothing depended on a local of start(); isolation and the -demoRecord call to the async record() are as before). ./scripts/verify.sh (full, since App/ changed) passes: package tests, macOS build and AppTests, iOS Simulator build. Not run in the Simulator.

…tart() (#890)

start() ran -demoDrive, -demoNames and -demoRecord inline after the real startup work. They are now
runScreenshotFlags(), called last, with the same code in the same order.

Assisted-by: Claude Code:claude-sonnet-5-5
@Skeyelab
Skeyelab enabled auto-merge (squash) October 23, 2026 03:56
@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Skeyelab
Skeyelab merged commit 7afd903 into main Oct 23, 2026
11 checks passed
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.

1 participant