diff --git a/.gitea/workflows/molecule.yml b/.gitea/workflows/molecule.yml index 6ff87c2..7a69038 100644 --- a/.gitea/workflows/molecule.yml +++ b/.gitea/workflows/molecule.yml @@ -36,6 +36,11 @@ on: # yamllint disable-line rule:truthy - 'meta/**' - 'galaxy.yml' - '.gitea/workflows/molecule.yml' + # Every scenario, nightly: a pull request runs only the scenarios of the roles it changes, so + # drift in the others (a package mirror, the runner's molecule venv) would otherwise wait for + # the next push to main. After Renovate's 03:17 run, which can take 30 minutes of the one slot. + schedule: + - cron: "43 4 * * *" workflow_dispatch: {} permissions: diff --git a/CLAUDE.md b/CLAUDE.md index 362fca5..cfe8e1a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -63,7 +63,7 @@ Single-context: `GLOSSARY.md` and `docs/adr/` at the root, both created lazily. What a pull request runs is chosen by `scripts/select_molecule_scenarios.py`, run from the base branch's copy (a pull request cannot edit its own rules): only the scenarios of the roles it changes, none for a diff of only its IGNORED paths, a failure for a changed role with no scenario, and every scenario for any other file, - for every push to `main` and for manual dispatch. A new file outside `roles//` runs everything until it + for every push to `main`, for manual dispatch and for the nightly run (04:43 UTC, after Renovate's). A new file outside `roles//` runs everything until it is added to IGNORED, which is right only when no scenario reads it. A new commit cancels the pull request's running Molecule run, and the step first removes containers a cancelled run left; two runs never overlap because the runner has a single slot, so raising its capacity needs a lock or a shared concurrency group.