Skip to content

chore: 🚢 release v1.9.0#612

Merged
dionhaefner merged 5 commits into
mainfrom
bot/release/v1.9.0
May 27, 2026
Merged

chore: 🚢 release v1.9.0#612
dionhaefner merged 5 commits into
mainfrom
bot/release/v1.9.0

Conversation

@PasteurBot

@PasteurBot PasteurBot commented May 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the generated changelog for the release v1.9.0.

⚠️ Merging this PR will immediately trigger a new release. ⚠️

To specify additional release notes, please edit this comment after the following line.


Highlights

Environment variables in tesseract_config.yaml

You can now set environment variables directly in tesseract_config.yaml via a new env: section, without resorting to custom_build_steps:

env:
  XLA_PYTHON_CLIENT_PREALLOCATE: "false"
  OMP_NUM_THREADS: "4"

These values are baked into the Docker image at build time. You can still override them at runtime with tesseract serve --env or tesseract run --env. (#591)

Timeout parameter for the Python API

Tesseract.from_image() and Tesseract.from_url() now accept an optional timeout parameter to guard against hanging HTTP requests (e.g. when a container runs out of memory):

with Tesseract.from_image("my_tesseract", timeout=30) as t:
    ...

# or use a (connect, read) tuple for finer control
t = Tesseract.from_url("http://host:8000", timeout=(5, 300))

The default remains no timeout, so existing code is unaffected. (#597)

Tesseract.container_info()

A new container_info() method on the Tesseract class exposes the underlying Docker container object during a serve session. This is useful for resource monitoring, executing commands inside the container, or retrieving container logs outside of the SDK:

with Tesseract.from_image("my_tesseract") as t:
    container = t.container_info()
    print(container.id, container.name, container.host_port)

(#601)

Other changes

@codecov

codecov Bot commented May 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.22%. Comparing base (cbc8f76) to head (259307a).

❗ There is a different number of reports uploaded between BASE (cbc8f76) and HEAD (259307a). Click for more details.

HEAD has 29 uploads less than BASE
Flag BASE (cbc8f76) HEAD (259307a)
35 6
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #612      +/-   ##
==========================================
- Coverage   77.16%   67.22%   -9.94%     
==========================================
  Files          32       32              
  Lines        4519     4519              
  Branches      743      743              
==========================================
- Hits         3487     3038     -449     
- Misses        727     1237     +510     
+ Partials      305      244      -61     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dionhaefner
dionhaefner enabled auto-merge (squash) May 27, 2026 18:40
@dionhaefner
dionhaefner merged commit 54d5c74 into main May 27, 2026
26 checks passed
@dionhaefner
dionhaefner deleted the bot/release/v1.9.0 branch May 27, 2026 18:41
@pasteurlabs pasteurlabs locked and limited conversation to collaborators May 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants