Repository navigation
chore: feature train 20261102-1658 - #5329
Merged
Merged
Conversation
Traefik cannot read a request body the client framed wrongly, and it answers as for a failing service. A malformed HTTP/1.1 chunked body gets 500. An HTTP/2 body that ends before its declared Content-Length gets 502, which the errors middlewares on a platform route show as an outage with retry advice. The contract promises 400 BODY_CHUNK_MALFORMED and 400 BODY_LENGTH_MISMATCH for them, as the previous edge answered. The proxy image now ships a local Traefik plugin, bodyfaults. Traefik interprets it from the image, it uses the standard library alone, and nothing is downloaded. Both entrypoints run it after tale-edge. It wraps only a chunked body or an HTTP/2 body with a declared length, and notes when that body fails on its framing or its length. In place of Traefik's 500 or 502 it then answers the client's 400 in the API's JSON envelope, with the headers of the edge's other JSON answers and a request id of its own. Streamed answers keep flushing, and upgrades and every other request pass untouched. tale-proxy starts Traefik in the share directory, where Traefik looks for local plugins, and a plugin that does not load stops the edge. The container smoke test now sends both faults through the proxy, to a platform page and to a backend lane. The registry's comments, the manual reference and the proxy README describe the restored answers. The OpenAPI description and the API reference already promised them, so the contract keeps its version. Closes #5292 Task: TALE-384
Sandbox sessions could press the database, the platform and the backend out of memory: nothing spared their pages from reclaim, and the spawner's admission reserve did not know what they need. Where Docker reports cgroup v2, the CLI's generated stack now gives db (512m), platform (128m), backend-api and backend-worker (256m each) a mem_reservation (memory.low), each overridden by its own <SERVICE>_MEMORY_RESERVATION variable (0 reserves nothing). On cgroup v1, where Docker makes a reservation a soft limit that reclaim takes from first, and where Docker reports no version, tale deploy, rollback and dev leave them out and warn once. A size Docker would refuse (under 6m, or a backend role's above its 12g limit) fails the command before it pulls anything. compose.yml carries the same defaults. The CLI hands the spawner their sum, every replica counted, as SANDBOX_RESERVED_MEMORY on every engine. The default SANDBOX_MIN_FREE_MEMORY never falls below it, in session admission as in host admission and capacity sizing; an explicit value still wins, and the capacity warning names the setting the reserve came from. The gateway's memory limit reuses the same size parser. The self-hosting docs (EN, DE, FR) state the values, their bounds and overrides, the admission rule, the parent-cgroup grant that makes the reservations hold and what tale deploy does on cgroup v1. Closes #4726 Task: TALE-135
Each private_knowledge vector table had one HNSW index over every organization's vectors, and a dense search filtered its organization only after the scan. Past the exact-scan bound, a small organization beside a large one whose vectors lie nearer the query got fewer hits than it has, or none, once `hnsw.iterative_scan` gave up after `hnsw.max_scan_tuples`. Knowledge-db migration 18 gives every vector row its chunk's `org_slug`, set by a trigger on every write that could change it, whatever the writer sent, then backfilled and NOT NULL. It drops the shared indexes and gives an organization a partial HNSW index of its own on each width pgvector can index once it holds more than 5,000 vectors there (`EXACT_DENSE_SCAN_MAX_CHUNKS`), building those of the organizations already past it. The dense search names its organization on the vectors, so Postgres scans that organization's index and no other tenant's vectors; the choice between an exact scan and the index, and its bounded count, are unchanged. The indexer asks for the index when a document completes and the teardown drops it after the purge; a failure of either is logged and costs only speed. The migration is rolling-safe. No writer names `org_slug`, and the previous image's search past the bound scans an organization's own vectors exactly: the same hits, slower. At container start the migration rewrites every vector row once and keeps the vector tables locked until it commits, so a platform still running waits for it. A guard holds the migration's widths and bound to the platform's. The search lane puts an organization just past the bound beside one of 25,000 vectors that all lie nearer the query: its search gets its full result set, all its own, and its own index can rank it. The lane also holds the build at the bound, the stamp and the drop. Closes #5254 Task: TALE-334
Part 1 gave the docs screenshots and the marketing images one width ladder, format policy, byte budget and encoder. The images Tale serves at one size now come out of the same policy and encoder, and tests hold them to it. README gallery tiles. bun run readme:assets writes each tile at the policy's README tile width (828 px, one of two cells across GitHub's README column at DPR 2) and screen quality through encodeImage. The six tiles shrink from 299,260 to 180,082 bytes; the unshown tour tile and its flag go. A docs test checks each tile's width and budget, and that every README shows every tile. Video posters. docs:videos encodes each poster at the policy's poster width (1600 px for the 48rem docs column) through encodeImage, and the manifest records its size. The 30 committed posters are re-encoded with the pipeline's own encodePoster; the videos test checks their budget, their width and the size the manifest records. Social card. bun run --filter @tale/web og-card renders the card from TaleLogo at the size TALE_OG_IMAGE documents and writes it as a palette PNG through encodeImage, which learns PNG for it (7,082 to 4,943 bytes, same look). Docs and ui-docs name the marketing card, so their unreferenced copies go. Each site's shell tags are checked against TALE_OG_IMAGE, and web checks the card's format, size and budget. The in-app image audit is on #5251; its oversized images are filed as #5298, #5299, #5300 and #5301. Closes #5251 Task: TALE-331
Every commit an agent makes now carries the agent's commit identity, else Tale <[email protected]>, as author and committer. The credential broker sets GIT_AUTHOR_* and GIT_COMMITTER_* beside user.*, which git ranks above any name or email a repository's own config sets. It does so on every turn, including system:task-agent and system:automation sessions, confined runs and a broker failure. The lookup of the session owner is gone, so a person's name and email no longer reach the repositories an agent pushes to. SBX-R42, the docs in EN, DE and FR, the sandbox and runtime READMEs, the API description of gitIdentity and the manual box PROJ-F77 say so. Tale's image and API attribution follow in issue 5252, the person as co-author in issue 5253. Closes #4687 Task: TALE-113
VIDEO_INGEST_PROXY_URLS lists proxies that carry video ingestion alone, so addresses a platform accepts (residential or ISP proxies, often billed per address or per gigabyte) need not also carry the crawler, the web fetch, email images and sandbox sessions through OUTBOUND_PROXY_URLS. Until now video could take one proxy of its own (VIDEO_INGEST_PROXY_URL), without failover, or the outbound list. The list gets the outbound list's per-video failover: a video keeps one proxy for all its runs, starts on the one its platform last served, and moves along the list when the platform turns it away or the proxy cannot carry it, within the same five runs and 90 seconds a step. Once every proxy in it has failed the video, the video ends with the platform's reason; it never falls back to the outbound proxies or a direct connection. Log lines name a proxy by list, entry and host:port, never by its credentials. The outbound rotation becomes one instance of a shared ProxyRotation (lib/net/proxy-rotation.ts); the video list is a second one, with its own turn and its own set-aside proxies. Entries take every scheme yt-dlp speaks. A malformed entry stops the backend from starting, named by its position, and so does setting the list next to VIDEO_INGEST_PROXY_URL, which keeps working unchanged on its own. Docs (en, de, fr), .env.example, spec VID-R7, the outbound proxies guard and manual boxes VID-F6, VID-F9 and VID-B2 describe the list. Closes #5072 Task: TALE-335
Docs screenshots were captured at one desktop viewport, so a phone reader saw a scaled-down desktop page even where Tale lays the page out for a phone. A shot now has a phone capture, and docs pages serve it below Tale's md breakpoint. Every shot whose desktop viewport is 768 px or wider gets a phone capture, <shot>.phone.webp at 390 x 844, DPR 2 and touch, with "device": "phone" in the images manifest. A shot's phone field gives a long page a taller viewport or opts the shot out with its reason, and its steps branch on ctx.device. That is 108 of the 111 shots. automation-editor-canvas opts out, since its page shows it as the wide layout beside automation-editor-canvas-mobile. That 390 px shot and the 720 px agent-consent already are the phone layout. --devices phone takes the phone captures alone, in English unless --locales says otherwise. The capture encodes through the shared encodeImage, so its own WebP encoder and quality ladder (webp.ts) are gone. Product motion refuses --devices, since it records every scene in both layouts. docs:images encodes each phone capture's variants beside its desktop ones and records its size. DocsImage offers it as AVIF and WebP sources for MOBILE_QUERY, ahead of the desktop sources, and the new sources prop of ImageZoom opens the matching full-size file in the lightbox. Pages keep naming the desktop file. The image-manifest test checks a phone capture like a desktop one: its entry and device, a viewport no wider than 767 px, variants on the ladder that match their headers, budget, sha256, no orphans, and no page naming it. A fixture covers each fault. The prerender check requires both phone sources, first and with their size. The markdown e2e runs at 390 and 1280 px and checks that the lightbox opens the full-size file of the capture shown. docs/AGENTS.md, the write-docs skill, the capture README, the docs tests' AGENTS.md and the manual layer describe how to declare and review a phone capture. No phone capture is committed: capturing needs the seeded stack, which the agent worker lacks. The 108 captures are filed as #5302. Closes #5250 Task: TALE-330
Step 2 of 3 of #4927. execute() no longer walks the steps itself. The walk (the order, the next node, the skip rules, forEach items and repeatUntil passes) moves unchanged into lib/engine/core/execute/walker.ts, and execute() becomes its first host. The host checks the run's input, hands the walk its ports and evaluates the output. The walker sits beside decide.ts rather than in core/walk/, because its skip rules, forEach lists and repeatUntil settles evaluate templates, and core/walk/ loads no parser. The four ports that step 1 left undeclared get their shape in core/walk/ports.ts, with execute() as their first user. They are calls (a transform's code, the llm service and a connector action's live call), agent, loader (a subautomation's saved document) and clock. The copies the two walkers kept are folded into one each. asPromptText moves to execute/scope.ts. AgentTurnRequest replaces WorkflowAgentRequest. CORE_NODE_KINDS in core/slots.ts feeds both CoreNodeKind and the stepper's CORE_TYPES. SkipReason is spelled once, in core/walk/progress.ts. No behaviour changes. execute() returns the same status, output, trace, effects and record, nothing new is written, and ENGINE_PROTOCOL stays 2. Closes #5257 Task: TALE-351
When web_fetch reads a linked PDF, DOCX, XLSX, PPTX or ODT, it now also keeps the bytes it fetched as a file of the conversation and returns that file's ref, so run_code copies it to /agent/inputs/ and the document skills can change or convert it as they do an attachment; a changed copy comes back as a new file. run_code takes the stored copy and never fetches the address again. The file is held as a chat attachment is: one blob in the organization's store and one row bound to the conversation's lineage root, with the person as its uploader, so the per-person upload meter counts it, erasure takes it and the retention window for the person's uploads sweeps it. Its source is `web` and it names the address it was read at (new column app.file_metadata.source_url, migration 0234), so it never reads as a file the person attached. It is not indexed: its text reaches the model only through web_fetch, wrapped as untrusted, and run_code's output is wrapped as untrusted too once the conversation holds such a file. The same address read again with the same bytes finds the file already kept. The file is kept only when the turn can run code; a turn that cannot gets the text alone, and a keep that fails says so in the result, which still carries the text. Part 1's note asking for an attachment goes. The web_fetch and run_code descriptions, the files spec (FILE-R10) and the en, de and fr chat docs say that a linked document can be changed, and the en, de and fr wording of the retention setting for uploads names the files read from a link. Closes #5266 Task: TALE-359
Settings › Usage › Storage gains a View files link to a new page, Storage files, that lists every file the person uploaded to the organization, largest first: the rows the upload limit counts and the meter adds up (countedUploadsClause), in Trash too. Each row names the part of the meter it counts in (the meter's own CASE, uploadKindSql), where it lives (Knowledge, a project or a chat, linked only as far as the person may open it), its size and date. Open previews the file; Delete is the document delete Knowledge and a project's Files tab use, offered where they offer it and on the document's current file alone, and unavailable with its reason under a legal hold or a protected record, so the file leaves the list and the meter goes down. The backend pages with a keyset on size and id (GET /documents/upload-usage/files) and returns a document's title and state only where its place is open to the person; the documents spec gains DOC-R14 and the integration check walks the list against the counted rows on Postgres. Knowledge's reading of a document's sourceMode moves into one helper both use. The settings rail keeps Usage active on its new page. Deleting chat attachments and agent files is split off (issue 5303). Closes #5267 Task: TALE-360
jev.decide, a read, now ships its scenarios: two_answers (success), no_usage (empty, the answers without the usage the output leaves optional) and three errors the live body throws with OpenRouter's status and its own message, invalid_key (401), no_credit (402) and rate_limited (429). Jev joins SCENARIO_CONNECTORS. The catalog test proves the scenarios of every listed connector against its live body, not only Slack's. SCENARIO_PROOFS holds each connector's proofs and is typed by the list, so a connector cannot join it without them. A proof answers each request by method and URL with the response the live host builds (toConnectorResponse, now exported for the test), and hands the body the credential's secrets as a live call does. The connector docs (en, de, fr), CONN-R33 and its automation row now say the proof holds for every listed connector. The engine API docs and AUTO-R79's example said Slack's scenarios name no status, but its rate_limited scenarios have named 429 since d4c9ad3; both now say a scenario names a status only where its live call's error carries one. The other 22 connectors follow in issues of their own, named on the parent issue. Closes #5272 Task: TALE-365
A test could pick a connector scenario for a step only in Edit as YAML, and neither the form nor the editor showed which scenarios an action ships. The editor's node catalog now carries each connector action's scenarios (name, kind, description and the calls a scenario answers) from the same definitions get_catalog lists, without their answers. The test's Setup form gets a Scenarios section. "Pick a scenario for a node" offers the steps whose action ships scenarios and that have no other stand-in, and gives the step the first one. "Scenario for <node>" is a labelled, keyboard-reachable list that shows each scenario's kind, its description and the calls it answers. A step keeps one stand-in: a step with a simulated output or failure is offered no scenario, and a name the action does not ship stays as written until another is picked, so Problems still names it. A problem at a scenario pick opens the form at that pick. The Shape tab lists the scenarios of the node's action. Ships en, de and fr, the docs in the three languages (testing.md and editor.md), component tests with a round trip through Edit as YAML, and the manual box AUTO-F250. Closes #5275 Task: TALE-368
TALE-135 (db25699) exported memoryReservationMib from the compose memory module, but only that module calls it. Knip refuses the unused export, so the feature train's Knip check goes red on it.
TALE-113 (3465e74) exported resolveGitIdentity from the sandbox session credentials module, but only that module calls it. Knip refuses the unused export, so the feature train's Knip check goes red on it.
TALE-135 (db25699) made the dev command ask setup-checks for the engine's cgroup version, but the dev command fixture still mocks that module without probeCgroupVersion. Bun then refuses the import, so every dev lifecycle test and the parent-directory smoke exit 1 on Linux, macOS and Windows. The fixture now answers cgroup v2, where the stack keeps its reservations and prints no notice.
TALE-368 (28a7b02) built each scenario of the node type catalog with an object spread inside map, which oxlint's no-map-spread refuses, so the feature train's Lint check goes red on it. Each scenario is now built whole, and its condition is still copied when it has one.
This was referenced Nov 2, 2026
Closed
Closed
This was referenced 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.
Cut: 28a7b02
The ninth feature train of the 0.6 line. It carries the commits
feature-traincollected on top ofrelease/0.6(8502f4b7e8295dddc01c82f94db3696c6d8c2427), oldest first. That base holdsmainatf8eb4613f7c525a52d55d21548d4a4cda44a9bfe.Task keys of their
Task:lines: TALE-384, TALE-135, TALE-334, TALE-331, TALE-113, TALE-335, TALE-330, TALE-351, TALE-359, TALE-360, TALE-365, TALE-368.Known before departure, from the role's own runs:
mainjust before this departure.train-20261102-1557(chore: merge train 20261102-1557 #5328) broughtfix(platform): embed documents again after a change of embedding modeltomain. With it, two changes were needed that git does not flag, and the role made each in the commit it concerns:maintakes knowledge-db version 17 fordocuments_embedding_model. The feature line'schunks_core_offsetmoves from 17 to 18, inrelease/0.6'sperf(platform): bound knowledge search work per query. This train'schunk_vectors_org_index(TALE-334,112e3719c) moves from 18 to 19.DocumentCorpusReadercalls those two commits add now pass the embedding model as the third argument.release/0.6moved from5dffe679c…to8502f4b7e…, andfeature-trainfrom566d1d1ff…to this cut. Both trees match the ones the role rehearsed on chore: merge train 20261102-1557 #5328's head and gated.db25699b4) exportsmemoryReservationMibfromtools/cli/src/lib/compose/services/memory-env.ts.3465e7487) exportsresolveGitIdentityfromservices/platform/backend/core/node_only/sandbox/session_credentials.ts.knipreports no findings in the role's worker.format:checkpass.turbo run typecheck buildruns 26 tasks and 24 pass. The typecheck of every package is among them.@tale/cli#buildand@tale/web#buildstop only where they download from the internet. The web build's inputs hold none of the files the rebase changed. The CLI's offline steps pass: generate, the backend and Linux builds, andcheck:bundle.lint:manualpasses: 1975 boxes in 4 trees.knippasses.Not run in the role's worker:
The feature-train role lands this pull request by rebase once every check passed, so each task stays one commit on
release/0.6. It ships with 0.6.0.