Release v0.30.0 - #101
Merged
Merged
Release v0.30.0#101
Conversation
A \`POST /v1/execute\` run dispatched to a Temporal worker lost the request id: the worker binds its log context from the run's \`RunMetadata\`, and the route never put the id there. This moves the \`pipelex\` pin to 0.68.0, whose \`execute\` takes a \`request_id\`, and the \`/execute\` route now passes the id it resolved, as \`/start\` already did; the dispatch tests prove the id reaches the job the orchestrator is handed. The logging page now says how the id reaches a worker's lines and where it does not yet, and describes the trace keys 0.68.0 writes, including the new \`pipelex.trace_id\` and \`pipelex.span_id\`. Closes L-260925-d5b7ce Closes L-260927-a12b10 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic `POST /v1/execute` now carries the request id onto a run dispatched to a worker, so worker-written lines no longer lose it. - The `/execute` route passes the id it resolved into the run's `RunMetadata`, matching `/start`, so a Temporal worker's lines carry the `request_id` the response echoes. - Pins `pipelex` to `==0.68.0`, whose `execute` accepts the id. - Breaking: a runtime line's trace context now appears as `pipelex.trace_id` and `pipelex.span_id` instead of `trace_id`/`span_id`, and `POST /v1/codegen` stamps `engine_version` `0.68.0`, so `codegen.lock` files committed against `0.67.0` need regenerating. - Breaking: a deployment using the `gcp` log sink now refuses to boot when Google rejects its credentials, where it used to boot and silently lose records. - Docs now explain which worker lines carry the id and which do not (e.g. `POST /v1/validate` dispatched to a worker still lacks it). <sup>Written for commit f48f899. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/100?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q8vvwyfhLh2jLYouEA6fBx
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Release v0.30.0
Bumps version from
0.29.0to0.30.0. Promotesdev→main.Changelog
Highlights
A run dispatched to a worker keeps the caller's request id. On
pipelex0.68.0, the lines a worker writes while it runs aPOST /v1/executerun carry therequest_idthe response echoes, and the runtime's own span moves underpipelex.*on every log line.Changed
pipelex0.68.0 (Breaking): up from==0.67.0, exactly, the release whoseexecuteaccepts the inbound request id the host is serving. The.pipelex/config shipped here already sits at the current schema, so no migration is required, but a deployment that selects thegcplog sink instead ofjsonnow refuses to boot when Google rejects its credentials, where it used to boot and lose every record in silence.pipelex.*(Breaking):trace_id,span_idandtrace_flagsnow name the process's current OpenTelemetry span, which this server does not open, so they are absent unless the deployment runs it under OpenTelemetry instrumentation of its own. A line the runtime emits from inside a traced run carries the runtime's span aspipelex.trace_idandpipelex.span_idinstead, so a query that joined lines to the runtime's exported spans ontrace_idnow joins onpipelex.trace_id.POST /v1/codegenstampsengine_version0.68.0: the stamp is the pinnedpipelexversion, so acodegen.lockcommitted against0.67.0no longer matches until it is regenerated.POST /v1/build/runnercarries the same stamp.Fixed
POST /v1/executerun's worker lines carry the request id: the route now puts the request id it resolved on the run's metadata, asPOST /v1/startalready did, so on a deployment whoseorchestration_modedispatches to a worker, such astemporal, the lines the worker writes while it runs the run's workflow and activities carry therequest_idthe response echoes. The logging page now says how the id reaches a worker's lines, and that aPOST /v1/validatedispatched to a worker does not carry it yet.Closes L-260927-1f98d3
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q8vvwyfhLh2jLYouEA6fBx
Summary by cubic
Promotes
dev→mainas release v0.30.0, pinningpipelexto==0.68.0and fixing request-id correlation so aPOST /v1/executerun dispatched to a worker keeps the caller'srequest_id.POST /v1/executenow places the request id on the run's metadata, as/startalready did, so the lines a worker writes while running the run's workflow and activities carry therequest_idthe response echoes.pipelex.trace_idandpipelex.span_id;trace_id,span_id, andtrace_flagsname the host process's current OpenTelemetry span, which this server does not open, so they are absent unless the deployment instruments itself. Queries joining ontrace_idmust join onpipelex.trace_id.POST /v1/codegenandPOST /v1/build/runnerstampengine_version0.68.0, so acodegen.lockcommitted against 0.67.0 no longer matches until regenerated.gcplog sink now refuses to boot when Google rejects its credentials, where it used to boot and silently lose records.POST /v1/validatedispatched to a worker does not carry it yet.Written for commit e794629. Summary will update on new commits.