Repository navigation
mixer gui: deadline misses and AUX drops of the last ten minutes - #43
Merged
Merged
Conversation
The control page showed both as totals since the mixer started, so the misses of a start, or of one disturbance hours ago, stayed on screen for good and said nothing about now. The web server samples the totals every five seconds and reports how far they rose in the last ten minutes (state.recent); the page shows that, and says how much of the window the samples cover until it is full. A mixer that starts again counts from zero, and all of that is recent. A server without the sampler leaves the page its totals. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The control page showed deadline misses and AUX output drops as totals since the mixer started. The misses of a start, or of one disturbance hours ago, stayed on screen for good and said nothing about now.
The web server now samples the totals every five seconds and reports how far they rose in the last ten minutes (
state.recent). The page shows that figure, and says how much of the window the samples cover until it is full.Tests
tests/mixer/test_webui.py: the window, a restarted mixer, an absent mixer, the page's sums, the state field.tests/mixer/check_meters.cjs(Playwright): the labels and values with and withoutstate.recent.🤖 Generated with Claude Code