Steve Yegge
265b142dc5
test: add comprehensive orphan handling mode tests
- TestOrphanHandling_Strict: Verifies import fails on missing parent
- TestOrphanHandling_Resurrect: Verifies parent tombstone creation
- TestOrphanHandling_Skip: Verifies orphans are skipped with warning
- TestOrphanHandling_Allow: Verifies orphans import without validation
- TestOrphanHandling_Config: Tests config reading with all modes + defaults
- TestOrphanHandling_NonHierarchical: Verifies flat IDs work in all modes
Also fixes batch_ops_test.go to pass OrphanHandling parameter to generateBatchIDs.
All tests pass. Closes bd-968f
Amp-Thread-ID: https://ampcode.com/threads/T-fd18d4a5-06b3-4400-9073-194d570846d8
Co-authored-by: Amp <amp@ampcode.com>
2025-11-05 00:02:57 -08:00
..
2025-11-03 22:01:37 -08:00
2025-11-04 23:12:42 -08:00
2025-11-02 22:17:08 -08:00
2025-11-02 15:39:00 -08:00
2025-11-02 20:30:31 -08:00
2025-11-04 23:59:50 -08:00
2025-11-04 23:12:42 -08:00
2025-11-04 23:12:42 -08:00
2025-11-05 00:02:57 -08:00
2025-11-02 15:37:57 -08:00
2025-11-04 11:25:36 -08:00
2025-11-04 23:12:39 -08:00
2025-11-03 12:02:15 -08:00