Repository navigation
Polish batch 2: image checks, change limits, checkpoint warnings, compare extras, update notice - #99
Merged
Merged
Conversation
…pare extras, CLI update notice, one outage clear
- Image checks at submit and estimate: arm64-only images and images bigger
than the disk are refused. Warnings cover Blackwell GPUs with CUDA < 12.8,
images that may not fit unpacked or are slow to start, PEP 668 pip,
building CUDA code without a toolkit, no Python, and apt as non-root.
Inspections are cached by digest (image_facts). Offers are filtered on the
image's CUDA major version (cuda_max_good).
- Change a queued or running job's max runtime and spend cap (job page,
POST /api/v1/jobs/{id}/limits, `krater limits`). Resuming or moving a box
already at its cap is refused.
- Every 15 minutes the worker warns the project's Slack channel, once per
attempt, about overdue checkpoints.
- `krater compare` adds state, cost, runtime and GPU rows, plus --sweep.
- CLI update notice from X-Krater-CLI-Latest (CLI 0.8.0).
- Grouped network-outage alerts open and clear once.
- Runner sets PYTHONUNBUFFERED. --code checks for Python and sets
PIP_BREAK_SYSTEM_PACKAGES, and warns when the code builds CUDA on a runtime
image.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adambomb210
force-pushed
the
claude/polish-batch-2
branch
from
November 19, 2026 23:24
87552f0 to
d671fee
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #98 (base
claude/polish-batch). Once #98 merges, GitHub retargets this to main.Image checks (
krater.services.image_checks; docs indocs/compute/images.md)linux/amd64variant (an arm64 build from a Mac), with thebuildx --platformfixwarningsand in the CLI, and kept asimage_warningevents:cuda_max_goodat least that.image_facts(new migration, additive). Docker Hub doesn't count the HEAD.PYTHONUNBUFFERED=1unless the image or a secret sets it.--codechecks thatpythonexists, installs withPIP_BREAK_SYSTEM_PACKAGES=1, and warns when the folder builds CUDA on a non-devel image.Change limits
POST /api/v1/jobs/{id}/limits, orkrater limits.Checkpoint watch
CLI (0.8.0)
compareadds state, cost, runtime and GPU rows, and--sweep NAME --project P.X-Krater-CLI-Latest. When it's newer than the CLI, the CLI prints how to update, to stderr and at most once a day.KRATER_NO_UPDATE_NOTICE=1turns this off.Ops alerts
network_outagealert. It opens once, is reminded like any other alert, and clears with a single post. The alerts it covers stay quiet.The alastor uptime alert is patchworklabsorg/infra#112.
Tests: server 2114 passed, CLI 248 passed, Go vet and tests pass, ruff clean. Not tested on a paid run. The
cuda_max_goodfilter hasn't been tried against live Vast offers.🤖 Generated with Claude Code