Repository navigation
Publish Today day results after the final read - #29
Closed
AlexSchmidt1999 wants to merge 1 commit into
Closed
AlexSchmidt1999 wants to merge 1 commit into
AlexSchmidt1999 wants to merge 1 commit into
Conversation
Owner
Author
|
Replaced by #31, which retains this draft's commits and includes the tested build-454 UI update fix. The current device comparison will be recorded there. |
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.
Today still publishes partial day results between database reads. Rest, HR, steps, Effort, and sleep can each trigger another dashboard update during one load. The existing assignments now run together after the final read and the existing cancellation/day check. A superseded load leaves the displayed state intact. Queries, formulas, cache contents, and the chart renderer stay the same.
The local build-451 archive looks better than build 450. In Today windows after the first ten seconds, with sync inactive, late callbacks fell from 1.87% to 0.74%. The worst interval fell from 517.9 to 98.5 ms, over roughly three sampled minutes per build. These are ordinary-use captures with different interactions. They do not prove that the previous training fix caused the improvement. The new summaries do not identify active workouts, and the four-second Trends sample is too short for a useful comparison.
A reduced native SwiftUI chart probe ran five times in optimized mode. Six staged publications produced seven body evaluations each time, including initial layout. A final batched publication produced two. This tests coalescing behavior, not production Today evaluation counts or iPhone scrolling speed. The local usage report has the measurements and limits. Raw archives and preference copies remain local.
Verification:
-testLanguage en. The first run on this German host had 15 language-only expectation failures.Apple UI only. No new dependencies, settings, capture mode, BLE commands, or storage changes. This is a fork test follow-up stacked on the workout sample optimization. Build 452 includes both changes. An iPhone comparison of this new batching fix is still pending.