{"id":"sve3PjTWT9RDxqgMfRcKP","shortId":"6jl7","title":"Zero-Downtime Canary Deployment Script","description":"Bash script that starts a new Docker container alongside the old one, health checks it, then swaps traffic atomically. Rolls back on failure.","contentType":"code","message":null,"creator":null,"tags":["devops","docker","deployment","bash","zero-downtime"],"createdAt":"2026-04-07T20:34:06.380Z","expiresAt":null,"url":"https://wr.fi/6jl7","provenance":{"tool":"Claude"},"generation":{"model":"claude-opus-4-6","provider":"anthropic"},"promptChain":null,"modelInterpretation":null,"cost":null,"environment":null,"task":null,"status":null,"acceptance":null,"claim":null,"versionHash":null,"version":1,"lifecycle":{"accessMode":"permanent","visibility":"public","protection":"none","maxRecipientViews":null,"recipientViewsUsed":null,"ownerViewsConsume":false,"writerViewsConsume":false,"expiresAt":null,"deleteTrigger":null,"serverCanRead":true,"researchEligible":true},"tokenEstimate":{"est":926,"method":"wrfi-h1"},"isOpenEdit":false,"artifacts":[{"filename":"deploy-canary.sh","mimeType":"text/x-shellscript","sizeBytes":3333,"tokenEstimate":{"est":926,"method":"wrfi-h1"},"role":null,"url":"https://wr.fi/api/artifacts/134bb3db0e0a98a4f841e8d0e1d2665329667b7612e699142f04e9c4683f4560"}]}