From 221fd16c84601baf53be22ff66c0ad461dc0145c Mon Sep 17 00:00:00 2001 From: Sebastian Gieseler Date: Mon, 2 Nov 2026 16:09:41 +0100 Subject: [PATCH] chore: 0.34.0 Several stacks on one machine: a stack whose ports another stack holds runs with a port shift (`devstack up --shift auto`), kept on this machine and never in the stack file; every daemon writes the ports it claims and new lanes avoid them (ADR-0082). The sidebar orders stacks by name or by last opened (ADR-0084), and adding a stack has tabs, one folder field and a choice of what a scan adds. The hub watches itself and leaves a dump when it hangs, with the Windows build's symbols in the release to read it. Fixed: asking Windows about notifications can no longer stop the hub (#398), an agent switched off loses devstack's generated skills and no empty folder stays (ADR-0083), and an upstream whose refresh was refused is logged out. Co-Authored-By: Claude Fable 5.1 --- CHANGELOG.md | 41 ++++++++++++++++++++++++++++++++++++++++- Cargo.lock | 22 +++++++++++----------- Cargo.toml | 2 +- devstack.toml | 2 +- docs/plan.md | 11 ++++++++++- ui/package-lock.json | 4 ++-- ui/package.json | 2 +- 7 files changed, 66 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce3a519f..685f1795 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,20 @@ and listed with their assets on the ## [Unreleased] +## [0.34.0] - 2026-11-02 + +Several stacks on one machine: a stack whose ports another stack holds +runs with a port shift (`devstack up --shift auto`), kept on this machine +and never in the stack file; every daemon writes the ports it claims and +new lanes avoid them (ADR-0082). The sidebar orders stacks by name or by +last opened (ADR-0084), and adding a stack has tabs, one folder field and +a choice of what a scan adds. The hub watches itself and leaves a dump +when it hangs, with the Windows build's symbols in the release to read +it. Fixed: asking Windows about notifications can no longer stop the hub +(#398), an agent switched off loses devstack's generated skills and no +empty folder stays (ADR-0083), and an upstream whose refresh was refused +is logged out. + ### Added - **Several stacks on one machine** (ADR-0082 points 3 to 7): a stack can @@ -32,9 +46,33 @@ and listed with their assets on the hub and exits, so the dashboard comes back by itself. The release has the Windows build's symbols as an asset (`devstack-x86_64-pc-windows-msvc-pdb.zip`) to read such a dump. +- **The sidebar orders the stacks by name or by last opened** (#377, + ADR-0084): a button (↕) beside the "Stacks" heading chooses; by name is + the default. Last opened is taken when the page loads or the choice is + made, so nothing moves while the page is open; a start or a stop moves + nothing either. The choice and the times live in the browser's + `localStorage`, as the fold state does. Trees within a stack and + "Shared with you" stay by name. +- **The add-a-stack dialog** has tabs for one repository and for a scan of + a folder, one folder field with a "Browse…" button (where the hub has a + folder dialog), checks a typed path once typing pauses, and a scan lets + you choose which of the repositories it found to add. ### Fixed +- **An agent switched off loses devstack's skills, and no empty folder + stays** (ADR-0083): switching Codex, GitHub Copilot or OpenCode off on + the Skills page left `devstack` and `devstack-config` in its folder and + refreshed them every minute, and `.agents/skills` stayed behind empty. + The hub now removes a generated skill, unchanged and untracked, from a + folder of an agent switched off that `[agents] skills` does not name, + and the folders a removed skill emptied above it, up to the working + tree's root or the home. +- **An upstream whose refresh the server refused is logged out**: the + dashboard showed *logged in* for an OAuth upstream whose refresh token + was revoked while every call failed. A final refusal (`invalid_grant`, + `invalid_client`, `unauthorized_client`) drops the login; an endpoint + that cannot be reached keeps it. - **Asking Windows about notifications can no longer stop the hub** (#398). Before each notification, and for `GET /hub/notify`, the hub asked Windows' notification platform whether it takes devstack's toasts. The @@ -2491,7 +2529,8 @@ before are refused now, and a pool needs its nodes granted. a paused log view keeps its line limit; the folder dialog no longer stays "open" after the page gave up waiting. -[Unreleased]: https://github.com/nuetzliches/devstack/compare/v0.33.0...HEAD +[Unreleased]: https://github.com/nuetzliches/devstack/compare/v0.34.0...HEAD +[0.34.0]: https://github.com/nuetzliches/devstack/compare/v0.33.0...v0.34.0 [0.33.0]: https://github.com/nuetzliches/devstack/compare/v0.32.0...v0.33.0 [0.32.0]: https://github.com/nuetzliches/devstack/compare/v0.31.0...v0.32.0 [0.31.0]: https://github.com/nuetzliches/devstack/compare/v0.30.0...v0.31.0 diff --git a/Cargo.lock b/Cargo.lock index 6c61e98e..567bd44a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -757,7 +757,7 @@ checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e" [[package]] name = "devstack" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "bytes", @@ -791,7 +791,7 @@ dependencies = [ [[package]] name = "devstack-build" -version = "0.33.0" +version = "0.34.0" dependencies = [ "blake3", "devstack-config", @@ -806,7 +806,7 @@ dependencies = [ [[package]] name = "devstack-compose" -version = "0.33.0" +version = "0.34.0" dependencies = [ "devstack-config", "devstack-desktop", @@ -819,7 +819,7 @@ dependencies = [ [[package]] name = "devstack-config" -version = "0.33.0" +version = "0.34.0" dependencies = [ "globset", "regex", @@ -833,7 +833,7 @@ dependencies = [ [[package]] name = "devstack-daemon" -version = "0.33.0" +version = "0.34.0" dependencies = [ "axum", "blake3", @@ -867,7 +867,7 @@ dependencies = [ [[package]] name = "devstack-desktop" -version = "0.33.0" +version = "0.34.0" dependencies = [ "devstack-proc", "libc", @@ -888,7 +888,7 @@ dependencies = [ [[package]] name = "devstack-env" -version = "0.33.0" +version = "0.34.0" dependencies = [ "devstack-config", "tempfile", @@ -897,7 +897,7 @@ dependencies = [ [[package]] name = "devstack-hub" -version = "0.33.0" +version = "0.34.0" dependencies = [ "axum", "base64 0.23.1", @@ -930,7 +930,7 @@ dependencies = [ [[package]] name = "devstack-node" -version = "0.33.0" +version = "0.34.0" dependencies = [ "axum", "blake3", @@ -964,7 +964,7 @@ dependencies = [ [[package]] name = "devstack-proc" -version = "0.33.0" +version = "0.34.0" dependencies = [ "libc", "mach2", @@ -977,7 +977,7 @@ dependencies = [ [[package]] name = "devstack-skills" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "devstack-config", diff --git a/Cargo.toml b/Cargo.toml index 2273663d..904ae81b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ members = ["crates/*"] exclude = ["spikes"] [workspace.package] -version = "0.33.0" +version = "0.34.0" edition = "2024" rust-version = "1.98" license = "MIT OR Apache-2.0" diff --git a/devstack.toml b/devstack.toml index 2b5cb919..57772002 100644 --- a/devstack.toml +++ b/devstack.toml @@ -7,7 +7,7 @@ version = 1 [stack] name = "devstack" requires = "0.20.0" -reviewed = "0.33.0" +reviewed = "0.34.0" # A lane on another machine of the pool runs in this image (ADR-0028): the # dashboard needs Node.js only (CI builds it with Node 24). diff --git a/docs/plan.md b/docs/plan.md index 3d838073..af7cbc3b 100644 --- a/docs/plan.md +++ b/docs/plan.md @@ -1,7 +1,7 @@ # devstack: plan - **Status:** Active: phases 0 to 2 done (0.4.0), phase 3 done (lanes per worktree 0.7.0, each with its own infrastructure since 0.8.0, ADR-0030), phase 4 under way; the pool since 0.9.0: lanes on other machines, moved, shared, given the main ports; node policies, several pools, capacity over time, telemetry with consent (ADR-0025 to ADR-0037, 0.9.0 to 0.9.8; [pool.md](pool.md), §7.4, backlog §13); 0.10.0 (2026-10-18) carries the fixes of the review of 0.9.8: lanes confined on a node, nodes granted by an admin, the promotion gate and restore of ADR-0013/0016 as written, the hub's origin rules; 0.11.0 (2026-10-19): lanes that outlive the main tree's stop, keep their data on a node, run with a profile, and can be viewed when shared; a server updated by an admin (ADR-0038 to ADR-0041); 0.12.0 (2026-10-20): sharing a lane includes viewing it (ADR-0040 amended), a remote lane's containers controlled through its node, a dev server's rebuilds shown like builds (ADR-0042), a node's own lines in the pool's telemetry; 0.13.0 (2026-10-20): a dev server's fixed port is devstack's, forwarded to its instance (ADR-0043); 0.14.0 (2026-10-21): the pool places a lane where it starts warm (ADR-0026 point 3), where a lane starts without `--on` is the machine's choice (ADR-0025 amended), a lane's start on a node shows its phases; 0.15.0 (2026-10-21) carries the fixes of a review of the whole code base: a node runs the Compose model it checked, several agents share one engine, the supervisor keeps edits and stops, stack file paths stay in the repository; 0.16.0 (2026-10-21): desktop notifications from the hub and lanes of other members shown (ADR-0045), winget on Windows, a stack's folder opened in one's own programs (ADR-0046), the share switch removed (ADR-0031 amended); 0.17.0 (2026-10-21): a lane made from a branch in the dashboard (ADR-0047), containers on the main ports (ADR-0048), a lane's need measured where it ran, disk included (ADR-0049); 0.18.0 (2026-10-21): notices for what no request reports (ADR-0050), a lane whose worktree is removed shown while it goes (ADR-0024 point 7 amended); 0.19.0 (2026-10-22): a restart of the stack carries its lanes over (ADR-0052), the agent skills where the stack file says, a node's policy says what part of what is free it offers (ADR-0031 amended); 0.20.0 (2026-10-23): macOS in preview with Homebrew (ADR-0054), UDP ports of a lane on a node relayed (ADR-0056), announced ports moved with their lane (ADR-0057); 0.21.0 (2026-10-23): a tray icon on every desktop, a client of the hub (ADR-0060), profiles that leave out containers (ADR-0058), a service's `stop` command (ADR-0059); 0.22.0 (2026-10-24): the dashboard opens in its installed app (ADR-0061); 0.23.0 (2026-10-26): what `prepare` makes kept in a store per machine (ADR-0062), Compose told the lane (ADR-0064); 0.24.0 (2026-10-26): a lane on a node gets its worktree linked and a store on its node (ADR-0062, ADR-0063), the store warmed ahead for a ref (ADR-0065) and shown in the dashboard, its own telemetry through its requester; 0.25.0 (2026-10-27): a stop takes the containers too (ADR-0068), who changed the stack at runtime on record (ADR-0067), a measured CPU need capped (ADR-0066); 0.26.0 (2026-10-27): devstack's MCP server offered at setup, a lane's workers on a node, the memory check against Docker Desktop's VM; 0.27.0 (2026-10-28): a pool grows by provisioned machines (ADR-0051), MCP upstreams through the hub (ADR-0069), one timeline of events and the journal (ADR-0067), the dashboard writes no repository file (ADR-0071), a faster start (builds during the containers' start, a node's artifact store), where a lane starts compared (ADR-0036 addendum); 0.27.1 (2026-10-28): 0.27.0 published, its release had stopped at new advisories ([CHANGELOG](../CHANGELOG.md)) -- **Date:** 2026-10-14, status updated 2026-10-31 (0.33.0) +- **Date:** 2026-10-14, status updated 2026-11-02 (0.34.0) - **Inputs:** [problem-statement.md](problem-statement.md), [ADR index](adr/README.md) This document is the planning artefact. Decisions it relies on are recorded as @@ -950,6 +950,15 @@ the ports of a machine, the first step towards a port shift for stacks that declare the same ports (ADR-0082, #387). `shared` is deprecated. The details are in the [changelog](../CHANGELOG.md). +**0.34.0 (2026-11-02): several stacks on one machine.** A stack whose +ports another stack on the machine holds runs with a port shift, chosen +once and kept in the machine's registry, never in the stack file; daemons +write the ports they claim and new lanes avoid them, which closes #387 +(ADR-0082). The sidebar orders stacks by name or by last opened +(ADR-0084), the add-a-stack dialog chooses what a scan adds, and the hub +watches itself and leaves a dump when it hangs. The details are in the +[changelog](../CHANGELOG.md). + ## 8. Open questions | # | Question | Where it is tracked | diff --git a/ui/package-lock.json b/ui/package-lock.json index c191633b..b0263266 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -1,12 +1,12 @@ { "name": "devstack-dashboard", - "version": "0.33.0", + "version": "0.34.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "devstack-dashboard", - "version": "0.33.0", + "version": "0.34.0", "license": "MIT OR Apache-2.0", "dependencies": { "pinia": "4.1.0", diff --git a/ui/package.json b/ui/package.json index 4c247449..b913018b 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,7 +1,7 @@ { "name": "devstack-dashboard", "private": true, - "version": "0.33.0", + "version": "0.34.0", "license": "MIT OR Apache-2.0", "type": "module", "description": "Web dashboard for devstack, served by the hub",