Skip to content

tilt down hangs when offline due to git pull in extension directory #6546

@beatak

Description

@beatak

Expected Behavior

I should be able to run tilt down regardless of my internet connection status.

Current Behavior

When I try to run tilt down while offline, the command gets stuck. It appears to be attempting the following behind the scenes before executing command hooks or proceeding with the normal teardown process:

cd "$LIBRARY_DIR/tilt-dev/tilt_modules/github.com/tilt-dev/tilt-extensions"; git pull

Steps to Reproduce

  1. Run tilt up on a Tiltfile that uses extensions (while online)
  2. Disconnect from the internet
  3. Run tilt down

Context

Tilt: v0.34.2, built 2025-04-09
System: darwin-arm64
---
Docker
- Host: unix:///var/run/docker.sock
- Server Version: 26.1.5
- API Version: 1.45
- Builder: 2
- Compose Version: v2.33.0
---
Kubernetes
- Env: rancher-desktop
- Context: rancher-desktop
- Cluster Name: rancher-desktop
- Namespace: default
- Container Runtime: docker
- Version: v1.30.11+k3s1
- Cluster Local Registry: none

About Your Use Case

I was just trying to work outside the office, offline. Ideally, tilt down should still work in this scenario without getting blocked by a failed network operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions