I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none.
## What and why
Closes #
## Verified
The commands you ran and links to the CI runs.
## Not verified
What was not tested, said plainly, or "Nothing".
---
- [ ] I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none.
Removing timeout-minutes left the sweep step's 45 minute bound without
the job timeout it must equal, and the script test that holds the two
equal failed with a KeyError. Restore the key at 90 minutes, which also
leaves a full run under load (PR #405 took 44m53s) real margin, and move
the sweep bound to match so a live run's containers are never removed.
Assisted-by: Claude Code
Lint failed on this PR with one error: test_the_sweep_spares_containers_younger_than_the_job_timeout reads jobs.molecule.timeout-minutes, and removing the key raises KeyError: 'timeout-minutes' (Lint run 5965).
That test holds the sweep step's date -d '45 minutes ago' equal to the job timeout, because a shorter sweep bound would remove the containers of a run still going. With no timeout the job can outlive the 45-minute bound, so the sweep needed a new anchor.
I pushed one commit on top of your head (18475ea, fast-forward, nothing rewritten) that restores timeout-minutes: 90 on the molecule job and moves the sweep to 90 minutes ago. The test passes locally (module run: 16 tests OK) and the commit hooks passed. CI on the new head is not verified yet. Your removal of the image.yml timeout is untouched.
Why 90 rather than removing it: a full run under load takes about 45 minutes (PR #405's Molecule run took 44m53s), so 45 left no margin, and without any timeout a hung run holds the single-slot runner for as long as Gitea or the runner allows (I did not check that default). The tradeoff is that leftovers of a cancelled or crashed run now live up to 90 minutes before the next sweep removes them.
If you removed the timeout on purpose, tell me and I will revert my commit (as a new commit) and instead update the test and the sweep bound to whatever you want the anchor to be.
Assisted-by: Claude Code
Lint failed on this PR with one error: `test_the_sweep_spares_containers_younger_than_the_job_timeout` reads `jobs.molecule.timeout-minutes`, and removing the key raises `KeyError: 'timeout-minutes'` (Lint run 5965).
That test holds the sweep step's `date -d '45 minutes ago'` equal to the job timeout, because a shorter sweep bound would remove the containers of a run still going. With no timeout the job can outlive the 45-minute bound, so the sweep needed a new anchor.
I pushed one commit on top of your head (18475ea, fast-forward, nothing rewritten) that restores `timeout-minutes: 90` on the molecule job and moves the sweep to `90 minutes ago`. The test passes locally (module run: 16 tests OK) and the commit hooks passed. CI on the new head is not verified yet. Your removal of the `image.yml` timeout is untouched.
Why 90 rather than removing it: a full run under load takes about 45 minutes (PR #405's Molecule run took 44m53s), so 45 left no margin, and without any timeout a hung run holds the single-slot runner for as long as Gitea or the runner allows (I did not check that default). The tradeoff is that leftovers of a cancelled or crashed run now live up to 90 minutes before the next sweep removes them.
If you removed the timeout on purpose, tell me and I will revert my commit (as a new commit) and instead update the test and the sweep bound to whatever you want the anchor to be.
Assisted-by: Claude Code
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What and why
Closes #
Verified
The commands you ran and links to the CI runs.
Not verified
What was not tested, said plainly, or "Nothing".
NOTICEandREUSE.toml, or there is none.Lint failed on this PR with one error:
test_the_sweep_spares_containers_younger_than_the_job_timeoutreadsjobs.molecule.timeout-minutes, and removing the key raisesKeyError: 'timeout-minutes'(Lint run 5965).That test holds the sweep step's
date -d '45 minutes ago'equal to the job timeout, because a shorter sweep bound would remove the containers of a run still going. With no timeout the job can outlive the 45-minute bound, so the sweep needed a new anchor.I pushed one commit on top of your head (
18475ea, fast-forward, nothing rewritten) that restorestimeout-minutes: 90on the molecule job and moves the sweep to90 minutes ago. The test passes locally (module run: 16 tests OK) and the commit hooks passed. CI on the new head is not verified yet. Your removal of theimage.ymltimeout is untouched.Why 90 rather than removing it: a full run under load takes about 45 minutes (PR #405's Molecule run took 44m53s), so 45 left no margin, and without any timeout a hung run holds the single-slot runner for as long as Gitea or the runner allows (I did not check that default). The tradeoff is that leftovers of a cancelled or crashed run now live up to 90 minutes before the next sweep removes them.
If you removed the timeout on purpose, tell me and I will revert my commit (as a new commit) and instead update the test and the sweep bound to whatever you want the anchor to be.
Assisted-by: Claude Code