spawn/test
A c7bbe8bc3b
refactor: extract generic _live_create_delete_cycle in test/record.sh (#818)
The 5 per-cloud live recording functions (_live_hetzner, _live_digitalocean,
_live_vultr, _live_linode, _live_civo) each duplicated 50-65 lines of
identical create->save->extract-id->delete->save logic. Extract a generic
_live_create_delete_cycle helper that handles the shared flow, with per-cloud
body builder functions providing only the cloud-specific parts.

Reduces test/record.sh by 112 lines (1016 -> 904) while preserving all
behavior including cloud-specific delete delays and empty-response fallbacks.

Agent: complexity-hunter

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-12 23:52:51 -08:00
..
fixtures QA-Bot setup (#335) 2026-02-10 19:51:07 -08:00
mock.sh refactor: extract helpers from run_test() in test/mock.sh (#713) 2026-02-12 15:01:49 -08:00
qa-dry-run.sh feat: qa bot and emails (#565) 2026-02-11 20:19:45 -08:00
record.sh refactor: extract generic _live_create_delete_cycle in test/record.sh (#818) 2026-02-12 23:52:51 -08:00
run.sh refactor: extract helpers from run_script_test and run_shellcheck in test/run.sh (#776) 2026-02-12 17:19:32 -08:00
update-readme.py QA-Bot setup (#335) 2026-02-10 19:51:07 -08:00