iOS: intermittent shell-construction readiness report timeout in hosted CI
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start with HostedChatNavigationTests.testPushInstallsOnlyTheShellBeforeReturning and its failing readiness wait at line 50. Trace deferred construction, the seed task, connectObservations, and ChatOpening report creation and cancellation through navigation lifecycle changes. Capture whether content was installed, the seed task completed, the controller remained attached to its parent and account, and the diagnostic clock started; done means identifying the cause and adding a deterministic regression.
Written by the indexing model from the issue text.
Description
Failure
HostedChatNavigationTests.testPushInstallsOnlyTheShellBeforeReturning intermittently times out at line50 waiting for chat.contentInstalled && chat.openingReport != nil on hosted CI.
Observed at 18070fbe5700bab544537bb8230a9b2c24d04c69 in happy-ios run42508502272, attempt2, hosted shard2. The initial assertions that navigation installs only the shell pass, and the subsequent composer-presence and title assertions also pass. The failing assertion is the readiness wait, not an observed missing composer.
Evidence
- The same test passed attempt1 on the same commit and the latest completed main run at the time, 42475559210.
- Kirill Mac, iPhone17/iOS27 simulator, unchanged test and budgets: three repetitions passed in0.812s,0.504s,0.517s.
- Local result bundle:
/Users/kirilldubovitskiy/ctb-out/ci-shell.PEM5XP/result.xcresult. - Other diagnostic-report failures occur in
testHowLongAChatTakesToOpenandHostedNavigationTimingTests.testOpeningChatsFromTheRealHomeRoot; the latter also failed on main. These may share a cause, but that is not established. - Full verification record.
Investigation
Treat this as a readiness-report correctness investigation. Trace deferred construction, the seed task, connectObservations, and ChatOpening report creation/cancellation through navigation lifecycle changes. Capture whether content was installed, whether the seed task completed, whether the controller was still attached to its parent/account, and whether the diagnostic clock started. The cause is not yet proven.
Do not hide this with in-test retries, longer waits, deleted assertions, or a performance-budget increase. Keep a deterministic regression when the mechanism is identified.
- Dominant language
- Swift
- Stars
- 24.6k
- Forks
- 2.1k
- Avg merge
- 2h 28m
- Merged PRs (30d)
- 66
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from slopus/happy
-
New session blocked on a computer whose machine row says online: Happy Agent registered but not runningPossibly taken @f-liva claimed this 8 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
slopus/happy#1920 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
slopus/happy#1901 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
slopus/happy#1890 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
area: layout S4: cosmetic
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
manaflow-ai/cmux#42223 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
apple/coreai-models#523 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
iCHAIT/awesome-macOS#1359 ·