Repository navigation
chore: feature train 20261102-0858 - #5297
Merged
Merged
Conversation
Every Docker read the spawner made started the docker CLI: a Go process of
about 48 MiB and 25 ms of CPU for one request to the daemon, waiting first
for one of 16 CLI slots. The reads of session containers now send that
request themselves, through Bun's fetch over the socket the CLI would use:
each session's inspects (liveness, identity, removal, a stuck create, its
workspace mount) and the session listings (adoption, the capacity
inventory, the package-cache sweep).
runDocker takes such a read as an `engine` option beside the CLI's
arguments (docker-engine.ts) and answers it in the CLI's shape: stdout as
the call's --format template prints it, a daemon error as the CLI reports
it ("No such container" stays the one answer that means gone), 124 when
the budget runs out and -1 when cancelled. So every caller keeps its
parsing and its verdicts, and no API read takes a CLI slot. Each read
declares its template and its renderer together; docker-read-parity.test.ts
pins both to what docker CLI 29.9.0 printed for the same answers, and with
TALE_DOCKER_CLI_PARITY=1 compares them with a live CLI.
The API answers only where the target is certain: DOCKER_HOST names a
local unix socket (the spawner image sets it) and neither DOCKER_BIN nor
DOCKER_CONTEXT is set. Anywhere else, and for every other call (run,
create, start, stop, rm, volume, network, image, logs, info, version), the
CLI runs with the same arguments as before. A read asks in the API version
the image's docker:27 CLI speaks (1.47), or the daemon's own when older,
negotiated from its ping; a daemon that refuses that version and names
another is asked again in it. spawn-util.ts imports the module, so it joins
the spawner files the CLI's sandbox cross-check runs (SPAWNER_CONFIG_SOURCE)
and the inputs @tale/cli#test hashes for them.
Measured against a stub daemon, client side only: an inspect takes 0.16 ms
instead of 20.8 ms, a listing of 50 sessions 0.59 ms instead of 19.7 ms,
and a burst of 64 liveness checks 4.6 ms instead of 966 ms, of which 48
had queued for a CLI slot.
Closes #4727
Task: TALE-136
The Blank wizard's step 2 asked two questions, Enable now and Deploy v1 now, where the template lane asks one. It now shows the template lane's Start it now, off by default. On, the create saves v1, sets its trigger on and deploys v1. Off, it saves a draft with its trigger off, which is what Upload creates. The dialog reuses the template lane's keys, so the two lanes keep one wording. In both create wizards the line under a schedule's next runs follows the switch. Off, it says that Start it now is off and none of the runs start yet. On, it says nothing, since Start it now deploys v1 as well. The General tab keeps its paused and not-deployed lines. The catalog and triggers docs (en, de, fr) and the manual boxes AUTO-F45 and AUTO-F122 describe the switch, and the suite names the four create lanes. Closes #5013 Task: TALE-210
The onboarding code described steps the setup wizard no longer has (a language/theme step, an OpenRouter step, a standalone sign-up form) and kept state nothing used. The comments in the wizard, its steps, the auth routes and the e2e specs now describe the flow as it is, with owner account, workspace and finish in first-run, and workspace and finish in add-org. The wizard stored onboardingCompleted when a person left its last step, and nothing ever read it, so the write, its route and the preference field are gone. The column stays, recorded as retired in the debt ledger, because the previous image selects and writes it while a deployment rolls. The finish step also loses the providerConnected prop the wizard always passed as false, with its message in every locale. A wizard test proves that leaving the last step still lands where it did and sends no request. Closes #5213 Task: TALE-300
A new agent tool, task_set_labels, lets a project agent add and remove labels on an existing task, so work routed by label (dispatch gates, label filters) no longer needs a person to label it. The tool is off by default and no existing grant includes it. An admin grants it per project agent in the agent dialog, together with the project labels it may touch. It never creates a label: it refuses a label outside its grant or unknown to the task's project, answers to the task's whole current label list (a stale list is refused as TASK_METADATA_STALE), refuses a run a member started and passes the same workability checks as the other agent task writes. Each change writes a labels.changed timeline row with the agent as actor and an audit row marked viaAgent. Closes #4990 Task: TALE-203
The chat tools' tasks and projects legs no longer read every project the turn user may read and send the ids back as ANY(<ids>). The two search handlers resolve the turn user's auth and join readableProjectsSql in the statement that reads the tasks or the projects, archived projects included. A project thread passes its one checked project, and a listing or a ref that names a project checks it alone through assertProjectAccessForChat. The archive labels come from the rows themselves: a project row by its own archivedAt, a task by its project's label from getProjectLabelsForOrg, which now says whether the project is archived. The resolveWorkProjectsForChat query and resolveWorkProjects are removed. The unit tests pin the joined statements for an admin (PROJ-R1), a member, a disabled seat and a gone member (PROJ-R2) and a project's own key, and the project-reads integration lane checks both legs against real Postgres for every viewer. Closes #5207 Task: TALE-293
People choosing a skill in chat saw only its name and description, while the skill library and the agent skill pickers already say who created each skill. Both chat pickers now say it too: the / list in the composer and the model picker's Skills section start each skill's line with its creator, read through useSkillAttribution as the agent pickers read it (By <name>, Built-in, Configuration release · <name>, or By a former member once the creator has left the organization), then its description. The creator leads, so a long description cut off at the edge never hides it, and a screen reader hears the line as the option's description, after its name: PickerSearchList rows gain a description line for that, which the row's tip shows whole while the panel cuts it. GET /api/app/chat/composer/skills answers each skill's origin and, while its creator is a member, their name, resolved by withSkillAttribution as for the agent pickers. The creator's id stays on the server, and a library that cannot be read still offers nothing. The turn's skill catalog is untouched, so no creator reaches the model. The docs (EN/DE/FR) and the manual suite (new CHAT-F84 and CHAT-A12) follow. Closes #5033 Task: TALE-216
The rail, every section panel (Home, Settings) and their boot stand-ins paint the existing sidebar token instead of the page colour, so the navigation reads as one column apart from the page, as the ChatGPT app's sidebar does. The light value moves to #f9fafb, one step off the page and clear of the rows' muted fills; dark keeps #0f0f0f. No line runs between the rail and a panel any more. The edge to the page stays, drawn by the panel's right border, folded or open, or by the page's own line when no panel stands. Inside a panel the sticky headings and the rows' hover overlays match the surface, while the phone's Home screen keeps them on the page, and the rail badges' cut-out ring follows the rail. The accent's text shade is also judged on the sidebar, plain and under a selected row's tint, which changes no pick today. Browser tests hold the rail and the Home panel on one surface apart from the page in light and dark, the boot stand-ins on it, and the shell's line dropped while a panel stands. Manual box NAV-F45, the automation rows, the design and ui-docs pages and the rail's story follow the new surface. Closes #5011 Task: TALE-208
The budget editor's project scope, an API key's owner field and the project metrics' scope read every project the caller can read (`GET /api/app/projects`, no limit) through useProjects. They now offer Home's page of 100 projects and, while that page does not hold every project, the server's name search for what is typed (useProjectChoices, through the new useProjectSelect). A selected project past the page is read by id, and a project picked from a search stays named once the search moves on. The budget rules table names only the projects its rules cap (useNamedProjects), by id when the page lacks them, archived or gone; a failed read by id reads "Project not loaded" with Try again, never a deleted project (as #4605 asks). With no caller left, the app's whole-list read is retired: useProjects, the projects/queries:listProjects contract entry and its adapter row. GET /api/app/projects stays for the CLI. The manual box GOV-B23 now blocks every project read, since the editor no longer reads the list. Closes #5205 Task: TALE-290
The fullscreen diagram viewer covered the page with a translucent, backdrop-blurred layer. Every zoom or pan repaints that viewport-wide layer, and without GPU compositing the browser blurs the whole page behind it again for each such frame. On #4348's harness (docs site production build, Chromium headless shell with software rendering, 1440x900) a zoom click took a median 100 ms (80-136 ms) with the blur and 24 ms (16-32 ms) without it, ABBA over 40 clicks per arm. The layer is now opaque bg-bg-base, as the search palette's panel became, with no backdrop-filter. It still stands apart from the page, which it hides; its controls, scroll lock and Escape are unchanged. The diagram toolbar keeps its own small blur, which measured within budget inline. A browser test holds the layer at no backdrop filter, opaque and covering the viewport, and checks zoom, scroll lock and Escape. Closes #5226 Task: TALE-310
Replace the Caddy edge with Traefik v3.7.17, pinned by digest on the official nginx 1.30.6 base. Each routed service now declares its own routes in Traefik labels. compose.yml carries them, and the tale CLI emits the same labels from one helper (traefik-labels.ts), with the colour in every router name so that blue and green never collide. Traefik reads the labels through a read-only Docker API proxy, the image's docker-api role. It is nginx on an internal network shared with the edge alone, with the socket mounted read-only. It answers GET and HEAD only on ping, version, events, the container list and inspect, refuses every other request with 403, and strips Env from inspect answers. The provider runs with exposedByDefault off and a constraint on the deployment's Compose projects, so a foreign container cannot claim a route. What belongs to the edge rather than to one service is rendered at boot from the same environment as before, by modules that njs runs and bun tests. These are the host guard, BASE_PATH, the dot-segment and control-plane refusals, the metrics gate, the TLS modes with a self-signed root issued through WebCrypto, and the answers while a service is absent or failing, written by a loopback nginx. BACKEND_UPSTREAM, OBJECT_STORE_UPSTREAM and SANDBOX_HUB_UPSTREAM are gone, and the sandbox route follows SANDBOX_HUB_PORT. Analytics takes the client address from X-Real-IP when no dedicated header arrives. The managed runtime refuses a Traefik-edge source until #5282. The upgrade from the Caddy volumes (#5209), Kubernetes (#5210), the docs with the remaining Caddy mentions (#5211) and the edge's two body-fault codes (#5292) follow in their own changes. Closes #5052 Task: TALE-226
Check every competitor claim in the Agent Zero, AnythingLLM, Autensa, AutoGPT and Claw-Empire guides against the vendor's own pages, in EN, DE and FR, and link each claim to the page that carries it instead of a homepage or repository root. Correct what those pages no longer support. AutoGPT now presents AI Experts coordinated by Otto, licenses its platform under the PolyForm Shield License and keeps the early agent as the unsupported AutoGPT Classic. AnythingLLM's desktop app is single-user, its scheduled jobs run in single-user mode only, and it also offers a hosted cloud. Autensa runs dependency-aware parallel subtasks for large features in Convoy Mode, not inside its improvement pipeline. Claw-Empire is spelled as its vendor spells it. Date the activity of the two quiet projects: Claw-Empire has had no release since v2.0.4 on 12 March 2026, and Autensa no code change since 17 May 2026. Set each guide's review date to 2 November 2026 and add the five slugs to SOURCED_GUIDES, which holds them to the sourced-guide checks. Closes #5225 Task: TALE-309
The List view's drag clone carried an 8 px backdrop blur. In a keyboard drag its opaque card hid the blur, yet the clone moves on every frame of a drag, so the browser computed the blur again each frame. In a pointer drag the clone sits under the pointer, and the row's hover tint (40 % muted) turned the card see-through, the only time the blur showed. The clone now drops both and stays the same opaque card in every drag, as the Board view's clone does. On #4348's harness (Chromium headless shell with --disable-gpu, ABBA over 12 pointer drags of about 16 s) the compositor's CPU per drag fell from 4.7 s to 1.1 s; the frame cadence did not change. A browser test holds the clone at no backdrop filter and the card colour, also with the real mouse on it, in light and dark. Closes #5228 Task: TALE-312
The overlay behind a zoomed markdown image carried backdrop-blur-sm, an 8 px backdrop filter over the whole viewport. Without GPU compositing the frame that opens an image had to blur the page behind 80% black, where the blur barely shows. On the docs site's production build (Chromium headless shell with software rendering, 1440x900), an open took a median 176 ms (104-200 ms) with the blur and 80 ms (48-104 ms) without it, ABBA over 40 opens per arm. The overlay now only dims the page, as the search palette's overlay already does; its title, focus, Escape and click-to-close are unchanged. A browser test opens the lightbox with a real click and holds that no element computes a backdrop filter, that the overlay covers the viewport and dims it without hiding it, and that Escape and a click beside the image still close it. The docs image zoom box now expects a page that stays sharp, the registers name the test, and a new performance box times an open without a GPU. Closes #5227 Task: TALE-311
usePrefetchTaskReads starts a task's own reads together with the task: its discussion, dependencies, reviewer and watch state. It now also starts its activity and agent runs, through the same adapter rows and so under the keys useTaskActivity and useTaskAgentRuns read. Both reads already start with the task: since a29ec1d (#4017) the dialog's body calls useLatestRunRefusal at its top, and that hook reads them. They keep that head start only while that read stays there. Moved into a section that mounts after the task, they would wait a round trip and a render behind it again (#3974's fourth cost), and no test would notice. The prefetch now names them and its test pins them; the manual layer's automation reference says so. No request is added: react-query joins the prefetch and the body's read into one request per key. The board does not warm its project's label catalog. The dialog draws the task's chips from the task itself. The catalog fills only the label picker, which opens on a click, well after the editor's own read has started. Closes #5231 Task: TALE-315
The embedding setup alert above every dashboard page read its three
strings with useT('settings'), so its lazy chunk brought the whole
English settings topic (26 KB gzip) and, in a German, French or Swiss
session, waited for the whole localized one (about 100 KB, 30 KB gzip)
before it rendered.
Its words are now a topic of their own, embeddingSetup, in en, de and
fr, moved unchanged out of settings.dataResidency.orgEmbedding.banner,
as the shell's other borrowed words were (legalHold, roles). The
settings pages keep the rest of their words, and a session that never
sees the alert loads none of these.
The entry budget check gives the alert's chunk a lazy budget of its own,
with a gzip ceiling and the topics it may wait for, read from the wait
the messageTopics plugin appends to it. It fails on the old alert,
which carried the settings topic and waited for it. The manual suites
cite the new keys.
Closes #5240
Task: TALE-323
Under an enabled PII policy, a document the policy could not scan is refused as Failed with pii_scan_failed. Only a save of the policy or Retry indexing queued it again, so a redeploy that brought the PII data tree back left those documents failed until an admin saved the policy. A new pass, knowledge.resume_pii_unavailable, queues again the documents refused because the protection could not start (PII_SCAN_FAILED_REASONS.unavailable), for each organization whose enabled policy builds its scrubber in the process that runs the pass. A worker whose boot probe loaded the PII data tree queues one pass at boot; an hourly schedule (minute 51) drains what the bounds left and heals a tree repaired without a restart. The queue is stately: one pass waits and one runs at a time. A pass queues at most 250 documents per organization and 1,000 in all, files first, so its jobs finish within the RAG watchdog's patience. A document with a part that could not be scanned whole (incomplete) stays with the save and Retry indexing, since it would fail again for the same text and policy. The pass reuses the save's selection: requeuePiiScanFailedDocuments takes an optional cause, limit and skipQueuedBodies, which leaves out the email bodies whose rag.index_message job still waits or runs. The save passes none and behaves as before. Files are picked in id order under FOR UPDATE, so an overlapping save and pass lock in one order. The job lookup moves to message-jobs.ts, shared with the usage-limit deferral. KNOW-R9, the documents and API reference pages in English, German and French, the OpenAPI description of the code and the manual automation row say so. Closes #5239 Task: TALE-322
The screens that only name people read every member of the organization (GET /api/app/members/, which has no LIMIT) to find a few names. They now look up just the people they name through the member lookup (MEMBER-R11): - the automations actor labels (who saved or deployed a version, who started a run), each label asking for its person as it renders, and the toast that says who put another version live first, which waits for their name; - the author-names notice on the versions tab, which now retries only the lookups that failed; - the competences page (holders, grantors and revokers); - the member rights dialog (the admins who granted a right); - the audit, activity and error log tables, for a person a row names without an e-mail; - the record submit dialog (the reviewers the server says may review). A lookup that failed reads as unavailable, not pending, so no name waits for an answer that will not come; a person the lookup answered without is a former member, as before. The pickers that offer people and the members table in settings follow in #5293 and #5294. Closes #5206 Task: TALE-291
TALE-203 (da5044a) exported the type TaskLabelsPatch from the task metadata module, but nothing reads it: the label tool and the domain function behind it parse with taskLabelsPatchSchema itself. Knip refuses the unused export, so the feature train's Knip check goes red on it.
TALE-290 (39c7b9d) exported projectOption from the project select hook, but only that module calls it, as the default of its toOption. Knip refuses the unused export, so the feature train's Knip check goes red on it.
TALE-226 (7814aba) added services/proxy/render/main.js, which the image runs with njs (`njs -n QuickJS -m render/main.js`), a path knip cannot follow. Knip therefore reported the file as unused, together with describe, which only main.js reads, and the feature train's Knip check went red. Name the file as the services/proxy entry in knip.config.ts, and keep the six render names that only their own modules use (RESPONDER, INNER, DOCKER_API, CA_DAYS, unpem, keyIdOf) module-private.
TALE-290 (39c7b9d) has the settings pickers search projects on the server, so the API key form's project picker reads GET /api/app/projects/sidebar?summary=true&limit=100. The read-failure test still answered only the old GET /api/app/projects door, so its project choice never offered a project and failed. It now answers the new door with a page that is done.
Zabbly's stable channel no longer holds any 7.5.1 build of Incus; its index now lists two 7.6 builds per release. The lab's fallback takes only another build of the pinned version, so `install` died and the required Sandbox Incus E2E check failed on every pull request that runs it. Pin the newest 7.6 build for noble and resolute, and name 7.6 where the docs say which Incus the lab runs on; what they record of 7.5.1 itself stays as it was observed.
The test that makes a key for a project past the first page types the search, waits out its debounce and types the key name, about 4s on its own. Beside the other suites of its shard, CI's UI (platform 1/4) ended it at vitest's 5s default (5075ms) before the key was made. Give it the 15s ceiling the repository's other slow dialog tests carry, and say why.
The version compare test that opens a node picked on the graph waits for the panel to show "Summarize" once. When the lazy diff view of @tale/ui has already loaded in the file, the open entry's diff names the node in its screen-reader caption too, so getByText found two and the wait ran out. CI's UI (platform 2/4) failed so on this train, and main's Checks run 41094343489 before it. Ignore the caption, since the entry's title is the one meant. With a 2s pause before that render the old query fails the same way and the new one passes.
This was referenced Nov 2, 2026
Closed
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: aad223e
The eighth feature train of the 0.6 line: the commits
feature-traincollected on top ofrelease/0.6(273693ec7…, which holdsmainat917e48d41…), oldest first:Task keys of their
Task:lines: TALE-136, TALE-210, TALE-300, TALE-203, TALE-293, TALE-216, TALE-208, TALE-290, TALE-310, TALE-226, TALE-309, TALE-312, TALE-311, TALE-315, TALE-323, TALE-322, TALE-291.Known before departure, from the role's own runs:
da5044a34) exports the typeTaskLabelsPatchfromservices/platform/backend/core/tasks/metadata.ts, and nothing reads it.39c7b9d1c) exportsprojectOptionfromservices/platform/app/features/projects/hooks/use-project-select.ts, and only that module uses it.7814aba00) addsservices/proxy/render/main.js, which the image's njs runs (njs -n QuickJS -m render/main.js, a path knip cannot follow). That also leaves seven exports ofrender/config.jsandrender/pki.jsthat knip finds unused:describe, whichmain.jsreads, and six names that only their own modules use.render/main.jsas theservices/proxyentry inknip.config.ts, and keepprojectOptionand those six names module-private.Unit (platform UI …)will failapi-key-owner-field.read-failure.test.tsxin its project choice.GET /api/app/projects/sidebar?summary=true&limit=100.GET /api/app/projects?includeArchived=false&summary=truedoor.aad223e70in the role's worker:knipreports no findings;lintof@tale/platformreports 0 warnings and 0 errors, and the platform typecheck passes;services/proxy'sbun testpasses 45 of 45.6649041f4):app/features/documentspasses 576 of 576, and the docs suite 790 of 790;lint:manualandlint:linkspass.aad223e70), with the fixes above: its changed tests and every test of the modules it changes pass, 488 of 488 jsdom tests in 30 files and 44 of 44 browser tests in 4 files.services/platform/Dockerfilepins.render_fetch.test.tsandgolden-errors.test.tsfail the same way onmainin this worker, which runs Node 24.condition-text.test.tsandcondition-values.test.tsexpect1’000forde-CH. The worker's ICU 78.3 formats1'000.Fixed on this branch by the role, after CI's first run on the cut (Checks run 41416919388, Sandbox Incus E2E run 41416919233). Oldest first, now at head
1bdacf83e:71086cbebfix(platform): drop the unused task labels patch typecd4c5e9f5fix(platform): keep the project select's option builder privateb6ff9940bfix(proxy): name the renderer's njs entry for knipc7d10066ftest(platform): answer the project search door in the read-failure testf677623fafix(sandbox): pin a current Zabbly build of Incus in the labinstall(job 125183096513). Zabbly's stable channel dropped every 7.5.1 build, and the lab falls back only to another build of the pinned version.mainpins the same builds.1:7.6-ubuntu24.04-202611011745,1:7.6-ubuntu26.04-202611011751), andincus.mdand the manual's settings reference name 7.6 as the lab's version.d5818bd1btest(platform): give the server project search test room on a shardapi-key-owner-field.search.test.tsxat vitest's 5s default, after 5075ms (job 125182926123).1bdacf83etest(platform): read the node's entry title past the diff's captionversion-compare-page.test.tsx"opens what changed in a node picked on the graph" with "Found multiple elements with the text: Summarize" (job 125182926014).main's Checks run 41094343489 failed it the same way before.1bdacf83ein the role's worker:format:check, and turbo typecheck and build at 24 of 26.@tale/web#buildand@tale/cli#build. No changed file is among their inputs (turbo run build --dry=json).knip,lint:linksandlint:manualpass, and turbolintof@tale/platformreports 0 warnings and 0 errors.version-compare-page.test.tsxpasses 16 of 16, andservices/sandbox's lab unit tests (bun test e2e/incus/) pass 47 of 47.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.