Skip to content

refactor core jig logic into a single file#262

Merged
technillogue merged 53 commits intonextfrom
syl/refactor-jig-single-file
Mar 2, 2026
Merged

refactor core jig logic into a single file#262
technillogue merged 53 commits intonextfrom
syl/refactor-jig-single-file

Conversation

@technillogue
Copy link
Contributor

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.

@technillogue technillogue force-pushed the syl/refactor-jig-single-file branch 2 times, most recently from d9c0906 to f1abea8 Compare February 26, 2026 03:06
@technillogue technillogue requested a review from narasul February 26, 2026 03:09
@technillogue technillogue marked this pull request as ready for review February 26, 2026 03:09
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
@technillogue technillogue force-pushed the syl/refactor-jig-single-file branch from e831f26 to e1ae643 Compare February 28, 2026 00:08
_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])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed in the state anymore

@technillogue technillogue merged commit 7aa2339 into next Mar 2, 2026
9 checks passed
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.

2 participants