refactor core jig logic into a single file#262
Merged
technillogue merged 53 commits intonextfrom Mar 2, 2026
Merged
Conversation
d878eec to
d4f259b
Compare
5bcfbdf to
bfb1918
Compare
d9c0906 to
f1abea8
Compare
setdefault for volumes before autoscaling jig.name = jig.config.model_name fix pyright (microsoft/pyright#10277) being dumb about fields simplify NotFoundError checks move set secret into jig improve error messages reorganize into a configure, build, deploy, track, CLI story) refactor jig status command and make some style tweaks simplify volumes refactor image formatting refactor subcommand construction reorganize helpers refactor revision handling refactor submit simplify _run refactor dockerfile generation remove retrieve before create checks and fix space/quote inconsistencies use click.Path to verify upload source dir refactor track command inline fail_repica why would req.json() return object instead of a json type refactor logs tweak emoji inline api_base_url move jig group from init to jig.py and make executable show timestamps relative to now make comments, docstrings, function names, messages more consistent tip -> hint refactor to make jig lazy and pass jig unconditionally, and allow interspersed --config fix some lints
…e was added in 3.12 and we support 3.9
e831f26 to
e1ae643
Compare
narasul
approved these changes
Mar 2, 2026
| _project_name: str | ||
| registry_base_path: str = "" | ||
| secrets: dict[str, str] = field(default_factory=dict[str, str]) | ||
| volumes: dict[str, str] = field(default_factory=dict[str, str]) |
Contributor
There was a problem hiding this comment.
not needed in the state anymore
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.
we would like jig.py to be a relatively concise single file. we would put this file in a Claude/agent skill to use as a better alternative to documentation.