Repository navigation
release: prime-traces 0.0.12 and prime-runs 0.1.6 - #1146
Merged
Merged
Conversation
kcoopermiller
requested review from
DamianB-BitFlipper,
JannikSt,
JohannesHa,
akirillo,
burnpiro,
cabrinha,
kennethnym,
mrmoxon and
willccbb
as code owners
November 2, 2026 23:09
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
kennethnym
approved these changes
Nov 2, 2026
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.
Patch release of two packages. It ships the upload performance work from #1129, #1136 and #1140, and the higher upload limits from #1138. Nothing else under
packages/prime-tracesorpackages/prime-runshas changed since the last release.prime-traces: 0.0.11 → 0.0.12prime-runs: 0.1.5 → 0.1.6Dependency floor:
prime-runsnow requiresprime-traces>=0.0.12. Its traces sink can handTracesClientrecords already encoded asbytes, which 0.0.11 can't take.The CLI is not released here. It keeps
prime-traces>=0.0.10, so a fresh install picks up 0.0.12 andprime traces uploadstarts sending up to 8 requests at once.What's new
prime-traces 0.0.12
upload_lines,upload_recordsandupload_filekeep up tomax_in_flightbatches in flight, default 8 (feat: non-blocking, concurrent run uploads in prime-runs and prime-traces #1136). Receipts still come back in batch order, andon_batchruns on the calling thread.upload_recordsaccepts a record already encoded as one JSON line (bytes) (feat: upload an episode's own to_json when it names the run #1140).trace_too_largeinstead.prime-runs 0.1.6
TracesSinkprepares records as the client encodes them (feat: non-blocking, concurrent run uploads in prime-runs and prime-traces #1136).TracesSinkuploads an episode's ownto_json()when the episode and each of its traces already name this run (feat: upload an episode's own to_json when it names the run #1140). Anything else is stamped as before. This needs feat: encode episodes to JSON one node at a time and record runs on traces verifiers#3042 to take effect, and upload IDs for those records change because the key order differs.Breaking:
UploadWorker(max_queue_size=..., put_timeout=...)becomesUploadWorker(max_queued_records=...), andDEFAULT_QUEUE_SIZEandDEFAULT_PUT_TIMEOUTare gone.Runandinit()are unchanged.Known limitations
Raised in review on #1136 and shipping as they are:
close(timeout=1)returned at 1.5 s and the process lived 20 s.Release
Merging triggers
release-traces.ymlandrelease-runs.yml. They publish to PyPI and create theprime-traces-v0.0.12andprime-runs-v0.1.6tags. Neither tag exists yet.prime-runs0.1.6 can't be installed untilprime-traces0.0.12 is on PyPI. If the runs workflow finishes first, installs fail for a short time.Validation
prime-traces: 187 passed at this PR's head, and 189 with feat(prime-traces): raise the client line limit to 1 GiB #1138 merged.prime-runs: 304 passed, 1 skipped, in both.ruff checkandruff format --checkpass.submit()0.1 ms. feat: upload an episode's own to_json when it names the run #1140 was not part of that run. Production-sized episodes and several runs uploading at once are untested against a real service.🤖 Generated with Claude Code
Note
Low Risk
The diff only changes version strings and a dependency minimum; operational risk is limited to release ordering if
prime-runspublishes beforeprime-traceson PyPI.Overview
This PR is a patch release that only bumps package versions and aligns the dependency floor—no functional code changes in the diff.
prime-traces goes 0.0.11 → 0.0.12, and prime-runs goes 0.1.5 → 0.1.6.
prime-runsnow requiresprime-traces>=0.0.12(was>=0.0.11), matching the runs SDK’s need for traces APIs that accept pre-encoded JSONLbytesand the upload performance work already merged in earlier PRs (#1129, #1136, #1140).Merging is intended to trigger the existing release workflows and publish both wheels to PyPI with the corresponding version tags.
Reviewed by Cursor Bugbot for commit e55c7e7. Bugbot is set up for automated code reviews on this repo. Configure here.