Skip to content

feat(hydra): websocket service for live log streaming - #1773

Open
Conni2461 wants to merge 3 commits into
NixOS:masterfrom
helsinki-systems:feat/wss
Open

feat(hydra): websocket service for live log streaming #1773
Conni2461 wants to merge 3 commits into
NixOS:masterfrom
helsinki-systems:feat/wss

Conversation

@Conni2461

Copy link
Copy Markdown
Member

No description provided.

Comment thread subprojects/hydra-builder/package.nix Outdated
Comment thread subprojects/hydra-queue-runner/package.nix Outdated
Comment thread subprojects/hydra-ws/package.nix
Comment thread nixos-modules/ws-server-module.nix
Comment thread subprojects/hydra-ws/src/handler.rs
Comment thread subprojects/hydra-ws/src/handler.rs
@Ericson2314

Ericson2314 commented Aug 25, 2026

Copy link
Copy Markdown
Member

There is an architecture diagram in the docs we should update for this. Please re-run scripts/dependency-diagram.py.

Comment thread subprojects/hydra-manual/src/architecture.md

@Ericson2314 Ericson2314 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I have read enough :) thankfully since this off the "critical path" as a new service, we don't have to be too concerned about things being not quite right --- they won't take down the rest of Hydra

Comment thread foreman/start-hydra.sh

my $step = $c->stash->{step};
my $isLive = $step ? $step->busy != 0 : !$c->stash->{build}->finished;
if ($isLive && $c->config->{'ws_endpoint'}) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be one if, combined with the next one

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.

4 participants