Skip to content

Live join: hasFirstFrameReadyForDisplay and .playing fire 1.5–2.8 s before the rate rolls (MinimizeStalls), and no join option covers the wait #440

Closed

Description

@cmcpherson274

What happened?

On a live loopback session, hasFirstFrameReadyForDisplay and state == .playing both go true while AVPlayer is still in waitingToPlay(.toMinimizeStalls) — the presented first frame then HOLDS STATIC for 1.55–2.81 s before rate rolls, and the host has no lever over that wait.

Measured on real hardware across 11 consecutive live tunes (raw-TS /stream.ts from Jellyfin
10.11, h264 1080p59.94 + AAC, loopback route, liveJoinProfile = .fastZap), millisecond
logs + HDMI capture at 10 fps:

  • Your own host log shows the shape on every tune, e.g.:
    #3 layer.isReadyForDisplay=true t+1.10s →
    #3 timeControlStatus=waitingToPlay reason=AVPlayerWaitingWhileEvaluatingBufferingRateReason →
    #3 timeControlStatus=waitingToPlay reason=AVPlayerWaitingToMinimizeStallsReason →
    #3 timeControlStatus=playing reason=- t+3.91s — 2.54 s between first frame and rate roll.
  • 9 of the 11 tunes held 1.55–2.81 s; on glass the frame is bit-static through the window
    (max per-pixel delta ≤ 1 at 10 fps on 192×108 gray), i.e. a real user-visible freeze, not
    a reporting artifact.
  • The engine's clock advances through the window and state reads .playing, so every
    start signal a host can key chrome on fires seconds before motion. We shipped a
    host-side hold keyed on currentAVPlayerItem.timebase rate (works), but the WAIT itself
    stands: warm channel-change press-to-motion measures 6.4–6.6 s against our 5–7 s product
    bar — at the ceiling, and the wait is the largest single share we cannot touch.
  • Not a fix: preferredForwardBufferDuration = 2.0 on the published item, applied before
    the roll — measured inert (A/B on device, five warm zaps each way; identical
    press-to-motion distributions). The wait is rate evaluation, not buffer-target-bound.

The engine sets neither automaticallyWaitsToMinimizeStalls nor uses
playImmediately(atRate:) anywhere (checked at both 6.21.0 and cb3baaf/6.50.1), so
AVPlayer's default policy decides the join tail on a path whose whole point
(.fastZap) is join latency.

Two asks, either resolves it (both would be better):

  1. A join option to shorten/skip the wait on live loopback — playImmediately-class, or
    exposure of automaticallyWaitsToMinimizeStalls scoped to the live join (the
    .fastZap doc already prices "one early -16832 or a short rebuffer" as an acceptable
    trade; this is the same trade's other half).
  2. Roll-aligned signaling: a published edge for "rate actually rolling" (we derive it from
    the item timebase today; a first-class signal would let hosts key chrome honestly
    without reaching into the item).

Steps to reproduce

  1. Serve a live MPEG-TS stream (Jellyfin /Videos/<id>/stream.ts, h264 + AAC) and load it
    with isLive: true, liveJoinProfile: .fastZap, native/loopback route.
  2. Watch the NativeAVPlayerHost transitions: layer.isReadyForDisplay=true →
    waitingToPlay(EvaluatingBufferingRate) → waitingToPlay(ToMinimizeStalls) →
    playing 1.5–2.8 s later. The presented frame is static for that whole span.
  3. Optionally point an external capture at the output: the frame freeze is on-glass, with
    every host-visible start signal already fired.

AetherEngine version or commit SHA

Measured at 6.21.0 (87868c1); code re-checked at 6.50.1 (cb3baaf) — no
waits/playImmediately handling exists there either, so the mechanism is presumed
unchanged (the measurement itself is 6.21.0).

Host app

Custom / my own integration

Platform

tvOS

OS version

tvOS 26.5

Device / chip

Apple TV 4K (3rd generation), AppleTV14,1 — real hardware, not simulator. HDMI capture
(Elgato 4K X) used for the on-glass verification.

Playback path

Native AVPlayer

Source media (for playback bugs)

Live TV channel via Jellyfin 10.11 raw MPEG-TS (/stream.ts): h264 High 1920×1080
59.94fps progressive + AAC-LC stereo. Reproduces on every channel of this shape we
tried (7 distinct channels, 11 tunes).

Error codes / log lines

No errors — that is the point: the hold is silent. Representative sequence quoted above;
full millisecond logs of all 11 tunes plus the 10 fps frame-difference tables available
on request.

Anything else

The freeze cost us a P1 in our own device battery: our chrome dropped its spinner on
your start signals ~2.7 s before motion, which read as "stuck" to a viewer. We work
around it host-side now, but every AetherEngine host keying on
hasFirstFrameReadyForDisplay/.playing for live will inherit the same trap.

Activity

  1. superuser404notfound commented on Aug 28, 2026

    @superuser404notfound
    Owner

    Thanks for this one. The measurement carried it: millisecond logs, 11 tunes, and an HDMI capture to
    separate a reporting artefact from a real freeze is exactly what makes a policy question answerable
    instead of arguable. Both asks are addressed on feat/ae440-live-join-roll (24f43e00), but the two
    halves have very different answers, so it is worth being precise about which is which.

    Ask 2 first, because half of it was a real defect on this side

    There already is a published edge for "the rate is actually rolling": $playbackPhase. It is documented
    as the single source of truth for what playback is doing, and it folds the transport status the host
    mirrors. It was also broken in precisely the way reported, one level down.

    state is transport INTENT. Every autostart writes .playing the moment play() has been called, which
    is the documented behaviour and is why the startup ladder deliberately ends at .presenting rather than
    at .playing. The phase simply followed state, so it inherited the same gap, and AVPlayer's pre-play
    .paused status arriving after the autostart added a millisecond of .paused on top of it. Measured on
    the loopback harness before the change:

    PHASE loading      t+0.00s
    PHASE playing      t+0.07s     <- 2.5 s before anything moved
    PHASE paused       t+0.08s
    PHASE rebuffering  t+0.08s
    PHASE playing      t+2.56s     <- the rate roll
    

    So keying on the phase would have dropped the spinner at 70 ms rather than at 2.7 s. Different number,
    same trap.

    The phase now folds a fourth axis, whether this load's transport has rolled once, and reports .loading
    until it has. After:

    PHASE loading      t+0.00s
    PHASE playing      t+2.60s     <- rate roll at t+2.52s, plus the Combine hop
    

    Two edges, no flicker, on both AVPlayer-backed paths. state is unchanged, so nothing that keys on it
    moves. A paused mount stays .paused rather than looking like a session still arriving, and the paths
    that publish no transport status credit the roll with their host, so their phase is bit-identical to
    before.

    That means no new API for this half: observe $playbackPhase and it is honest about motion.
    hasFirstFrameReadyForDisplay keeps meaning what it says, that a picture exists rather than that it is
    moving, and it and state now both carry that warning in docs/api.md. Deriving it from the item timebase, as done
    downstream today, was the correct read of a broken signal.

    Ask 1: a lever, not a fix, and deliberately off

    LoadOptions.liveJoinStartsImmediately cuts the first such hold of a live session short with
    playImmediately(atRate:). Four guards, each of which is a way this is otherwise the wrong call:

    • Opt-in per load, and never on a VOD session.
    • Only while the host still wants to play, so a pause during the join is not overridden into motion.
    • Only for AVPlayerWaitingToMinimizeStallsReason, never for EvaluatingBufferingRate, which
      AVPlayer.h describes as a brief monitoring period and explicitly says not to show waiting UI for.
      Firing there would preempt an evaluation that was about to start playback by itself.
    • Only while the item's buffer is non-empty. This is the documented precondition: over an empty buffer
      AVPlayer.h says the call "will act as if the buffer became empty during playback", and a stall with
      the player not waiting to minimize stalls is the shape that resets rate to 0 and never resumes. That is
      not hypothetical here. Setting automaticallyWaitsToMinimizeStalling = false on the shared player was
      tried in May 2026 and reverted the same day (35fa16d0): rate dropped to 0 right after asset.load
      and never came back. Hence a one-shot over a proven buffer rather than a policy on the player, which
      also answers the "expose the property" half of the ask, in the safer shape.

    It is spent once the join has either been started by hand or rolled on its own, so every later hold in
    the session keeps AVPlayer's own policy and a mid-stream rebuffer is untouched.

    Why it ships off by default, and what would settle that

    The hold does not reproduce here at all. Six window geometries against the raw-TS fixture at
    --realtime --preroll 0/3/6/12/30, from a first window shallower than its own holdback to one entered on
    a full backlog, 1 s and 5 s source GOPs:

    window at first serve first frame rate roll gap
    2 seg / 10.0 s, TARGETDURATION 5 12.36 s 12.37 s 10 ms
    3 seg / 3.0 s under a 6.0 s holdback 2.52 s 2.58 s 60 ms
    5 seg / 5.0 s under a 6.0 s holdback 1.39 s 1.42 s 30 ms
    6 seg / 6.0 s, holdback satisfied 0.11 s 0.15 s 40 ms
    7 seg / 7.0 s, holdback satisfied 0.11 s 0.15 s 40 ms
    6 seg / 6.0 s from a 30 s backlog 0.12 s 0.16 s 40 ms

    Loopback answers at memory speed, so the buffering-rate evaluation concludes immediately and there is
    nothing to cut short. That is a limit of this harness rather than a counter-measurement, and it is the
    reason this is an opt-in: a policy change nobody on this side can observe has no business being on for
    every host. If the A/B on real hardware says it is strictly better, making it the default (or an internal
    policy for live joins, with no flag at all) is the obvious next step and the numbers would decide it.

    aetherctl play --live --fast-zap --live-start-immediately drives the engine end, and play now prints
    a PHASE <phase> t+Ns line on every phase edge, stamped on the same clock as the first-frame line, so
    the two are readable against each other at millisecond resolution.

    One measurement that would sharpen this, and one question

    The lever only fires while AVPlayer reports the item's buffer as non-empty. Sampling
    currentItem.isPlaybackBufferEmpty and currentItem.loadedTimeRanges across the hold would therefore
    say in advance whether it can fire at all, and it also discriminates the two candidate mechanisms:
    a forward buffer that keeps growing through the hold means AVPlayer has the data and is waiting on its
    own estimate, which is what this addresses; a forward buffer pinned near zero means it is genuinely
    starved at the edge, and cutting the wait short would trade a frozen frame for an immediate stall. Worth
    knowing before the A/B rather than after it.

    The other question is about the rest of the budget. Warm channel-change press-to-motion of 6.4 to 6.6 s
    with 1.5 to 2.8 s of it in this hold leaves roughly 4 s elsewhere, and on a Jellyfin /stream.ts route a
    good part of that is usually the server opening the upstream before the engine ever connects. The
    first live manifest served after ... line prints what the join gate itself held, and
    startupProgress.checkpoint separates the demux probe (streamsProbed) from the display handshake
    (routed) from that gate (sessionConstructed). If most of the remaining 4 s sits before the engine's
    first byte, there may be more to win there than in this tail.

  2. superuser404notfound commented on Aug 28, 2026

    @superuser404notfound
    Owner

    Released in 6.52.0. playbackPhase is the roll-aligned signal now (.loading until the transport has moved once, .playing on the roll), and LoadOptions.liveJoinStartsImmediately is the opt-in lever. Leaving this open for the device A/B: the buffer sampling across the hold is what says in advance whether the lever can fire at all.

  3. cmcpherson274 commented on Aug 28, 2026

    @cmcpherson274
    Author

    Device A/B done on 6.53.0, and the lever earns its keep.

    Setup. Same tvOS device (AppleTV14,1), Jellyfin stream.ts route, the D-3 chain shape from the original report: launch, five channel-changes down across different channels, four back up — the up-legs and mid-chain revisits are the warm zaps (origin open ≈15 ms, source first byte ≈1.1 s). Two runs, identical shape, ~10 min apart: control, then liveJoinStartsImmediately: true on every live load. HDMI capture rolling both runs; press epochs stamped; frame analysis at 10 fps.

    Control (defaults). Every warm zap reproduced the report's shape: first frame at ~2.3–2.6 s after load, then the transport sat in AVPlayerWaitingToMinimizeStallsReason for 2.6–2.9 s before the rate rolled (our timebase watcher's hold numbers). Camera-measured press→moving-picture on the clean warm zaps: 6.4 / 6.5 / 7.2 s.

    Lever. On three of the five warm zaps the hold never arms at all — the timebase is already rolling by the time our first-frame predicate passes — and on the rest it releases in 0.3–0.5 s. Camera-measured warm press→moving-picture: 4.3 / 4.8 / 5.1 / 5.6 s. First-PICTURE latency is unchanged (~3.4–3.9 s both runs) — the lever removes exactly the frozen-frame tail, which is what the original issue was about.

    The trade did not materialize. Per-channel session stats: dropped 0, stalls 0, on 10/10 zaps in BOTH runs; no reopen ladder, no errors. Cold zaps (tuner spin-up inside the first byte, ~6.5 s) are identical in both runs — the guards keep the lever out of the starved case, as designed.

    Your buffer question, answered on hardware. We now sample isPlaybackBufferEmpty + the forward loadedTimeRanges span at ~1 Hz while our roll-hold stands. Every hold in the control run reads empty=false, ahead=3.7–4.9s for its whole duration — AVPlayer holds ~4 s of data while it waits on its own estimate. On this stack the hold is always your first mechanism (waiting on the rate evaluation), never edge starvation, which is presumably why cutting it cost nothing.

    Whether we ship it on is our owner's call (the evidence above is the case for it); from the engine side this measurement is what the opt-in was waiting for, so closing from our end unless you want the raw bundles.

  4. tschuegy commented on Aug 28, 2026

    @tschuegy
    Contributor

    Field data from a second host: on our loopback live joins the new option cannot fire, because the hold lands before the first manifest exists.

    Setup: Syravo on tvOS, AetherEngine 6.54.0, Apple TV 4K (3rd gen) / tvOS 26.6. Sources are Xtream raw MPEG-TS behind a redirect chain (720p50 h264 + AAC on the channels below), liveJoinProfile = .fastZap, liveBlockingReload = false, maxConcurrentSourceRequests = 1.

    We put LoadOptions.liveJoinStartsImmediately behind a flag and ran a paired A/B on the device: 8 tunes, same channels, same order, one run per arm.

    Result: the option never fired. Zero AE#440 live join: cutting the stall-avoidance wait short lines in the armed run, while our own controller logged the option as set on all 8 loads.

    The timings show why. Per native tune, seconds after load start, both arms identical in shape:

    channel ToMinimizeStalls first manifest served first segment GET rate roll
    A 2.97 3.87 3.91 4.00
    B 2.55 3.66 3.69 3.75
    C 2.52 4.09 4.12 4.19

    AVPlayer reports the hold roughly a second before the engine serves a playable manifest, so at that instant the item has fetched nothing. playIntent is set (#1 rate=1.0 precedes the hold) and the reason string matches, which leaves !playbackBufferEmpty as the only guard that can refuse — and it refuses correctly: that is exactly the empty-buffer shape AVPlayer.h warns about. Nothing to fix in the guard.

    What differs from the original report is where the first frame sits. There, layer.isReadyForDisplay=true at t+1.10 s with the roll at t+3.91 s — a bit-static picture for 2.5 s. On our sessions the layer goes ready at t+3.70–4.13 s and the roll follows 50–110 ms later, so there is no static tail to cut. Same option, same loopback path, but our join never opens a window in which the lever may legally fire. Reported not as a defect, but so the option's reach is on record: it covers a join that is holding on buffered media, and a join can also be waiting for the playlist itself.

    Where our join time actually goes (native path, 3 channels × 2 runs): ~0.8 s to open the origin (redirect chain, first data after ~650 ms), then 2.2–3.5 s producing the initial playlist, then ~0.1 s for AVPlayer. The gating line is always this one:

    first live manifest served after 2.940s: 5 segments / 10.000s >= 9.000s holdback (TARGETDURATION 3s)
    

    Which raises a question I would rather ask than assume: the producer cuts 2.000 s segments on these sources (61 of 63 finalized segments in the run; the first of each session is 0.500 s, from the targetDur=0.500s init), yet the served TARGETDURATION is 3 s, so the holdback is 3 × 3 = 9 s and we wait for 5 segments / 10 s of media before anything is served at all. At TARGETDURATION 2 the same rule would ask for 6 s. Is the 3 s a floor, or does it carry over from the 0.5 s init value somewhere? For us that holdback is the zap budget on this path — .fastZap already brought it from 18 s down to 9 s, and the remaining 9 s of media is what the viewer sits through.

    One more data point from the same run, in case it helps place the path: 5 of the 8 channels are 1080i25 and route dispatch → software. Those reach motion in 0.67–1.01 s. On our hardware the loopback/native path is the slow join, not the software one.

    Happy to run a patched build or dump full per-tune logs if either of those would help.

  5. superuser404notfound commented on Aug 28, 2026

    @superuser404notfound
    Owner

    Shipped in 6.55.0: LoadOptions.liveJoinStartsImmediately defaults to true now, on the strength of the device A/B (press to moving picture 6.4 / 6.5 / 7.2 s to 4.3 / 4.8 / 5.1 / 5.6 s, press to first picture unchanged, stalls and dropped frames zero in both arms).

    Three guards moved with the default: the lever requires 1.5 s of contiguous buffer ahead of the playhead rather than a merely non-empty one, it is evaluated when the waiting REASON changes rather than only on a transport-status change, and the readings behind the decision are one batched off-main read. Hosts that want AVPlayer's own join policy set the option false.

  6. superuser404notfound commented on Aug 28, 2026

    @superuser404notfound
    Owner

    Recorded, and the reach is exactly as described: the option covers a join that is holding on buffered media, and this one is waiting for the playlist itself. Three things worth adding.

    The guard got stricter in 6.55.0, not looser. With the default flip the lever now requires 1.5 s of contiguous buffer ahead of the playhead rather than a merely non-empty one, and it is evaluated when the waiting REASON changes rather than only on a transport-status change. On these timings (ToMinimizeStalls at 2.52 to 2.97 s, first manifest served at 3.66 to 4.09 s) it will keep refusing, and that is the right answer rather than a gap to close: over an empty buffer playImmediately(atRate:) is documented to act as if the buffer had emptied during playback, which is the shape that drops rate to 0 and does not recover.

    The half of that join which is actually payable has moved. The gating line quoted here, first live manifest served after 2.940s: 5 segments / 10.000s >= 9.000s holdback (TARGETDURATION 3s), is #447, and the answer there turned out to be four separate reasons why a 2.000 s source ends up serving TARGETDURATION 3, two of which were the engine measuring its own wait rather than the origin's cadence. Fixed on main, details in that issue. Against the other numbers in this report (about 0.8 s to open the origin, 2.2 to 3.5 s producing the initial playlist), that gate is most of what a warm zap costs on this path, so it is the right place for the next second to come from.

    One data point here is worth more than it looks. 1080i25 channels routing dispatch -> software reaching motion in 0.67 to 1.01 s while the loopback path is the slow join inverts the usual assumption, and it is not something that can be seen from this side. If the software path keeps winning on that hardware across more channels, that is its own issue and a welcome one.

    Thanks for running a paired A/B and reporting a negative result. A measurement that says "the option cannot fire here, and here is the window in which it may legally fire" is worth more than one that says it did.

  7. tschuegy commented on Aug 29, 2026

    @tschuegy
    Contributor

    Re-ran the A/B on origin/main (5d35d58) with liveJoinStartsImmediately at its new true default, Apple TV 4K, 8 channels, two runs. My earlier "ineffective on this stack" verdict was measured against 6.54.0's guards, so it needed re-taking. It survives, and the new line says why on each tune:

    #1 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.00s, empty=true, floor 1.50s)
    #2 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.00s, empty=true, floor 1.50s)
    #3 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.00s, empty=true, floor 1.50s)
    #4 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.76s, empty=false, floor 1.50s)
    

    Two different reasons, and both look correct to me:

    • On the 2.000 s channels the buffer is genuinely empty at the decision point. The first-serve gate hands AVPlayer a 10 s manifest and AVPlayer has fetched nothing yet, so there is no cushion to start on. The guard is right to refuse.
    • Tune Codec profile optimisation for Aether (AVPlayer) #4 (0.960 s segments) has 0.76 s ahead, non-empty but under the new 1.50 s floor. Worth recording that this is the one case that would have fired under 6.52.0's "merely non-empty" rule and no longer does. I have no evidence the old rule would have been better here, only that the raised floor is what decides it.

    The frozen tail you measured is real, but on this stack it is not where the join time goes. Press to first picture and press to motion sit within ~50-110 ms of each other on every native tune:

    tune first picture motion
    1 t+3.39 s t+3.50 s
    2 t+2.82 s t+2.87 s
    3 t+2.48 s t+2.53 s

    Both numbers are downstream of the first-serve gate, which opened at 3.335 / 2.792 / 2.450 s. So the join cost here is the manifest hold, which is #447 — and that one did not move, for a reason I have written up there (ceil over an accumulated float lands maxEXTINF one ulp above 2.0). Nothing here argues against the default; it just does not reach this shape of source.

  8. superuser404notfound commented on Aug 29, 2026

    @superuser404notfound
    Owner

    Re-taking an A/B against a changed guard and reporting that it now refuses is exactly what the new line was added for, so thanks for going back for it. Both refusals read correctly from here, and only one of them is interesting.

    The empty ones are the reach, and they are unchanged

    ToMinimizeStalls at 2.5 to 3.0 s against a first serve at 3.3 to 4.1 s means the item has fetched nothing at the instant the decision is taken, so ahead 0.00s, empty=true is the honest reading of that join and playImmediately(atRate:) there is the documented way to set rate 0 and not get it back. That half is the same conclusion as the last round, now with the number printed instead of inferred.

    Tune #4 is the only case in either host's data where the lever met its own mechanism and still refused

    0.76 s ahead on a 0.960 s cut, on the one channel whose gate opens early (sealed at 1s, served after 1.033 s under the fastZap bounded start). Media had been served and some of it was down, so that hold is the buffered mechanism rather than edge starvation, and the floor is the only thing that turned it away.

    What I would keep, and why the floor rather than the number:

    • The 1.5 s is a separator, not a model of anything. Its lower end is fixed by the fact that one served fragment reads empty=false exactly as a four second cushion does, its upper end by the cushion the admitting case actually measured, 3.7 to 4.9 s throughout every hold. 0.76 s is a fifth of that, and below one arrival interval on that source. Nothing in either data set constrains the value between those two ends, so defending 1.5 specifically would be inventing precision.
    • A cushion that is still climbing can outrun a 1x playhead, so it is genuinely unknown whether firing at 0.76 s would have stalled. The raised floor buys a shorter still picture for not taking that bet, on a channel that has almost no still picture to cut in the first place.

    So the old rule was not better there, it was only luckier if it happened not to stall. Worth having on record either way.

    One limit worth naming while it is on the table

    The decision is re-taken when the transport status changes and when the waiting reason changes, and nothing else re-reads the buffer. A refusal does not spend the one-shot, so a later edge can still fire and would print its own line, but a hold that begins below the floor and crosses it while the reason stands still gets no second look.

    Nothing in either report shows that shape yet. On this stack the rate rolls 50 to 110 ms after the first data, so there is no window to look into, and on the original one the cushion reads 3.7 s and up from the first edge. If a tune ever shows ToMinimizeStalls standing for several hundred ms while the forward buffer climbs past 1.5 s, that is the case for re-reading during the hold rather than only at its edges, and I would build it on that evidence.

    The one number that would sharpen tune #4

    Its press to first picture and press to motion, the way tunes 1 to 3 are tabled. If that gap is also 50 to 110 ms, the refusal cost nothing measurable and the floor never has to be argued again on this source. If it is a second or more, the crossing-during-the-hold case above just acquired its first real example.

    And agreed on where the join time is: everything in that table is downstream of the first-serve gate, which is #447, answered there this morning.

  9. tschuegy commented on Aug 29, 2026

    @tschuegy
    Contributor

    Retested on 6.56.0 on the device, and the answer here changed as a side effect of #447 rather than of anything in this issue. Reporting it because "the lever is out of reach on this source" was my conclusion twice, and it no longer holds.

    The lever fires now

    Two of the four native tunes of the run:

    08:43:36.304  timeControlStatus=waitingToPlay reason=AVPlayerWaitingToMinimizeStallsReason t+2.06s
    08:43:36.304  AE#440 live join: cutting the stall-avoidance wait short at rate 1.0 (buffer ahead 5.97s)
    08:43:36.358  timeControlStatus=playing reason=- t+2.12s
    

    Under 6.55.0 this path fired 0 of 8, always ahead 0.00s, empty=true. The mechanism is exactly the one both of us named: the decision is taken at ToMinimizeStalls, and whether the item holds anything by then is decided by the first-serve gate. A 9 s holdback served at 3.3 to 4.1 s, after the decision; a 6 s holdback serves at 1.2 s, before it, and the item then holds 5.97 s. So the empty refusals were never a property of this source, they were the holdback.

    The other two tunes of the same run still read buffer ahead 0.00s, empty=true, floor 1.50s and still refuse. Their gate served at 2.4 and 2.5 s, which is still after the decision. Same source, same session, both readings within four minutes of each other, which is the cleanest evidence I have that the guard is reading the item correctly and not the source.

    The number you asked for, and why it is not here

    Press to first picture and press to motion on the 0.960 s channel, tabled like the others. I could not take it: that session never rolled at all.

    08:49:22.298  first live manifest served after 0.151s: 4 segments / 3.840s >= 3.000s holdback (TARGETDURATION 1s)
    08:49:23.964  [DisplayCriteria] switch settled via modeSwitchEnd (... total 1834ms)
    08:49:23.964  #8 rate=1.0
    08:49:23.977  #8 timeControlStatus=waitingToPlay reason=AVPlayerWaitingToMinimizeStallsReason t+1.85s
    08:49:23.977  #8 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.00s, empty=false, floor 1.50s)
    08:49:31.886  #446 source stopped delivering (no segment finalized for 1.6s, TARGETDURATION 1s)
    08:49:31.894  #8 errorLog code=-12888 domain=CoreMediaErrorDomain uri=.../media.m3u8
    

    No isReadyForDisplay=true, no item.audioTrack, no playing. Twelve seconds without a picture and I left the channel. Note the reading itself: ahead 0.00s, empty=false, where the run that produced the last round read ahead 0.76s, empty=false on the same channel. So this join was in a worse state than that one at the same point, and the origin then confirmed it.

    The origin was poor throughout this session: fourteen [AVIOReader] slow read events in seven minutes, 2.8 s to 14.0 s. I will take that measurement again on a healthy run rather than argue the floor from a join whose source was already failing.

    One thing that moved into view behind this

    On the two tunes where the lever fired, it fired 17 ms before playing, and 0.8 s after the item had reached readyToPlay with its first frame on the panel. What held those 0.8 s was not AVPlayer but the engine's own display-criteria gate spending its full 2 s cap. So on this stack the wait this issue is about now sits behind a larger one; I have filed that as #449. It does not change anything here, but it does mean the lever's remaining headroom on this source is smaller than the raw refusal counts suggest.

  10. superuser404notfound commented on Aug 29, 2026

    @superuser404notfound
    Owner

    That is the split I did not have a way to take: same source, same session, four minutes apart, and the only difference between the two readings is whether the gate had served before ToMinimizeStalls or after it. So the refusals were the holdback, and the guard was reading the item correctly the whole time. Good that it was re-taken against a changed gate rather than left standing.

    The decision point is fixed relative to the join, which means the only lever on the two tunes that still refuse is the gate in front of it, not anything in this issue. ahead 0.00s, empty=false is the item holding a range with nothing ahead of the playhead, which is exactly the state the floor exists to refuse.

    The 0.960 s numbers can wait for a healthy origin. That join was already failing when the reading was taken, and the source confirmed it eight seconds later, so a floor argued from it would be argued from the outage.

    On #449, that one is fixed on main in 5b461b07: the gate reads the panel per tick now, so a rate-only write for a rate the display already runs settles instead of spending the cap. It does not move the gate this issue is about, but it does mean the remaining headroom here gets measured against a criteria gate that is no longer 2 s wide.

    One correction that belongs on this thread too, since the reasoning here leaned on it: the measured floor none yet in those seal lines meant there is no cadence meter on that source at all, not that the meter had nothing yet. The meter is built only for ingest sources that hand over finished segments; raw MPEG-TS is cut inside the engine. The line says so on main now (44f5dbd7).

  11. superuser404notfound commented on Aug 29, 2026

    @superuser404notfound
    Owner

    Going back for the second half of this: the retest holds up, and reading it against what shipped alongside it turns the open question here into a prediction that can be measured rather than argued.

    The reading that is already in those logs

    The two tunes that still refuse are the interesting half now. Their gate served at 2.4 and 2.5 s, after the decision, so the refusal is correct at the instant it was taken. What is not in the tables is what the hold did next, and three timestamps per tune settle it, all of them already captured:

    • waitingToPlay reason=ToMinimizeStalls
    • first live manifest served after ...
    • timeControlStatus=playing

    If playing lands 50 to 110 ms after the serve, the way it does on the tunes that never held, then AVPlayer re-evaluates by itself the moment media arrives and there is nothing here left to cut. If it stands several hundred ms past the point where the buffer must have crossed 1.5 s, that is the shape I said I would build on, and it now has its first candidate.

    Why the counts in the next run will look worse, and should

    Worth saying before that run rather than after it. The lever fired on those two tunes for a reason that is about to disappear: the display-criteria gate was spending its full 2 s cap in front of play(). Tune 1 has the whole chain visible.

    08:43:35.428  first manifest served (t+1.17s)
    08:43:35.475  item.status=readyToPlay
    08:43:36.287  [DisplayCriteria] proceed after cap (total 2038ms)  ->  rate=1.0
    08:43:36.304  waitingToPlay reason=ToMinimizeStalls  ->  AE#440 ... buffer ahead 5.97s
    

    The 5.97 s was bought by that cap. The criteria gate held play() for 0.86 s past the first serve, and the item spent that time fetching. With #449 settling a rate-only write at once, rate=1.0 moves to roughly readyToPlay, which on a 1.2 s gate is about a second BEFORE the media the guard measures. So the same joins should start reading empty=true and refusing, while press to motion stays the same or improves, because the second that gate no longer spends in front of the picture is a second the item spends fetching either way.

    That is the same mechanism this thread already established, seen from the other side: the reading is decided by where the rate write falls relative to the first serve, and both gates in front of it just moved.

    What is on main for it

    bc20a309, observation only. A refused hold is now sampled every 250 ms for up to 5 s, which outlives both measured holds (1.55 to 2.81 s) and resolves inside the shortest, and exactly one line reports which of three things happened:

    AE#440 live join: the wait was still standing 0.62s after the refusal when the buffer reached
      the floor (ahead 2.34s, floor 1.50s); observed only, the decision is still taken at the edges
    AE#440 live join: the wait ended 1.81s after the refusal without the buffer reaching the floor
      (last reading ahead 0.42s, empty=false, floor 1.50s)
    AE#440 live join: the wait was still standing after 5.00s of sampling and the buffer had not
      reached the floor (last reading ahead 0.00s, empty=true, floor 1.50s)
    

    All three speak, including both negatives, because a witness that is silent when it finds nothing cannot be told from one that never ran. The sample it reports as a crossing is the guard's own verdict, asked through the same function, so the witness cannot drift away from the decision it is evidence for.

    It deliberately does not start playback on that crossing. A cushion that has just passed 1.5 s and is still climbing can be outrun by a 1x playhead, which is exactly what the floor is there to refuse, and I would rather have the measurement than the bet. If the line shows holds standing well past the crossing, deciding during the hold instead of only at its edges is a small change and the evidence for it will be in hand.

    Not released. On the next build, that line per refused tune is the one thing worth capturing here, and the three timestamps above can come from the run that is already on disk.

  12. superuser404notfound commented on Aug 29, 2026

    @superuser404notfound
    Owner

    Shipped in 6.56.1 (bc20a309), the witness for a refused hold.

    Per refused tune it emits exactly one line, and all three outcomes speak, so the absence of a crossing is reported rather than inferred from silence. That plus the three timestamps already in this morning's logs (ToMinimizeStalls, first live manifest served, timeControlStatus=playing on the two refusing tunes) is what decides whether deciding during a hold is worth building.

    The same release carries the #449 fix, so the prediction in the comment above applies to the next run: rate=1.0 moves to roughly readyToPlay, ahead of the first manifest on a fast gate, and the lever should start refusing where it fired on 6.56.0, at the same or better press to motion. A drop in the fire count there is the mechanism working, not a regression.

  13. tschuegy commented on Aug 29, 2026

    @tschuegy
    Contributor

    Field capture on 6.56.1: the flip happened as predicted, and the witness spoke on 1 of 3

    Apple TV 4K (3rd gen), tvOS 26.6, one two-minute run, six native live joins. With the criteria cap gone (#449) rate=1.0 now lands about two seconds earlier, and the lever divides the run exactly along the line you drew.

    Refused, all three joins whose first manifest took 1.2 to 1.9 s:

    10:39:18.683 #1 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.00s, empty=true, floor 1.50s)
    10:39:37.425 #2 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.00s, empty=true, floor 1.50s)
    10:40:08.630 #3 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.00s, empty=true, floor 1.50s)
    

    Fired, all three joins where the buffer was already there:

    10:40:33.216 #4 AE#440 live join: cutting the stall-avoidance wait short at rate 1.0 (buffer ahead 1.92s)
    10:40:41.443 #5 AE#440 live join: cutting the stall-avoidance wait short at rate 1.0 (buffer ahead 5.61s)
    10:40:50.815 #6 AE#440 live join: cutting the stall-avoidance wait short at rate 1.0 (buffer ahead 6.00s)
    

    Tune 4 is a fast gate and a fast origin together: the wait arrives at t+0.08s with 1.92 s already ahead, the lever cuts it, and timeControlStatus=playing follows at t+0.12s. Tunes 5 and 6 are the two 25 fps joins that still spend the full criteria cap, so by t+2.05s the window has 5.61 and 6.00 s in it and the cut is not really a bet at all; playing follows 45 and 30 ms later.

    So the guard is doing what you said: it refuses where the join genuinely begins starved, and the "0 of 8" from the 6.55.0 run has become 3 of 6 in a run whose origin was faster on half the channels.

    The finding: the witness is silent on two of the three refusals

    Only tune 3 produced a follow-up line:

    10:40:08.630 #3 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.00s, empty=true, floor 1.50s)
    10:40:09.914 #3 AE#440 live join: the wait was still standing 1.28s after the refusal when the buffer
      reached the floor (ahead 3.84s, floor 1.50s); observed only, the decision is still taken at the edges
    10:40:09.931 #3 timeControlStatus=playing reason=- t+1.36s
    

    That one is exactly what it was built for, and it answers its own question nicely: the hold ended 17 ms after the cushion reached the floor, so the refusal cost nothing on that join. The 1.28 s is the size of the bet the floor declined, and AVPlayer took it anyway at the same instant.

    Tunes 1 and 2 printed nothing after the refusal:

    Neither produced "the cushion reached the floor", "the hold ended first" or "the budget ran out". By your own reasoning in the release note, that is the one outcome the sampler was supposed to make impossible: a witness silent about its own negative cannot be told from one that never ran, and from out here I cannot say whether the sampler did not arm on those two, or ended in a state that has no line.

    Grepping the whole capture for the three phrasings returns only the single tune 3 line, so it is not a case of my filter missing it.

    If it helps narrow it: the difference I can see is timing. On #1 and #2 the content arrives late and then all at once, so the buffer goes from empty to well past the 1.50 s floor and the hold ends within the same sampling tick; on #3 the floor was crossed 17 ms before the hold ended, which is also inside one tick but happened to be observed. If the line only prints when a sample catches the two events in different states, then a tick that sees both at once would fall through silently, and that would explain 2 of 3.

    Context from the same run

    The origin was mixed: six [AVIOReader] slow read events in two minutes, the two largest 2972 ms and 3942 ms, both on tune 5. That same tune is where #446 fired in the field again:

    10:40:46.455 [VideoSegmentProvider] #446 the source stopped delivering with the consumer at 6 of 17;
      serving the rest of the window as a finished asset (ENDLIST) so AVPlayer keeps fetching the runway it
      already holds instead of striking out on an unchanged playlist
    

    which is the shorter-fuse case you flagged on #447 landing on a real channel and being answered.

  14. superuser404notfound commented on Aug 29, 2026

    @superuser404notfound
    Owner

    The witness defect is real, it is mine, and it is the exact failure the round-3 note said the sampler was built to make impossible. Fixed on main in 90cb9938.

    What silenced it

    Your reading is close and the shape you inferred from the timing is right, but the mechanism is narrower than "a tick that sees both at once". The loop had two exits that returned without a line, and one of them was the ordinary ending.

    The one-shot is spent on the .playing edge, deliberately: past the join, AVPlayer's stall policy is the right one, so the override has to be unable to reach a mid-stream rebuffer. That makes the rate rolling and the one-shot being spent the same event, written by the same observer callback one line apart. The sampler's first guard read the spend as "this witness no longer applies" and returned silently, and it sat above the guard that reports the hold ending. So .holdEnded was reachable only by a pause, and every refusal that ended the way refusals normally end said nothing.

    Tune 3 escaped it for the reason your timing suggests: the cushion crossed 17 ms before the roll, so the sample landed while the hold was still up and took the .crossed branch before either half of that edge existed. Tunes 1 and 2 rolled between samples, and the next sample hit the silent exit. 8 samples and 4 samples respectively, all of them working, the last one discarding its own result.

    The second silent exit was an item replaced under the witness, which is a join abandoned rather than resolved and is worth telling apart from both negatives.

    What it does now

    The ending is a pure decision with every branch emitting, and two of them are new because they were previously borrowing a wrong sentence:

    • the hold ended on its own (the rate rolled, or the host paused), which is what tunes 1 and 2 should have printed
    • the wait was cut short at an edge, when the override fired during the sampling. It also spends the one-shot, so without its own flag it would have printed "the wait ended without the buffer reaching the floor", which is the opposite of what happened
    • the item was replaced and the host went away, the two exits that used to be silent
    • plus the original three

    One more per-load bug fell out of it: liveJoinHoldWitnessStarted was documented as one witness per load and never actually reset, so on the path where the host is reused across loads the second live join would have armed no witness at all. Your run tore the host down between tunes, which is why you saw tune 3 arm at all.

    On the run itself

    3 of 6 firing, split exactly along the manifest arrival, is the guard working rather than a threshold that happens to fit. The three refusals genuinely began starved, and tune 3 is the interesting one: the refusal cost nothing, because AVPlayer took the same bet 17 ms after the floor was crossed. That is one sample of the case the floor exists to decline, and it says the floor declined it by 17 ms rather than by a wide margin. A handful more of those and the argument for deciding during a hold rather than at its edges starts to have evidence behind it, which is what the witness is for.

    Tunes 5 and 6 firing at 5.61 s and 6.00 s ahead is the 25 fps criteria cap donating the buffer, so those two will change shape once #449 round 2 lands. Worth knowing before the next capture reads like a regression.

    Not released yet. Leaving this open for the retest of the new lines.

  15. 2 remaining items

  16. tschuegy commented on Aug 29, 2026

    @tschuegy
    Contributor

    Timing note, since 6.56.2 went out nine minutes before I posted the round-2 capture above: that retest is the retest of the release. I measured against main at c4c7aa77, and

    git diff --stat c4c7aa77 6.56.2 -- Sources
    

    is empty. The tag is that commit plus the release-prep commit, so the four refusals with four witness lines, and the three of four that ended without the cushion reaching the floor, are readings of exactly what shipped. Nothing further is needed from a device for this one.

    Syravo is pinned to 6.56.2 as of now, both simulator builds and both unit suites green.

    Still open on your side from that comment, so they do not get lost behind the release: the single empty=false refusal on tune 4, and whether the AE#446 rejoin swap, which is the host-reuse path your per-load note described, should have anything to say through the witness. Neither blocks anything here.

  17. superuser404notfound commented on Aug 29, 2026

    @superuser404notfound
    Owner

    Four refusals, four lines, and three of them the ordinary ending that used to say nothing. That is the negative round 3 was written for, and your reading of it as a set is the part that matters: three of four never got near the floor, so the 17 ms case from the 6.56.1 capture is the exception rather than the shape. Thank you for measuring it against main before the release rather than after.

    Both of the things you flagged were real, and neither of them is AVPlayer's.

    The reading you could not account for is mine

    Tune 4's witness line is not a measurement. The sampler initialises its "last reading" to empty=true, ahead 0.00s and checks for an ending before taking a sample of its own, so a hold that ends inside the first 250 ms interval reports the placeholder. Your tune 4 ended at 0.26 s, one interval in, which is why it is the only line in either capture that contradicts the refusal above it.

    The reading is optional now and the line names the absence instead of inventing a value. Same class of error as the one round 3 was about, one layer down: a value that was never measured must not be printed in the shape of one.

    What stands from that tune is the refusal's own empty=false, ahead 0.00s, and that pair is coherent. They come from different places: ahead is measured from loadedTimeRanges against currentTime(), while isPlaybackBufferEmpty is AVPlayer's own statement about the item. An item that has fetched segments but has not yet placed them on its timeline reads exactly that way, and on a live join the placement is the later of the two. A fetch is not a placement.

    The rejoin path was not a deliberate exclusion, it was disarmed

    You were right to flag it rather than claim it, and the answer is worse than the guess. The lever is armed per load from the load's arguments, and reloadStalledConsumerItem calls the host's load with the item arguments only. So do the other five in-place swap sites. Every one of them re-declares the session with whatever the parameter defaults say: not live, no HTTP headers, the loopback forward buffer, no readiness deadline, no carriage probe.

    A swap replaces the item under a session that stays whole, so it is the one caller with no business re-deciding any of that. The same isLive: false also reaches the AE#287 premature-end recovery, which is gated on that flag, on a live session that had just closed a window with ENDLIST and therefore has a finite duration to fall short of. Your capture has five ENDLIST handovers in it, so that is a reachable sequence rather than a hypothetical one.

    The contract is a value the host holds for the session now, and swaps carry it forward instead of restating it, so there is no argument left to forget. On the remote-HLS bypass the same fix restores the origin's auth headers, the adaptive forward buffer, the readiness deadline and the carriage probe across a recovery reload.

    And even armed, your two swaps would have printed nothing

    The decision's buffer reading is asynchronous. A hold that ends while it is in flight has to be left alone, because deciding on a state that no longer exists is the failure the recheck exists to prevent, and your swaps rolled about 70 ms after entering the wait. That exit was silent, which is the third of the three, and from outside it is indistinguishable from a lever that was never armed. It says so now, with the time the reading took and whether the rate had rolled.

    On the 25 fps tunes, your correction is right and mine was wrong

    The origins handing over 5 to 8 finished segments in 13 to 53 ms is a much better explanation than the cap donating buffer, and it is testable in the same capture, which mine was not. Worth keeping in view for the next round: the cushion those joins read says nothing about either gate, so they are not evidence about the floor in either direction.

    Shipped in 6.56.3 (487a88c8, 4190c695).

    Expected shape on a retest: a #446 rejoin should now produce an AE#440 line rather than nothing. On a 70 ms hold that will usually be the new "the hold was over by the time the buffer reading came back" line rather than a decision, which is the honest outcome for a wait that short. A rejoin whose hold actually stands should read as a decision, with a cushion that is genuinely there, since the runway survives the swap.

  18. superuser404notfound commented on Sep 9, 2026

    @superuser404notfound
    Owner

    Follow-up defect from this issue's own fix, found on my end, fixed on main in 936277a2 (not in a release yet).

    The roll gate this issue introduced suppresses every .paused transport reading before the session's first rate roll. That is right for the reading it was written for: AVPlayer delivers the mount's outgoing status after the autostart has already written .playing, and latching it published a millisecond of .paused on every native start. But a session that is asked to pause before it has rolled produces the same status with the opposite meaning, and the gate swallowed that one too.

    The shape it showed up in is a host that reloads at the current position and holds the result paused, which is what my tvOS client does on a return from the background:

    1. The background teardown runs stopInternal, so hasTransportRolled is back to false.
    2. The foreground reload autostarts and writes state = .playing.
    3. The host pauses immediately, on the resumed frame.
    4. AVPlayer's pre-pause .waitingToPlayAtSpecifiedRate arrives after that pause and re-declares .playing.
    5. The .paused that follows is dropped by the roll gate.

    That leaves state == .playing with hasTransportRolled == false on a transport that is standing still, which is exactly what PlaybackPhase.derive reports as .loading. Permanently, because a paused transport never rolls, so the correction never comes. On screen: a spinner over black that only a Play press could clear, since play() rolls the rate and latches the gate.

    What separates the two readings is not the roll, it is whose intent the status carries. The durable #122 transport intent already answers that: an explicit pause has cleared it, a mount that means to play has not. New pure rule, wired into both native transport sinks:

    publishesTransportPause(hasTransportRolled:transportIntentIsPlaying:)
        = hasTransportRolled || !transportIntentIsPlaying

    Second half of the same defect, in the remote-HLS bypass sink: it wrote the pause only out of state == .playing, but that path autostarts without writing .playing (the sink does that when AVPlayer renders), so it sits at .loading for its whole startup and a pause landing there had nowhere to settle. .loading is now a source state there as well. .seeking stays untouched, the seek finalize owns it.

    Nothing about this issue's own case changes: during a normal start the intent is playing, so the pre-roll .paused stays suppressed. That is pinned in HostPauseBeforeFirstRollTests alongside the regression case, and the whole suite is green.

    Worth knowing for anyone reproducing it: this does not appear on a macOS loopback run. The defect lives entirely in the pre-roll window, and a loopback origin answers at memory speed, which closes that window. It took a device round on an Apple TV 4K (tvOS 26.6) to see it and to confirm the fix.

    The retest still pending here is untouched by this, and this thread stays open for it.

  19. superuser404notfound commented on Sep 9, 2026

    @superuser404notfound
    Owner

    The follow-up defect from this issue's fix is released in 6.76.1 (5dfe5bbe). A pause the host asks for before the first rate roll now lands, so a session that returns from the background shows the paused frame instead of a spinner over black.

    The live-join wait this issue is actually about is unchanged, and the retest for it still stands.

  20. cmcpherson274 commented on Sep 16, 2026

    @cmcpherson274
    Author

    "Expected shape on a retest: a #446 rejoin should now produce an AE#440 line rather than nothing. … A rejoin whose hold actually stands should read as a decision, with a cushion that is genuinely there, since the runway survives the swap." — 5461790856, re-affirmed in 5607269950

    A second stack's reading. Office2 (Apple TV 4K gen 3, tvOS 26.6 / 23L773), engine 6.81.0 (c7e7adb5), measured 2026-09-12, posted 09-16; our live arm is a raw MPEG-TS spool through a custom IOReader, liveJoinStartsImmediately set on every live load. You are eleven releases past our pin (6.82.0 → 7.1.0) and pinned both consumers to 6.88.0 on the 15th ("Both consumers are pinned to it", 5676162328).

    Channel 999 is our fixture — aetherctl live --serve-only --seed hln-seed-2a.ts --realtime --freeze-after 60 --unfreeze-after 12, a 91.05 s h264 + 2×AAC loop relayed into Jellyfin — so the origin genuinely stops and nothing is injected into the engine.

    The arc (DEV-E6-440-rejoin-u12.log, one leg, at 6.81.0)

    09-12 12:27:28.293  [HLSVideoEngine] live TARGETDURATION sealed at 2s (holdback 6.000s): max EXTINF 1.001s …
    09-12 12:27:28.305  #1 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.00s, empty=true, floor 1.50s) …
    09-12 12:27:28.558  #1 AE#440 live join: the wait ended 0.25s after the refusal without the buffer reaching the floor …
    09-12 12:28:35.541  [VideoSegmentProvider] #446 the source has missed its cadence (quiet 4.03s, it delivers every 1.11s); the consumer is at 70 of 94 with 23.0s of runway …
    09-12 12:28:38.577  [VideoSegmentProvider] #446 the source stopped delivering with the consumer at 75 of 94 (quiet 7.07s, 18.3s of runway left, past the 6.0s deadline …); serving the rest of the window as a finished asset (ENDLIST) …
    

    The source was quiet 13.43 s in all (live seg-93 finalized 12:28:31.506 → seg-94 12:28:44.938). The swap seam, excerpted — of the lines elided between the first and last below, none is an AE#440 line and the only status edge is a second .playing at .683:

    09-12 12:29:00.680  [AetherEngine] #446 the window ran out and the source is delivering again; swapping the item so the session is live once more, at 96.28s, the place it held
    09-12 12:29:00.680  [AetherEngine] #65 nudge did not revive the consumer; reloading item at 96.28s, the place it held (carried across the swap …
    09-12 12:29:00.681  #2 load url=… startPos=nil headers=none
    09-12 12:29:00.681  #2 layer.isReadyForDisplay=true t+0.00s (carried in from the previous item when true)
    09-12 12:29:00.682  #2 timeControlStatus=playing reason=- t+0.00s
    09-12 12:29:00.684  #2 timeControlStatus=paused reason=- t+0.00s
    09-12 12:29:00.684  [AetherEngine] #65 spurious pause during stall recovery; re-asserting play (1/3)
    09-12 12:29:00.684  #2 timeControlStatus=waitingToPlay reason=AVPlayerWaitingWhileEvaluatingBufferingRateReason t+0.00s
    09-12 12:29:00.697  #2 timeControlStatus=waitingToPlay reason=AVPlayerWaitingToMinimizeStallsReason t+0.02s
    09-12 12:29:00.916  #2 timeControlStatus=playing reason=- t+0.24s
    

    AE#440 lines carrying #2: 0 — and not a shrug. It was armed: swapItem (NativeAVPlayerHost.swift:399-401) hands load the retained session contract, load re-arms the one-shot at :426 in the AE#440 block :425-434, before the #2 load url= emit at :444, and host #1's two lines are the standing proof. What answered instead:

    • .682, #2's first status edge. The swap keeps transport intent (:405-410), so the reused player hands the fresh item .playing — the display-layer line above it carries in the same way. The observer sets the mirror and calls the lever (:672, :673), and if timeControlStatus == .playing { liveJoinImmediateStartSpent = true; return } (:1236-1239) spends the one-shot before any wait exists.
    • .697, the hold it was written for. AVPlayerWaitingToMinimizeStallsReason — the one reason :1245 admits — arrives 15 ms after the spend and stands 219 ms, to .916. guard … !liveJoinImmediateStartSpent (:1235) refuses it ahead of the async probe, so round 5's liveJoinDecisionAbandoned line (:1265-1274), written for this exact "no line at all" complaint, sits downstream of where the path stopped. (The .683 .playing, .684 pause and .684 WaitingWhileEvaluatingBufferingRate edges hit the same spent guard; the last two also fail :1244 and :1245.)

    That the waiting-reason observer at :653 was called beside those edges is a code read; the timeControlStatus calls are in the emits above. By your own doc the branch behaved correctly — it "spends it silently once the rate rolls on its own, so the override can never reach a mid-stream rebuffer" (:1230-1233) — and an in-place swap presents as exactly that: the runway survives it, your reason for expecting a decision, but a carried .playing reads like a rate that rolled mid-stream. Is the silent spend intended on a rejoin, should it reach past the carry, or should it at least say so? Every anchor above was read at 6.81.0; NativeAVPlayerHost.swift is not among the 79 files in 6.81.0...7.1.0.

    ⚠️ Two limits. The swap was not free: one counted stall (stats Δ10s [aether] … stalls +1 (total 1), 12:29:01.461), through your stall-recovery ladder, the #65 lines above; no reconnect, 0 matches for live source reset|fresh re-tune|reconnect. And it is one rung — our driver breaks when an AE#440 live join line and a swapping the item line both appear in the slice, which host #1's join lines satisfy on their own, so --unfreeze-after 18 and 25 never ran.

    Dated: 6.87.0 / 6.88.0 rewrote the close that produced this

    Our control leg (DEV-E6-446-absorbed.log, --unfreeze-after 4) printed the positive form you named on #520 — missed its cadence, then never closed, no ENDLIST between them (5615113287); 0 item swaps as well:

    09-12 12:31:18.380  [VideoSegmentProvider] #446 the source is cutting again and the window was never closed (silence stayed under 6.0s); no ENDLIST, no item swap, nothing for the viewer to see
    

    That is the string VideoSegmentProvider.swift:1828-1835 builds at 6.81.0, verbatim. At 7.1.0 the emit is :1891-1902 and reports the episode's widest silence and lowest depth instead — "… the consumer never fell below Ns of playable depth against the Ns a close would have needed); no ENDLIST and no item swap …". The reading survives; the grep does not.

    And the u12 recipe would now be absorbed. For our fixture (TARGETDURATION 2, cadence 1.11 s), read out of the 7.1.0 source, unmeasured: patience 1.5 × 2 = 3.0 s (:104); late min(max(3.0, 1.11 × 1.25), 32.0) = 3.0 s (:114, :195-200); ceiling max(3.0, 35 − 3.0) = 32.0 s (:169-174, HLSSegmentProducer.swift:581); reserve 1.0 × 2 = 2.0 s (:134-136); close when late && depth ≤ 2.0 or silence > 32.0 (:248-250, :1907-1909, :1833-1836). Our silence peaked at 13.43 s and the close printed 18.3 s of runway: neither 7.1.0 bound is met — no ENDLIST, no swap, no rejoin to read AE#440 off.

    ⚠️ The decay is not the one our own arc implies. At 6.81.0 runway is what the window lists above the consumer's fetch point (:1934-1939), so ours fell 4.7 s in 3.04 s of silence while AVPlayer kept fetching (23.0 s at quiet 4.03 s → 18.3 s at quiet 7.07 s). At 7.1.0 depth = runway + buffered (:1841), so fetching moves seconds between the terms instead of spending them: depth falls at playout rate, that 18.3 s is a floor on it, and the 2.0 s reserve arrives around 23.4 s of total silence, later by whatever buffer was in hand. A retest wants a freeze past the mid-20s — 12 s and 18 s short, 25 s marginal. Our arm is in scope for the depth half: this tune runs on NativeAVPlayerHost (started (route loopback, 0.4s)), and at 7.1.0 the mirror is written only under playbackBackend == .native (LiveTelemetrySampler.swift:296, :324).

    A 5½-minute edge hold (DEV-E6-hln-edge-hold.log, real HLN, 6.81.0)

    #1 load url= 12:32:54.162, started (route loopback, 4.7s) 12:32:58.353, log to 12:38:31.177. ENDLIST 0 / swaps 0 / -12888 0 / missed its cadence 0 / never closed 0. One #524, 17 ms after the load:

    09-12 12:32:54.179  [AetherEngine] #524 the client is running thin: it holds 0.00s of fetched runway, playhead 0.00s against a seekable edge of 0.00s …
    

    Byte-identical at 7.1.0 (AetherEngine+Live.swift:502 → :513). The u12 leg's four #104 live edge verdict lines re-spell but do not change hands: 6.86.0 made isAtEdge stored state settled by settleEdgeVerdict(tracking:) with edgeExitSlack = 2.0 (7.1.0 LiveWindow.swift:148, :151, :158-161, against 6.81.0's computed :97) and added trackingCadence= and exitAbove= to the emit (:473, :475). The slack widens only the EXIT, which our BEHIND readings (13.02 s, 23.06 s) clear either way; :175-176 still puts targetDurationSeconds ahead of the new cadence term, so tolerance=4.00s holds and behind=3.95s still lands 0.05 s inside it — all four verdicts stand. Arithmetic on our readings against the 7.1.0 source, unmeasured.

    The lead= reading you offered on #446 (DEV-E6-cold-tune.log, HLN)

    "0.050 s is lead=4500, three frames at 59.94. If that line reads otherwise on the HLN tune, the explanation above is wrong for your stack and I would want to see it." — 5524017943

    09-12 12:03:53.496  [HLSSegmentProducer] video gate open: … lead=4505 videoPID=0 reconstructed=false
    09-12 12:03:57.601  [AetherEngine] #454 the playlist this item loaded begins 0.05s into the session …
    

    4505 ticks at 90 kHz = 0.0501 s — your explanation holds for our source. (The rejoin leg's own join reads 4504.)

    What did not run

    The 6.80.0 35 s no-cut join abandon is unreachable on our live arm by construction (a code read of our own side): no start patience on our live sites, a 20 s first-tune budget, an 8/8/12 reconnect ladder — our terminal fires first. The other half of your #520 ask is unmeasured here: a flat count of Atmos relocks wants a channel that starves the same way and carries EAC3+JOC; neither of ours does — source probe: reads audio=[1:aac,2:aac] on the fixture and audio=[1:aac] on HLN.

    Open on our side: nothing on #440.

  21. superuser404notfound commented on Sep 17, 2026

    @superuser404notfound
    Owner

    Not intended. The silent spend is right for the case it was written for and wrong for this one, and the read in the report is exact: the .playing at .682 is not this item's rate rolling, it is the reused player's status carried onto an item that is 1 ms old and cannot play anything yet. Treating it as a roll spent the one-shot before the rejoin's own ToMinimizeStalls hold existed, so the hold at .697 met the spent guard and nothing downstream of it ran, including the round 5 abandon line.

    Fixed on main in c0459eb6 (merge b3590e3e), not in a release yet.

    An item cannot roll before it is ready, so readiness is what separates the carry from the roll:

    playingSpendsLiveJoinOneShot(itemIsReadyToPlay:) = itemIsReadyToPlay

    A .playing edge now spends the one-shot only when playerItem.status == .readyToPlay. The carried edge leaves it armed, so the hold that follows reaches the decision. The reason the spend exists stays intact: the readyToPlay sink asks again while the status mirror still reads .playing, so a carry that never changes status on its way to motion is still spent before any later hold could be a mid-stream rebuffer. A first join is unaffected, because unloadCurrentItem pauses and drops the item on a non-swap load, so there is no carry to read. Both cases are pinned in Issue440LiveJoinRollTests, full suite green on both runners, tvOS build clean.

    One correction to my own expectation from 5461790856, which the fix makes visible rather than resolves. I wrote that a rejoin whose hold stands should read as a decision "with a cushion that is genuinely there, since the runway survives the swap". The runway survives in the window, not in the item. The lever reads the fresh item's loadedTimeRanges, and 15 ms after the load that item has placed nothing, so the likely shape on your u12 seam is now a line where there was none, but a refusal (ahead 0.00s, empty=true) or, for a 219 ms hold, the abandon line, not a cut. That is the lever behaving as designed on a swap that re-fetches, and I would rather say it now than have the retest read as a second defect.

    On the retest itself, agreed that the u12 recipe no longer reaches a swap from 7.1.x on, since the close no longer fires at 13.43 s of silence against that depth. I have not re-derived your mid-20s figure, so treat that as your arithmetic, not a confirmation.

    Thanks for the lead=4505 reading. That settles the 0.05 s question for your stack.

    This stays open for the retest.

  22. superuser404notfound commented on Sep 17, 2026

    @superuser404notfound
    Owner

    Released in 7.1.2 (77cab2b7), which carries c0459eb6. Sodalite and AetherPlayer are both pinned to it now. Still open for the retest.

  23. cmcpherson274 commented on Sep 18, 2026

    @cmcpherson274
    Author

    "A .playing edge now spends the one-shot only when playerItem.status == .readyToPlay. The carried edge leaves it armed, so the hold that follows reaches the decision." — 5708846123, released in 7.1.2 (5709490737)

    The retest passes. Office2 (Apple TV 4K gen 3, tvOS 26.6 / 23L773), app at 7.1.3 (13a86172), installed 15:22:56 EDT on 2026-09-17; same live arm as before — a raw MPEG-TS spool through a custom IOReader, liveJoinStartsImmediately set on every live load. One correction to our own evidence first: the ch-999 fixture's aetherctl binary is built from 7.1.0 (2119d9f9), not from our app's pin, so the stimulus check is empirical rather than by version — the widest producer gap on the u12 rung is 13.42 s here against 13.43 s at 6.81.0, the same seg-93 → seg-94 pair at the same media start times (91.896 s → 92.897 s).

    One fresh process per rung, fixture restarted per rung with aetherctl live --serve-only --seed hln-seed-2a.ts --realtime --origin-lead 2 --preroll 30 --freeze-after 60 --unfreeze-after <U> (--origin-lead 2 and --preroll 30 are your own defaults — main.swift:522 and :513 — passed explicitly so the fixture log records them).

    rung producer silence window swaps AE#440 #1 / #2 -12888 the leg's own stats final
    u12 13.42 s absorbed 0 2 / 0 3 dropped 0 stalls 0
    u25 27.37 s absorbed 0 2 / 0 6 dropped 0 stalls 1
    u32 34.86 s closed → ENDLIST → swap 1 2 / 2 6 dropped 1 stalls 3
    control, u4 4.86 s absorbed 0 2 / 0 1 dropped 0 stalls 0
    u12 at 6.81.0 13.43 s closed → ENDLIST → swap 1 2 / 0 1 — no teardown in that slice (Δ10s stalls +1)

    Silence is the widest gap between live seg-N finalized stamps; it runs 0.8–2.9 s over the nominal freeze on every rung, so the measured figure is the one quoted. ⚠️ u32 joined 3.0 s deeper than its siblings — live clock baseline 7.3s against 4.3 s — and its consumer reads 69 of 90 at the cadence miss where the other three read 70 of 94; the four rungs are not one stimulus varying only in --unfreeze-after.

    The u32 seam (DEV-E7-440-rejoin-u32.log, excerpted)

    15 lines of the 150 in :429–:578; log prefix trimmed, the [NativeAVPlayerHost] tag dropped from the #N lines, the loopback URL and the ENDLIST line's closing clause elided with …, every quoted line otherwise verbatim. Between :541 and :578 the block carries every timeControlStatus line and the only transport rate= line.

    09-17 15:34:23.216  [VideoSegmentProvider] #446 the source has missed its cadence (quiet 4.04s, it delivers every 1.09s); the consumer is at 69 of 90 and can play for 22.9s without being handed anything (20.0s listed, 2.9s already in hand), and the window stays live while more than 2.0s of that is left to tell it in, and in any case no longer than 32.0s of silence
    09-17 15:34:48.406  [VideoSegmentProvider] #446 the source stopped delivering with the consumer at 89 of 90 (quiet 29.23s, 0.1s of playable depth left, 0.0s of it still to fetch, at or under the 2.0s the close itself needs to reach the consumer, so the wait has run out of content); serving the rest of the window as a finished asset (ENDLIST) …
    09-17 15:34:48.680  [AetherEngine] #446 the window ran out with the source still down; holding the session live and watching for the source to cut again, for as long as the source read lasts (this is not an end)
    09-17 15:34:54.709  [AetherEngine] #446 the window ran out and the source is delivering again; swapping the item so the session is live once more, at 99.11s, the place it held
    09-17 15:34:54.710  #2 load url=…/media.m3u8 startPos=nil headers=none
    09-17 15:34:54.710  #2 layer.isReadyForDisplay=true t+0.00s (carried in from the previous item when true)
    09-17 15:34:54.711  #2 timeControlStatus=playing reason=- t+0.00s
    09-17 15:34:54.712  #2 rate=1.0
    09-17 15:34:54.712  #2 timeControlStatus=playing reason=- t+0.00s
    09-17 15:34:54.740  #2 timeControlStatus=waitingToPlay reason=AVPlayerWaitingWithNoItemToPlayReason t+0.03s
    09-17 15:34:54.741  #2 timeControlStatus=waitingToPlay reason=AVPlayerWaitingToMinimizeStallsReason t+0.03s
    09-17 15:34:54.744  #2 AE#440 live join: leaving the stall-avoidance wait alone (buffer ahead 0.00s, empty=true, floor 1.50s); the item holds no loaded range at all, so nothing has been placed on its axis since it was mounted (playhead 0.00s), and the item's own status has not left unknown, so AVPlayer has not accepted the media at all
    09-17 15:34:54.901  #2 item.status=readyToPlay
    09-17 15:34:54.901  #2 timeControlStatus=playing reason=- t+0.19s
    09-17 15:34:54.994  #2 AE#440 live join: the wait ended 0.25s after the refusal without the buffer reaching the floor (no reading of its own was taken before it ended, so the cushion named at the refusal is the last one measured (floor 1.50s))
    

    Load → the carried .playing 1 ms; carry → the ToMinimizeStalls hold 30 ms; hold → the refusal 3 ms; load → item.status=readyToPlay 191 ms. The carry is exactly your description — the reused player's status reaching an item one millisecond old — and it arrives twice on both pins, either side of rate=1.0 (here .711 / .712; at 6.81.0 .682 / .683). Here both land before the item is ready, so neither spends the one-shot: the refusal at .744 could only fire past guard … !liveJoinImmediateStartSpent (:1238). We read the spend as landing at .901, where the item becomes ready and the next .playing edge arrives in the same millisecond — by the readyToPlay sink's re-ask (NativeAVPlayerHost.swift:621) or by that edge itself, which the log cannot separate (a code read; the spend is not logged, and none of the four AE#440 emitters can fire twice in a load — three carry a one-per-load flag, and the cut spends the one-shot at :1307, before its own emit at :1313). .994 is the round-3 hold witness's report, not a second decision. The refusal's own tail states the fact the new gate reads: the item's own status has not left unknown. That clause is not new — it builds at 6.81.0 too (:1568 there, :1585 at 7.1.3) — it simply could not be reached at this seam.

    The shape is the one you predicted rather than a cut: a refusal with ahead 0.00s, empty=true, then the hold witness's own account 250 ms later — the first of the two shapes you named. The abandon line (the hold was over … no decision was taken on it) is 0 across all four rungs: the buffer reading came back 3 ms into the hold, so the refusal branch answered instead. The runway did survive in the window — the playlist the swapped-in item loaded lists 61 segment(s) listed from seg64 (:551) and the placement audit reads item clock 28.77s in item range 0.00..55.02s … -> session 99.11s (:577), the place it held — and none of it was in the item at .744.

    The same seam at 6.81.0 (DEV-E6-440-rejoin-u12.log, the leg posted on the 16th; excerpted, URL elided)

    09-12 12:29:00.681  #2 load url=…/media.m3u8 startPos=nil headers=none
    09-12 12:29:00.682  #2 timeControlStatus=playing reason=- t+0.00s
    09-12 12:29:00.697  #2 timeControlStatus=waitingToPlay reason=AVPlayerWaitingToMinimizeStallsReason t+0.02s
    09-12 12:29:00.916  #2 item.status=readyToPlay
    09-12 12:29:00.916  #2 timeControlStatus=playing reason=- t+0.24s
    

    grep -c '#2 AE#440' = 0 for that whole slice, which is what makes the excerpt fair. Of the 34 lines from :640 to :673, the status and rate edges are a second timeControlStatus=playing at .683 (:644), three rate= lines (1.0 :643, 0.0 :645, 1.0 :648), a paused edge, the #65 spurious-pause rung and a WhileEvaluatingBufferingRate wait; the rest is the swapped-in item's own setup and the playlist and segment traffic behind it. Not one of them is an AE#440 line. The hold arrived 15 ms after the carried edge and produced nothing. playingSpendsLiveJoinOneShot appears nowhere at 7.1.0 or 7.1.1, and on two lines of NativeAVPlayerHost.swift at 7.1.2 and 7.1.3 (:1240 call, :1330 definition) plus two in Issue440LiveJoinRollTests; the gate those two #2 lines rest on first exists at 7.1.2 (c0459eb6, merge b3590e3e, released as 77cab2b7), it is absent at 7.1.0 and 7.1.1, and at 6.81.0 the same seam measured 0. That they are the swap's own item rather than a later load: the counter behind sessionID is type-level (:249, assigned per load at :435-436) and the whole u32 slice holds exactly two NativeAVPlayerHost] #N load url= lines, :111 (#1) and :541 (#2), with live source reset / in-place recovery / engine demote all 0.

    One shape difference worth naming, not a defect: at 7.1.3 the #65 ladder's first two rungs ran before the swap (15:34:48.687 spurious pause, 15:34:51.402 nudge seek) and the post-swap item came up clean at rate=1.0 — its third, nudge did not revive the consumer; reloading item, is the swap itself on both pins; at 6.81.0 the spurious-pause rung ran after the swap, on #2.

    Our mid-20s figure, against the measured close

    We wrote that the 2.0 s reserve would arrive "around 23.4 s of total silence" and that 25 s was marginal. You said you had not re-derived it, and it was ours to check; measured, it was about six seconds early. The close landed at 29.23 s of quiet (15:34:19.173 last finalize → 15:34:48.406, matching the line's own quiet 29.23s), and the 25 s rung absorbed with 5.8 s of depth still in hand. The mechanism the figure rested on does hold: depth falls at playout rate. Between each rung's cadence-miss line and its verdict — u12 6.1 s of depth over 6.06 s of quiet, u25 19.5 s over 20.16 s, u32 22.8 s over 25.19 s — within 0.7 s of playout rate on u12 and u25, and 2.4 s slow on u32, whose window carries two counted stalls (stats Δ10s … stalls +2, 15:34:49.082); a stalled consumer spends no depth. That last step is our inference, not something the log states.

    One arithmetic note in case it saves you a re-derivation: an absorbed rung's at the widest figure is not the producer's gap, because it is read at the consumer's last playlist poll before the source came back, and those polls are the -12888 stamps. u12's 10.09 s lands 28 ms from its third -12888, u25's 24.20 s 23 ms from its sixth, the control's 4.03 s 35 ms from its only one. The polls run 3.03 s apart and back off (u32: 3.03, 3.03, 4.04, 5.04, 5.02), and u32's close lands 5.01 s after its last -12888 — the poll whose answer carried the ENDLIST. Stamp arithmetic on our side, not a line the engine prints.

    What u12 cost instead, and what did not run

    At 7.1.3 the 13.4 s freeze that closed the window at 6.81.0 is absorbed: no ENDLIST, no second NativeAVPlayerHost load, no #65 ladder, no stall and no dropped frame, the same #1 host playing through. The whole cost is three -12888 errorLog entries (Playlist File unchanged for longer than 1.5 * target duration) 3.04 s apart against 6.81.0's one — records, not failures; item.status=failed is 0. On the viewer's side that is a swap and a counted stall bought back.

    u45 never ran, by design. The ladder was 12 / 25 / 32 / 45 and stopped on its first positive; the stop condition is the one our last post's limit called for — an AE#440 live join line below the swap carrying the generation the swap's own load came up under, where E-6's condition (an AE#440 line anywhere plus a swap anywhere) took the first join's own two lines for its AE#440 half and cost us the middle rungs. u45 was written to cross liveSourceStarvationTimeoutSeconds (35 s, HLSSegmentProducer.swift:581) and reach #446 … the source read is already given up (AetherEngine.swift:2604), which this bench has never produced; u32's 34.86 s of producer silence came within 0.2 s of that number on our own measure and did not trip it (given up = 0 on all four rungs). We can run u45 on request — otherwise it stays unmeasured here.

    Open on our side: nothing. The retest passes; #440 can be closed as far as we are concerned.

  24. superuser404notfound commented on Sep 18, 2026

    @superuser404notfound
    Owner

    Thank you for taking this all the way to a seam that actually produced the shape, including the rung ladder that had to be re-cut because the old stop condition matched the first join's own lines. Four rungs, one of them the positive, and an explicit note that they are not one stimulus varying in a single parameter, is a better retest than the one I asked for.

    Closing this. The reading matches mine at 7.1.3 and at today's tip:

    • playingSpendsLiveJoinOneShot is called at NativeAVPlayerHost.swift:1240 and defined at :1330, first present in 7.1.2 (c0459eb6), absent at 7.1.0 and 7.1.1, which is why the same seam measured 0 at 6.81.0.
    • The spend is not logged, and the four AE#440 emitters cannot fire twice in a load: the refusal, the abandon line and the hold witness each carry a one-per-load flag, and the cut sets liveJoinImmediateStartSpent at :1307 before its own emit. All of them are reset in load (:426-434), which a swap runs through with the retained contract, so #2 gets its own set.
    • .901 is not separable from the log, and both candidates spend it: the readyToPlay sink re-asks while the mirror still reads .playing (:621), and a .playing edge arriving at or after readiness spends it directly. Either way the one-shot is gone before any later hold could be a mid-stream rebuffer, which is the property the spend exists for.

    One thing the measurement makes structural rather than hypothetical, and I would rather write it down here than have it rediscovered. On a swap the decision now runs, but it runs before the item can answer: 3 ms into the hold against 191 ms to readyToPlay, and the refusal's own tail says so (the item's own status has not left unknown). So on a rejoin the lever will refuse by construction, not because the cushion was judged thin. That is harmless at the holds measured here, 219 ms at 6.81.0 and about 190 ms at 7.1.3, since there is nothing in them worth cutting. It stops being harmless if a rejoin hold ever stands past readiness while the forward buffer crosses the 1.5 s floor, because the bound is read only at the hold's edges and nothing looks again. That is the same shape round 3 named as the trigger for making the witness decide instead of report, and a swap is now the likeliest way to produce it. The witness already samples it at 250 ms out to 5 s, so the evidence would arrive as a witness line saying the floor was reached while the hold still stood. None of the four rungs shows one.

    Taking the correction on the mid-20s figure as given, with the mechanism intact: 29.23 s of quiet at the close, 5.8 s of depth still in hand at 25 s. The note about an absorbed rung's widest figure being read at the consumer's last playlist poll is worth having on the record, since those polls are the -12888 stamps and the arithmetic reads like the producer's gap otherwise.

    u45 is not needed here. 34.86 s of producer silence against a 35 s starvation timeout that did not trip is a coherent reading on its own, and a rung written to cross it would be measuring the timeout rather than this issue.

    The #524 line 17 ms after the load belongs to that thread and stays open there: at that moment nothing has been fetched and the edge reads 0.00 s, so it is a non-measurement in the shape of a measurement, the same class of defect as the witness printing its initial value in round 5. The flag behind it does rearm, at the branch that returns when the runway is back above the floor, so a session that recovers and thins again speaks twice.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions