chore: replace em dashes with hyphens, add no-em-dash rule to CLAUDE.md
Chart Release / chart (push) Successful in 20s
Server Deploy / deploy (push) Failing after 1m52s

This commit is contained in:
2026-09-10 09:18:55 +00:00
parent b36a696d0e
commit 6ee203f5e9
172 changed files with 860 additions and 856 deletions
+4 -4
View File
@@ -15,8 +15,8 @@
//
// Everything here is deliberately best-effort delivery with an explicit ack
// rather than a queue. A command whose owner pod died between the presence
// check and the publish must fail loudly and immediately the caller answers
// 503 and the operator retries not sit in a queue waiting for a stream that
// check and the publish must fail loudly and immediately - the caller answers
// 503 and the operator retries - not sit in a queue waiting for a stream that
// no longer exists.
package bus
@@ -97,7 +97,7 @@ const (
//
// The listener cannot be bound in advance on any particular pod. An agent's
// ProxyStream is a separate HTTP/2 request from its CommandStream, and an
// L7 proxy (Traefik) balances requests, not connections so it may land on
// L7 proxy (Traefik) balances requests, not connections - so it may land on
// any replica, not the one holding the command stream. The pod it does land
// on binds the listener and announces it here.
ProxyAddrChannel = prefix + "proxyaddr:"
@@ -295,7 +295,7 @@ func SetPendingProxy(ctx context.Context, proxyID, instanceID, serverID string,
// round trips: single use is the whole security property, and two agents
// racing the same proxy_id must not both be served.
//
// A missing record is reported as "", "" rather than an error an unknown
// A missing record is reported as "", "" rather than an error - an unknown
// proxy_id, an expired one and a second claim are all the same refusal.
func ClaimPendingProxy(ctx context.Context, proxyID string) (instanceID, serverID string) {
v, err := claimPending.Run(ctx, rdb, []string{ProxyPendingKey + proxyID}).Text()
+1 -1
View File
@@ -23,7 +23,7 @@ const (
// a race anyone wins.
//
// Redis rather than a Kubernetes Lease so that Docker Compose, which has no
// API server, takes the identical code path one implementation to reason
// API server, takes the identical code path - one implementation to reason
// about, not two.
//
// job is given a context cancelled the moment leadership is lost, and must