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

thewca / worldcubeassociation.org / 21671076871
77%

Build:
DEFAULT BRANCH: main
Ran 04 Feb 2026 12:35PM UTC
Jobs 1
Files 347
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

04 Feb 2026 12:15PM UTC coverage: 76.938% (+0.07%) from 76.869%
21671076871

push

github

web-flow
Diff Protocol for WCA Live Result Web Socket updates (#13303)

* add live_state method

* add diff method for LiveResult

* add diff method for live attempts

* state_diff method

* move diff methods to helper class

* use serializable_hash

* rubocop

* fix naming of Helper

* allow testing action cable

* change adding live results to the new assumption that empty results exist

* new result test

* updated results test

* rubocop

* add back deleted and created

* add hash to diff

* move reloading to methods

* fix tests after introducing hash

* go back to sha-1

* make changes in the right live controller...

* standardize naming of live_state

* rubocop

* use LIVE_STATE_SERIALIZE_OPTIONS

* add simple applyDiff function

* one pass applyDiff

* rename to DiffHelper

* Update lib/live/diff_helper.rb

Co-authored-by: Gregor Billing <gregor.billing.dev@gmail.com>

* revoew changes

* rename hash to state_hash

* review changes

* changes after merge

* distinguish between round not open, user was quit and user is not part of this round

* fix test and make attempts_changed? easier

* review changes and add another test

* review changes

* rubocop

* fix after rename

* use filter + map solution

* another rename

---------

Co-authored-by: Gregor Billing <gregor.billing.dev@gmail.com>

55 of 57 new or added lines in 9 files covered. (96.49%)

10002 of 13000 relevant lines covered (76.94%)

3452.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
75.0
0.0% app/channels/application_cable/connection.rb
1
66.67
0.0% app/channels/live_results_channel.rb
Jobs
ID Job ID Ran Files Coverage
1 21671076871.1 04 Feb 2026 12:35PM UTC 694
76.94
GitHub Action Run
Source Files on build 21671076871
  • Tree
  • List 347
  • Changed 345
  • Source Changed 7
  • Coverage Changed 345
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21671076871
  • b64372b4 on github
  • Prev Build on main (#21666755316)
  • Next Build on main (#21676408411)
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