Repository navigation
refactor(gateway): default gateway binary and logs to the home dir - #1129
Merged
Merged
Conversation
downloadBinary() targets ~/.infer/bin and gateway/CLI logs default to config.DefaultLogsDir() (~/.infer/logs), honoring an explicit logging.dir; the daemon-only home override in ConfigureDaemonLogging() collapses into the shared default. bin/ and logs/*.log leave the seeded project gitignore since nothing writes them to the project dir; in-repo docs updated. No migration - old project .infer/bin and .infer/logs are simply orphaned (per issue).
inference-gateway-maintainer
Bot
requested a review
from a team
as a code owner
August 30, 2026 13:49
4 tasks
edenreich
reviewed
Aug 30, 2026
Co-authored-by: Eden Reich <[email protected]>
edenreich
reviewed
Aug 30, 2026
edenreich
reviewed
Aug 30, 2026
Co-authored-by: Eden Reich <[email protected]>
4 tasks
Contributor
|
🎉 This PR is included in version 0.185.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #1123
Summary
Makes ~/.infer/ the single default location for machine-scoped state: the downloaded gateway binary now lands in ~/.infer/bin/ (one shared copy per machine instead of one per project), and both CLI and gateway logs default to ~/.infer/logs/. The daemon-only home fallback in ConfigureDaemonLogging() collapses into the new default, and an explicit logging.dir config value still wins everywhere. Per the issue there is no backward compatibility or migration - old project-local .infer/bin and .infer/logs in projects are simply orphaned.
Changes
Trigger
Comment from @edenreich asking to implement this task.