Repository navigation
chore: merge train 20261103-1528 - #5345
Conversation
The platform manual's error register had no row for the failure notice a task run ends with, nor for the sandbox refusals that park a run instead of failing it, and the tasks suite showed only three of the five waits. - reference/error-codes.md gains two sections. "Task run failures" has one row per tasks.agentRun.failure.* class: the stored codes behind it, the shortest way to provoke it on a local stack, whether an automatic retry runs first, and what Retry, View and the inbox offer. "Sandbox refusals that park a run" has one row each for session_quota, host_memory, host_cpu, host_pressure, host_disk and runnerd's session_memory_busy, with the setting that provokes it and what ends the wait. - suites/tasks.md gains TASK-B58 (Waiting for its sandbox, exec_limit) and TASK-B59 (Waiting for model capacity, model_capacity) after TASK-B50. - The suite header and the readme's tasks row count 179 boxes and the readme's total 1609, as the lint tool's parser counts them; the header and the row had drifted (174 against 177) before these boxes. Closes #5152 Task: TALE-248
On Auto, a provider that refuses a turn's first round before accepting it, for the account (spent credit, a rate limit, a refused key, a plan without the model), no longer ends the turn. The turn asks the chat lane for another pick with that provider excluded, judged by the same governance and model access, and runs it, up to three models in all. The reply names the model that answered. A refusal of the message's content or shape, any failure after the provider accepted the round, a later round and a model picked by hand still end the turn, and the classifier now reads a guardrail block or a flagged input as a content filter. While a replacement runs, the turn holds the costliest candidate's worst case against the caps, never their sum. When every candidate refuses, the stored error names the provider that refused last, counts the models tried and lists each refusal, and the credit hints suggest another provider's model or more credits. Nothing is kept across turns: the next message picks afresh. Closes #5339 Task: TALE-428
An AI gateway lists the vendor models it routes by id, window and price alone. Tale read such a row for an image model as a chat model that takes tools (an id its catalogs do not know, gemini-3.1-flash-image) or as nothing (a GPT image model they know), so the image model picker offered neither, and the chat picker offered the first, which then answered a request for a picture with "image generation is not available". Such a row is now read as the image generator Tale's catalogs know it to be, or, for a model they do not know, as one when the last part of its id has image or imagen as a word, unless the image is what the model takes (image-to-video) or the id names an embedding or captioning model: offered for image generation, never to chat. A pinned gateway image model still could not draw: Tale asks every provider but OpenRouter on the images API, and Bifrost implements none for OpenRouter (400 "image_generation is not supported by openrouter provider") nor, on one gateway, for its Gemini backend (404). A model on an images API Tale has not verified now falls back to chat completions when that API refuses it as one it cannot serve: the request asks for image output with modalities, the shape in words and the references as image parts; the image is read from message.images or a data URL in the content, only with a header to read, the words around it in bounded time, and the charge from usage.cost, a number or Bifrost's total_cost. The wire that served is remembered per organization, gateway and model for a day; a limit, an outage, a refusal of the prompt's content or a billed answer is never asked again. The refusal statuses move into one module the chat round's gateway fallback shares. Proved through the platform's own image path against a live gateway (404 on the images API, the image over chat, the next call straight to chat) and against a local Bifrost routing a mock OpenRouter: the reported 400, then the image on Bifrost 2.4.0. Bifrost 2.3 and older drop message.images, which the docs now say.
|
Release lease
State at acquisition:
Checked by hand on the merged One finding, not in this candidate: a chat's title was written by the gateway's image model, because the title lane did not filter image generators. Fixed on |
|
Release lease renewed
|
|
Release lease taken over
I reconciled the release first, as RELEASING.md "Merging during a release, and the release lease" says:
Other checks:
Next: the |
|
Release lease released: v0.5.98 is published
Receipt (RELEASING.md, "A release that has to go out", step 4):
Holds:
Next:
|
Cut: 4d62aa6
The stable line's merge train: the four commits between
ee8e36b49(the merge of #5342) and the cut. The last of them writes the v0.5.98 release notes, so this pull request's merge commit is the v0.5.98 release candidate. The owner asked for this departure and the release.2eba15b53docs(manual): add task-run failures and refusals to the register80b4f5750fix(platform): let Auto answer on another provider after a refusal (closes Bug: Auto can pick a provider that is out of credit, and the turn fails instead of using the other one #5339)2e7daded2fix(platform): recognize a gateway's image models and draw over chat4d62aa6e0docs: write the v0.5.98 release notesmainhas not moved sinceee8e36b49, so the rebase merge replays the four commits as they are (git merge-tree --write-tree origin/main <cut>is clean).Checked before departure:
2e7daded2, rebased onto80b4f5750: the fast gate (oxfmt --check, the ruff format check,bunx turbo run typecheck18 of 18, andturbo run buildfor every package, none from cache); 54 platform server test files with 1,362 tests (backend/core/lib/providers/,lib/shared/providers/,backend/core/chat/withturn_action.auto_reroute.test.ts,lib/chat/turn.test.ts,lib/shared/chat-errors.test.ts,backend/domains/agent_tools/and the image tool's tests);services/docs(778 tests);bun run lint:manual; oxlint on the changed files. Before the rebase, an independent review, and the image path proved against a live gateway and a local Bifrost 2.4.0 routing a stand-in for OpenRouter.4d62aa6e0:bun tools/cli/scripts/release-notes.ts --version v0.5.98validates it (migration0235_conversation_api_source_owners.sql, API contract unchanged at3.52.0); an independent fact check of every sentence against the rangev0.5.97..and its corrections; the fast gate.It rebase-merges when green (auto-merge). The tag waits for 2026-11-04 00:00 UTC:
release.ymlpublishes one full cohort per UTC day, and v0.5.97 went out on 2026-11-03.git merge-tree --write-tree origin/feature-train <cut>conflicts in ten files. The feature-train role meets them when it rebasesrelease/0.6ontomainafter this lands. The five of2e7daded2add on both sides:docs/{en,de,fr}/platform/admin/providers.md:2e7daded2's new paragraph on a gateway's image models, then the feature line's version of the paragraph after it (with Model details).services/platform/backend/core/lib/providers/resolve_image_model.ts: the module doc keeps both paragraphs, the EU/EEA processing rule's and the gateway fallback's.services/platform/tests/manual/suites/governance.md: both boxes stay (GOV-F72,GOV-F81, thenGOV-F83), and the header counts one more box than the feature line's.resolve_chat_model.ts, its test, and the manualreadme.md,chat.mdandtasks.md, come from80b4f5750and2eba15b53.