e2e: integration harness (69/69 green) + fix /agent/ws missing bearer auth (BUG-1)

This commit is contained in:
Raphael Westphal
2026-08-18 14:13:15 +02:00
parent 6ba718730e
commit ecb91e941c
17 changed files with 1129 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ func NewServer(store *Store, hub *Hub, spawn *Spawner, gl *GitLab) *Server {
func (s *Server) Routes(webdist string) http.Handler {
mux := http.NewServeMux()
mux.HandleFunc("GET /agent/ws", s.hub.ServeAgentWS)
mux.Handle("GET /agent/ws", s.bearerAuth(http.HandlerFunc(s.hub.ServeAgentWS)))
mux.HandleFunc("GET /ws", s.handleWebWS)
api := http.NewServeMux()
Binary file not shown.