Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI tests failures on older iOS versions #3205

Closed
wants to merge 162 commits into from
Closed

Conversation

laevandus
Copy link
Contributor

🎯 Goal

Some tests failed on older iOS versions

☑️ Contributor Checklist

  • I have signed the Stream CLA (required)
  • This change follows zero ⚠️ policy (required)
  • This change should be manually QAed
  • Changelog is updated with client-facing changes
  • New code is covered by unit tests
  • Comparison screenshots added for visual changes
  • Affected documentation updated (docusaurus, tutorial, CMS)

…agMessage sendMessageAction and resendAttachment to Chat
…eplies paginated loading, and tidy message loading
@laevandus laevandus added the 🤖 CI/CD Any work related to CI/CD label May 17, 2024
@laevandus laevandus requested a review from a team as a code owner May 17, 2024 08:12
@laevandus laevandus changed the title ChannelList tests failed on older iOS versions due to timing issues CI tests failures on older iOS versions May 17, 2024
@laevandus laevandus marked this pull request as draft May 17, 2024 08:13
Copy link

github-actions bot commented May 17, 2024

1 Message
📖 There seems to be app changes but CHANGELOG wasn't modified.
Please include an entry if the PR includes user-facing changes.
You can find it at CHANGELOG.md.

Generated by 🚫 Danger

@Stream-iOS-Bot
Copy link
Collaborator

StreamChat XCMetrics

target metric benchmark branch performance status
MessageList Hitches total duration 10 ms 1.67 ms 83.3% 🔼 🟢
Duration 2.6 s 2.54 s 2.31% 🔼 🟢
Hitch time ratio 4 ms per s 0.66 ms per s 83.5% 🔼 🟢
Frame rate 79 fps 78.44 fps 0.71% 🔼 🟢
Number of hitches 1 0.2 80.0% 🔼 🟢
ChannelList Hitches total duration 12.5 ms 0.0 ms 100.0% 🔼 🟢
Duration 2.6 s 0.97 s 62.69% 🔼 🟢
Hitch time ratio 5 ms per s 0.0 ms per s 100.0% 🔼 🟢
Frame rate 76 fps 72.06 fps 5.18% 🔼 🟢
Number of hitches 1.2 0.0 100.0% 🔼 🟢

@laevandus laevandus marked this pull request as ready for review May 17, 2024 13:18
@laevandus laevandus enabled auto-merge (squash) May 17, 2024 13:31
@Stream-iOS-Bot
Copy link
Collaborator

StreamChat XCMetrics

target metric benchmark branch performance status
MessageList Hitches total duration 10 ms 6.68 ms 33.2% 🔼 🟢
Duration 2.6 s 2.53 s 2.69% 🔼 🟢
Hitch time ratio 4 ms per s 2.65 ms per s 33.75% 🔼 🟢
Frame rate 79 fps 77.86 fps 1.44% 🔼 🟢
Number of hitches 1 0.8 20.0% 🔼 🟢
ChannelList Hitches total duration 12.5 ms 0.0 ms 100.0% 🔼 🟢
Duration 2.6 s 0.82 s 68.46% 🔼 🟢
Hitch time ratio 5 ms per s 0.0 ms per s 100.0% 🔼 🟢
Frame rate 76 fps 63.95 fps 15.86% 🔼 🟢
Number of hitches 1.2 0.0 100.0% 🔼 🟢

Copy link

sonarcloud bot commented May 20, 2024

Measure SDKs on release (#3206)

Fetch tags for release workflow (#3209)

Bump Xcode version on cron checks (#3208)

[Threads v2] Add `ChatThreadListController` (#3207)

* Provide default arguments to the thread queries to make it less confusing

* Add `ChatThreadListController` to query threads

* Fix threads not appearing because of To-One relationship instead of To-Many

* Fix threads appearing duplicated on first fetch

* Make the `watch` a required argument of the Thread List Query

* Add function to load local thread

* Add test coverage to ThreadListUpdater

* Add ThreadListController test coverage

* Add SwiftUI and Combine Helpers

* Move cursor logic to controller

* ThreadListUpdater -> ThreadsRepository

* Fix comment typo

ChannelList tests failed on older iOS versions due to timing issues

Do not reset members and watchers when loading more messages

Increase unit-test timeout since test_hugeChannelListQuery_save_DB_empty can run slowly on CI

Try demangled name crash on older iOS versions

Build error on older Xcodes

Avoid deadlocks in tests when waiting expectations
@laevandus laevandus closed this May 20, 2024
auto-merge was automatically disabled May 20, 2024 07:02

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 CI/CD Any work related to CI/CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants