The GitHub Actions job "Benchmarks PR Comment" on texera.git/main has failed.
Run started by GitHub user zyratlo (triggered by zyratlo).

Head commit for run:
8a90f1f667c44bc26c0faf9eee619392e3f57ddf / Tanishq Gandhi 
<[email protected]>
fix(dev): update single-node restart policy (#5752)

### What changes were proposed in this PR?

This PR updates the single-node Docker Compose restart policy for
long-running services from `always` to `unless-stopped`.

This keeps automatic restart behavior for service stability, while
preventing containers from automatically restarting after a user
explicitly stops them.

One-shot jobs that already use `restart: "no"` are unchanged.

### Any related issues, documentation, discussions?

Closes #4039

### How was this PR tested?

Manually ran:

```bash
docker compose -f bin/single-node/docker-compose.yml up -d --force-recreate
```

Verified the updated restart policy:
```bash
docker inspect texera-postgres texera-lakefs dashboard-service litellm \
  --format '{{.Name}} {{.HostConfig.RestartPolicy.Name}}'
```

Confirmed the long-running services use unless-stopped.

Also ran:
```bash
docker compose -f bin/single-node/docker-compose.yml config --quiet
```

### Was this PR authored or co-authored using generative AI tooling?

No

Report URL: https://github.com/apache/texera/actions/runs/27718304603

With regards,
GitHub Actions via GitBox

Reply via email to