Skip to content

fix(ssh): support macOS tar during file sync - #26154

Closed
verybigdog wants to merge 1 commit into
NousResearch:mainfrom
verybigdog:fix/ssh-macos-tar-sync
Closed

fix(ssh): support macOS tar during file sync#26154
verybigdog wants to merge 1 commit into
NousResearch:mainfrom
verybigdog:fix/ssh-macos-tar-sync

Conversation

@verybigdog

Copy link
Copy Markdown
Contributor

Summary

  • Detect whether the remote tar supports GNU --no-overwrite-dir before SSH bulk uploads
  • Fall back to macOS/bsdtar-compatible extraction with tar xmf - -C /
  • Add regression tests for GNU tar vs bsdtar command selection

Test Plan

  • python -m pytest tests/tools/test_ssh_environment.py -q

Context

SSH workers targeting macOS currently hit a persistent file-sync warning because macOS ships bsdtar, which rejects GNU tar's --no-overwrite-dir. The fallback keeps GNU tar's safer behavior where available while allowing macOS SSH environments to sync cleanly.

@verybigdog

Copy link
Copy Markdown
Contributor Author

Closed by author request: this change was opened against the upstream repository by mistake. We will route it through the maintained downstream/fork workflow instead.

@verybigdog verybigdog closed this May 15, 2026
@verybigdog
verybigdog deleted the fix/ssh-macos-tar-sync branch May 15, 2026 06:18
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists backend/ssh SSH remote execution backend/file-sync File sync across remote backends labels May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend/file-sync File sync across remote backends backend/ssh SSH remote execution P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants