feat: add backup.retain_days config and local docker-compose for integration tests

- Add [backup] retain_days to config (default 1); --days becomes optional
- Add scripts/docker-compose.yml (azurite) for local integration testing
- Integration tests now use assets/local.toml and localhost endpoints
- Update .gitignore and CLAUDE.md accordingly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-22 13:27:24 +08:00
parent 673ad95bcb
commit bc119ff2ae
10 changed files with 38 additions and 7 deletions

View File

@@ -9,6 +9,9 @@ connection_string = ""
# delay_ms = 200
# scan_dir = "./scan"
[backup]
# retain_days = 1
[delete]
# batch_size = 100
# delay_ms = 300

View File

@@ -7,6 +7,9 @@ page_size = 500
delay_ms = 200
scan_dir = "./scan"
[backup]
retain_days = 1
[delete]
batch_size = 100
delay_ms = 300

View File

@@ -7,6 +7,9 @@ page_size = 500
delay_ms = 200
scan_dir = "./scan"
[backup]
retain_days = 1
[delete]
batch_size = 100
delay_ms = 300

View File

@@ -7,6 +7,9 @@ page_size = 500
delay_ms = 200
scan_dir = "./scan"
[backup]
retain_days = 1
[delete]
batch_size = 100
delay_ms = 300