Skip to content

Fix database backup permissions in GitHub Actions#277

Merged
0xroylee merged 2 commits into
mainfrom
codex/fix-github-actions-failure
May 30, 2026
Merged

Fix database backup permissions in GitHub Actions#277
0xroylee merged 2 commits into
mainfrom
codex/fix-github-actions-failure

Conversation

@0xroylee

Copy link
Copy Markdown
Owner

Summary

  • Preserve the copied PostgreSQL data directory permissions after fs.cp so the backup can be reopened on Linux.
  • Remove stale postmaster.pid and postmaster.opts files from copied backups.
  • Add coverage for the backup script to verify the copied backup can be reopened and the runtime files stay out.

Testing

  • bun run --filter devos-db check
  • bun run --filter devos-db typecheck
  • bun run --filter devos-db test
  • bun run check
  • bun run typecheck
  • bun test
  • Verified the fix in a Linux container reproduction of the failing database test lane

@0xroylee 0xroylee merged commit 307e30b into main May 30, 2026
10 checks passed
@0xroylee 0xroylee deleted the codex/fix-github-actions-failure branch June 21, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant