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

supabase / supabase-swift / 16051575138 / 1
77%
main: 77%

Build:
DEFAULT BRANCH: main
Ran 03 Jul 2025 01:35PM UTC
Files 81
Run time 3s
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

03 Jul 2025 01:20PM UTC coverage: 75.841% (+0.2%) from 75.666%
16051575138.1

push

github

web-flow
feat(realtime): add presence-enabled flag to join push (#736)

* feat(realtime): add presence-enabled flag to join push

- Add presenceEnabled property to RealtimeJoinConfig
- Update CallbackManager to handle presence-enabled joins
- Modify RealtimeChannelV2 to support presence-enabled configuration
- Add tests for presence-enabled functionality
- Update .gitignore for new test artifacts

This change allows developers to explicitly enable/disable presence
functionality when joining realtime channels, providing better control
over presence behavior in realtime subscriptions.

* test(realtime): add test for presence enabled flag during subscribe

- Add comprehensive test that verifies presence.enabled is set to true when presence callback exists
- Test uses FakeWebSocket to simulate real subscription flow
- Verifies that presence enabled flag is correctly set in phx_join payload
- Ensures proper cleanup of subscriptions and connections

This test validates the core functionality where presence enabled is automatically set based on presence callback existence.

* fix(realtime): resubscribe channel when presence callback added to subscribed channel

When a presence callback is added to an already subscribed channel, the channel now automatically resubscribes to ensure the presence functionality works correctly. This fixes an issue where presence callbacks added after subscription would not receive presence updates.

- Add resubscription logic in onPresenceChange method
- Log debug message when resubscribing
- Maintain existing callback registration behavior

5255 of 6929 relevant lines covered (75.84%)

21.5 hits per line

Source Files on job 16051575138.1
  • Tree
  • List 81
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16051575138
  • 7de5b8b0 on github
  • Prev Job for on main (#15556137759.1)
  • Next Job for on main (#16143484888.1)
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

© 2025 Coveralls, Inc