The export Job was using a stale platform Secret (s3-backup-creds) and hardcoded bucket/endpoint, so bundles landed in odoosky-v3-backups while Tower's verify (tenant-scoped after Phase F) read from the tenant's bucket. Result: 'bundle missing from S3 after job succeeded' even though the upload itself worked. Same bug existed in import. Both fixed: keys+region+endpoint+bucket now come from Tower's resolver view of the tenant, passed directly into the Job env. Plus: BackupsView crashed on r.backups.runs.length when runs is null. Added the missing null guard.
2.0 KiB
2.0 KiB