mirror of
https://github.com/stablyai/orca.git
synced 2026-09-28 00:02:41 +00:00
Phase 6 of the relay split: the relay's deploy/operate surface moves under cloud/ with 24 cloud-* workflows gated on ORCA_CLOUD_OPERATIONS_ENABLED, the Cloud SQL rollout lease action, the relay Terraform root (dual-accept identities for both repositories), scripts, docs, CODEOWNERS, and a terraform validate job in Cloud Verify.
8 lines
325 B
TypeScript
8 lines
325 B
TypeScript
import { createHash } from 'node:crypto'
|
|
|
|
// Store-level 503s were previously silent; the digest keeps per-host log
|
|
// correlation possible without emitting the raw relay host id.
|
|
export function relayHostLogDigest(relayHostId: string): string {
|
|
return createHash('sha256').update(relayHostId).digest('hex').slice(0, 12)
|
|
}
|