Skip to content

WDB 12.9.25-20 - a quieter log

Choose a tag to compare

@WebDevBarCoder WebDevBarCoder released this 29 Jul 03:33
· 282 commits to webdevbar since this release

Fork build on upstream 12.9.25.

A quieter log, and a full one on disk

The live view and the file want opposite things. The live view is read over a shoulder
while a draft runs, where every line that is merely true competes with the two or three
that are useful. The file is read afterwards, working out why a run went wrong, where the
line that explains it is usually one nobody would choose to watch.

Fifteen message types now go to the file only - crowd splits, spectator counts, ratings,
market and prediction records, read timings, the odds block's interval and rules - each
either already visible on the game screen or a measurement that only matters on the way
back through a log. Two are inverted rather than hidden: the device stream and the
row-count lines are worth seeing only when something is wrong.

The session file is truncated at startup, so it is always exactly one run - which is
what makes it worth attaching to a bug report unedited. A wdb log button beside export
saves it.

Theme windows are pooled

Themes rotate on a schedule the server is told about and a client is not. At the first
rotation every match - local and pushed - was filed under the event default, which is not
cosmetic: the model conditions on theme and now discards other themes' matches outright,
so a match filed under "unknown" is one no model will ever use.

GET /v1/themes serves the boundaries, every collection mode adopts them before recording
anything, and a self-heal pass re-files what had already gone wrong.

Four claims the code did not honour

Found by auditing for exactly that class, after two turned up in one evening:

  • [SC-58] locked picks screen was logged on both exits from the draft watch - including
    the timeout that had just reported the locked screen never appeared - and then read six
    cells off a draft frame as though they were locked.
  • {n}/6 picks locked was the count of heroes IDENTIFIED. On the locked screen all six
    are locked by definition, so one unreadable cell could gate a complete draft with
    "3/6 picks locked, need 4".
  • [SC-72] printed four numbers with four different scopes side by side.
  • Fit.matches counted rows the fit discards, and the display gate reads it to decide
    whether anything has been collected - so it claimed evidence the model never saw.

Also

  • The log now opens with both versions: App Version: 12.9.25 WDB Version: 12.9.25-20.
  • The odds bubble hides when the locked screen goes away rather than when the wait begins,
    so it stays up through the last-chance betting countdown.
  • A collection run no longer installs the overlay: absence is a decision, and the install
    and uninstall commands are how you make it.