• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Instagram / IGListKit / 19971554387
96%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 05 Dec 2025 06:05PM UTC
Jobs 1
Files 54
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Dec 2025 05:55PM UTC coverage: 95.895% (-0.02%) from 95.912%
19971554387

push

github

meta-codesync[bot]
Formalize that the IGListAdapterDelegateAnnouncer is main-thread affined

Summary:
Today, the IGListAdapterDelegateAnnouncer is different than most other announcers in IG/FB/etc in that it not thread safe to add and remove listeners.

However, this isn't really enforced, and has lead to people calling add / remove on background threads, which is creating crashes: https://fburl.com/logview/f1x4ytdl

A different way to deal with this problem is to make the IGListAdapterDelegateAnnouncer thread safe (eg D87806041), but the principle there seems to be that this class is only intended to be dealt with on the main threasd.

So, the fix here is to just make sure we call this on the thread and add asserts. using on_main here guarantees that we don't dispatch if we are already on the main thread, so it should be safe to add.

Reviewed By: manicakes

Differential Revision: D88427711

fbshipit-source-id: 41f352495

5 of 6 new or added lines in 1 file covered. (83.33%)

4345 of 4531 relevant lines covered (95.89%)

696.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.7
-1.19% Source/IGListKit/IGListAdapterDelegateAnnouncer.m
Jobs
ID Job ID Ran Files Coverage
1 iOS - 19971554387.1 05 Dec 2025 06:05PM UTC 59
95.78
GitHub Action Run
Source Files on build 19971554387
  • Tree
  • List 54
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19971554387
  • 7dddb0d4 on github
  • Prev Build on main (#19511011910)
  • Next Build on main (#20127244776)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc