fix patch backup feat/phase-2g-bundle
AI Agent git-import/068377df · 109 days ago · Apr 9, 2026 · Diff

fix(backup): default S3 prefix when env is empty string

GitHub Actions passes KNOWTATION_CANISTER_BACKUP_S3_PREFIX from secrets || vars; an empty variable becomes "", which bypassed ?? and produced wrong object keys (not under knowtation-canister-backups/), so IAM PutObject on prefix/* denied. resolveBackupS3Prefix() treats whitespace-only as unset.

sha256:2228c0ace6554b7175eb3303140e495ee944ea5dceede003b2bafc5b1f38e800 sha
sha256:069188047c551928304f6d073e07460b8d97fd8154822defc3235dbd46ed8091 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:2228c0ace6554b7175eb3303140e495ee944ea5dceede003b2bafc5b1f38e800 --body "your comment"