You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Recording transfer must reject unreadable folders and unsafe destination paths #191
Reported error
Agent-discovered pre-PR reproductions using synthetic data (no user-pasted error):
Unreadable nested recording folder: run_pending returned 0 errors, status Complete, and a completion manifest omitting that folder.
Existing .transfer-partial hardlink: opening the destination partial with wb truncated the original source data to zero bytes before verification failed.
Destination junction: transfer failed after overwriting an unrelated file outside the approved destination.
Regression test apps/recording-transfer/tests/test_transfer_integrity.py:
All three failed against the initial uncommitted implementation before the fixes and pass in PR #190. The app did not exist on master base 372a626, so the failing pre-fix version was not a historical committed release. The test output/review findings were recorded locally first because the environment token rejected issue creation; the user authorized that fallback. This issue backfills that record using the existing Git credential.
Root cause
The old apps/recording-transfer/src/u19_recording_transfer/app.py implementation used Path.rglob in inventory, suppressing scan errors; copy_job opened a predictable .transfer-partial path with wb; and destination-tree link checks ran after writes. The fix propagates scan errors, rejects linked destinations before writes, and exclusively creates unpredictable temporary files for copying and JSON publication.
Activity