Skip to content

Record the current step of a template build - #91

Open
czpython wants to merge 2 commits into
mainfrom
claude/project-thread-t1lfdn
Open

czpython wants to merge 2 commits into
mainfrom
claude/project-thread-t1lfdn

Conversation

@czpython

@czpython czpython commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Requested by Paulo · project thread

Closes #87.

  • Template.build_step (migration 0009) and TemplateOut.build_step.
  • build_template_image takes record_step; the service commits each step. Success clears it; a failure keeps it beside last_error.
  • Steps: running setup script, running setup script: <last output line> (at most every 3 s), pushing image, and on docker-sbx saving image, loading into sbx.
  • DockerAPI.build_image streams the build and yields its output lines.
  • No pulling base image step: the pull runs in POST /templates before the record exists.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YCSfQkAnFcUsYhfoud73GY

@czpython czpython self-assigned this Nov 2, 2026
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.

Record the current step of a template build on the template

2 participants