feat(web): service page, manual update, jobs list and live job log (#7)

Also publishes the jobs topic on agent revoke and updates the agent
snippet to mount stacks read-write at the same path.
This commit is contained in:
2026-10-12 18:41:46 +02:00
parent 9d3a6f808c
commit 574f425267
11 changed files with 526 additions and 23 deletions
+7
View File
@@ -247,3 +247,10 @@ func TestLogout_DeletesSession(t *testing.T) {
assert.Equal(t, http.StatusOK, rec.Code)
assert.Empty(t, store.sessions)
}
func TestWithSession_RoundTrips(t *testing.T) {
ctx := WithSession(context.Background(), model.Session{Subject: "alice"})
sess, ok := SessionFrom(ctx)
assert.True(t, ok)
assert.Equal(t, "alice", sess.Subject)
}