backupy-agent/apps/agent/internal
TronoSfera ff8882d864 fix(pipeline): pass-through compressed bytes when encryption_enabled=false
Previously the runner unconditionally invoked the passthrough DEK
resolver, which required a 32-byte key. Jobs configured with
encryption_enabled=false arrive with EncryptedDek=nil and the resolver
returned an 'expected 32-byte DEK, got 0' error, failing every run.

When EncryptedDek is empty the runner now skips the encrypt stage and
io.Copy()s the compressed stream straight into the upload pipe. The
encrypted_dek on BackupCompleted stays empty as well, matching the
server's expectation for an un-encrypted run.
2026-05-18 17:49:26 +03:00
..
config fix(agent): env vars BACKUPY_* and accept 64-hex agent keys 2026-05-18 14:17:54 +03:00
discovery feat(initial): Backupy agent + backupy-decrypt CLI 2026-05-17 20:22:35 +03:00
logging fix(agent): env vars BACKUPY_* and accept 64-hex agent keys 2026-05-18 14:17:54 +03:00
metrics feat(initial): Backupy agent + backupy-decrypt CLI 2026-05-17 20:22:35 +03:00
pipeline fix(pipeline): pass-through compressed bytes when encryption_enabled=false 2026-05-18 17:49:26 +03:00
proto feat(initial): Backupy agent + backupy-decrypt CLI 2026-05-17 20:22:35 +03:00
queue feat(initial): Backupy agent + backupy-decrypt CLI 2026-05-17 20:22:35 +03:00
state fix(agent): env vars BACKUPY_* and accept 64-hex agent keys 2026-05-18 14:17:54 +03:00
version feat(initial): Backupy agent + backupy-decrypt CLI 2026-05-17 20:22:35 +03:00
wss fix(agent): env vars BACKUPY_* and accept 64-hex agent keys 2026-05-18 14:17:54 +03:00