Skip to content

ci: bump kubectl rollout-status timeout 180s → 300s - #35

Merged
mastermanas805 merged 3 commits into
masterfrom
ci/bump-rollout-timeout-300s
May 30, 2026
Merged

ci: bump kubectl rollout-status timeout 180s → 300s#35
mastermanas805 merged 3 commits into
masterfrom
ci/bump-rollout-timeout-300s

Conversation

@mastermanas805

Copy link
Copy Markdown
Member

Why

Today's api PR #198 (CORS fix) deploy timed out at 180s even though the new ReplicaSet came up healthy. The rollout actually took ~240s on a fresh node with a cold image pull. The job exited red, prod was correct, and the false-failure forced a manual rerun.

Provisioner has the same pattern.

What

  • `kubectl rollout status … --timeout=180s` → `--timeout=300s`

Surface (rule 22)

Same change shipping simultaneously in:

Coverage (rule 17)

YAML-only, no binary change. CI itself is the gate. No Go diff.

Sites found: 3 (api, worker, provisioner)
Sites touched: 3

Manas Srivastava and others added 3 commits May 29, 2026 23:30
…Timeout

Closes SEC-PROV finding (audit wave 2026-05-29): NewDedicatedProvider used
`&http.Client{}` with NO timeout for the Neon Management API path. A hung
Neon connection would wedge the provisioning gRPC handler (and any caller
— worker storage tick, regrader) indefinitely, piling up goroutines until
OOM.

NeonBackend already bounds its client at neonHTTPTimeout (30s); the
DedicatedProvider path was an oversight in the same family.

Fix: 1-line — set Timeout on the &http.Client literal. Reuses the existing
constant so any future tuning lands in one place.

Production LOC delta: 1 functional + 5 comment lines.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Today's api #198 deploy timed out at 180s even though the new
ReplicaSet came up healthy (rollout actually took ~240s on a fresh
node with a cold image pull). Provisioner has the same pattern.

Bumping to 300s removes the false-failure rerun cycle. Same change
ships simultaneously in api + worker deploy.yml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mastermanas805
mastermanas805 merged commit eeb33ab into master May 30, 2026
12 checks passed
@mastermanas805
mastermanas805 deleted the ci/bump-rollout-timeout-300s branch May 30, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant