Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,22 @@ and listed with their assets on the

### Added

- **Desktop notifications** ([ADR-0045](docs/adr/0045-the-hub-notifies-the-desktop.md), #156):
the hub follows every running stack and each of its started lanes (on a
node too) and tells the desktop when a build failed, a candidate is held
for `promote`, a service exited by itself or failed to start, or a lane's
start or move on a node failed; on request also when a lane took the main
ports or a candidate went live. Only changes notify, and the same thing for
the same service once in five minutes (a crash loop is one notification).
Windows shows a toast, Linux uses the desktop's notification service over
D-Bus (the binary stays static; without a desktop session nothing shows).
A click opens the dashboard on that stack, lane and service. Each kind on
or off, and a mute per stack or lane, behind the bell in the dashboard's
top bar or with `devstack hub notify [on|off <kind>…|test]`;
`DEVSTACK_NO_NOTIFY` switches them off.
- A `devstack://open?stack=…&lane=…&service=…` link opens the dashboard
there, paired; `/auth` takes `next`, a dashboard route, and keeps the
session of a browser that is paired already.
- The node's pool telemetry reports each Compose group of a lane brought up
or failed (`node_lane_infra_up`, `node_lane_infra_failed`, with its
duration and Compose's reason).
Expand All @@ -40,6 +56,10 @@ and listed with their assets on the

### Fixed

- `--browser` / `DEVSTACK_BROWSER` on Windows: an address with `&` was cut
there by `cmd` (none had one before `/auth?…&next=`).
- The dashboard, opened on a lane before it knew whether the stack runs (a
link, a first visit), showed the lane without its list of lanes.
- The daemon log says why a lane whose worktree went is not removed at once:
`lane_forget_deferred` said "it is being started" also when a removal of
the same lane was under way already, or a move.
Expand Down
Loading