molecule-ci/scripts
Molecule AI Infra-SRE dd1dd9548c sre(runners): add graceful runner restart script with unit tests
Implements bin/runners-restart-safe.sh per internal#263/internal#262 spec.
Before restarting a runner container, waits for any active Gitea Actions
task to complete. After restart, verifies re-registration via
'declare successfully' log line.

Includes 4 unit tests (all passing, ShellCheck clean):
- all runners missing (pass)
- idle runner restarts ok (pass)
- missing declare log line (fail expected)
- busy runner skipped (pass)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 04:11:14 +00:00
..
check-secrets.py fix(CI): replace grep secrets check with Python scanner 2026-04-21 11:04:51 +00:00
migrate-template.py fix(validator): address post-merge review findings on #17 + #18 (#19) 2026-04-28 12:17:44 -07:00
requirements.txt ci: streamline workflows, add timeouts, and cache pip 2026-04-20 04:54:35 +00:00
test_migrate_template.py feat(validator): schema-version dispatch + migrate-template.py framework (#18) 2026-04-28 12:07:04 -07:00
test_runners_restart_safe.py sre(runners): add graceful runner restart script with unit tests 2026-05-11 04:11:14 +00:00
test_validate_workspace_template.py fix(validator): handle abstract intermediates + class-aliasing + lock GITHUB_TOKEN scope (#21) 2026-04-28 12:27:09 -07:00
validate-org-template.py fix: skip non-dict entries from !include in org validator 2026-04-16 04:52:45 -07:00
validate-plugin.py ci: streamline workflows, add timeouts, and cache pip 2026-04-20 04:54:35 +00:00
validate-workspace-template.py ci: lock down validate-workspace-template against fork-PR untrusted code (P135) 2026-04-30 01:07:58 -07:00