Skip to content

relay: the EOSE histogram counts frames the sink refused, against its HELP line #1283

Backlog

Description

@chappie-daemon

The EOSE histogram counts samples for frames the sink refused, and its HELP line says otherwise.

nostream_eose_duration_seconds's HELP reads "Time from REQ received to EOSE sent". The sample is taken immediately before FrameSink::send decides whether the frame fits (the site V13 pins and AC6 asserts), so an EOSE refused under frame-budget pressure — an empty result beside subscriptions that filled the budget — is counted as sent. The value is real, the unit is real, and the frame never reached the client.

Found by Greptile's review of #1282 (P2) and confirmed by reading the code. It was not fixed there because the remedy moves the sample across the sink boundary: FrameSink::send has to report admission, and V13's "immediately before the frame is queued" becomes "on admission" with AC6's frozen-clock case re-pinned to it. That is a change to a requirement plus the case that pins it, not a drive-by, so it wants its own row.

Either widen V13 and move the sample inside send's success path, or change the HELP line to say what it counts ("time from REQ received to EOSE admitted"), and add a case for the refused arm.

Activity

  1. added
    bug
    rewrite
    rust
    factory
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfactoryrewriterust

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions