Skip to content

test: widen the real-time bounds of the conformance helpers - #7

Merged
filipbodor merged 1 commit into
mainfrom
filipbodor/ios-flaky-real-time-bounds
Oct 15, 2026
Merged

filipbodor merged 1 commit into
mainfrom
filipbodor/ios-flaky-real-time-bounds

Conversation

@filipbodor

Copy link
Copy Markdown
Member

Fixes the flaky ios CI job.

The iOS simulator run failed twice on "invariant 6: a request of an ended session that never answers cannot block the next session" (.signOutThenSignIn): finishes(next) gave up after 2 s of real time, while the log shows the next session's refresh rotating its token right after. The simulator's parallel run is starved (trivial tests report 4–10 s), so the bound was too tight, not the manager.

Included:

  • finishes: 2 s → 30 s, with a comment on why the bound is generous
  • waitUntil: 5 s → 30 s
  • sleeper wait in the hung-policy acceptance test: 2 s → 30 s

Each checks something that happens soon or stays false until the test intervenes, so a long bound only delays a real failure. All stay inside the suites' one-minute time limit.

Test-only change; no public API or behaviour change.

The iOS simulator job failed twice on "invariant 6: a request of an
ended session that never answers cannot block the next session"
(.signOutThenSignIn): finishes(next) gave up after 2 s of real time.
The log shows the next session's refresh rotating its token right
after the failure, so the manager was correct and the bound was too
short. On the CI simulator the parallel run is starved: trivial tests
report 4 to 10 s.

finishes, waitUntil and the sleeper wait in the hung-policy test check
something that either happens soon or stays false until the test
intervenes, so a long bound only delays a real failure. Raise them to
30 s, well inside the suites' one-minute time limit.
@filipbodor
filipbodor marked this pull request as ready for review October 15, 2026 14:41
@filipbodor
filipbodor requested a review from a team as a code owner October 15, 2026 14:41
@filipbodor
filipbodor merged commit e17fc48 into main Oct 15, 2026
6 checks passed
@filipbodor
filipbodor deleted the filipbodor/ios-flaky-real-time-bounds branch October 15, 2026 14:41
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T14:42:11.095399Z e185c80 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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