7f52375115
chore: add assets config template and update gitignore
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 18:17:54 +08:00
81feca7814
feat: add --count option to scan command for limiting records scanned
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 17:24:32 +08:00
3d40a44d91
docs: add README
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 16:59:46 +08:00
ca5f5fb06d
feat: add integration tests and seed script for Azure Storage emulator
...
- scripts/seed_test_data.py: seeds 45 orders (30 Recived + 15 Payed) across
5 users and 3 days into the emulator
- tests/test_integration.py: full pipeline test (seed → scan → backup → delete)
with table cleanup before/after
- pytest marker "integration" to separate from unit tests
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 16:21:07 +08:00
a36bfcc0f0
refactor: fix review issues — reuse entity_to_row, public parse_row, validate dates
...
- scan.py: use entity_to_row from csv_utils instead of duplicated _fmt
- csv_utils: rename _parse_row to parse_row (public API)
- backup.py: use public parse_row
- cli.py: validate --start < --end in backup command
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 16:06:51 +08:00
57c985ee3e
feat: delete command — batch delete from CSV with confirmation
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 16:02:06 +08:00
cb7d9212e0
feat: backup command — filter scan CSV by state and date range
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 15:57:36 +08:00
b135a49de5
fix: stream scan writes instead of accumulating in memory
2026-04-21 15:53:50 +08:00
8070f2f99b
feat: scan command — full table scan to CSV with throttling
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 15:52:42 +08:00
dd5edfe03c
feat: CSV utilities for order entity serialization
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 15:50:23 +08:00
3239fd1032
feat: config module with TOML loading
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 15:05:55 +08:00
f0ea821d49
chore: add .gitignore and remove cached bytecode
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 15:00:01 +08:00
910be27cc4
feat: project scaffold with uv, click, azure-data-tables
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-21 14:59:11 +08:00
1ae84e994a
initial: project docs and design spec
2026-04-21 14:51:56 +08:00