You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "tanishqgandhi1908 (via GitHub)" <gi...@apache.org> on 2026/06/17 05:36:21 UTC

[PR] fix(dev): update single-node restart policy [texera]

tanishqgandhi1908 opened a new pull request, #5752:
URL: https://github.com/apache/texera/pull/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
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(dev): update single-node restart policy [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #5752:
URL: https://github.com/apache/texera/pull/5752#issuecomment-4726411374

   <!-- texera:template-compliance -->
   👋 Thanks for opening this pull request, @tanishqgandhi1908!
   
   It looks like the pull request description doesn't quite follow our template yet:
   
   - The **Was this PR authored or co-authored using generative AI tooling?** section is missing; please keep the template's headings.
   
   Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
   
   You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(dev): update single-node restart policy [texera]

Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on PR #5752:
URL: https://github.com/apache/texera/pull/5752#issuecomment-4727143506

   do we need to backport this to v1.2? @tanishqgandhi1908 @aglinxinyuan 
   
   cc @xuang7 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(dev): update single-node restart policy [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan merged PR #5752:
URL: https://github.com/apache/texera/pull/5752


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org