Skip to content

34

Choose a tag to compare

@pg83 pg83 released this 21 Sep 09:51
· 5 commits to master since this release

Every queue row in gorn web now opens /tasks/<guid>: the task's command, state, worker endpoint, resources and timeline, with the task's log below, streamed from Loki. The wrapper's own lines appear as stream wrap beside the stdout and stderr records; the page tails every two seconds while the task runs and loads older lines on scroll.

New in gorn control: GET /v1/tasks/<guid>/info (queue record, leader placement and wrapper result in one document) and GET /v1/tasks/<guid>/log?after=|before=&limit=&since= (collector lines paged by cursor). Configure control.loki (base URL) and optionally control.loki_selector (default {service="gorn_task"}). /v1/inflight now reports the endpoint user, port and cpus per running task; older leaders' bare-host answers are still accepted.

Validation: go test ./...; go vet ./...