Skip to content

fix(poolside): correct Linux default directory to .local/state/poolside - #1258

Merged
mariusvniekerk merged 2 commits into
kenn-io:mainfrom
scross01:fix/poolside-linux-path
Jul 24, 2026
Merged

fix(poolside): correct Linux default directory to .local/state/poolside#1258
mariusvniekerk merged 2 commits into
kenn-io:mainfrom
scross01:fix/poolside-linux-path

Conversation

@scross01

Copy link
Copy Markdown
Contributor

Poolside stores trajectory files under the XDG state directory (~/.local/state/poolside/trajectories/), not the data directory. The merged PR #1241 used the wrong path, preventing session discovery.

Poolside stores trajectory files under the XDG state directory
(~/.local/state/poolside/trajectories/), not the data directory.
The merged PR kenn-io#1241 used the wrong path, preventing session discovery.
@roborev-ci

roborev-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown

roborev: Combined Review (9f0b3d8)

Changes are directionally correct, but stale test fixtures cause failures and a vacuous pass.

Medium

  • internal/ssh/resolve_test.go:716, internal/remotesync/resolve_test.go:344 — Poolside fixtures still use .local/share, while the SSH resolver now searches .local/state. This breaks the trajectory and SSH/Go parity tests, and allows the missing-directory test to pass vacuously. Update fixture paths and expected suffixes to .local/state/poolside.

Reviewers: 2 done | Synthesis: codex, 7s | Total: 1m22s

Stale .local/share fixtures missed by the initial path fix. The SSH
resolver now searches .local/state, so tests using the old path would
pass vacuously.
@roborev-ci

roborev-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown

roborev: Combined Review (99216b7)

No issues found.


Reviewers: 2 done | Synthesis: codex | Total: 1m34s

@mariusvniekerk
mariusvniekerk merged commit 0d7e061 into kenn-io:main Jul 24, 2026
13 checks passed
mjacobs added a commit that referenced this pull request Jul 24, 2026
Poolside support in #1241 registered three platform-specific default directories behind the single `POOLSIDE_DIR` override. The SSH resolver evaluates that override while iterating each default, so a non-empty override emits the same `trajectories` target three times. The Linux fallback correction in #1258 changed one default path but did not cause or resolve this duplication.

Deduplicate resolved directory targets per agent before archive construction, preserving first-seen order and allowing different agents to share a path independently. Strengthen the Poolside override regression to require one parsed transfer target. This addresses the post-merge roborev finding on #1241.

Co-authored-by: Matthew Jacobs <mjacobs@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants