Skip to content

Strap log: soften stale-RTC diag wording ("no clock correlation at decode") — #67 follow-up#71

Merged
ryanbr merged 1 commit into
mainfrom
diag-clock-wording
Jul 8, 2026
Merged

Strap log: soften stale-RTC diag wording ("no clock correlation at decode") — #67 follow-up#71
ryanbr merged 1 commit into
mainfrom
diag-clock-wording

Conversation

@ryanbr

@ryanbr ryanbr commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Small follow-up to #69 (re-review finding). No behaviour change; log wording only.

The identity-fallback line printed (GET_CLOCK never correlated), but sessionUsedIdentityRef is captured on the first chunk of the session. Normally the clock correlation lands before chunk 1 (the offload is deferred ~1.5s for exactly that); in the reset-RTC case it never lands — both accurate. But on a slow link GET_CLOCK can reply late: chunk 1 decodes on the identity fallback, later chunks on the real ref — so "never" is false.

First-chunk capture is still correct for this diagnostic (the early rows are the ones that landed misdated, which is what we want flagged); only the absolute word overreached. Reworded to (no clock correlation at decode), which is true whether or not a late reply lands afterward. Doc comment and the exact-match test assertion updated to match.

Files: Strand/Collect/Backfiller.swift, StrandTests/BackfillerSessionTallyTests.swift.

…ecode", not "never" (#67 follow-up)

The identity-fallback diagnostic line (#69) asserted "(GET_CLOCK never
correlated)", but sessionUsedIdentityRef is captured on the FIRST chunk. In the
normal flow the correlation lands before chunk 1, and in the reset-RTC case it
never lands — both fine. But on a slow link GET_CLOCK can reply late: chunk 1
decodes on the identity fallback, later chunks on the real ref, so "never" is
false. First-chunk capture is still the right choice (it flags that the early
rows landed misdated), only the absolute word overreached — reword to
"(no clock correlation at decode)", true regardless of any later reply. Doc
comment + test assertion updated to match.
@ryanbr ryanbr merged commit ca44af3 into main Jul 8, 2026
@ryanbr ryanbr deleted the diag-clock-wording branch July 8, 2026 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant