WIP, do not merge: prove the Sentry isolation tests run (CLS-1474) #7

Closed
stephen wants to merge 3 commits from wip-prove-isolation-tests-run into main
Owner

Throwaway. #6 plus one deliberate XCTFail in test_beforeBreadcrumbRunsOffTheMainActor. CI must fail naming that test; that shows the kit suite really runs SentryBootstrapIsolationTests, so #6's pass counts. Closed and the branch deleted after one run.

Throwaway. #6 plus one deliberate XCTFail in test_beforeBreadcrumbRunsOffTheMainActor. CI must fail naming that test; that shows the kit suite really runs SentryBootstrapIsolationTests, so #6's pass counts. Closed and the branch deleted after one run.
Start the Sentry options from configure(), and test beforeSend and beforeBreadcrumb off the main actor (CLS-1474)
All checks were successful
CI / Build and test (iOS Simulator) (pull_request) Successful in 2m37s
CI / Icon usage lists (pull_request) Successful in 7s
79e6d7631e
SentryBootstrap is main-actor isolated and sets both callbacks inside start(). The SDK calls them from its
own queues. The options now come from configure(), unchanged, and three tests call the callbacks the way the
SDK does: from a background queue and from twenty at once.
Make the Sentry callbacks nonisolated functions and the scope closures @Sendable (CLS-1474)
All checks were successful
CI / Build and test (iOS Simulator) (pull_request) Successful in 1m29s
CI / Icon usage lists (pull_request) Successful in 7s
0f85a95779
beforeSend and beforeBreadcrumb were closures formed inside the main-actor SentryBootstrap and called by the SDK on
its own queues. They are now nonisolated static functions of their input, assigned by reference; initialScope and
configureProfiling are explicitly @Sendable. Behaviour is unchanged; the isolation tests from the first commit
pass before and after.
WIP, never merge: one deliberate failure proves the isolation tests run (CLS-1474)
Some checks failed
CI / Build and test (iOS Simulator) (pull_request) Failing after 3m17s
CI / Icon usage lists (pull_request) Successful in 7s
82725541f5
gerri approved these changes 2026-11-24 21:44:34 +00:00
gerri left a comment

Automated Codex review (read-only) of head 82725541f5.

No unintended problems found. The deliberate XCTFail matches the PR’s stated purpose and is expected to make CI fail.

BLOCKING: 0

Reviewed head 82725541f5 at 2026-11-24T21:44:33Z by codex exec (read-only sandbox).

Automated Codex review (read-only) of head 82725541f5f1138850eea1470a4c4e86e4f87f8f. No unintended problems found. The deliberate `XCTFail` matches the PR’s stated purpose and is expected to make CI fail. BLOCKING: 0 --- Reviewed head 82725541f5f1138850eea1470a4c4e86e4f87f8f at 2026-11-24T21:44:33Z by codex exec (read-only sandbox).
stephen closed this pull request 2026-11-24 21:52:55 +00:00
Some checks failed
CI / Build and test (iOS Simulator) (pull_request) Failing after 3m17s
Required
Details
CI / Icon usage lists (pull_request) Successful in 7s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rasterstate/fjord-apple-kit!7
No description provided.