Skip to content

chore: feature train 20261102-0057 - #5279

Merged
tale-code-bot merged 15 commits into
release/0.6from
feature-train-20261102-0057
Nov 2, 2026
Merged

tale-code-bot merged 15 commits into
release/0.6from
feature-train-20261102-0057

Conversation

@tale-code-bot

Copy link
Copy Markdown
Collaborator

Cut: 59cc2e6

The seventh feature train of the 0.6 line: the commits feature-train collected on top of release/0.6 (18705fe64…, which holds main at 087c74cf0…), oldest first:

  • feat(platform): read linked PDF and office documents in web_fetch
  • feat(platform): record what an SSO settings save changes
  • feat(platform): show what fills the storage meter and where it lives
  • refactor(platform): legal hold tables follow the settings list pattern
  • refactor(platform): page and search the competences register
  • feat(platform): let connector actions ship scenarios that tests pick
  • feat(platform): name a model by its provider wherever it stands alone
  • refactor(platform): sandboxes tables follow the settings list pattern
  • refactor(platform): put automation General tab on the settings page
  • refactor(platform): usage users table follows the settings list pattern
  • refactor(platform): put project agents on the shared list pattern
  • fix(platform): record the provider with each side of an arena verdict
  • feat(platform): send a fresh install from / straight to /setup

Task keys of their Task: lines: TALE-337, TALE-339, TALE-223, TALE-255, TALE-256, TALE-198, TALE-341, TALE-257, TALE-262, TALE-259, TALE-261, TALE-361, TALE-209.

Known before departure, from the role's own runs:

  • TALE-223's commit will fail 2 tests in Unit (platform …). Both are in services/platform/backend/rest/v1-projects.test.ts.
    • The cause: the commit moves the per-user volume read of assertUploadSizeAllowedForOrg onto countedUploadsClause. The query now reads sum(fm.size) from app.file_metadata fm. The test's Sql double still answers only a query that holds sum(size), so the volume read gets no rows.
    • The first test, "counts the file it is admitting once against the per-user volume quota", finds no volume read.
    • The second, "refuses a declared size the bind would refuse, presigning nothing", gets 200 where a nearly full quota answers 400.
    • The fix is test-only. It makes the double, the two assertions on the read and the comment match the query as it is now. The gate itself is unchanged.
    • On 84513c96f in the role's worker, the file passes 122 of 122 with the fix and fails 2 of 122 without it.
    • The role commits the fix on this branch once CI shows that failure.
  • TALE-259's commit will fail Lint (platform) with one error, app/features/analytics/usage/users-table.test.tsx:43:3: oxc(no-map-spread).
    • The test gives its rows their cost with a spread inside .map.
    • The fix is test-only: the map sets each fresh row's cost with Object.assign. In the role's worker, oxlint passes on the file with it and reports the error without it. The file's 10 tests pass.
    • The role commits the fix on this branch once CI shows that failure.
  • Lint, Knip and Format on 84513c96f pass in the role's worker:
    • turbo lint of @tale/platform, @tale/ui and @tale/shared, with 0 warnings and 0 errors;
    • knip:check, with configuration hints only;
    • format:check;
    • lint:manual, lint:conflicts and lint:links.
  • Tests of the train's commits in the role's worker, each on the tree named:
    • On 84513c96f:
      • the docs suite passes 790 of 790;
      • the i18n suites pass 687 of 687 in the platform and 233 of 233 in packages/ui;
      • TALE-257's app/features/settings/sandboxes passes 165 of 165, and its browser test 15 of 15.
    • On e1f1d86bd, TALE-341's own tests pass: 531 of 531 UI, 9 of 9 browser, 31 of 31 server and 70 of 70 in packages/ui.
    • On 55391b03f, with the fix in the working tree:
      • The server and pii projects fail 19 of 92680. Sixteen of those are the worker's (below).
      • corpus.test.ts, travels.test.ts and node-vm.pool.test.ts each fail one timing test under load and pass alone.
      • The browser project passes 759 of 761. The two automation-editor.browser.test.tsx timeouts pass alone (27 of 27).
    • On b2449413c, the full UI project passes 9705 of 9708. The failures are the ICU pair (below) and version-compare-page, which passes alone.
    • On 84513c96f, the full UI project passes 9752 of 9755. The failures are the ICU pair (below) and task-modal.repeat.test.tsx "locks the row and drops the rule while a closed status is chosen", a 5 s timeout under load that passes alone (22 of 22).
    • On 724b331c3, TALE-262's and TALE-259's tests and the tests that import what they change pass: 104 of 104 jsdom tests in 13 files and 50 of 50 browser tests in 6 files. lint:manual, lint:conflicts, lint:links, format:check and both i18n suites pass too. knip:check passes there too; Lint fails, as said above.
    • On c242d3685, TALE-261's tests pass, together with every test of app/features/projects and its routes: 472 of 472 jsdom tests in 45 files. tests/docs-screenshots and the platform's i18n suites pass 708 of 708, packages/ui's i18n suites 233 of 233 and the docs suite 790 of 790. lint:manual (1960 boxes), lint:conflicts, lint:links and format:check pass. turbo lint reports only TALE-259's known error, and knip:check passes.
    • On 1d7749f18, TALE-361's tests and the tests that import what it changes pass: 91 of 91 jsdom tests in 14 files (all of app/features/analytics) and 769 of 769 server tests in 25 files, with the platform's i18n suites and tests/docs-screenshots among them. The docs suite passes 790 of 790. lint:manual, lint:conflicts, lint:links and format:check pass. turbo lint reports only TALE-259's known error, and knip:check passes. Its new arena check in integration-check.ts needs Postgres and was not run here.
  • Failures of the role's worker, not expected in CI. CI runs Node 22.21.1, the version services/platform/Dockerfile pins.
    • render_fetch.test.ts (15 tests) and golden-errors.test.ts (1 test) fail the same way on main (087c74cf0) in this worker, which runs Node v24.21.0.
    • condition-text.test.ts and condition-values.test.ts expect 1’000 for de-CH. The worker's ICU 78.3 / CLDR 48 formats 1'000.

Not run in the role's worker:

  • any check of the commits that landed after 1d7749f18: 59cc2e6 feat(platform): send a fresh install from / straight to /setup;
  • typecheck and build of the cut, which this pull request's Typecheck and Build lanes run;
  • backend integration, the Docker images, smoke, the Windows CLI and E2E.

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.

web_fetch refused every type but HTML, text, JSON and XML, so a link to
a PDF could not be read in chat, and a DOCX, XLSX or PPTX passed the XML
check and came back as zip bytes decoded as text. It now reads the body
with safeFetchBinary under the same SSRF guard, 4 MiB cap and 15 s
limit, and hands a PDF, DOCX, XLSX, PPTX or ODT to the crawler's
extraction router, chosen by the declared type or, behind a generic
download type, by the bytes. The text pages like a page; the result
names the document and notes that it is the text, not the file, so the
model asks for an attachment to have it changed. A body over the cap is
refused while it streams and never parsed. Scanned pages are skipped,
since OCR cannot fit the time limit, and the note counts them; it also
says when a PDF has more pages than the 2000 the extractor reads. A
document without text says it holds none. The Accept header, the tool
description and the en, de and fr chat docs say so.

Closes #5139
Task: TALE-337
Every save of Settings > Enterprise SSO wrote one sso_configure audit
row that named the protocol and at most the provider. It never held
the default role, the role rules, team sync or the excluded groups,
and no row held a previous state, so the log could not show what a
save changed.

Each OIDC, SAML and provisioning-only save now records the non-secret
settings of the connection and of its provisioning before (when a
connection existed) and after, and names every field it changed. The
client ID, the client secret and the SP private key are named when a
save replaces them and never recorded; a certificate is recorded as
its SHA-256 fingerprint. Enable, disable and remove keep their
actions. The domain spec gains SSO-R21 and the SSO admin docs say
what a save records, in English, German and French.

Closes #5142

Task: TALE-339
Settings › Usage › Storage showed a used total and a limit, but no way
to see which files fill it. Under the meter it now breaks the total
down into documents, chat attachments, files made by agents and other
files, links to Knowledge › Documents filtered to the viewer's own
uploads, and names the largest of the viewer's chats that hold their
files, each linked to its chat.

The parts, the chats and the new filter read the rows the upload gate
counts, through one shared clause (this organization's file metadata
uploaded by this person), and the used total is the sum of the parts,
so the meter, its breakdown and the gate cannot disagree. Knowledge ›
Documents gains an Uploaded by › Me filter (uploadedBy=me) that lists
the viewer's uploads across folders.

The docs (en, de, fr) say what counts toward the limit and how to see
it, and the settings manual suite gains SET-F105. The full list of
files, with delete, is filed as #5267.

Closes #5042
Task: TALE-223
Matters, Active holds and both release-request buckets now build their
rows with useListPage from the query they read: a window of
DEFAULT_LIST_PAGE_SIZE rows that grows as the reader scrolls, a toolbar
search, and the shared count footer named by an entity label of their
own. The matter status and hold target-type facets move from the bars
above the tables into each table's own filters, with onClear while the
section keeps the value. That drops the isFilterAffordanceDisabled
workaround, since the table works out for itself when its filters have
nothing to narrow. Create matter and Place legal hold become the
tables' addAction.

Release history keeps its server-paged read; its status filter moves
into the table toolbar and keeps its single value, resting on Effected.

A failed refresh of Matters now keeps the cached matters under a
notice with Try again, as Active holds and the release requests do; a
failed first read still shows the recovery screen. The search
placeholders and entity labels are in en, de and fr. A component test
pins the toolbar placement and the page size, and GOV-F82 keeps the
painted layout, both themes and the narrow width manual.

Closes #5159
Task: TALE-255
Settings > Governance > Competences handed DataTable every grant at
once, with no search and no count footer. It now builds its rows with
useListPage, as Teams and Members do: one window of
DEFAULT_LIST_PAGE_SIZE rows that grows as the reader scrolls, a toolbar
search over the holder's name and email and the right's translated name
or id, and the shared count footer ("Showing 20 of 25 grants").

The status filter stays the page's own facet, with its Active default
and the empty-register rule, and a new selection restarts the window.
Rows a failed refresh left now stay on screen, and the failure is named
above them with CatalogLoadError, as on Teams. With nothing loaded the
table still shows its error state; its Try again now hands the focus to
the section before the read starts again.

Closes #5160

Task: TALE-256
A connector action can now ship named scenarios beside its mock: an
input matcher (when) with an output or an error, as data, never code. A
test or run_automation's bench picks one per node with scenarios, beside
mocks and failures. A call whose input matches gets the scenario's
output, its write effect still recorded, or fails with its error,
classified as the same live failure would be (401 or 403 as
CONNECTOR_AUTH, 404 as CONNECTOR_NOT_FOUND, 429 as
CONNECTOR_RATE_LIMITED), so onError and the failure path act as they
would live. Any other call runs the mock; a pick no call took is listed
as unused. An unknown name, an unknown node or two stand-ins on one node
refuse the run and warn before it (TESTS_SCENARIO_UNKNOWN,
TESTS_SCENARIO_CONFLICT). get_catalog lists each action's scenarios, and
the API contract moves to 3.56.0. A connector failure names the
connector by its slug in the in-process executor too, as the durable
runtime does, no longer by its node type.

The shipped-catalog test checks every scenario against its action and
holds a ratchet: a connector on its list ships success, empty and error
on each read and success, refusal and duplicate on each write, and a
connector that ships them everywhere must join the list. Slack is the
first, with its scenarios proven against its live body. The specs
(AUTO-R78, AUTO-R79, CONN-R33, MCP-R34), the messages, the manual and
the docs move with it in en, de and fr.

Closes #4943
Task: TALE-198
A model id is not unique within an organization: OpenRouter lists
openai/gpt-5.6-luna, gateways use the same form, and the listing drops
the vendor prefix, so OpenAI's own gpt-5.6-luna reads "GPT 5.6 Luna"
too. Many surfaces showed the model alone.

One rule names a model (app/features/shared/models/model-name.ts).
Where a model's name stands alone, it reads "Provider · model" when
another provider in the same list offers its id or a model of the same
name, and by its own name otherwise. Open lists head each provider's
models with its display name, and every row reads "Provider · model"
to assistive technology.

- SearchableSelect lets an option give its row an accessible name, its
  closed trigger a text and its search more words of their own.
- The chat composer groups its models by provider, as the arena does,
  and both name the pick by its own provider.
- The agent pickers and the standard agent, image generation,
  transcription and vision pickers follow the rule; the standard
  agent's status line and an agent node's canvas box count only what
  their runtime is offered.
- The default model details pass the provider to ModelInfoPopover, and
  the embedding settings name providers by their display names.
- The en/de/fr docs and the manual box CHAT-F38 say the same.

The automation llm step keeps a bare id, since the run picks the
provider. Arena verdicts (#5268), a stale composer pick (#5269), the
metrics (#5270) and the task run tooltip (#5271) are their own issues,
and the Model access dialog is #5178.

Closes #5179
Task: TALE-341
The workspaces and devices tables on Settings > Sandboxes now build
their rows with useListPage from the query they read: a window of
DEFAULT_LIST_PAGE_SIZE rows that grows as the reader scrolls, a toolbar
search, and the shared count footer named by an entity label of their
own. The workspaces search matches the owner as the table names it,
a deleted agent included, the harness, and the tasks working in a
workspace; the devices search matches a device's name, its system as
the Device column names it, and its release. Add device leaves the
section header for the devices table's addAction, still disabled while
the sandbox service takes no devices and still only for those who
manage the organization; the hub notice stays above the table.

A failed refresh of either table now keeps the rows it listed under a
notice with Try again, which re-reads that table alone; a failed first
read still shows the table's error state with its Try again. The search
placeholders and entity labels are in en, de and fr. A component test
pins the toolbar placement, the page size and the count footer, and
SET-F106 keeps the painted layout, both themes and the narrow width
manual.

Closes #5161
Task: TALE-257
An automation's General tab is a settings form, but it stood in a narrow
content frame with a hand-applied divider rule: its sections sat 24px
apart instead of Settings' 32px, and it read as a different system from
the organization's settings.

The frame a project's General and Environment tabs already used (the
general settings page in the tab's content area) moves to
settings/components as SettingsTabPage, and the automation General tab
stands in it on both of its routes: Settings' column, the 32px section
rhythm and hairlines, the label-left row layout and the end clearance.
The Save/Discard cluster and the editor group stay as they were.

The Projects picker keeps no visible row label, as single-control
sections in Settings do: the section heading names it and its
aria-label repeats the heading. The pages that are not forms (the
editor canvas and its inspector panels, runs, versions, metrics) and
the settings dialog keep their own frames; the frame's doc names them.

Closes #5166
Task: TALE-262
Settings > Metrics > Usage handed DataTable every user and API key of
the period at once, with no search and no count footer. The users table
now builds its rows with useListPage, as Teams and Members do: one
window of DEFAULT_LIST_PAGE_SIZE rows in the server's order (cost
first) that grows as the reader scrolls, a toolbar search over what the
User cell shows (a person's name, an API key's name and the team,
project or organization it belongs to, the Automations (triggers) row
by that label, never an id), and the shared count footer ("Showing 20
of 25 users and API keys"). The server read is unchanged, so every row
stays reachable.

The page names the read the rows answer by its period and drill-down
facets, so another period, assistant, model or provider starts the
window over, while a refetch and the chart's granularity and metric
keep the rows the reader revealed. The table stays out of the sticky
layout in the scrolling page and keeps the page's loading and
failed-read handling, its empty state and its note. The rankings stay
as they are.

The search placeholder and entity labels are in en, de and fr. A
component test pins the window, the search, the footer and the toolbar
placement, a page test pins when the window starts over, and MET-F14
keeps the painted layout, both themes and the narrow width manual.

Closes #5163
Task: TALE-259
A project's agents now read as the same system as Settings, as #2794
asks. The Agents tab lists them in the Chats tab's list shape, one
bordered list with a hairline between rows, and keeps its sticky header
and the general-settings column. An agent's name covers its row and
opens its details. The shared row menu (EntityRowActions) replaces the
three inline icon buttons, as on the automations, documents, contacts,
products and Settings lists. It is named for its agent and offers View,
Edit and, set apart, Delete. The standard agent's menu has no Edit, and
a reader's offers View alone. The loading skeleton takes the same shape.

The agent details dialog lays the agent out as settings rows
(SettingsFieldRow), each label above its value and a hairline between
rows, instead of a small dl of its own. The create and edit dialog keeps
its stacked fields and Governance's labels for the settings the two
share (Agent runtime, Model, Instructions). Its hint under Instructions
now follows the standard agent's wording.

The exceptions, by name:
- The timeline's compact agent preview keeps its small dl, the scale of
  the popover it sits in.
- The dialog's runtime and model fields carry no help text, and its
  instructions hint drops Governance's second sentence. Those hints
  describe Automatic and the built-in instructions, and a project agent
  has neither.
- Agents stay in dialogs and get no settings page of their own.
- The agent's name is a button, so it draws its focus ring as the tasks
  list's title button does, on the box that covers the row. The Chats
  tab's rows are links and ring the row itself.

The menu uses common.actions.view, edit and delete, which retires
projects.agents.rowView, rowEdit and rowDelete. The guide in English,
German and French, the manual boxes (new PROJ-A11), the error-code
reference, the docs-screenshot manifest and the product-motion agents
scene follow the menu.

Closes #5165
Task: TALE-261
An arena verdict recorded each column's model by its bare id, so the
statistics counted one model through two providers as a self-match and
merged the verdicts on one model through different providers into one
match-up. Comparing openai/gpt-5.6-luna through OpenRouter with the same
id through a gateway yielded no data.

The verdict now records each side's provider with its model (metadata
providerA and providerB, read from the provider_slug of the side's
newest reply; null when the reply names none). The statistics key a side
by model and provider: one model through two providers is a match-up
(FDBK-R8), one model through one provider stays a self-match (FDBK-R7),
and a verdict recorded without providers counts as before, by its models
alone. Top model matchups and Recent feedback name a side with its
provider where the list holds its model through another provider too,
by the shared rule in shared/models/model-name.ts.

Closes #5268

Task: TALE-361
The entry route read only the session, so every signed-out visitor
went to /log-in. Only the sign-in page then found out that the install
had no account yet: it rendered first and then forwarded to /setup.

Once no session is found, the entry route's beforeLoad now asks the
users read that the setup and sign-in pages gate on (hasAnyUsersQuery,
the public has-any door). It sends an install without any account
straight to /setup, so the sign-in page never renders on the way. A
signed-in person still goes to /dashboard without that read, and an
install with an account still goes to /log-in. A read that fails falls
back to /log-in, never to /setup, as setup.tsx already does, and the
sign-in page reads it again. The answer is cached under the key /setup
reads, so the wizard does not ask again.

A route test covers the three cases and both kinds of failure. The
sign-in page's comment no longer says it redirects to /sign-up. The
auth suite gains AUTH-F38 for what an empty install shows on the way,
with the route half in the automation register.

Closes #5012

Task: TALE-209
@tale-code-bot tale-code-bot added the merge-train A merge train's pull request into main label Nov 2, 2026
TALE-223 (e75ae44) moved the per-user volume read of
assertUploadSizeAllowedForOrg onto countedUploadsClause, so the query
now reads `sum(fm.size)` from `app.file_metadata fm`. The Sql double
in rest/v1-projects.test.ts still answered only a query that held
`sum(size)`, so the volume read got no rows. Two tests failed:
"counts the file it is admitting once against the per-user volume
quota" found no volume read, and "refuses a declared size the bind
would refuse, presigning nothing" got 200 where a nearly full quota
answers 400. The check that the type gate reads no size passed only
because nothing matched any more.

Match the double, the two assertions on the read and the comment to
the query as it is now. The gate itself is unchanged.
TALE-259's users table test gave its rows their cost with a spread
inside .map, which oxlint's no-map-spread rule refuses, so Lint
(platform) failed on the feature train. The rows are fresh objects of
the test's own row helper, so the map now sets each row's cost in place
with Object.assign. What the test checks is unchanged.

Refs #5163
@tale-code-bot
tale-code-bot merged commit 3d568d1 into release/0.6 Nov 2, 2026
92 checks passed
@tale-code-bot
tale-code-bot deleted the feature-train-20261102-0057 branch November 2, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-train A merge train's pull request into main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant