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

share / sharedb / 1380
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: master
Ran 31 Mar 2020 05:41PM UTC
Jobs 3
Files 35
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

pending completion
1380

Pull #356

travis-ci

web-flow
Fix presence re-subscribe after destroy

This change fixes the following edge case:

  1. Create a `Presence` object
  2. Subscribe the presence
  3. Destroy the presence
  4. Create a new `Presence` object for the same channel on the same
     `Connection` object
  5. Attempt to re-subscribe
  6. `Agent` ignores the re-subscribe request, because the `seq` was
     reset to `1` on the new `Presence` object, but is still `2` on the
     `Agent`

We fix this by using a universal `_presenceSeq` counter on the
`Connection`, which is never reset, meaning that all presence messages
will have a strictly higher number than one another.
Pull Request #356: Fix presence re-subscribe after destroy

1407 of 1632 branches covered (86.21%)

2 of 2 new or added lines in 2 files covered. (100.0%)

3075 of 3159 relevant lines covered (97.34%)

535.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1380.1 31 Mar 2020 05:41PM UTC 0
97.34
Travis Job 1380.1
2 1380.2 31 Mar 2020 05:41PM UTC 0
97.34
Travis Job 1380.2
3 1380.3 31 Mar 2020 05:41PM UTC 0
97.34
Travis Job 1380.3
Source Files on build 1380
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1380
  • Pull Request #356
  • PR Base - master (#1374)
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