Repository navigation
feat(probes): debug/probes/query returns watermark_ms (#235 close-out) - #2325
Merged
Merged
Conversation
…wns the resume cursor (#235 close-out) Every hand-rolled `since` computation on 2026-08-16 got it wrong at least once (whole-file counts read as fresh counts, twice). The result now carries `watermark_ms`: newest matched captured_at_ms + 1, or the caller's own since_ms passed through when nothing matched. Pass it as --since-ms on the next call and stale rows are structurally impossible — the cursor lives in the command, not in N callers' arithmetic. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…, #235 tail) Measured 2026-08-16: a caller passed --classPrefix=serving, serde silently dropped the unknown key, and the 'filtered' query returned all 9,093 events unfiltered. On THE diagnostic command a silently-vacuous filter is the worst failure shape there is — natural synonyms now resolve per Joel's #328 rule. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
The query command now hands back the resume cursor (
watermark_ms= newest matchedcaptured_at_ms+ 1, or the caller'ssince_mswhen nothing matched). Polling callers pass it straight back as--since-ms; old rows can no longer be misread as fresh. 6 module tests green; the honest-zero contract is unchanged.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo