Select the agent container for Kubernetes logs#131
Conversation
4808cf5 to
6501dd5
Compare
PR #131 Review: Select the agent container for Kubernetes logsReviewer: Senior Staff SWE / Security Researcher Executive SummaryThis PR bundles three logically distinct changes: (1) K8s multi-container log selection targeting the "agent" container, (2) a new Critical Issues1.
|
|
The exec API may need a bit more thought and/or some design doc to capture a decision - can we get an issue open for that? |
6501dd5 to
fdd8059
Compare
|
This branch has also been rebuilt and narrowed on top of current Current branch scope is now only:
So the surviving change here is the Kubernetes log-container selection fix. I also added an explicit comment documenting the existing container naming convention: hosted pods may include sidecars, but the interactive Scion process runs in the container named Validation:
|
…#303) * fix: atomic session-guarded broker disconnect to prevent reconnect race (#131) The onDisconnect callback previously used separate ReleaseRuntimeBrokerConnection and UpdateRuntimeBrokerHeartbeat calls. When a broker disconnects and reconnects rapidly, the stale disconnect's offline stamp can clobber the new connection's online status because UpdateRuntimeBrokerHeartbeat has no session guard — it unconditionally overwrites status. Provider statuses are also clobbered and never restored by heartbeats, leaving the broker permanently invisible until hub restart. Add ReleaseAndMarkBrokerOffline which atomically clears affinity AND stamps status=offline in a single CAS write. If a concurrent reconnect has already claimed the broker with a new session, the compare fails and the callback is a no-op. Also add a re-check guard before updating provider statuses. * docs: add project log for broker disconnect race fix unification
Summary
Testing