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

boardgameio / boardgame.io / 30201105339
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 26 Jul 2026 11:58AM UTC
Jobs 1
Files 55
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

26 Jul 2026 11:57AM UTC coverage: 100.0%. Remained the same
30201105339

push

github

web-flow
fix: preserve log metadata for game events (#1267)

* fix: preserve log metadata for game events

* docs: clarify log metadata scope

* fix: address event log metadata review feedback

* fix: preserve metadata for events without log entries

* fix: log events with no canonical entry regardless of metadata

The fallback entry for a directly dispatched game event was only created when
a hook had set log metadata, so `endGame` and `setPhase` from no active phase
appeared in the log or not depending on what a hook happened to do.

Create the entry whether or not metadata was set, and honour `game.disableLog`,
which the fallback previously bypassed. Restrict the fallback to `endGame` and
`setPhase`, the only events that run hooks without ever producing a log entry
of their own: creating it for every event without a canonical entry would log
`endTurn` and `endStage` events that the flow refused for `minMoves`.

---------

Co-authored-by: Rupesh Pandey <pandeyrupesh00@gmail.com>

2041 of 2041 branches covered (100.0%)

Branch coverage included in aggregate %.

32 of 32 new or added lines in 1 file covered. (100.0%)

2919 of 2919 relevant lines covered (100.0%)

26379.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30201105339.1 26 Jul 2026 11:58AM UTC 110
100.0
GitHub Action Run
Source Files on build 30201105339
  • Tree
  • List 55
  • Changed 51
  • Source Changed 2
  • Coverage Changed 50
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30201105339
  • 107604ec on github
  • Prev Build on main (#30200981246)
  • Next Build on main (#30202137208)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc