GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Tags · Pipelex/pipelex-api
This repository was archived by the owner on Oct 1, 2026. It is now read-only.
Tags
v0.33.2Release v0.33.2 (#115) ## Release v0.33.2 Bumps version from `0.33.1` to `0.33.2`. Promotes `dev` → `main`. This is the freeze point the fold of pipelex-api into `Pipelex/pipelex` copies from. ### Changelog ### Changed - **The server is moving into `Pipelex/pipelex`**: from the next release, the server ships from the pipelex repository's `api/` directory together with the pipelex library and under its version number, so the next `pipelex/pipelex-api` image tag is a pipelex version; the image name, its port and its `/root/.pipelex` mount do not change, and this repository will be archived once the move lands. ### Fixed - **The `callback_urls` description says what a completion webhook carries**: the OpenAPI description and the run docs said the runner posts the run's result to each callback URL; they now say the body is a completion notice (`pipeline_run_id`, `state` with its legacy `status` alias, the `result_url` storage key prefix and `error`), and that the results themselves stay in storage under that prefix. The description also says that the `X-Completion-Signature` header signs the run id, not the body. Closes L-260930-218a92 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01UdzDdXuwBjpWUuLbnniziE <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Releases v0.33.2, promoting `dev` → `main`. This is the freeze point that the move of the server into `Pipelex/pipelex` copies from. **Changed** - The server moves into the `Pipelex/pipelex` repository's `api/` directory from the next release, releasing under the library's version number; the image name, port, and `/root/.pipelex` mount stay the same, and this repo will be archived once the move lands. **Fixed** - Corrects the `callback_urls` documentation: webhooks carry a completion notice (`pipeline_run_id`, `state` with the legacy `status` alias, the `result_url` storage key prefix, and `error` on failure), not the run's output, and the `X-Completion-Signature` header signs the run id, not the body. <sup>Written for commit d1a4614. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/115?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. --> v0.33.1Release v0.33.1 (#113) ## Release v0.33.1 Bumps version from `0.33.0` to `0.33.1`. Promotes `dev` → `main`. ### Changelog ### Fixed - **A pipe selection refusal names its failure in `error_type`**: on `POST /v1/pipe-io` and `POST /v1/build/inputs`, `/v1/build/output` and `/v1/build/runner`, a selection the server cannot make is still an input `422`, but its `error_type` is now `EntryPipeNotFoundError` (a `pipe_ref` naming no pipe, a manifest `main_pipe` the closure lacks, or no `pipe_ref` over a closure declaring no `main_pipe`) or `EntryPipeAmbiguousError` (a bare code matching several domains, or no `pipe_ref` over a closure whose domains declare several `main_pipe`s), the values the run routes answer for an unknown or ambiguous `pipe_code`, where it was the `ValidationError` of a malformed request. The problem's `type` and `title` follow the class, and so does its `user_action`, except that the two refusals of an omitted `pipe_ref` ask for a `pipe_ref` instead of a pipe-code check. - **The published OpenAPI never names the hosted selector field**: the `POST /v1/pipe-io` request schema's description no longer names the hosted catalog's selector field, and a test keeps that name out of the whole document. Closes L-260930-50520f 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EWwzmAGtZvzvQqeC1SvzJ1 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Release v0.33.1, promoting `dev` to `main` and bumping the version from `0.33.0` to `0.33.1`. ## Bug Fixes - Pipe selection refusals on `POST /v1/pipe-io` and the `/v1/build/*` routes now carry `EntryPipeNotFoundError` or `EntryPipeAmbiguousError` as their `error_type` instead of `ValidationError`, matching what the run routes answer for the same `pipe_code`. - The two refusals of an omitted `pipe_ref` ask for a `pipe_ref` in their `user_action`; ambiguity candidates stay in `detail`. - The published OpenAPI no longer names the hosted catalog's selector field; a contract test pins that name out of the entire document. <sup>Written for commit 9e98005. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/113?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. --> v0.33.0Release v0.33.0 (#111) ## Release v0.33.0 Bumps version from `0.32.0` to `0.33.0`. Promotes `dev` → `main`. ### Changelog ### Highlights **A method's I/O artifacts without a validation.** `POST /v1/pipe-io` returns the pipe I/O contracts, input form and output form of one pipe, or of every pipe, off one load of the method and with no dry run, so a caller that shows a method, prepares its inputs or generates types for it no longer pays for a `/v1/validate` sweep. The per-pipe selectors also stop calling an ambiguous pipe missing. ### Added - **`POST /v1/pipe-io`**: returns a method's `pipe_io_contracts`, `input_form` and `output_form` without a dry run, keyed by qualified `pipe_ref`, for the selected pipe or, with `all_pipes: true`, for every pipe, beside the resolved `pipe_ref`, the method's own `default_pipe_ref`, `pending_signatures` and `is_runnable`. It takes the same `files` or `method_ref` closure selector and `pipe_ref` as the `/v1/build/*` routes, `include_files: true` echoes the closure's `.mthds` files, and each artifact equals `/v1/validate`'s same-named view for a closure both routes accept. ### Fixed - **An ambiguous pipe selector says it is ambiguous**: on `POST /v1/build/inputs`, `/v1/build/output` and `/v1/build/runner`, a bare `pipe_ref` or manifest `main_pipe` that matches pipes in several domains is still a `422`, and its detail now says the code matches several domains and names the qualified refs to choose from, where it said the pipe was not found. Closes L-260930-c2e611 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EWwzmAGtZvzvQqeC1SvzJ1 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Bumps `pipelex-api` from `0.32.0` to `0.33.0` and promotes `dev` to `main` in the release branch. Also removes the repo's `wip/` notes folder (notes moved to the workspace ledger) and drops stale mentions of the removed upload routes from docs. **New Features** - Adds `POST /v1/pipe-io`, which returns a method's `pipe_io_contracts`, `input_form`, and `output_form` with no dry-run sweep, for the selected pipe or, with `all_pipes: true`, every pipe. - The route takes the same `files`/`method_ref` closure selector and `pipe_ref` as the `/v1/build/*` routes, and `include_files: true` echoes the closure's `.mthds` files. **Bug Fixes** - An ambiguous `pipe_ref` or manifest `main_pipe` now returns a 422 saying the code matches several domains and naming the qualified refs to choose from, instead of saying the pipe was not found. - `POST /v1/build/concept` now refuses a malformed `structure` with a typed 422 problem document instead of leaking an opaque 500. <sup>Written for commit 552ae60. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/111?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. --> v0.32.0Release v0.32.0 (#108) ## Release v0.32.0 Bumps version from `0.31.0` to `0.32.0`. Promotes `dev` → `main`. ### Changelog #### Highlights **The runner no longer trusts the run body or the methods it is handed.** `POST /v1/execute` and `POST /v1/start` parse their body as plain JSON, which closes a path by which any caller could make the runner import and instantiate a class. On `pipelex` 0.70.0, a run reads storage only under its read scope, every template renders in Jinja's sandbox, a URL fetch refuses private destinations, and a sandbox-hosted deployment refuses a bundle that declares Python structure classes. A multi-tenant host must now send `read_scope`, and a method that ran on 0.69.0 can now be refused, as the entries below describe. #### Changed - **Pinned `pipelex` 0.70.0 (Breaking)**: up from `==0.69.0`, exactly. It is the release that carries the read scope and the structure-class refusal described under Security, and it hardens the runtime for methods it did not write, so a method that ran on 0.69.0 can now be refused, as the entries below describe. The `.pipelex/` config shipped here already sits at the current schema, and the release moves no own-key backend's model roster. - **PipeCompose, PipeSearch and PipeImgGen refuse an input they never read (Breaking)**: as PipeLLM already did, validation refuses a declared input that none of the pipe's templates reads, as `extraneous_input_variable` naming the input. Reference it in a template, or remove it from `inputs`. - **A structure field naming an undeclared concept refuses the load (Breaking)**: a concept whose field names a concept that no bundle it can see declares is now refused at load with `LibraryLoadingError`, naming the concept, its bundle and the missing structure class, where it loaded and then failed at first use with pydantic's "not fully defined" error. - **`POST /v1/codegen` stamps `engine_version` `0.70.0`**: the stamp is the pinned `pipelex` version, so a `codegen.lock` committed against `0.69.0` no longer matches until it is regenerated. `POST /v1/build/runner` carries the same stamp. #### Fixed - **A template's reads are seen wherever it makes them**: an input read only through a subscript, a call or a `{% set %}`, such as `{{ items[0].text }}` or `{{ record['meta'].title }}`, now counts as read, where validation refused it as unread, and `{{ combo.summary }}` resolves the named parts of a `Composite` output, which rendered empty. - **Concepts holding other concepts resolve**: a field typed by a method package's concept, by a concept an earlier load declared, by a concept backed by a Python class, or as `native.Anything` now resolves, where each loaded and then failed at first use with pydantic's "not fully defined" error. - **A generated file's storage key names its format**: a fetched `image/svg+xml` is stored under a `.svg` key, and a type with no extension of its own under `.bin`, where both got `.jpg`. #### Security - **The run body is plain JSON, and class markers in it are refused (Breaking)**: `POST /v1/execute` and `POST /v1/start` parse their body with a plain JSON parser instead of kajson, which imported and instantiated any class a body named with `__class__` and `__module__`, so any caller able to reach the runner could run code on it. A body carrying a `__class__` or `__module__` key, or a key starting with `__kajson`, in any object at any depth now answers `422 ReservedObjectKey`, and the published request schema no longer offers a serialized working memory as `inputs`. - **Runs read only under their read scope (Breaking)**: `POST /v1/execute` and `POST /v1/start` take a `read_scope`, the prefix every `pipelex-storage://` key a run reads must lie under, and a scoped run reads no local path. Omitted, it is the caller's own id on a deployment that identifies callers and unscoped on a single-tenant one, so a multi-tenant host must send it; a malformed read scope, or a storage scope outside it, is a `422` `InvalidReadScope`. A read outside the scope is refused when the run makes it, as `UriReadRefusedError`: a `422` on `/execute`, and on `/start` a synchronous `422` for an input or a run that ends `FAILED` for a URL a pipe reaches during the run. - **A bundle declaring Python structure classes is refused (Breaking)**: on a sandbox-hosted deployment, a `files` or `bundle_b64` bundle whose Python declares a `StructuredContent` subclass now answers `403` `MethodStructuresRefusedError` naming each file and class, as a fetched `method_ref` package already did, and none of its modules is imported. Declare the types as MTHDS concepts instead; the unedited module `pipelex build structures` writes is accepted. - **Every template renders in Jinja's sandbox (Breaking)**: a prompt, a compose or construct template, an image or search prompt, or a condition expression may read data and call methods of plain values only. One that reaches for a Python internal, calls a method of a Pipelex or pydantic object, or reads a name starting with an underscore other than an input's `_stuff_name`, `_content_class`, `_concept_code` and `_stuff_code` fails with `Jinja2TemplateSecurityError`, and validation refuses the visible cases as `template_private_name`. `_content` and `stuff` are no longer readable on an input, and a PipeCompose construct `from` path or a `list_to_dict_keyed_by` name with a segment starting with an underscore is refused at validation. - **Fetching a URL refuses private destinations (Breaking)**: every download of a URL a value carries, such as a document to extract or a prompt image for a provider that does not take URLs, now refuses a host that is `localhost`, a cloud metadata alias, or resolves to a private, loopback, link-local or metadata address, on every redirect hop, and fails the pipe with `SsrfBlockedError` naming the host. The guarded fetch ignores `HTTP_PROXY` and `HTTPS_PROXY`. The image keeps the guard on; a self-hosted deployment reading documents from an intranet host, or reaching the internet only through a proxy, sets `[runtime.network] is_fetch_ssrf_guard_enabled = false`, as [Configuration](docs/configuration.md) describes. Closes L-260929-132be7 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Release v0.32.0 bumps the version to 0.32.0, promotes `dev` to `main`, and pins `pipelex` 0.70.0. It hardens the run path so the runner no longer trusts the run body or the methods it is handed, and fixes template read tracking, cross-concept resolution, and file storage key naming. **Security** - The run body is parsed as plain JSON; a `__class__`, `__module__`, or `__kajson…` key at any depth is refused with a 422 `ReservedObjectKey` instead of instantiating the named class. - Runs read storage only under their `read_scope`; a multi-tenant host must now send it, and a read outside it is refused. - Every template renders in Jinja's sandbox, so a template may call methods of plain values only. - URL fetches refuse private, loopback, link-local, and metadata hosts on every redirect hop and ignore `HTTP_PROXY`/`HTTPS_PROXY`; disable with `[runtime.network] is_fetch_ssrf_guard_enabled = false`. - A sandbox-hosted deployment refuses a bundle declaring a `StructuredContent` subclass with a 403 `MethodStructuresRefusedError`, never importing its modules. **Breaking changes** - A run's `storage_scope` must lie under its `read_scope`; a malformed, mismatched, or local-sentinel pair is a 422 `InvalidReadScope`, and a host sending `storage_scope` without `read_scope` fails closed. - `codegen.lock` committed against 0.69.0 no longer matches the `engine_version` 0.70.0 stamp; regenerate it. - Validation now refuses a declared input no template reads, and a structure field naming a concept no bundle declares. - `inputs` no longer offers a serialized working-memory object. <sup>Written for commit bab490a. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/108?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. --> v0.31.0Release v0.31.0 (#105) ## Release v0.31.0 Bumps version from `0.30.0` to `0.31.0`. Promotes `dev` → `main`. ### Changelog #### Highlights **Run inputs take the values their concept declares, and own-key backends offer today's models.** On `pipelex` 0.69.0, an `Anything` input accepts a string, a number, a boolean or an object and a `JSON` input an object, where most of them used to be refused, and the image's own-key backend files are now the pinned release's, so a deployment that switches one on is offered the current model roster. A deployment that mounts its own `.pipelex/` renames its Bedrock handle to `bedrock_aioboto` and replaces any model handle that went. #### Changed - **Pinned `pipelex` 0.69.0 (Breaking)**: up from `==0.68.0`, exactly, the release that moves structured output to `instructor` 1.17 and the provider SDKs with it, so the image now carries `mistralai` 2.x and `aiobotocore` 3.x in place of `aioboto3`. Under `instructor` 1.17 the `instructor/openai_structured_outputs` structure method sends a non-strict tool schema, so OpenAI no longer enforces the schema itself; pipelex still validates the response and re-asks on a mismatch. - **The Bedrock SDK handle is `bedrock_aioboto` (Breaking)**: the shipped `.pipelex/inference/backends/bedrock.toml` now sets `sdk = "bedrock_aioboto"`, and a deployment that mounts its own `.pipelex/` still setting `sdk = "bedrock_aioboto3"` keeps booting but fails every call to those Bedrock models. `pipelex migrate` names such a file without rewriting it, so replace the handle by hand, in `[defaults]` and in any model table that overrides it. - **`Anything` and `JSON` run inputs are read by what they declare (Breaking)**: on `POST /v1/execute` and `POST /v1/start`, a bare string at an `Anything` input becomes a `native.Anything` value rather than `native.Text`, a bare string at a `JSON` input is refused, an item holding `concept` and `content` keys inside a bare `Anything[]` or `JSON[]` list is refused, an explicit single value at a fixed-count `Concept[N]` input raises `MultiplicityCountMismatchError`, and `NaN` or an infinity at a `Number`, `JSON` or `Anything` input is refused. A value the fallback cannot build, such as a list of plain objects at a `Dynamic` input, now answers `StructureValidationError` naming the input and its concept instead of `StuffFactoryError`. - **The `json_schema` of an `Anything` value excludes arrays and `null`**: in the `pipe_io_contracts` that `POST /v1/validate` and `POST /v1/execute` return, the `json_schema` of a single `Anything` input or output now carries `"not": {"type": ["array", "null"]}`, and so does the `items` schema of an `Anything[]` input, so a form or validator generated from it refuses what the run refuses. - **`POST /v1/build/inputs` renders a `JSON` input as the bare object (Breaking)**: the compact template of a `JSON` input is the object itself, where it was the envelope `{"concept": "native.JSON", "content": {"json_obj": …}}`. - **`POST /v1/codegen` stamps `engine_version` `0.69.0`**: the stamp is the pinned `pipelex` version, so a `codegen.lock` committed against `0.68.0` no longer matches until it is regenerated. `POST /v1/build/runner` carries the same stamp. - **Own-key backends offer the pinned `pipelex` model roster (Breaking)**: the image's `inference/backends/` files, unchanged since `pipelex` 0.14.0, are now the `pipelex` 0.69.0 kit's, as is `inference/routing_profiles.toml`, so a deployment that switches on an own-key backend is offered the current models and resolves the model deck's default aliases, whose GPT-5.6 targets `openai` and `azure_openai` did not declare. Handles that went, which a method must replace on a deployment that switched their backend on: on `openai`, `gpt-3.5-turbo`, `gpt-4`, `gpt-4-turbo`, the dated `gpt-4o-2024-11-20` and `gpt-4o-mini-2024-07-18`, every `gpt-4.1`, `gpt-5`, `gpt-5.1` and `gpt-5.2` handle, and `o1`, `o3`, `o3-mini` and `o4-mini`; on `azure_openai`, every `gpt-4.1`, `gpt-5`, `gpt-5.1` and `gpt-5.2` handle, and `o1`, `o1-mini`, `o3` and `o3-mini`; on `google` and `portkey`, `gemini-3.0-pro` (replaced by `gemini-3.1-pro`) and `gemini-3.0-flash-preview` (renamed `gemini-3.0-flash`), and on `portkey` also `o4-mini`; on `bedrock`, `claude-3.7-sonnet`; on `openrouter`, `google/gemini-3-pro-preview`. The kit's new `minimax` and `pipelex_manifold` backends ship switched off, the unused `perplexity` and `pipelex_inference` files are gone, and the default Pipelex Gateway deployment, whose catalog comes from the remote config, is unaffected. #### Fixed - **`Anything` and `JSON` inputs take the values they declare**: an `Anything` input accepts a string, a number, a boolean or an object, and `Anything[]` a list of them, where all but a bare string used to be refused, while `null` and a list at a single `Anything` input, and a `null` or nested-list item of an `Anything[]` list, are refused with a `422`; a `JSON` input accepts an object and `JSON[]` a list of objects, which used to be refused with an error naming neither the input nor its concept. - **Structured output on Gemini works with enum fields and honours the prompt settings**: on a deployment that enables the `google` backend, a structured call whose schema has an enum field no longer fails on every attempt, and the system prompt, temperature and token limit now reach Gemini. - **A structured-output call keeps its provider error and re-asks when the model returns no tool call**: a rate limit, timeout or refused connection inside a structured call keeps its category and retryability instead of reading as an unknown error, and a response carrying no tool call or no JSON is re-asked instead of failing at once. - **A model the inference gateway refuses reads as a configuration fault**: the gateway's `model_not_allowed_error` refusal is now a `config` error whose `user_action` is `change_model` naming the model handle, where it told the caller to review the prompt, parameters and inputs; the status stays `500`. Closes L-260928-6165ee 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011qAvnBwLRJQ2UGi4uwb7Jh <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Releases v0.31.0, promoting `dev` to `main`. Pins `pipelex` 0.69.0 and re-syncs the vendored inference tree so own-key backends offer the pinned release's model roster instead of stale 0.20-era files. **Breaking** - Bedrock deployments must rename the SDK handle `bedrock_aioboto3` → `bedrock_aioboto`; dev typing stubs move to `types-aiobotocore`. - `Anything` and `JSON` run inputs are read by what their concept declares: a bare string at a `JSON` input is refused, and the published `json_schema` for `Anything` excludes arrays and `null`. - `POST /v1/build/inputs` renders a `JSON` input as the bare object, and `POST /v1/codegen` stamps `engine_version` 0.69.0, so a committed `codegen.lock` must be regenerated. - Own-key backends drop handles that went (named per backend in the changelog, e.g. `openai`'s `gpt-3.5-turbo` and `gpt-4.1`*); the new `minimax` and `pipelex_manifold` backends ship switched off, and the unused `perplexity` and `pipelex_inference` files are removed. The default Pipelex Gateway deployment is unaffected because its catalog comes from the remote config. <sup>Written for commit 6ba3b4c. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/105?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. --> v0.30.0Release v0.30.0 (#101) ## Release v0.30.0 Bumps version from `0.29.0` to `0.30.0`. Promotes `dev` → `main`. ### Changelog ### Highlights **A run dispatched to a worker keeps the caller's request id.** On `pipelex` 0.68.0, the lines a worker writes while it runs a `POST /v1/execute` run carry the `request_id` the response echoes, and the runtime's own span moves under `pipelex.*` on every log line. ### Changed - **Pinned `pipelex` 0.68.0 (Breaking)**: up from `==0.67.0`, exactly, the release whose `execute` accepts 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 the `gcp` log sink instead of `json` now refuses to boot when Google rejects its credentials, where it used to boot and lose every record in silence. - **A log line's trace keys name the host's span, and the runtime's span moves under `pipelex.*` (Breaking)**: `trace_id`, `span_id` and `trace_flags` now 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 as `pipelex.trace_id` and `pipelex.span_id` instead, so a query that joined lines to the runtime's exported spans on `trace_id` now joins on `pipelex.trace_id`. - **`POST /v1/codegen` stamps `engine_version` `0.68.0`**: the stamp is the pinned `pipelex` version, so a `codegen.lock` committed against `0.67.0` no longer matches until it is regenerated. `POST /v1/build/runner` carries the same stamp. ### Fixed - **A distributed `POST /v1/execute` run's worker lines carry the request id**: the route now puts the request id it resolved on the run's metadata, as `POST /v1/start` already did, so on a deployment whose `orchestration_mode` dispatches to a worker, such as `temporal`, the lines the worker writes while it runs the run's workflow and activities carry the `request_id` the response echoes. The logging page now says how the id reaches a worker's lines, and that a `POST /v1/validate` dispatched to a worker does not carry it yet. Closes L-260927-1f98d3 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q8vvwyfhLh2jLYouEA6fBx <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Promotes `dev` → `main` as release v0.30.0, pinning `pipelex` to `==0.68.0` and fixing request-id correlation so a `POST /v1/execute` run dispatched to a worker keeps the caller's `request_id`. - `POST /v1/execute` now places the request id on the run's metadata, as `/start` already did, so the lines a worker writes while running the run's workflow and activities carry the `request_id` the response echoes. - **Breaking:** a runtime line's own span now appears as `pipelex.trace_id` and `pipelex.span_id`; `trace_id`, `span_id`, and `trace_flags` name the host process's current OpenTelemetry span, which this server does not open, so they are absent unless the deployment instruments itself. Queries joining on `trace_id` must join on `pipelex.trace_id`. - **Breaking:** `POST /v1/codegen` and `POST /v1/build/runner` stamp `engine_version` 0.68.0, so a `codegen.lock` committed against 0.67.0 no longer matches until regenerated. - **Breaking:** selecting the `gcp` log sink now refuses to boot when Google rejects its credentials, where it used to boot and silently lose records. - The logging page documents how a request id reaches worker lines and that `POST /v1/validate` dispatched to a worker does not carry it yet. <sup>Written for commit e794629. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/101?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. --> v0.29.0Release v0.29.0 (#99) ## Release v0.29.0 Bumps version from `0.28.1` to `0.29.0`. Promotes `dev` → `main`. ### Changelog #### Highlights **A caught error reaches the caller with its reason and its place.** A run of an invalid bundle is refused before any pipe runs with the same located validation items `/validate` gives, a failed run names the pipe that failed and its root fault, and a run the caller's own method refuses keeps its explanation under STRICT disclosure. #### Added - **Validation items carry more locators**: a TOML syntax error's item carries the 1-based `line` and `column` the parser stopped at, an `unresolved_concept` item carries `declared_concepts`, and the new `unknown_model` item carries `model_reference` (the reference as the bundle wrote it), `model_type` and `suggestions` (the model deck's close matches of that kind), with an `unsafe` rename fix when there is exactly one. The OpenAPI artifact publishes the new fields and the new `unknown_model` value of `PipeValidationErrorType`. - **A run graph marks a list-valued stuff**: every io item of a `graph_spec` carries `multiplicity`, `true` when the stuff is a list, a fixed-count one included, and `null` otherwise, so a renderer can show a `Document[]` input or a `Record[]` output as a list. The schema also admits a positive integer, which the runtime does not emit. #### Changed - **Pinned `pipelex` 0.67.0 (Breaking)**: up from `==0.66.1`, exactly, the release that carries the located error reporting the entries below describe. The `.pipelex/` config shipped here already sits at the current schema, so no migration is required. The next step of an invalid-bundle verdict, its `user_action.detail`, now reads "Edit the bundle as each validation error says: apply its suggested fix where it has one, after confirming an unsafe one". - **The run routes refuse an invalid bundle with its validation verdict (Breaking)**: `POST /v1/execute` and `POST /v1/start` answer every refusal of the bundle while it loads, before any pipe runs, with the `422` `ValidateBundleError` problem document carrying the same located `validation_errors` `POST /v1/validate` gives, which STRICT disclosure keeps. A misspelled concept or a wiring mismatch used to answer a `500`, a TOML fault a `422` without items, and an unknown model the raw model-choice error. An entry pipe the bundle does not declare still answers its own `PipeNotFoundError`. - **A failed run reports its root fault, located at the failing pipe (Breaking)**: a run failure's problem document carries the `error_type`, `title`, `type`, `error_domain` and status of the innermost Pipelex error rather than the run-level wrapper's, and its `detail` opens with `Pipe '<pipe>' failed (<entry pipe> → … → <pipe>):`, so a consumer branching on `error_type == "PipelineExecutionError"` branches on the root fault's type. A run the caller's own method refuses, such as a `PipeCondition` whose outcome is `fail`, a `PipeParallel` branch whose multiplicity does not fit its field, a step missing a required input or an inline model the deck does not define, answers a `422` with a `detail` STRICT disclosure keeps, where it answered `500` with `An internal error occurred.`. The completion webhook's `error` carries the same report. - **Every load-time refusal is an item of the validation verdict (Breaking)**: `POST /v1/validate`, `POST /v1/resolve`, `POST /v1/codegen` and `POST /v1/build/*` answer any refusal of the submitted bundle, an unknown model and a pipe factory's refusal included, as a `200` `is_valid: false` verdict with a located item, where some of them escaped as a no-verdict problem document. - **A failing dry run is one located `dry_run` item per failing pipe (Breaking)**: an invalid verdict's `validation_errors` carries one `dry_run` item per pipe whose dry run failed, with the `pipe_code`, `domain_code` and `source` of the innermost pipe that failed, where it carried a single message-only item for the whole sweep. Its message is the failure's own when that is caller-facing and its title otherwise, so a configuration fault met during a dry run no longer reaches the caller through the verdict. - **`POST /v1/codegen` stamps `engine_version` `0.67.0`**: the stamp is the pinned `pipelex` version, so a `codegen.lock` committed against `0.66.1` no longer matches until it is regenerated. `POST /v1/build/runner` carries the same stamp. #### Fixed - **A verdict names no path on the server**: an item located inside a package a method depends on by address names the bundle by the package's address and its path inside it, and an item located in one of the server's own library directories carries no `source` or `field_path` naming its file, so STRICT disclosure no longer hands a caller a path on the host. Closes L-260927-fd4b9b 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Releases v0.29.0, pinning `pipelex` 0.67.0 (up from `==0.66.1`) and promoting `dev` → `main` with the located error reporting that release carries onto the run routes and validation verdicts. **Breaking** - `POST /v1/execute` and `POST /v1/start` refuse an invalid bundle before any pipe runs with a 422 `ValidateBundleError` carrying the same `validation_errors` `/v1/validate` gives; previously they answered 500 or the raw model-choice error. - A failed run reports its root fault instead of the run-level wrapper, and the `detail` names the failing pipe and its path from the entry pipe. Caller-caused run failures now answer 422 with the explanation kept under STRICT disclosure, where they answered 500 with `An internal error occurred.` - A failing dry run is one located `dry_run` item per failing pipe instead of a single message-only item for the whole sweep. - `POST /v1/codegen` and `POST /v1/build/runner` stamp `engine_version` `0.67.0`, so a `codegen.lock` from 0.66.1 no longer matches until regenerated. **Added** - Validation items carry `line`/`column` on TOML syntax errors, `declared_concepts` on unresolved concepts, and the new `unknown_model` item carries the model reference, type, and close-match suggestions. - A `graph_spec` io item marks list-valued stuff with `multiplicity: true`. <sup>Written for commit 5958658. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/99?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. --> v0.28.1Release v0.28.1 (#97) ## Release v0.28.1 Bumps version from `0.28.0` to `0.28.1`. Promotes `dev` → `main`. ### Changelog ### Changed - **Pinned `pipelex` 0.66.1**: up from `==0.66.0`, exactly. The release makes loading a library cheaper, since `are_classes_equivalent` settles most comparisons without generating a JSON schema, and it adds `load_from_crate(..., is_crate_prevalidated=True)`, which this server does not call. Nothing on the wire, in the configuration or in the logs moves. Closes L-260926-ad7062 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Releases v0.28.1, bumping the version from `0.28.0` to `0.28.1` and pinning `pipelex` to exactly `==0.66.1` (up from `==0.66.0`). Library loading becomes cheaper because `are_classes_equivalent` now settles most comparisons without generating a JSON schema. The bump also updates the version in `pyproject.toml`, the OpenAPI spec, and the changelog, while nothing on the wire, in the configuration, or in the logs changes. <sup>Written for commit a971ff4. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/97?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. --> v0.28.0Release v0.28.0 (#95) ## Release v0.28.0 Bumps version from `0.27.5` to `0.28.0`. Promotes `dev` → `main`. ### Changelog ### Highlights **The runner's logs are structured.** Every line it writes to stderr is one JSON object with each value under a key of its own, the request id rides every record a request emits, the Pipelex runtime's included, and secrets are scrubbed before a line is written. ### Changed - **The server's logs are structured, one JSON object per line on stderr (Breaking)**: `[runtime.log] sink = "json"` replaces the Rich console renderer, `console_log_target` moves to `stderr`, and `pretty_print_mode = "silent"` stops an operator pipe drawing its "Output of pipe" panel on the thread serving a request. Every value an error line carries — `route`, `status`, `error_type`, `error_domain`, `retryable`, `user_id` / `pipe_code` / `pipeline_run_id` when the request bound them, and `detail` on the failures this API authors itself — is a key of its own now rather than part of a `key=value` run inside the message, and `request_id` rides the runtime's request-scoped log context, so it lands on every record emitted during a request, including the ones Pipelex emits from inside a run. The message is a short sentence built only from the status and the error type, so no caller-supplied string reaches it and the API's own escaping is gone: the sink is what serializes a value now. A log query matching `event=api_error` as text has to move to the `event` field. The new `docs/logging.md` documents the line and every field on it. Uvicorn's own banner and access log are unchanged and still plain text. - **Pinned `pipelex` 0.66.0 (Breaking)**: up from `==0.65.0`, exactly, the release that carries the structured-log seam the entry above rides on: named fields and the run-scoped log context, the `json` sink selected by `[runtime.log] sink`, the redaction of secrets before any sink sees a record, and Rich behind the `cli` extra, which this server's extras leave out. On this server's lines that means a credential echoed into `detail` reads `[REDACTED]`, a control character in a field's value reads as its printable escape (`\n` where a caller sent a newline), and a line logged inside a traced run carries `trace_id`, `span_id` and `trace_flags`; `docs/logging.md` says so. The `.pipelex/` config shipped here already sits at the schema that release migrates to, so no migration is required. One change reaches an operator beyond the logs: the S3 storage provider now signs links and reads and writes objects on the bucket's own regional host, `<bucket>.s3.<region>.amazonaws.com`, so a deployment whose egress rules allow S3 by hostname must allow `*.s3.<region>.amazonaws.com`. Nothing on the wire moves. - **`POST /v1/codegen` stamps `engine_version` `0.66.0`**: the stamp is the pinned `pipelex` version, so a `codegen.lock` committed against `0.65.0` no longer matches until it is regenerated. `POST /v1/build/runner` carries the same stamp. ### Fixed - **A local image build no longer bakes the builder's own Pipelex overrides in**: `.pipelex/pipelex_override.toml` and `.pipelex/telemetry_override.toml` are untracked per-developer files, so CI never had them, but `make docker-build` copied whatever the developer had into the image — their storage backend, their log level, their telemetry credentials. A locally built image then behaved differently from the published one, with nothing in the diff to say so. `.dockerignore` excludes them; an operator still supplies overrides to a container by mounting them at `/root/.pipelex`. Closes L-260925-b2bafb 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01TpAMq6PZNQfauyDvx3GR2H <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Promotes `dev` → `main` for `v0.28.0`. The server's logs are now one JSON object per line on stderr instead of the Rich console renderer, and `pipelex` is pinned to `0.66.0`, the release behind the structured-log seam. Error lines carry each value under its own key, secrets are redacted, and the request id rides every record a request emits, including ones Pipelex logs from inside a run. **Breaking** - Tooling parsing the old log output must switch to the JSON line format; a custom `pipelex.toml` must keep `sink = "json"`, `console_log_target = "stderr"`, and `pretty_print_mode = "silent"`. - `POST /v1/codegen` and `POST /v1/build/runner` stamp `engine_version` `0.66.0`, so a `codegen.lock` against `0.65.0` must be regenerated. - The S3 storage provider signs links and reads/writes on `<bucket>.s3.<region>.amazonaws.com`; egress rules that allow S3 by hostname must allow `*.s3.<region>.amazonaws.com`. **Fixed** - `.dockerignore` excludes the untracked `.pipelex` override files, so a local `make docker-build` no longer bakes a developer's storage backend, log level, or telemetry credentials into the image. <sup>Written for commit 5e2f627. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/95?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. --> v0.27.5Release v0.27.5 (#94) ## Release v0.27.5 Bumps version from `0.27.4` to `0.27.5`. Promotes `dev` → `main`. v0.27.4 was published from `main` without being merged back into `dev`, so this branch merges `origin/main` itself. Git merges the changelog without a conflict but puts the `[v0.27.4]` heading over `dev`'s unreleased notes, so the merge commit restores the v0.27.4 entry and rewrites those notes against the 0.64.2 pin it shipped. The branch also fixes the in-page links on the Pipe Validate docs page. ### Changelog ### Changed - **`POST /v1/validate` graphs a `method_ref` package's manifest entry pipe**: the valid arm's `graph_spec` is now drawn from the pipe `default_pipe_ref` names, so a package whose `METHODS.toml` names a `main_pipe` is graphed from that pipe rather than from its primary bundle's own `main_pipe`. A published method whose entry pipe only its manifest declares, which used to answer `graph_spec: null`, now carries its graph, and a manifest `main_pipe` the package does not resolve answers `null` rather than a graph of another pipe. Inline `mthds_contents` are graphed as before. - **Pinned `pipelex` 0.65.0**: up from `==0.64.2`, exactly. The runtime's bundle-validator seam now takes the pipe to graph, which the `POST /v1/validate` change above rides on. The `.pipelex/` config schema did not move, so no migration is required. - **`POST /v1/codegen` stamps `engine_version` `0.65.0`**: the stamp is the pinned `pipelex` version, so a `codegen.lock` committed against `0.64.2` no longer matches until it is regenerated. `POST /v1/build/runner` carries the same stamp. ### Fixed - **In-page links on the Pipe Validate docs page**: the page's topical sections are now headings, so the links to the effective entry pipe, the opt-in extras, sourcing submitted files, where validation runs and who the validation is done for land on their section instead of the top of the page, from that page and from Pipe Builder. The deployment resource note is back under where validation runs. Closes L-260925-235e22 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EmBtTHDKqvRNUCBQkuHxhV <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Release v0.27.5: promotes `dev` to `main` and pins `pipelex` 0.65.0. `POST /v1/validate` on a `method_ref` now draws `graph_spec` from the fetched package's manifest entry pipe — the same pipe `default_pipe_ref` names — instead of the primary blueprint's `main_pipe`. A package whose entry pipe only its manifest declares now gets a graph instead of `graph_spec: null`; a manifest `main_pipe` the closure can't resolve returns `null` rather than graphing another pipe. Inline `mthds_contents` continue to graph the closure's `main_pipe`. - Pinning `pipelex` 0.65.0 changes `POST /v1/codegen` to stamp `engine_version` 0.65.0, so a `codegen.lock` committed against 0.64.2 won't match until regenerated. - Fixes the in-page links on the Pipe Validate docs page by turning the topical sections into headings. <sup>Written for commit c61cd31. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Pipelex/pipelex-api/pull/94?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. --> PreviousNext
|
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |