Skip to content

Infra disk exhaustion incident (cloud + CI previews) #1176

Description

@ClaireGz

What happened (chronologically)

  1. The disk filled up on our infra — both the cloud app volume (/app/projects) and the CI PR-preview host ran out of space ("no space left on device").
  2. On the cloud, importing a GitHub project started failing with ENOSPC: no space left on device when creating the import temp dir.
  3. Still on the cloud, "Pull latest" also failed — with no space, git couldn't even write its .git/config.lock file, surfacing a confusing git error to the user (see Cloud git sync breaks permanently on stale .git/config.lock #1174).
  4. On CI, the PR preview host was out of disk, so Docker couldn't pull/extract the PR image → the preview container was never created → nginx had nothing to route to → 502 (with a stale "Not Secure" fallback). The deploy script swallowed the Docker error and reported "✅ success", so CI stayed green and nobody was alerted.
  5. Disk was freed by manually running the Nightly cleanup workflow (.github/workflows/remove-old-artifacts.yml). Cloud and CI are working again.

What was impacted

  • Cloud: GitHub project import and "Pull latest" both broken for affected projects.
  • CI: PR preview deployments returned 502 / broken cert, while CI falsely reported success.

Status

Resolved for now (disk manually cleaned). Kept open because the recovery was manual and the fallback needs to be improved so this doesn't recur silently.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions