Skip to content

feat: wait for the daemon to be ready before the step finishes - #9

Merged
bonifaido merged 1 commit into
mainfrom
wait-for-ready
Aug 3, 2026
Merged

feat: wait for the daemon to be ready before the step finishes#9
bonifaido merged 1 commit into
mainfrom
wait-for-ready

Conversation

@bonifaido

@bonifaido bonifaido commented Jul 30, 2026

Copy link
Copy Markdown
Member

The install step returned as soon as riptides.service was active, but the daemon isn't intercepting yet at that point — it still has to connect to the control plane, push trust anchors into the driver, and get a workload identity issued. Connections opened by the next workflow step can land in that window and go unrecorded.

  • New inputs wait-for-ready (default true) and ready-timeout (default 120), passed through as --wait-ready --wait-timeout N.
  • Test workflow asserts /sys/module/riptides/health reads OK after the action.

Readiness comes from the daemon's /readyz (riptideslabs/daemon#425), which reports the control plane connection and whether every trust anchor it holds was verified present in the driver.

Two notes:

  • Depends on riptideslabs/docs#74 — the action fetches install.sh live from docs.riptides.io, so that has to ship first or the runner gets Unknown option: --wait-ready. daemon#425 is not a hard dependency: install.sh falls back to the driver's sysfs status files when the endpoint isn't there.
  • Readiness requires a workload identity, so a runner with no matching Identity on the control plane goes from a silent pass to a hard failure after 120s. That's the honest signal (nothing is intercepted without one), but it is a behavior change.

The install step returned as soon as riptides.service was active, but the
daemon is not intercepting yet at that point - it still has to connect to
the driver and get a workload identity issued. Connections opened by the
next workflow step could land in that window and go unrecorded.

Pass --wait-ready to install.sh (new wait-for-ready / ready-timeout inputs,
on by default) and assert the driver reports OK in the test workflow.
@bonifaido
bonifaido requested a review from a team as a code owner July 30, 2026 13:23
@bonifaido bonifaido self-assigned this Aug 3, 2026
@bonifaido
bonifaido merged commit 1135591 into main Aug 3, 2026
6 of 14 checks passed
@bonifaido
bonifaido deleted the wait-for-ready branch August 3, 2026 11:03
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.

3 participants