Repository navigation
chore: feature train 20261031-0042 - #5184
Merged
Merged
Conversation
The root package.json pins Bun in packageManager and CI runs that version, but nothing held a contributor's own Bun to it. A machine on 1.3.10 produced about twenty failures and hangs that pass on the pin, each reading like a regression. bun install checks neither packageManager nor engines.bun (1.4.2 installs silently, exit 0, under a different pin and under engines.bun ">=9.0.0"), so an engines field would only be a second copy of the version. scripts/check-bun-version.ts (bun run bun:check) reads the pin from package.json and compares it with Bun.version. A match prints nothing. A difference prints a framed warning on stderr that names both versions and the bun.com installer for the pinned one (the PowerShell form on Windows). A manifest that pins no Bun, or does not parse, gets a one-line note. It only warns and always exits 0: a newer patch release is often fine, a sandbox may be unable to install another Bun, and setup:check keeps the hard floor. It imports no package, so a stale node_modules cannot stop it. bun run check and every root test script (test, test:e2e, test:ui, test:watch, test:coverage, test:performance) run it first. CI calls only test:performance among them, on the pinned Bun. tools/cli/scripts/check-bun-version.test.ts holds the three cases, the script's own exit code and output, and the wiring of every root check and test script; the CLI's transit inputs hash the script. The contributor setup guide says so in en, de and fr. Closes #4734 Task: TALE-140
A turn's open appended the user row and the placeholder through appendMessageRow, which bumped app.threads.updated_at_ms after each insert: two versions of the thread row, and of a branch's root, in one transaction, neither a HOT update since threads_org and threads_org_user index the column. The open now inserts both rows and touches the thread once, still stamping the unread watermark and naming an untitled thread. The end of a turn failed a placeholder left pending through a thread_id and status = 'pending' filter, which read every message of the thread. It now deletes the generation row RETURNING the message_id the open stamped and fails that row by primary key. A keyed REST send deleted its organization's expired idempotency keys in its own transaction, so concurrent sends of one organization waited on each other's deletes, and an organization that stopped sending kept its keys for good. The new hourly chat.send_idempotency_gc job sweeps them across organizations instead, 1,000 a statement with FOR UPDATE SKIP LOCKED and at most 100 batches a run. Migration 0222 swaps the per-organization expiry index for one on expires_at_ms. Migration 0221 sets fillfactor 70 on app.generations and 85 on app.thread_metadata. Their per-turn rewrites change no indexed column, so they stay HOT where a page keeps room for the new version. store.test.ts, send-idempotency.test.ts, v1-threads.test.ts, schedules.test.ts and task-list.send-idempotency-gc.test.ts pin each change, and the checkChatTurnWrites lane proves them on real Postgres. Closes #4709 Task: TALE-118
The confidentiality notice sat under the composer of every chat. Once a conversation has a message it now sits on the last one instead: under a reply's toolbar once the reply has settled, under any other last message while no turn runs, never inside a reply still being written, and it moves to each newer reply. A new chat, an empty conversation and an arena pair, whose columns carry none, keep it under the composer, so it still shows before the first send. An archived conversation shows none, as before. The notice on a message ends with "Don't show again" (dataNotice.inline.dismiss in en, de and fr), a keyboard-reachable button with a focus ring and a 24px hit target. It hides the notice from this member in this organization, under the composer too, and hands focus to the reply's own last action. The dismissal stays in this browser (usePersistedState, keyed per member and organization like the chat drafts) and holds the text it hid: it survives a reload, the notice returns once an admin changes the text the member reads, and turning the notice off and on with the same text keeps it hidden. The policy's version plays no part. The note and the footer share one label key (dataNotice.ariaLabel). The loading skeleton reserves the notice's row on a new chat only, and a dismissal stops it reserving one. The chat and Policies & Limits guides say where the notice shows and how to hide it, in en, de and fr, and the manual register names the specs. Closes #2786 Task: TALE-15
An automation agent node whose sandbox ran out of memory was re-kicked after a fixed 2 minutes every time. The kick holds the start, and its op row has to stay inside the stalled-turn sweep's 4-minute window, so it could wait no longer; the retries all met the same memory limit within minutes, while a task run waits 2, then 10, then 30 minutes. The stepper now holds such a node before its re-kick instead. The run parks with the failed attempt's settle kept in its cursor and a new stamp, rekickHeldSince, and wakes when the task lane's wait for the attempt that failed has passed (resourceExhaustedRekickAtMs, built on resourceExhaustedRetryDelayMs). Nothing is kicked meanwhile, so no op row exists, and the stalled-turn sweep, which lists only cursors without a result, leaves the node alone. A park that holds a re-kick no longer wakes its run at once for the settle it carries (parkedAgentSettled): its poll comes back when the hold ends, and a node woken early parks again for the rest. When the hold has passed, the retry runs as for any other failure: the attempt is charged and recorded, and the kick starts at once. The plan and the record go by the time the hold began, so the hold never reads as fifteen minutes of work that would refresh the budget. A spent budget still fails the node at once, without a hold. Closes #4723 Task: TALE-132
Refs #4688 Task: TALE-114
chunkStageFiles packed a stage request by its JSON alone, and a URL entry is a few hundred bytes whatever runnerd must fetch for it, so one request could ask for up to 512 downloads. Runnerd gives a whole request one 25 s deadline (STAGE_TIMEOUT_MS) and fetches at most 100 MiB for one entry (FETCH_MAX_BYTES), so many large files failed the stage with `timeout` although every download was healthy. A longer deadline on the platform's POST alone would not help: runnerd's own deadline still ends the batch. A stage entry now carries expectedBytes, and chunkStageFiles also packs URL entries to STAGE_DOWNLOAD_BUDGET_BYTES (100 MiB) of expected download per request, so a request never needs a faster link than one largest file already does. A URL entry of unknown size counts as the whole budget and goes in a request of its own; so does one over the budget. Inline entries and source probes download nothing and pack as before, under the same 1.5 MiB and 512-file limits. expectedBytes is never sent: the spawner and runnerd protocol is unchanged. The URL entries carry the size their rows record: run_code inputs (sizeBytes), generated workspace images (their bytes), a task's attachments and earlier outputs (the fileSize their entries keep, now read into the brief) and a workflow's folder mounts (the document's metadata.size, now selected by the folder listing and read only when it is a JSON number). A review file is staged alone and needs no size. Closes #4732 Task: TALE-138
An automation's Runs tab rendered its table in the page's default frame and without the table's fixed layout. The table grew with its rows and the page scrolled instead: the heading, Filter and the column header row slid away with the rows, while the Automations list, Projects and the Knowledge tables hold theirs in place. The tab now has the shape every collection screen has. ContentArea variant="list" bounds it against the automation's shell, the runs table's wrapper hands that bound on, and the DataTable takes stickyLayout. The heading, Filter, the column header row, the count footer and the Compare bar stay put while only the rows scroll, by wheel, trackpad or keyboard, and older runs load as the rows near their end. A short history hugs its rows. On a short window the frame grows and the page scrolls, as on the other lists. On a phone the table scrolls sideways inside its frame, which ends above the tab bar. The loading skeleton and the empty history read as before. The design rule for collection screens names the Runs tab, and the automations suite gains AUTO-F246 for the frame on the real stack. Closes #4791 Task: TALE-162
A provider with `catalog: { source: none }` serves the ids a credential's
allowlist names, and every one of them got the neutral 128,000-token
window and no image input. An organization serving Claude models through
its own Anthropic-format gateway therefore made every managed Claude Code
run compact near 95,000 tokens, and runs on a large repository failed with
autocompact thrashing.
The `none` catalog of a provider definition now takes `models`: per id an
optional `contextWindow` and `supportsVision`. The synthesized catalog
serves the declared facts and keeps 128,000 tokens and no image input for
what is left out; a declaration never makes a model available, the
credential's allowlist still decides that. A declared window of 200,000 or
more leaves CLAUDE_CODE_AUTO_COMPACT_WINDOW empty through the harness's
existing contextWindow gate, and chat sizes its history from the declared
window. The agent lane's vision polyfill decision reads the served model's
servable entry, so a declared image reader keeps its own lane.
The custom provider's credential dialog shows Model details under Enter
model IDs: one group per allowlisted id with its Context window and Reads
images, seeded from the definition on edit; a save keeps the declarations
of ids it does not show. `tale config` plans, applies and reads the field
back with the rest of the provider definition. The provider configuration
guide and the AI providers page describe it in English, German and French;
SET-F91 covers what the component tests cannot.
Closes #5073
Task: TALE-228
Read-only code set its line height in four places, on two values: leading-5 (20px rows on 12px type) in the document text and skill asset previews and in the platform's markdown fences, leading-[1.6] in @tale/ui HighlightedCode (behind CodeBlock, CodeGroup and SchemaTree), and leading-5 in the diff view. Every user of the shared Shiki helpers now reads one @theme token, the leading-code utility (--leading-code: 1.5). It is the type scale's normal step, so mono 12px sits on an editor's 18px row and 14px on 21px. A numbered row's gutter is a ::before inside its line and inherits the value, so the numbers stay on their lines with wrap on or off. The diff's floor for an empty line and its loading rows take one line of the same type (1lh) instead of a fixed 20px. The colours already reach 4.5:1 in both themes on every surface code sits on (code-palette.test.ts computes them from the CSS variables), so the palette is unchanged. The CodeMirror editor keeps 1.6: it is an input, and its row limits size the field. Closes #2785 Task: TALE-14
Home's "assigned to me" reads one person's open tasks across the
projects the caller reads, newest activity first. The board filters
were written as `(${value} IS NULL OR ...)`, which hides from a generic
plan what the statement filters on, and no index served one assignee
in `updated_at_ms` order: `tasks_assignee` can only bound the
organization on Postgres 16, so the read walked the organization's
tasks by `updated_at_ms`.
The board filter clause now writes a filter that is set as its plain
predicate and leaves one that is not set out, so each combination is a
statement of its own, and every filter keeps its meaning (an empty
status list still matches nothing). Migration 0223 adds
`tasks_org_assignee_updated (org_id, assignee_id, updated_at_ms DESC)
WHERE archived_at_ms IS NULL`, which the literal archived predicate
proves in custom and generic plans alike.
Unit tests pin each filter's predicate on the Home, project and
archived reads. The board-search integration lane checks the assigned
read's rows and order against the unassigned and archived reads, and
that both plans of its statement use the new index.
Closes #4708
Task: TALE-117
A project's General and Environment tabs are settings forms, but each sat in a frame of its own: General in a narrow ContentArea with a 24px gap, Environment under a list page's sticky header. Both now stand in the general settings page through ProjectSettingsPage, the composition Settings uses (ContentArea > SettingsPageTitleProvider > SettingsPage). They get the max-w-3xl column, the 32px section rhythm, the shared hairlines, the row layout and the end clearance of Settings › Organization. Environment is one SettingsSection titled like the tab. Its heading stays for assistive tech and its description leads under the tab strip. The section holds the agent-access notice, the load-failure notice and the editor. After a retry that answers, the focus goes to the section, as on Settings › Teams. The archived banner stands above it, as on General. The access notice and the chunk fallback use the same frame, so nothing shifts between them. The narrow ContentArea capped its padded box at max-w-3xl, so its content was 32px narrower than a settings page's column, and the column moved on every switch between a project's tabs. The cap is now the settings measure plus the frame's own px-4. Chats, Knowledge, Agents and Dispatch, and the automation pages, now show Settings' column. Nothing changes below 800px. Labels follow Settings › Organization, in en, de and fr: - "Project" becomes "Project details", described as "Basic information about this project.". - Environment's description drops the two sentences that the agent-access notice under it already says. Tasks, a board, stays full-bleed. Chats, Knowledge, Agents and Dispatch are lists and dashboards, so they keep their list headers. The agent and automation settings follow in #5165 and #5166. The manual box PROJ-A10 covers light and dark, the walk across the tabs and phone width. Closes #2794 Task: TALE-19
Neither "session"."expiresAt" nor "updatedAt" had an index, so every
batch of the expired-session reaper scanned the whole session table,
and the idle sweep loaded every member of each windowed organization,
sorted all their sessions, deleted by id in a second statement and
audited each revocation in a transaction of its own.
The boot now builds session_expiresAt_idx ("expiresAt") for the reaper
and session_updatedAt_expiresAt_idx ("updatedAt", "expiresAt") for the
idle sweep beside user_email_lower_idx (db/boot-indexes.ts): created
concurrently once the migration lock is released, one builder at a
time under the existing try-lock, an invalid leftover dropped and
rebuilt, and a failed build warned about without stopping the others
or the boot.
The idle sweep groups the windowed organizations by window and runs
one statement per window, strictest first: it locks and deletes the
least recently used live sessions idle past the window whose user is a
non-disabled member of one of its organizations, at most 500 a run,
skipping rows another transaction holds, and returns each with the
lowest id of those organizations. The rule is the one before: the
strictest window of a user's organizations decides, and an expired
session is left to the reaper. Of two organizations sharing that
window the lower id is now named, where it used to follow the order
the members were read in. A session refreshed between the read and the
delete is no longer revoked, and expired rows no longer crowd live
ones out of a run. A window's audit rows are written in one
transaction, row by row if that fails. shouldRevokeIdleSession goes
with its only caller.
Real-Postgres lanes prove both sweeps on fixtures across organizations
with and without a window, and EXPLAIN their statements onto the new
indexes; the harness takes the idle sweep's 5-minute clock off, as it
does for the other lane-driven sweeps. The 60 s session refresh is
Closes #4707
Task: TALE-116
load_skill told the model to follow a skill only "for the work they cover" and sent light-sandbox notes with every skill, so a skill about how a reply reads, such as a sign-off or a tone, looked out of scope and like a recipe for a file. The note now says a skill holds throughout the reply, in what the assistant does and in how it writes, still gives no tool or permission, and loses a conflict with the other instructions. A skill made only of SKILL.md gets no sandbox notes, and the line naming the person's chosen skills says the same as the note. A stubbed-model evaluation covers the three ways a chat reaches a skill, the docs explain them in en, de and fr, and manual box CHAT-F83 holds the live check on two models. Closes #5031 Task: TALE-214
"fails a missing pinned vision model before any op, key, schedule or inference starts" and "carries the exact successful pin into the scheduled turn" failed in Checks › Unit (platform 2/2) on this train (Checks run 41151673359, job 124389379327): both pins failed as VISION_MODEL_RESOLUTION_FAILED. TALE-228's catalog-less provider facts (#5073) made the vision decision read the serving model's entry through getServableCatalog, which looks at the provider's catalog source first. The spec's provider fixture, { name: 'local-inference' } cast to ProviderDefinition, had no catalog, which the provider definition schema requires, so that read threw and the pin counted as unresolvable. The fixture now carries the models-endpoint catalog a local inference server lists its models from, so the mocked catalog decides again, as a real provider's catalog does.
tale-code-bot
force-pushed
the
feature-train-20261031-0042
branch
from
October 31, 2026 02:05
7cf208d to
7c76ccd
Compare
Collaborator
Author
|
The feature-train role took one commit out of this train:
|
Bun audit fails CI ready (Security) on this train and on main since GHSA-mrwp-f3q8-3g9p (high) was published for follow-redirects >=1.16.0 <=1.16.1: Security run 41158412271 (job 124410300335) on the train head 7c76ccd, and Security run 41150926316 (job 124386990893) on main 06fe859. It is the only high finding, and the audit gates at high. The root overrides pin follow-redirects, so the pin and its bun.lock entry move to 1.16.2, the fixed release. This is the same change as Renovate's 93cf80c in #5021 against main: once main takes it, the rebase of release/0.6 onto main finds this commit empty and drops it.
Collaborator
Author
|
The feature-train role added one commit to this train:
The role lands this pull request once every |
This was referenced Oct 31, 2026
feat(platform): hold an automation agent node that ran out of memory for 10 and 30 minutes too
#4723
Closed
Closed
This was referenced Oct 31, 2026
Closed
tale-code-bot
added a commit
that referenced
this pull request
Oct 31, 2026
The platform checks its frontend, backend and tests as one tsc program, which had filled the 6 GiB budget: under the job's Node 22 it used 6,293,277K of the 6,192 MiB heap limit on main (06fe859) and 6,337,526K on release/0.6 (#5184's head). Feature train #5197 adds 0.7% (+15,972 types, +40,269 instantiations over its eleven commits), and its Type check died with "Ineffective mark-compacts near heap limit" at ~6,026 MB retained, exit 137 and no TypeScript diagnostic (Checks run 41186039280, job 124493196392). - checks.yml gives the Type check job --max-old-space-size=8192, and its comment records the measurement. - The release-candidate contract binds the new value; the descriptor check (release-candidate-contract.ts) passes against the workflows. - The repo contract and CI.md say 8 GiB.
tale-code-bot
added a commit
that referenced
this pull request
Oct 31, 2026
The platform checks its frontend, backend and tests as one tsc program, which had filled the 6 GiB budget: under the job's Node 22 it used 6,293,277K of the 6,192 MiB heap limit on main (06fe859) and 6,337,526K on release/0.6 (#5184's head). Feature train #5197 adds 0.7% (+15,972 types, +40,269 instantiations over its eleven commits), and its Type check died with "Ineffective mark-compacts near heap limit" at ~6,026 MB retained, exit 137 and no TypeScript diagnostic (Checks run 41186039280, job 124493196392). - checks.yml gives the Type check job --max-old-space-size=8192, and its comment records the measurement. - The release-candidate contract binds the new value; the descriptor check (release-candidate-contract.ts) passes against the workflows. - The repo contract and CI.md say 8 GiB.
tale-code-bot
added a commit
that referenced
this pull request
Oct 31, 2026
The platform checks its frontend, backend and tests as one tsc program, which had filled the 6 GiB budget: under the job's Node 22 it used 6,293,277K of the 6,192 MiB heap limit on main (06fe859) and 6,337,526K on release/0.6 (#5184's head). Feature train #5197 adds 0.7% (+15,972 types, +40,269 instantiations over its eleven commits), and its Type check died with "Ineffective mark-compacts near heap limit" at ~6,026 MB retained, exit 137 and no TypeScript diagnostic (Checks run 41186039280, job 124493196392). - checks.yml gives the Type check job --max-old-space-size=8192, and its comment records the measurement. - The release-candidate contract binds the new value; the descriptor check (release-candidate-contract.ts) passes against the workflows. - The repo contract and CI.md say 8 GiB.
tale-code-bot
added a commit
that referenced
this pull request
Oct 31, 2026
The platform checks its frontend, backend and tests as one tsc program, which had filled the 6 GiB budget: under the job's Node 22 it used 6,293,277K of the 6,192 MiB heap limit on main (06fe859) and 6,337,526K on release/0.6 (#5184's head). Feature train #5197 adds 0.7% (+15,972 types, +40,269 instantiations over its eleven commits), and its Type check died with "Ineffective mark-compacts near heap limit" at ~6,026 MB retained, exit 137 and no TypeScript diagnostic (Checks run 41186039280, job 124493196392). - checks.yml gives the Type check job --max-old-space-size=8192, and its comment records the measurement. - The release-candidate contract binds the new value; the descriptor check (release-candidate-contract.ts) passes against the workflows. - The repo contract and CI.md say 8 GiB.
tale-code-bot
added a commit
that referenced
this pull request
Nov 1, 2026
The platform checks its frontend, backend and tests as one tsc program, which had filled the 6 GiB budget: under the job's Node 22 it used 6,293,277K of the 6,192 MiB heap limit on main (06fe859) and 6,337,526K on release/0.6 (#5184's head). Feature train #5197 adds 0.7% (+15,972 types, +40,269 instantiations over its eleven commits), and its Type check died with "Ineffective mark-compacts near heap limit" at ~6,026 MB retained, exit 137 and no TypeScript diagnostic (Checks run 41186039280, job 124493196392). - checks.yml gives the Type check job --max-old-space-size=8192, and its comment records the measurement. - The release-candidate contract binds the new value; the descriptor check (release-candidate-contract.ts) passes against the workflows. - The repo contract and CI.md say 8 GiB.
tale-code-bot
added a commit
that referenced
this pull request
Nov 1, 2026
The platform checks its frontend, backend and tests as one tsc program, which had filled the 6 GiB budget: under the job's Node 22 it used 6,293,277K of the 6,192 MiB heap limit on main (06fe859) and 6,337,526K on release/0.6 (#5184's head). Feature train #5197 adds 0.7% (+15,972 types, +40,269 instantiations over its eleven commits), and its Type check died with "Ineffective mark-compacts near heap limit" at ~6,026 MB retained, exit 137 and no TypeScript diagnostic (Checks run 41186039280, job 124493196392). - checks.yml gives the Type check job --max-old-space-size=8192, and its comment records the measurement. - The release-candidate contract binds the new value; the descriptor check (release-candidate-contract.ts) passes against the workflows. - The repo contract and CI.md say 8 GiB.
tale-code-bot
added a commit
that referenced
this pull request
Nov 1, 2026
The platform checks its frontend, backend and tests as one tsc program, which had filled the 6 GiB budget: under the job's Node 22 it used 6,293,277K of the 6,192 MiB heap limit on main (06fe859) and 6,337,526K on release/0.6 (#5184's head). Feature train #5197 adds 0.7% (+15,972 types, +40,269 instantiations over its eleven commits), and its Type check died with "Ineffective mark-compacts near heap limit" at ~6,026 MB retained, exit 137 and no TypeScript diagnostic (Checks run 41186039280, job 124493196392). - checks.yml gives the Type check job --max-old-space-size=8192, and its comment records the measurement. - The release-candidate contract binds the new value; the descriptor check (release-candidate-contract.ts) passes against the workflows. - The repo contract and CI.md say 8 GiB.
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: c0eb93b
The first feature train of the 0.6 line: the commits
feature-traincollected on top ofrelease/0.6(06fe8590099080e6593551d8141d0c3f92053add, the head ofmain), oldest first:Task keys of their
Task:lines: TALE-136, TALE-140, TALE-118, TALE-15, TALE-132, TALE-114, TALE-138, TALE-162, TALE-228, TALE-14, TALE-117, TALE-19, TALE-116, TALE-214.The feature-train role rebased these commits onto
mainat06fe859. Two conflicts had stored resolutions, the ones earlier rehearsals recorded (TALE-132 inagent_retry.tsand the automations manual reference, TALE-116 inintegration-check.ts). One conflict was new. TALE-214's requirement wasCHAT-R33, butmainalready ships aCHAT-R33(files a reply made, TALE-211), so TALE-214's requirement is nowCHAT-R34and its six tests are tagged[CHAT-R34]. TheCostline of the chat manual suite counts both sides' boxes (129 + 6 + 1 = 136).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.