Files
stack/tests/dev/test_gen_config_llm_golden.py
kert 37a970ba02 fix(ci,llm): golden workflow survives a report-less crash; pyyaml ships in the llm extra (refs #691 #692)
Two minors from the final fix wave:

- dev/scripts/backends/gitea.py::_gen_llm_golden: the docker cp of the
  report back to the runner and the cat of it now both end in
  `|| true` — under `set -euo pipefail`, a golden run that crashed
  before ever writing /tmp/golden/report.json used to abort the step
  right there, before it could reach the explicit
  `exit "${golden_rc:-0}"`. Also switched the runner invocation to
  `uv run --no-sync --project /app`, matching the pattern the other
  generators already use for a container that shouldn't try to
  resolve/sync dependencies at request time. Regenerated
  .gitea/workflows/llm-golden.yml; gen_config.py --check passes.

- pyproject.toml: dev/scripts/llm_golden.py (`import yaml`) runs
  inside the llm container in that same workflow, but pyyaml was only
  ever a dev-group dependency — added to the `llm` extra so the
  container actually has it.
2026-09-10 13:33:11 -04:00

4.0 KiB