Skip to content
Closed
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
3 changes: 3 additions & 0 deletions internal/lab/oauthfixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ const (
// server that answered 401 — muster's api.StateAuthRequired, spelled the
// CRD way.
mcpServerStateAuthRequired = "Auth Required"
// A per-session server that no session has signed into yet (muster 5.28+,
// giantswarm/muster#1301): the server answered muster's probe, like Auth Required.
mcpServerStateAwaitingSession = "Awaiting Session"
// mcpServerStateConnected is the state once a session signed in to the
// server and muster holds a connection to it.
mcpServerStateConnected = "Connected"
Expand Down
2 changes: 1 addition & 1 deletion internal/lab/platform.go
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ func waitSidecarMCPServers(ctx context.Context, cfg *config.Config, sidecars map
// Connected that a session already signed in. Every downstream the lab
// aggregates is such a server now, so this replaced the plain Connected wait.
func waitMCPServerReachable(name string) error {
return waitMCPServerState(name, mcpServerStateConnected, mcpServerStateAuthRequired)
return waitMCPServerState(name, mcpServerStateConnected, mcpServerStateAuthRequired, mcpServerStateAwaitingSession)
}

// waitMCPServerState polls the MCPServer CR's status.state until it reads one
Expand Down
Loading