Repository navigation
chore(bin): remove tracked sessions.json (proxy session state lives in state dirs) - #3213
Conversation
…in state dirs now (#3067) The file was the CLI proxies shared key->session map back when it was anchored to the scripts own directory. Since #3072 the commandcode and claude-code units pin their *_PROXY_SESSION_FILE to ~/.local/state/cli-proxies/sessions.json, codex-proxy keeps its map under ~/.local/state/codex-proxy, and the opencode-route and design-code proxies keep no session map at all. Verified live 2026-10-31 by process environment and source inspection: no running proxy reads or writes this path. Keeping it tracked only dirtied the primary checkout and blocked pm-git-sync. Deliberately not gitignored (Drews rule): a future regression writing here should show up as dirt, not be hidden.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 10 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Completes the #3067 close-out. The env-pin fix (#3072) already closed the issue; this removes the now-dead tracked file.
Since #3072, the commandcode and claude-code proxy units pin *_PROXY_SESSION_FILE to ~/.local/state/cli-proxies/sessions.json; codex-proxy keeps its map under ~/.local/state/codex-proxy; the opencode-route and design-code proxies keep no session map. Verified live 2026-10-31 by process environment and source inspection: no running proxy reads or writes bin/sessions.json, and the state-dir map is actively written (15:19 CDT today) with different, newer content.
Deliberately NOT gitignored (Drews rule): if a proxy ever regresses to writing at this path, it should show up as dirt in the primary checkout, not be hidden. Removing the tracked copy ends the primary-checkout dirtying that blocked pm-git-sync.
Need help on this PR? Tag
@codesmith-botwith what you need.