unarr/internal
Deivid Soto 271413e0f9 fix(usenet): fsync delivered files before reporting complete
Symmetric hardening with the debrid fix (2026-06-15 NFS write-back race):
the prod download dir is a network mount and usenet post-processing reads
files back for par2 from the page cache while the write-back to the server
can still lag. A later open (organize/stream/ffprobe) would then see a
short file. fsync the delivered file (or every regular file in a multi-file
release directory) and surface any write-back error before returning.

Also report the real content size for directory deliveries (walk instead
of the dir inode size) and fail an empty delivery.

Add syncTree/syncFile + tests.
2026-06-15 17:21:17 +02:00
..
acme feat(agent): per-agent direct-TLS cert client + HTTPS listener wiring 2026-06-05 12:09:46 +02:00
agent feat(downloads): ordered preferred_methods list honored for web tasks 2026-06-14 12:51:32 +02:00
arr feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
cmd chore(release): 1.1.6-beta 2026-06-15 17:12:33 +02:00
config feat(downloads): ordered preferred_methods list honored for web tasks 2026-06-14 12:51:32 +02:00
engine fix(usenet): fsync delivered files before reporting complete 2026-06-15 17:21:17 +02:00
funnel feat(subtitles): subtitle-fetch jobs vía sync + auto-fetch opcional en scan 2026-06-10 14:48:35 +02:00
library feat(library): detección de intro/créditos post-scan (skip segments) 2026-06-12 19:46:07 +02:00
mediaserver feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
parser feat: initial commit — unarr CLI 2026-03-28 11:29:42 +01:00
sentry refactor(sentry): decouple agent import via string-match, rename predicate 2026-05-27 17:03:26 +02:00
ui fix(ci): fix lint errors and pin CI to Go 1.25 2026-03-31 22:15:12 +02:00
upgrade test(upgrade): exercise the real signed checksum flow, not a bypass 2026-06-04 08:47:24 +02:00
usenet fix(agent): surface par2/install/NFS failures instead of degrading silently 2026-06-01 15:52:54 +02:00
vpn feat(subtitles): subtitle-fetch jobs vía sync + auto-fetch opcional en scan 2026-06-10 14:48:35 +02:00