8000 Test waits: watch for progress instead of long fixed deadlines · Issue #1092 · nixidae/nixidae · GitHub
[go: up one dir, main page]

Skip to content

Test waits: watch for progress instead of long fixed deadlines #1092

Description

@Lillecarl

vivarium's until() waits up to a fixed deadline (READY_TIMEOUT, 300 s) and fails only when it runs out. A stuck wait and a slow one look the same until then. The deadlines stay long for now, because short ones would flake on slow GitHub runners.

Goal: fail early on a stuck wait without a short deadline. Each wait names the signals that show progress (pod phase, container state, events, journal lines, a CSI call in flight) and fails when none of them moves for a bounded time. A total deadline stays as a backstop.

Measured 2026-10-26 on nixkube's umlTest: with a 1 s poll, the longest passing wait apart from the host rollout was 81 s, against a 300 s deadline.


Assisted-By: Claude Opus 5.5

Activity

  1. added
    source: vivarium
    on Oct 26, 2026
  2. Lillecarl commented on Nov 17, 2026

    @Lillecarl
    ContributorAuthor

    Measured in the vivarium review (#1444, S6). wait_for_unit polls every 0.5 s, and wait_until_succeeds, until and never every 1.0 s. A round trip to the agent takes p50 10-14 ms. Since 2026-11-01, 3,812 of 5,082 recorded waits polled two or more times.


    Assisted-By: Claude Opus 5.5

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

    source: vivarium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0