Skip to content

fix: skip runtime special files in backups#5

Merged
gaoguobin merged 2 commits into
mainfrom
codex/skip-special-files-backup
May 20, 2026
Merged

fix: skip runtime special files in backups#5
gaoguobin merged 2 commits into
mainfrom
codex/skip-special-files-backup

Conversation

@gaoguobin
Copy link
Copy Markdown
Owner

Summary: exclude .venv runtime directories, skip symlinks/sockets/FIFOs/devices as non-regular files, keep stat/walk failures as backup errors, validate archive member types in list-backups, and mark backups with manifest errors, failed SQLite checks, or invalid archives as failed. Tests: python -m unittest discover -s tests; python -m compileall src scripts; quick_validate for both skills; git diff --check. Added coverage for .venv symlink exclusion, Unix socket skipping, backup ok, archive sha256, restore dry-run, failed manifest listing, and invalid archive listing.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9558e45736

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/test_core.py Outdated
@gaoguobin gaoguobin merged commit 5a3feb8 into main May 20, 2026
5 checks passed
@gaoguobin gaoguobin deleted the codex/skip-special-files-backup branch May 20, 2026 06:01
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