Skip to content

test(ios): make settlement alert regression Xcode Cloud-safe - #35

Merged
AnganSamadder merged 2 commits into
mainfrom
fix/xcode-cloud-settlement-test
Aug 25, 2026
Merged

test(ios): make settlement alert regression Xcode Cloud-safe#35
AnganSamadder merged 2 commits into
mainfrom
fix/xcode-cloud-settlement-test

Conversation

@AnganSamadder

Copy link
Copy Markdown
Owner

Summary

  • replace a source-file fixture scan with a compiled behavioral regression for settlement error sanitization
  • centralize the two settlement alert sites on the tested presentation helper
  • prepare release 0.1.13 / build 128 after the failed 0.1.12 cloud attempt

Why

Xcode Cloud build 131 compiled and archived successfully, but its PayBackCITests bundle intentionally omits source-scan fixtures. The former regression therefore failed on fixture lookup rather than app behavior. This keeps the same privacy assertion while exercising compiled production code in every test bundle.

Verification

  • targeted cloud scheme regression: 1 passed
  • SettlementLogicTests cloud suite: 23 passed
  • bun run ci: 54 backend files / 573 tests passed
  • canonical iOS CI: 2,790 tests passed, 0 failures, 0 warnings, 56.36% coverage

Copilot AI lite review requested due to automatic review settings August 25, 2026 10:08
@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 10:08am

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: 1db442346d

ℹ️ 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".

Comment on lines +33 to +39
XCTAssertEqual(
SettlementErrorPresentation.message(for: rawError),
"We couldn't update this settlement. Please try again."
)
XCTAssertEqual(
SettlementErrorPresentation.message(for: nil),
"We couldn't update this settlement. Please try again."

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 Exercise the alert binding in the sanitization regression

This now tests only SettlementErrorPresentation in isolation, so it still passes if either settlement alert later bypasses the helper and renders settlementError.errorDescription, which can expose the request ID and server stack used here. The replaced source assertion covered both alert sites; retain an Xcode Cloud-safe assertion that the actual alert presentation paths use the sanitizer rather than claiming alert-level coverage from the helper test alone.

AGENTS.md reference: AGENTS.md:L185-L190

Useful? React with 👍 / 👎.

@AnganSamadder
AnganSamadder merged commit 6ce8530 into main Aug 25, 2026
10 of 11 checks passed
@AnganSamadder
AnganSamadder deleted the fix/xcode-cloud-settlement-test branch August 25, 2026 10:47
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