Skip to content

Pull request template#20

Merged
tisnik merged 1 commit intolightspeed-core:mainfrom
tisnik:pull_request_template
Jun 5, 2025
Merged

Pull request template#20
tisnik merged 1 commit intolightspeed-core:mainfrom
tisnik:pull_request_template

Conversation

@tisnik
Copy link
Copy Markdown
Collaborator

@tisnik tisnik commented Jun 5, 2025

Pull request template

@tisnik tisnik merged commit 2885c33 into lightspeed-core:main Jun 5, 2025
11 checks passed
@max-svistunov
Copy link
Copy Markdown
Contributor

Thanks, the checklist is helpful!

romartin added a commit to romartin/rag-content that referenced this pull request Apr 1, 2026
- Use /usr/bin/skopeo absolute path (lightspeed-core#18)
- Add timeout=300 and stderr capture to _fetch_base_archive; wrap
  CalledProcessError and TimeoutExpired with descriptive RuntimeError
  messages including skopeo's stderr (lightspeed-core#19/lightspeed-core#23)
- Remove confusing gzip/diffutils/RUN comment (lightspeed-core#20)
- Streaming refactor: _make_layer_tar writes to a temp file and returns
  sha256 computed by chunked read; _read_docker_archive returns layer
  names only (no layer bytes); build_image_archive streams base layers
  directly from the skopeo archive and custom layer from its temp file,
  keeping peak RAM independent of image size (lightspeed-core#21/lightspeed-core#22)
- Validate --model-dir exists before building image archive; fail fast
  with FileNotFoundError pointing to --exclude-model (lightspeed-core#25)
- Fix corrupted README heading (merge artifact)
- Update tests for all of the above; add test_returns_sha256_hex,
  test_layer_data_not_loaded, test_main_raises_if_model_dir_missing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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