Skip to content

Stop committing the Mac app's generated Xcode project - #427

Merged
alexkroman merged 6 commits into
mainfrom
claude/tender-gates-yqlxcw
Nov 26, 2026
Merged

alexkroman merged 6 commits into
mainfrom
claude/tender-gates-yqlxcw

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator

App/Blurt/Blurt.xcodeproj, its Info.plist and its entitlements are all
generated from App/Blurt/project.yml, and nobody opens the project in
Xcode, so they now go the way of the iPhone app's: gitignored, and
generated by every script that builds (dev-build, uitest, leaks,
mac-static, release-build) through a shared generate_mac_project helper.

That retires the xcodegen drift check and the repo-root folder-name
check in check.sh (both had failed PRs whose project.yml hadn't changed,
#392 and #415), the protect-pbxproj hook, and the "regenerate on a Mac
and commit" step. release-bump.sh now edits only project.yml and the
release notes, so release-bump.yml no longer installs the Brewfile.
Sparkle's exact pin in project.yml stands in for the committed
Package.resolved, as KeyboardKit's already does; CodeQL generates both
projects before resolving and keys its cache on project.yml.

The settled decision becomes "don't commit a generated project" in
AGENTS.md and the project-guardrails skill.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01DS5B1VPQPwfs6KaTp1BQKW

App/Blurt/Blurt.xcodeproj, its Info.plist and its entitlements are all
generated from App/Blurt/project.yml, and nobody opens the project in
Xcode, so they now go the way of the iPhone app's: gitignored, and
generated by every script that builds (dev-build, uitest, leaks,
mac-static, release-build) through a shared generate_mac_project helper.

That retires the xcodegen drift check and the repo-root folder-name
check in check.sh (both had failed PRs whose project.yml hadn't changed,
#392 and #415), the protect-pbxproj hook, and the "regenerate on a Mac
and commit" step. release-bump.sh now edits only project.yml and the
release notes, so release-bump.yml no longer installs the Brewfile.
Sparkle's exact pin in project.yml stands in for the committed
Package.resolved, as KeyboardKit's already does; CodeQL generates both
projects before resolving and keys its cache on project.yml.

The settled decision becomes "don't commit a generated project" in
AGENTS.md and the project-guardrails skill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DS5B1VPQPwfs6KaTp1BQKW
With the project committed, a new file in the Mac app or its UI-test
bundle meant regenerating the pbxproj on a Mac, so #408 and #410 put new
code into files the project already listed. Now that every build
generates the project, each piece gets its own file:

- The Record button's doubles, nested in TranscriptsModel+UITest.swift,
  become UITestRecordingCapture.swift and UITestLiveSession.swift,
  top-level like the other UITest* doubles.
- The API-key sheet tests leave SettingsUITests for APIKeySheetUITests,
  and their helpers leave BlurtUITestCase+Windows for
  BlurtUITestCase+APIKeySheet. CI's shard a lists the new class, so the
  tests stay on the shard they ran on.
- The live-recording tests leave TranscriptionUITests for
  LiveRecordingUITests; the text helpers both classes use move to the
  shared harness-driving extension.

No test or double changes behaviour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DS5B1VPQPwfs6KaTp1BQKW
@alexkroman
alexkroman enabled auto-merge November 25, 2026 21:26
@alexkroman
alexkroman added this pull request to the merge queue Nov 25, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 25, 2026
@alexkroman
alexkroman enabled auto-merge November 25, 2026 21:56
…qlxcw

# Conflicts:
#	AGENTS.md
#	App/Blurt/Blurt.xcodeproj/project.pbxproj
Splitting the API-key sheet tests into APIKeySheetUITests made
testCancelDiscardsKeyEditAndKeepsRow the first test of UI shard a's
run, and there it found Connect… present but not hittable on all three
attempts. openKeyEditor now waits for the button to be hittable, raises
a covered Settings window again with ⌘, (as openSettingsWindow does),
and on a miss fails naming every window's frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DS5B1VPQPwfs6KaTp1BQKW
Keeps main's push-gate hook and swift lint-lite check; drops the
protect-pbxproj hook and the pbxproj folder-name check this branch
retires, along with their mentions in AGENTS.md and CLAUDE.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DS5B1VPQPwfs6KaTp1BQKW
#422 rewrote the Record button's live-session double inside
TranscriptsModel+UITest.swift; this branch had moved that double to
UITestLiveSession.swift, so the rewrite lands there and the model file
keeps only its factory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DS5B1VPQPwfs6KaTp1BQKW
@alexkroman
alexkroman added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 1cb146a Nov 26, 2026
22 checks passed
@alexkroman
alexkroman deleted the claude/tender-gates-yqlxcw branch November 26, 2026 01:05
alexkroman pushed a commit that referenced this pull request Nov 27, 2026
openKeyEditor raised a covered Settings row with a second ⌘, when the
Connect…/Change… button wasn't hittable in 5 s — a fallback added (#427)
after testCancelDiscardsKeyEditAndKeepsRow, first in its run, found the
button present but covered, Settings having opened behind another window.
The cause is in openSettingsWindow, which returned as soon as a Settings
window existed. It now also waits for Settings to be the front window
(`app.windows.firstMatch`, listed front to back), after its one ⌘,, and a
Settings window left behind fails there naming every window front first.
openKeyEditor no longer sends ⌘,: it waits for the button to be hittable
or fails with the same window list. windowFrames moves to the shared
windows file for both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DS5B1Thm9A5RTqE6KU3jvP
alexkroman pushed a commit that referenced this pull request Nov 27, 2026
PR #451's first run (46025331730) failed testCancelDiscardsKeyEditAndKeepsRow
on the same miss #427's ⌘, fallback had covered: "Connect… is covered", with
Settings ("General") the app's front window and the button inside its frame.
So nothing of Blurt's covers it — another app's window does, or Blurt isn't
the active app; the removed ⌘, raised it because typeKey brings the app
forward first. The failure now names the app's state (4 = in front) and
keeps a full-screen screenshot in the result bundle, so the next run says
which.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DS5B1Thm9A5RTqE6KU3jvP
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