mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
2225a09ff9
Layer (c) deploy-rollover config for the harness-workers fleet — pure Railway config, no custom rolling-restart code. Declares overlapSeconds=45 (capacity floor: old deployment serves until new workers register+claim, so no staleness dip) and drainingSeconds=180 (SIGTERM->SIGKILL window >= PLATFORM_STOP_GRACE_MS so the layer-(b) 3s+90s composed worker-drain finishes) for both prod and staging in the railway-envs SSOT, regenerates the JSON snapshot, and extends the harness-workers drift gate so CI fails if either field drifts between SSOT and snapshot. Documents both knobs, their rationale (incl. that Railway's draining default is 0s = immediate SIGKILL), the composition with drain layers a+b, and how to apply them (GraphQL serviceInstanceUpdate / dashboard) in RAILWAY.md.
37 KiB
37 KiB