Skip to content

test(ios): stabilize hosted async fixtures - #36

Merged
AnganSamadder merged 2 commits into
mainfrom
fix/ci-async-fixtures
Aug 25, 2026
Merged

test(ios): stabilize hosted async fixtures#36
AnganSamadder merged 2 commits into
mainfrom
fix/ci-async-fixtures

Conversation

@AnganSamadder

Copy link
Copy Markdown
Owner

Summary

  • await authentication readiness in two AppStore fixtures instead of relying on fixed sleeps
  • poll the deduplicated friend-sync observation until its bounded timeout
  • prepare version 0.1.14 (build 129) for the corrected TestFlight candidate

Evidence

  • Hosted RED: PR test(ios): make settlement alert regression Xcode Cloud-safe #35 standard iOS job failed only in testScheduleFriendSync_SyncsDedupedFriendsOnly and testSendLinkRequest_DoesNotRequireRecipientToAlreadyHaveAccount when the macOS runner was overloaded
  • Targeted stress: both selectors passed 20/20 runs locally
  • bun run ci: 573 backend tests passed
  • canonical iOS: 2,790/2,790 passed, zero failures/skips, strict warning gate passed, 56.36% coverage

No product behavior changed in this follow-up; the PayBack fixes are already on main.

Copilot AI lite review requested due to automatic review settings August 25, 2026 11:10
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payback Ready Ready Preview Aug 25, 2026 11:10am

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 914662b59a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

sut.updateGroup(group)
try await Task.sleep(nanoseconds: 300_000_000)

for _ in 0..<500 where await mockAccountService.latestSyncedFriends(accountEmail: account.email) == nil {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wait for the post-update friend snapshot

completeAuthenticationAndWait finishes its initial remote load by recording an empty friend-sync snapshot, so latestSyncedFriends(...) is already non-nil before updateGroup schedules the sync under test. This loop can therefore exit immediately and, on an overloaded runner, the assertions can still observe that initial empty snapshot instead of the deduplicated update; poll for a snapshot containing linkedMemberId or for history newer than a captured baseline.

AGENTS.md reference: AGENTS.md:L316-L320

Useful? React with 👍 / 👎.

@AnganSamadder
AnganSamadder merged commit e2d3e68 into main Aug 25, 2026
11 checks passed
@AnganSamadder
AnganSamadder deleted the fix/ci-async-fixtures branch August 25, 2026 11:44
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