Skip to content

Fix master build break from PR #247/#248 merge skew#249

Merged
chrisballinger merged 1 commit into
masterfrom
fix-master-build
Jun 23, 2026
Merged

Fix master build break from PR #247/#248 merge skew#249
chrisballinger merged 1 commit into
masterfrom
fix-master-build

Conversation

@chrisballinger

Copy link
Copy Markdown
Member

Problem

master currently does not compile. On 2026-05-31, two PRs merged 19 seconds apart:

NearbyCard was written against older PlayaDB APIs. Git merged both with no textual conflict, but the merged tree references signatures that no longer exist. Each PR's CI built its own branch, not the post-merge result, so the break landed on master unnoticed.

Fixes (2 lines, semantic merge skew)

File Was Now
NearbyCardViewModel.swift:271 EventFilter(includeExpired: true, region: region) EventFilter(region: region, includeExpired: true)
NearbyCardViewModelTests.swift:62 EventOccurrence(eventUid: uid, …, year: 2025) EventOccurrence(eventId: uid, startTime:…, endTime:…)

Both now match the canonical existing usages (NearbyViewModel.swift:275, EventHourSectionTests.swift:23).

Verification

  • xcodebuild build (iBurn, iPhone 17 Pro Max, iOS 26.2): 0 errors, 6 pre-existing warnings
  • iBurnTests/NearbyCardViewModelTests + RightNowCandidateTests: 11 passed
  • PlayaDB swift test --filter RTree: 9 passed

Notes

  • Doc Docs/2026-06-19-merge-repair-and-sync.md captures the full root-cause analysis.
  • Branched off origin/master; its tree is byte-identical to ai-event-summary, so the merge commit added no new content beyond the skew.

🤖 Generated with Claude Code

PRs #248 (NearbyCard → ai-event-summary) and #247 (ai-event-summary →
master) merged 19s apart. NearbyCard was written against older PlayaDB
APIs; git merged with no textual conflict, but the result references
signatures that no longer exist, so master no longer compiles. PR CI
built each PR branch, not the post-merge tree, so it slipped through.

Two semantic merge-skew fixes:

- NearbyCardViewModel.swift: EventFilter's current init orders `region`
  before `includeExpired`; the call used the old order. Match the
  existing correct usage in NearbyViewModel.
- NearbyCardViewModelTests.swift: EventOccurrence's init is
  (id:eventId:startTime:endTime:) — the test used a stale
  (eventUid:…:year:) shape. Match the canonical pattern in
  EventHourSectionTests.

Verified: iBurn app build 0 errors; NearbyCardViewModelTests +
RightNowCandidateTests 11 passed; PlayaDB RTree tests 9 passed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JXw53U9BhHpRbdGF78XJ9d
@chrisballinger chrisballinger merged commit 59adeda into master Jun 23, 2026
0 of 4 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