Repository navigation
chore: merge train 20261101-2356 - #5278
Merged
Merged
Conversation
In Settings > Data residency > Embedding model, a provider change emptied the model and the vector width only after the provider's own change had been judged, so Save stayed on over the empty fields and a click only toasted "Fix the highlighted fields". A pick from a catalog that states no width judged the model alone: Save turned off while the width's error stayed hidden behind a 1536 placeholder that read like a value. The provider change now resets the credential, the model and the width first, reopens the model and the width unjudged, and lets the provider's own change land last, so the form judges the reset values and Save stays off until a model is chosen again. A model pick runs one check over the model and the width: a pick without a width shows the width's error beside the field, and the width counts as touched, so the error clears as a valid width is typed. The width input drops its placeholder; its hint already lists the supported widths. The manual suite's box for the catalog-driven pick now describes the provider switch as it behaves. Closes #5182 Task: TALE-342
An organization's single sign-on binds the session it mints to that organization, as the trusted-headers door does. Until #4908 the app read every bound session as a proxy's and left Log out out of the account menu. #4908 made it read only the role a proxy asserted, but no test tied that reading to the rows the two doors write. The predicate moves unchanged to lib/shared/proxied-session.ts, which the account menu's hook and the backend integration checks now share. In backend:integration, the session createSsoUserSession writes is read back over HTTP: it is bound to its organization and not a proxy's, and signing out answers 200, deletes its row and leaves the cookie with no session. The session the trusted-headers door writes reads as the proxy's. A unit test holds the SSO insert to writing no role. The SSO spec gains SSO-R21 and lists signing out at the identity provider under Not yet. The comment over the session fields in auth.ts names every writer. AUTH-F12 now signs out after the round, and the manual reference gains an automation row and a not-a-finding entry for the provider's own session. Closes #5137 Task: TALE-336
GET /api/app/sso/config now refuses Members, Editors and Developers with a 403, as the settings' writes already did, and the settings page asks for the connection only for a role that may read it. SSO-R22 states the rule, and a route test holds it. Task: TALE-353
An organization's idle timeout signed a person who came in through the identity provider out one window after sign-in, however actively they worked. The sweep reads a session row's updatedAt as its last use, and only Better Auth's sliding refresh writes it. With SESSION_IDLE_TIMEOUT_MINUTES unset, a single sign-on row lives 30 days against Better Auth's 7, so its first refresh comes some 23 days after sign-in. A "don't remember me" row is never refreshed at all. The authority check, which reads the stored row on every authorization, now records the use on it. Once it has accepted a browser row whose updatedAt is a minute or more old, one conditional update moves updatedAt to now. It never writes expiresAt, so every session keeps the lifetime it was minted with, and a session left idle is still revoked one window after its last use. A refusal and an API key record nothing; a failed write is logged and the request stays authorized. Closes #5249 Task: TALE-349
A skill upload takes files of up to 4 MiB, but copying a skill into a sandbox sends each file inline, and that lane took at most 1 MiB per file. The runtime refused a larger file as too_large, and the session client refused one over about 1.12 MiB before it sent anything. So a skill with a 1.2 MB template uploaded fine and then failed in chat with "run_code failed unexpectedly"; task agents, automation agent nodes and script nodes could not stage it either. The sandbox runtime now takes an inline file of up to 4 MiB, the upload's per-file cap, and a test keeps the two equal. The session client still packs batches under its 1.5 MiB budget; a file too large for a batch now travels in a request of its own, under a 6 MiB ceiling that stays below the 8 MiB request cap of the spawner and runnerd. An inline file over 4 MiB comes back as too_large without being sent. When a file cannot be staged, the message names the file, its size and the limit, also when an outdated runtime refuses a file over 1 MiB. In chat the step reads "A file couldn't be copied into the sandbox" (the new failure reason files_not_staged), and the model is told which file, which limit, and whether calling run_code again can help: never for a file too large, once more for a passing cause such as a busy sandbox. The CHAT-R30 card of the chat spec lists the new cause. A task or automation run fails naming the same file and limit. The docs state the limits of a skill bundle (512 files, 4 MB per file, 32 MB in all) on the skills pages and in chat's limits, in en, de and fr. Closes #5177 Task: TALE-340
A worker that runs every hour is never idle long enough for the sandbox_workspaces cleanup, so it kept every checkout its runs ever made, until new sessions waited at the session disk's free-space floor. Each task now gets a directory of its own in the worker's workspace, /agent/workspace/tasks/<task id>, which both instruction lanes name. The run-start pass that drops stale input copies also lists those directories and asks the tasks domain which are stale (done, cancelled, archived, deleted, or unchanged for 7 days; never live, never the run's own task, never a name that is no task id). It removes up to five, oldest first and one at a time, while the run goes on. Spec card TASK-R86; the project-agents page says so in en, de and fr. Closes #5255 Task: TALE-348
Settings > Connectors showed a refused credential save or OAuth app change in the server's English sentence in every locale. The credential door's sentences name a connector, a setting, a sign-in method or a limit, which a catalog sentence keyed by the code alone cannot say, and the developer 403 and the OAuth app door answered a sentence without any code. Each connector credential refusal now carries what its sentence names in `data` beside its code: the connector's slug, a setting or a secret field by its key, the sign-in method and the ones accepted, the options or limits, and a `reason` that tells apart the refusals one code covers. It never holds a secret or a typed value, only the origin an instance URL with a path should be. The developer 403 answers FORBIDDEN_DEVELOPER_SETTINGS, and the OAuth app door codes every refusal it words (FORBIDDEN, oauth_app_not_configurable, sso_reuse_unsupported, oauth_app_not_found). The connectors surface words each code from the catalog in en, de and fr: the connector as its card names it, a setting by its declared label in the reader's language, a secret field and a sign-in method by the dialog's own labels. A refusal it cannot word keeps the server's words, as before. The manual's error-code reference lists the coded refusals. Component tests in German prove that a refused GitHub credential save and an OAuth app 403 show the catalog sentence and no English one. Closes #5222 Task: TALE-345
On Settings > AI providers, a provider whose model listing failed showed the server's English words on its credential row and in the Refresh catalogs report (a timeout, a refused key, an upstream 5xx), because the server coded only a listing that answered without a model list. The catalog fetch now also codes a listing that got no answer (PROVIDER_CATALOG_UNREACHABLE), whose key the endpoint refused (401 or 403, PROVIDER_CATALOG_KEY_REFUSED) and whose endpoint failed (5xx, PROVIDER_CATALOG_UPSTREAM_ERROR). It asks once after a refused key and again after a 5xx or no answer, a remembered failure keeps its code, and the hint of the MCP provider refresh refusal follows the code. The page reads each code's sentence in en, de and fr. For the three new codes the server's words follow in parentheses (the status, or what failed of the connection), never instead of the sentence. A listing that answered without a model list reads its sentence alone, since its words name the listing URL, and a failure without a code reads the general sentence while its words stay in the backend log. Check models reads the sentence of the code. None of the new German sentences has an eszett, so de-CH needs no copy of them. A component test in de shows the localized sentence on the row and in the refresh report, and every shipped locale has its own words for each listing failure. Closes #5223 Task: TALE-346
A passkey enrolled while a trusted proxy's session was open keeps the role the proxy asserted as its ceiling, and each sign-in with it writes that role onto the new session. The app read every session that carried a role as the proxy's, so it hid Log out and Sign in again from a person who had signed in on Tale's own form. The trusted-headers door now marks the sessions it mints and reuses with signedInByProxy, a session field no request body writes. The mark rides the mint authority onto a session minted under the same person's proxied session, and the session resolver returns it. The app reads a session as the proxy's by that mark alone; trustedRole stays the ceiling the org middleware applies. A passkey sign-in mints no mark, so its person can sign out. Boot marks, once, the sessions that carried a role before the mark existed, so open proxy sessions keep offering no sign-out. Closes #5259 Task: TALE-354
useFormEditor took Save's validity from react-hook-form's stored isValid. A setValue without shouldValidate and a refused save leave that value describing the values before, so Save stayed on over a blank Region and Bucket when Force path-style was the first storage edit, and off over valid values after an SSO protocol switch filled an emptied display name or a client id reveal returned after an edit. The hook now judges the form again with trigger([]) whenever code writes a value, and after a refused save. trigger([]) runs the schema for isValid alone and writes no error, so a field the admin has not reached stays quiet; input events keep react-hook-form's own judgment. The SSO form validates the display name a protocol switch fills and the revealed client id, so the "required" error the empty field showed clears under them. Closes #5260 Task: TALE-355
While the next tab loaded, the tab strip and the Settings panel marked the page the location named, over the page still shown. Both now follow the page the outlet shows (useShownPathname): the active leaf match while the router loads, the location at rest, without a trailing slash. Their links (CurrentPageLink) are the current page only when the strip or the panel says so, so the router's own aria-current no longer marks the next tab early. The loaders of Knowledge entries, Websites, Products and Contacts prime their first page, as their comments said, so a first visit paints its rows without skeleton rows. The website status sweep no longer invalidates every website read: its per-row hints refresh what it changed, so a visit to Websites stops fetching its count, list and search readiness a second time. Closes #5198 Task: TALE-343
The Model and Skills panels of the composer's picker took the width of their content, and their lists render only the rows in view, so a panel widened and narrowed as it scrolled. Both panels now keep 20rem, narrower only where the viewport is. A row the width cuts shows its whole text in a tip, on hover and on keyboard focus; keyboard focus holds the tip while the arrow keys scroll the list, until the focus leaves, Escape, a press or the row leaving the view, and the list shows one tip at a time. The provider after each model, the Auto description and the skill descriptions were the muted foreground at 70%, about 2.8:1 in the light theme and 4.2:1 in the dark one. They take the full muted foreground, which reaches 4.5:1 on the panel in both. Browser tests prove the width across scrolling in a page of no fixed width, the tips, and the contrast in both themes. Closes #5140 Task: TALE-338
The composer dropped a model pick only when no provider listed its id any more. When the pick's own provider stopped listing it (its allowlist changed, its credential went away) while another provider still listed the id, the pick kept its old provider: the closed picker named the model with no row checked, and send started the turn on the provider that no longer serves it, which the backend refuses. A pick now counts as listed only under its own provider, or by its id alone for a pick made before providers were part of it. Such a pick falls back to the default seed as an unlisted one does, so the picker and the send agree on the provider. Column B of an arena duel gets the same check and falls back to its default instead of starting its side on the old provider. Closes #5269 Task: TALE-362
A live yaml-js body named the vendor's HTTP status only in its error's text, and the dispatcher's LIVE_BODY_FAILED dropped any status, so a vendor's 429 or 5xx failed a step as connector_error, which counts toward pausing a schedule [AUTO-R13]. - Slack's live bodies throw with the vendor's status as `status` when the answer's HTTP status failed the call; an `ok: false` answer keeps none. - The dispatcher hands that status on as the refusal's `vendorStatus`, never as `status`, which the REST and MCP doors answer a coded error with as the platform's own. - `vendorStatusOf` reads it for the dispatcher and `connectorFailureOf`, and only an integer from 100 to 599 names an answer. - The in-process executor names a live call's connector by its slug, as the durable runtime does, in its failure and in its step record. - The connector authoring docs say how a body reports the status. A 429 now fails as CONNECTOR_RATE_LIMITED and a 5xx as CONNECTOR_FAILED with its status, both connector_unavailable, in both runtimes. The other shipped yaml-js bodies follow in #5277. Closes #5274 Task: TALE-367
A run classifies a failed live connector call by the HTTP status its error carries: a 429 or a 5xx is the service being unavailable, which never counts toward pausing a schedule (AUTO-R13). Only Slack's bodies threw with the vendor's status. The live bodies of confluence, discord, forgejo, github, gmail, google-drive, jev, outlook, shopify, tavily, teams and twilio threw a plain error, so a busy vendor there read as the connector failing and counted toward the pause. Every throw of theirs on a failed vendor answer now carries that answer's status, with each message kept as it was; Outlook's graphCheck and Gmail's get_message helper add it once for their callers. A body's own refusal of a 2xx answer stays without a status. The host's ctx.files.download, which refuses a failed answer itself, carries the vendor's status too, so Google Drive's download_file and Outlook's attachment downloads read the same way. A sweep calls every shipped yaml-js live action with the vendor answering 429 and then 503, and checks that a run reads each as the service being unavailable. Closes #5277 Task: TALE-370
Knip refuses TASK_DIRS_ROOT as an unused export, so the Checks workflow's Knip job fails the train. TALE-348 exported it from task_input_mirrors.ts, but only that module uses it and no test or other module imports it. It is now private to its module; the directories a run keeps and deletes do not change. Refs #5255
Oxlint's consistent-return rule refuses catalogRefreshHint, so the Checks workflow's Lint job fails the train. TALE-346 added the function as a switch over every failure code with no default branch, and the rule cannot see that the switch is exhaustive. A default branch now proves that no code is left unhandled, as the backend's other exhaustive switches do; the hint each failure gets does not change. Refs #5223
tale-code-bot
enabled auto-merge (rebase)
November 1, 2026 23:57
The platform checks its frontend, backend and tests as one tsc program, which has filled the 6 GiB budget on the stable line too: under the job's Node 22 it used 6,329,064K of the 6,192 MiB heap limit on main (087c74c, Checks run 41324088739). Merge train #5278 adds fifteen fixes, and its Type check died with "Ineffective mark-compacts near heap limit" at ~6,027 MB retained, exit 137 and no TypeScript diagnostic (Checks run 41364751469, job 125022592611). This takes the feature line's change (81f0ce0) as it is: - 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 repo contract and CI.md say 8 GiB.
The idle-window lane of #5249 writes its organization's policy right after creating it, but creating an organization queues `org.scaffold`, which empties `<orgSlug>/` before it seeds the catalog. On merge train #5278 that job ran after the write both times (Checks runs 41364751469 and 41366332020): the sweep found no window (revoked=0), and the cleanup's write hit ENOENT, which truncated the run at lane 78 of 293. The lane now waits until its organization's scaffold job has run before it writes the policy, and its cleanup creates the directory it writes into, so a failure of this lane can no longer stop the later lanes. Refs #5249
tale-code-bot
added a commit
that referenced
this pull request
Nov 2, 2026
The platform checks its frontend, backend and tests as one tsc program, which has filled the 6 GiB budget on the stable line too: under the job's Node 22 it used 6,329,064K of the 6,192 MiB heap limit on main (087c74c, Checks run 41324088739). Merge train #5278 adds fifteen fixes, and its Type check died with "Ineffective mark-compacts near heap limit" at ~6,027 MB retained, exit 137 and no TypeScript diagnostic (Checks run 41364751469, job 125022592611). This takes the feature line's change (81f0ce0) as it is: - 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 repo contract and CI.md say 8 GiB.
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: 81340b7
The stable line's merge train: the 15 commits
trainholds on top ofmain, one commit per change. TALE-342 and TALE-336 landed after the cut of #5262, which departed at v0.5.95's release candidate, and stayed ontrain; the other thirteen landed after #5262 merged. The Reviewer squashed each ontotrainbehind the fast gate (formatting, typecheck, build).traincarries the stable line (main, 0.5.x) only: fixes, and the tests, docs and CI about whatmainships. All 15 commits are of those types (14fix, 1test), so none moved tofeature-trainbefore this departure. This pull request runs the full CI once for the whole train and rebase-merges when green (auto-merge). The Coder's merge-train role works it until it is green; while it is open no other stable-line train departs.main(087c74cf0ef622fe40dd5191d7503e318c160b34, the merge of #5262) is the train's base:trainwas moved onto it after #5262 merged, so the commits apply to it unchanged.What the merge-train role ran on a worker before this departure, beyond the fast gate (targeted vitest at each
trainhead as it grew, then every platform unit suite and the whole repository's lint at2165375b, the train before its last two commits, with the credential removed; "server" is the platform's server project, "UI" its jsdom config):cc8536b0(the first three commits): server 114/114 files (1486 tests), UI 56/56 files (679 tests).065ecd3a(TALE-349): server 277/277 files (4710 tests); UI 58/59 files, and the one red file,tasks-workspace.read-state.test.tsx(three 5 s timeouts at a host load of 14), passed alone, 20/20.4a76ee9a(TALE-340, TALE-348): server 89/90 files, UI 2/2 files (29 tests), the sandbox-runtime daemon'sfile-ops.test.ts34/34. The red file,render_fetch.test.ts, fails the same 15 tests onmainon that worker (Node 24; CI runs 22) and passes in CI.230e8c31(TALE-345): server 105/106 files (the samerender_fetchbaseline), UI 14/14 files (271 tests); oxlint on its 23 files,lint:linksandlint:conflictsclean;knip:checkred, see below.9bc3234c(TALE-346): server 33/33 files (907 tests), UI 7/7 files (151 tests); oxlint red, see below; with both fixes below, the platform typecheck andformat:checkare green.554c1c97(TALE-354): server 72/72 files (1100 tests), UI 9/9 files (74 tests); with both fixes, oxlint on the 82 platform files the train adds or changes is clean.61dbef21(TALE-355):packages/uieditor and forms 50/50 files (688 tests), the platform's form editors and their pages 240/240 UI files (2979 tests), thesingle-failure-toastguard 51/51.20121622(TALE-343): every runnable test that loads@tale/ui/current-page-linkor@tale/ui/use-shown-pathname, found by a reverse import graph (a router mock withoutcreateLinkwould fail to load): 48 files, all green; Knowledge features 101/101 files (1080 tests),packages/uinavigation, layout and hooks 55/55 files (367 tests), ui-docs 14/14 files (109 tests); oxlint on its 26 files,lint:links,lint:manualandlint:conflictsclean.2165375b(TALE-338): UI 89/89 files (1178 tests: every test that imports the two pickers, and all ofapp/features/chat), server 2/2 files (22 tests); oxlint on its 4 files,lint:links,lint:manualandlint:conflictsclean;knip:checkwith both fixes clean.2165375b, the whole train before TALE-362 and TALE-367, every platform unit suite the way the Unit and UI jobs run it: server 1506 passed, 2 skipped and 2 red of 1510 files; PII 10/10 files (67347 tests); UI 833 passed and 2 red of 835 files. In all, 100713 tests passed, 18 failed and 13 were skipped. The four red files fail the same way onmain087c74cfon that worker (Node 24.21.0; CI runs 22.21.1), and passed in CI on chore: merge train 20261101-1553 #5262:render_fetch.test.ts: the same 15 of 36 tests;golden-errors.test.ts: only itsexpr-syntax-regex-modifiercase, a regex group that Node 24 accepts and 22 refuses;condition-text.test.tsandcondition-values.test.ts: the worker's CLDR 48 writes1'000, and the tests pin1’000.2165375b, the whole repository's lint the way the Lint job runs it (turbo run lint, one package at a time on the worker): without the fixes, 15 of 16 tasks pass, and the only finding is thecatalogRefreshHinterror in@tale/platformnamed below; with both fixes below, 16 of 16 pass.2165375b, every workspace's unit tests but the platform's, the way the Unit (workspaces) job runs them (turbo run test --filter='!@tale/platform', one package at a time on the worker): 13 of the 15 workspaces with tests are green, among thempackages/ui(395 files, 4349 tests) andpackages/shared(58 files, 1143 tests), whose code the train changes, and the sandbox-runtime daemon'sfile-ops.test.tspasses 34/34. The 12 red tests come from the worker, in files the train does not change: in@tale/cli, 2action-archivetests write an archive ofHEAD(about 628 MiB) past the worker's 512 MiB file-size limit, and 6 release-toolchain tests needgit archive --mtime, which the worker's git 2.39 lacks; in the daemon, 3exec-rotationtests compile the exec shim withcc, which the worker lacks, and the health test finds the worker's own cgroup memory figures. The Performance job's own tests pass, 8/8, and the train adds no workspace.5f71a277(TALE-362): every UI test ofapp/features/chat, and the five route and navigation tests outside it that load or name the chat route, 60/60 files (803 tests), among themchat-surface.test.tsx91/91; type-aware oxlint on its three files and the three modules that import them, clean; with both fixes below,knip:checkand the whole repository's lint (16 of 16 tasks) green. No test mockscomposer-model-picker, whose newlistsPickexportchat-surface.tsximports, and no browser test loadschat-surface.7e6f288e(TALE-367), checked at its branch head781a0f0a, whose tree it lands unchanged: every test that imports one of the four modules it changes (lib/connectors/dispatcher,lib/connectors/errors,lib/engine/core/execute/index,lib/engine/core/record/failure) or names a connector failure reason, 46 files: server 43/43 files (1620 tests), UI 3/3 files (22 tests);lint:links,lint:manualandlint:conflictsclean;knip:checkred only on theTASK_DIRS_ROOTfinding below; with both fixes below,knip:checkand the whole repository's lint (16 of 16 tasks) green. No browser test imports the four modules.81340b7e(TALE-370, the cut), whose tree is its reviewed branch heade18d65b8unchanged: at that head,lib/connectors/dispatcher.test.tsandlib/connectors/live-host.test.ts281/281, among them a sweep that calls every shipped yaml-js live action with the vendor answering 429 and then 503 (194 cases), and the connector, run-classification and mail-sync suites around them 70533 passed and 2 red: two timing bounds intravels.test.tsunder parallel load, a file that passes alone (31/31) and that the commit does not touch; at the cut with both fixes below, the same two files 281/281,knip:checkand the whole repository's lint (16 of 16 tasks) green. Every case answers from a stubbedfetch; no call reached a vendor.Two jobs will fail on the cut as it stands. The role has a commit ready for each and pushes them onto this branch once the jobs report:
TASK_DIRS_ROOTinservices/platform/backend/core/tasks/task_input_mirrors.tsis exported but used only in its own module (TALE-348). The commitfix(platform): stop exporting the task directories rootdrops theexport.typescript(consistent-return)flagscatalogRefreshHintinservices/platform/backend/domains/providers/settings-resource.ts(TALE-346), an exhaustiveswitchwith nodefault. The commitfix(platform): return a hint for every catalog refresh failureadds theneverdefault that the backend's other exhaustive switches use.Not run on a worker: Backend integration (no Postgres), the browser-mode tests (no Chromium, so TALE-338's two new browser tests run here first), the live YouTube ingestion test (it needs the network), the Performance job's workloads, and the end-to-end and container suites.
On the cut, the full check of the release notes in
.github/release-notes/that the cut adds or changes: the train touches no release notes.The train changes 189 files: 174 modified, 15 added, none deleted (7152 lines added, 699 removed). Matched against
.github/ci-scope.ymlby a local reading of its globs (the scope job of this pull request decides), they fall inall189,build188,e2e184,e2e_platform166,build_platform164,build_ci_tests156,build_storybook150,integration85,cli54,e2e_docs30,build_docs29,build_ui-docs13,e2e_web12,build_web11,sandbox-incus4,build_sandbox-runtime3,build_image_inputs2 andbuild_sandbox1. None is insecurity,guard,build_db,build_proxy,build_sandbox-llm-gateway,build_sandbox-egressorbuild_sandbox-buildkitd.Commits (15):
Task keys: TALE-342, TALE-336, TALE-353, TALE-349, TALE-340, TALE-348, TALE-345, TALE-346, TALE-354, TALE-355, TALE-343, TALE-338, TALE-362, TALE-367, TALE-370