Skip to content

env update: defer hardware smoke to PR review; fix gh repo + manifest note - #1

Merged
colbyt merged 1 commit into
mainfrom
env-update-defer-smoke
Jul 15, 2026
Merged

env update: defer hardware smoke to PR review; fix gh repo + manifest note#1
colbyt merged 1 commit into
mainfrom
env-update-defer-smoke

Conversation

@colbyt

@colbyt colbyt commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The weekly env-update cron runs on the jumpbox (Alpine musl, no GPU). Its smoke step could never pass there: the CUDA envs cannot build (bitsandbytes/torch ship glibc-only wheels) and there is no GPU to matmul on. forge run also executes the recipe locally (the --host only leases the remote node), so --gpu never had hardware. Every weekly run recorded ok:false on an environmental smoke failure, not a real regression.

What changed

Since the PR is never auto-merged, hardware smoke is deferred to the reviewer:

  • cmd_update no longer runs smoke; it marks smoke deferred with the smoke_host.
  • report ok now means all locks re-resolved without error — exactly what the jumpbox can attest.
  • _pr_body embeds the exact per-profile smoke command to run on the smoke_host before merging.
  • gh pr create gets -R GoodAncestor/forge (origin uses a github-forge SSH alias gh cannot map to a repo on its own) — the other half of the old pr_error.
  • dropped the now-meaningless --no-smoke flag.

Also corrects the stale gutenberg-mirror manifest note (~60GB → >150GB and growing; size_bytes stays null as an unmeasurable rsync tree).

Before merging

Run the smoke command from the PR body on each changed profile’s smoke_host (e.g. ai02 for cuda-ada, alien03 for cuda-blackwell).

Tests

pytest tests/test_envupdate.py (8 passed) + env suite (14 passed), ruff clean.

… note

The weekly env-update cron runs on the jumpbox (Alpine musl, no GPU). Its
smoke step (`uv run --project envs/<p> python envs/smoke.py --gpu`, run
locally — `forge run` only leases the remote host) could never pass there:
the CUDA envs can't even build (bitsandbytes/torch ship glibc-only wheels)
and there is no GPU to matmul on. Every run recorded ok:false on a smoke
failure that was environmental, not a real regression.

Since the PR is never auto-merged, defer hardware smoke to the reviewer:
- cmd_update no longer runs smoke; marks it deferred with the smoke_host.
- report `ok` now means "all locks re-resolved without error" — exactly what
  the jumpbox can attest.
- _pr_body embeds the exact per-profile smoke command to run on the
  smoke_host before merging.
- gh pr create gets `-R GoodAncestor/forge` (origin uses a github-forge SSH
  alias gh can't map to a repo on its own) — the other half of the pr_error.
- drop the now-meaningless --no-smoke flag.

Also: correct the stale gutenberg-mirror manifest note (~60GB -> >150GB and
growing; size_bytes stays null as an unmeasurable rsync tree).
@colbyt
colbyt merged commit 03fdcc8 into main Jul 15, 2026
2 checks passed
@colbyt
colbyt deleted the env-update-defer-smoke branch July 15, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant