diff --git a/.gitea/workflows/AGENTS.md b/.gitea/workflows/AGENTS.md index cc34b0b..c62780d 100644 --- a/.gitea/workflows/AGENTS.md +++ b/.gitea/workflows/AGENTS.md @@ -60,8 +60,9 @@ issue. - **On the fast path the tool steps run in a network namespace without network** (`unshare -rn` through `$OFFLINE`), except "Test the repository scripts", whose fake registry needs loopback; the slow path keeps network. *Why:* a runtime download is a bake-in defect and must fail the - job, not silently slow it. *Held:* control: the `$OFFLINE` prefix set by the "Check the baked - tooling against the pins" step. + job, not silently slow it. *Held:* control for the steps that carry the `$OFFLINE` prefix set + by the "Check the baked tooling against the pins" step; review that every new tool step + carries it. - **Triggers:** both run on pull requests to `main` and on manual dispatch; Build also runs on `v*` tags, where it checks the tag against `galaxy.yml`. *Why:* the tag is what consumers install. *Held:* review. diff --git a/docs/images/ci.md b/docs/images/ci.md index 2d293ed..d429449 100644 --- a/docs/images/ci.md +++ b/docs/images/ci.md @@ -66,8 +66,8 @@ Read `.gitea/workflows/molecule.yml` for the full command. `/opt/ci-pins.sha256` lists the five pin files by their checkout-relative path, so `sha256sum -c` runs in the checkout root. When the checkout's `requirements-dev.txt`, `requirements-dev.lock`, `requirements.yml`, `extensions/molecule/requirements.yml` and `.pre-commit-config.yaml` match, the baked tools and -collections are used as they are, and Lint and Build run their tools without network, so a tool that -downloads at run time fails the job. When a pull request changes a pin the check fails and the job installs the pinned +collections are used as they are, and Lint and Build run their tools (all but the script tests) without +network, so a tool that downloads at run time fails the job. When a pull request changes a pin the check fails and the job installs the pinned tools and collections itself for that run (slower, same result), until the image is rebuilt from `main`. `lint.yml`, `build.yml`, `molecule.yml` and `gitea-release-key.yml` are the real consumers. diff --git a/images/AGENTS.md b/images/AGENTS.md index 463b47b..b0e0b31 100644 --- a/images/AGENTS.md +++ b/images/AGENTS.md @@ -63,7 +63,8 @@ it to this repository's organisation in the Gitea registry as `` and `l image; a job downloads at run time only on the slow path (a pull request that changes a pin file). *Why:* a run that downloads is slower and depends on the network. *Held:* control: on the fast path the Lint and Build tool steps run without network, so a download fails the job; - review for the script tests, which keep network, and for Molecule. + review for a new tool step without the prefix, for the script tests, which keep network, and + for Molecule. - **Recorded speed:** a speed optimisation that adds machinery states its measured saving where it lives (a comment next to it). *Why:* machinery is kept only for a saving someone can check. *Held:* review.