spawn/test
A 5f39b035c6
refactor: extract credential loading helpers to reduce complexity in test/record.sh (#1348)
Split credential loading logic into focused helper functions:
- _export_env_vars_from_fields: Extract array export logic (16 lines)
- _load_single_token_config: Extract single-token loading (14 lines)

Changes:
- try_load_config reduced from 39 to 28 lines (28% reduction)
- _load_multi_config_from_file reduced from 38 to 26 lines (32% reduction)
- Eliminated duplicate env var validation logic
- Improved readability with clear separation of concerns

All 80 tests passing. No functional changes.

Agent: complexity-hunter

Co-authored-by: spawn-bot <bot@openrouter.ai>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-16 20:23:49 -05:00
..
fixtures feat: trim to 9 curated launch clouds, upvote-driven discovery (#1184) 2026-02-15 00:19:39 -08:00
mock-curl-script.sh feat: trim to 9 curated launch clouds, upvote-driven discovery (#1184) 2026-02-15 00:19:39 -08:00
mock.sh feat: trim to 9 curated launch clouds, upvote-driven discovery (#1184) 2026-02-15 00:19:39 -08:00
qa-dry-run.sh feat: qa bot and emails (#565) 2026-02-11 20:19:45 -08:00
record.sh refactor: extract credential loading helpers to reduce complexity in test/record.sh (#1348) 2026-02-16 20:23:49 -05:00
run.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
update-readme.py QA-Bot setup (#335) 2026-02-10 19:51:07 -08:00