Skip to content

fix: stop reconnecting SSH before every file by default (#17)#27

Merged
jepegit merged 4 commits into
mainfrom
cursor/17-stop-ssh-reconnect-61c6
Jul 17, 2026
Merged

fix: stop reconnecting SSH before every file by default (#17)#27
jepegit merged 4 commits into
mainfrom
cursor/17-stop-ssh-reconnect-61c6

Conversation

@jepegit

@jepegit jepegit commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

Closes #17 (REL-01): Worker no longer reconnects the destination connector before every changed file by default (SSH session thrashing).

  • Default Worker.reconnect is False
  • Factories (simple_worker, ssh_worker, sharepoint_worker) accept reconnect= and honor OELEO_RECONNECT when the kwarg is omitted
  • Failed moves still reconnect once and retry (unchanged)
  • README / .env_example document the opt-in
  • Unit tests cover skip / opt-in / fail-path / env resolution
  • Issue-flow tracking archived under .issueflows/03-solved-issues/

Test plan

  • uv run pytest -m "not ssh" — 25 passed (5 new reconnect tests)
  • Confirm scheduled app/oa.pyw SSH runs keep a single session unless OELEO_RECONNECT=true
Open in Web Open in Cursor 

cursoragent and others added 4 commits July 16, 2026 20:16
Stop thrashing SSH sessions by skipping per-file reconnect unless
operators opt in via Worker/factory reconnect= or OELEO_RECONNECT.
Failed moves still reconnect once and retry.

Co-authored-by: Jan Petter Maehlen <jepe@ife.no>
Co-authored-by: Jan Petter Maehlen <jepe@ife.no>
Move issue #17 original/plan/status into 03-solved-issues after
REL-01 reconnect default fix landed and tests passed.

Co-authored-by: Jan Petter Maehlen <jepe@ife.no>
Co-authored-by: Jan Petter Maehlen <jepe@ife.no>
@jepegit
jepegit marked this pull request as ready for review July 17, 2026 15:33
@cursor

cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jepegit
jepegit merged commit 578c125 into main Jul 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stop reconnecting SSH before every file by default

2 participants