Repository navigation
chore: feature train 20261101-0845 - #5248
Merged
Merged
Conversation
A refused automation write showed the store's English sentence verbatim in every locale: the stale-save dialog and the deploy, trigger, run and import messages read English beside German or French titles and buttons. The store's refusal codes are one list now (AUTOMATION_REFUSAL_CODES), and AutomationError takes only a listed code. Each refusal carries the facts its sentence names under data (the automation's name, the versions, the reserved segment and its position, the freed-slot reason), and the app words it by code and data from the automations catalog (refusals.<CODE>[.<variant>]) in en, de and fr; the replay refusals read as the replay dialog words them. Every automation door reads its refusals through automationErrorMessage or automationFailureDetail. The server's English sentence stays the API's, the CLI's and the logs', and shows only for a code this build does not know. lib/i18n/automation-refusal-keys.test.ts fails when a listed code has no sentence, a sentence outlives its code, a locale leaves one in English or reads an argument the app never passes, or no automation door refuses with a listed code any more. A German test renders the stale-version dialog and finds no English sentence. The cron reasons are #5230. Closes #4524 Task: TALE-89
From a project's automation list, the template, blank and upload lanes of Create automation install the new automation in that project, but With your coding agent opened its dialog without the project, so the automation the agent saved landed outside it and the author had to bind it afterwards. The list now hands its project to the dialog's create context. The dialog reads that project alone (useNamedProjects, never every project), and the prompt names it and tells the agent to save with save_automation, create set to true and projectId set to the project's ID, which installs it there; until the name is read, the prompt names the project by its ID alone. Where agent sign-in is off, the dialog offers the project's ID to copy instead. From the organization's list nothing changes. The prompt is in en, de and fr (de-CH quotes the name with guillemets), and the docs and the manual suite describe it. Tests prove that the list passes its project, that the dialog renders both prompts and the ID to copy, and that save_automation still takes the arguments the prompt names. Closes #5215 Task: TALE-302
An attach stream that runnerd has answered counts as an exec running through the spawner, so a turn the platform follows by attach keeps its session busy: the sweep skips its health probe and stops no session that streams. An attach runnerd never answers still proves nothing. Exec and attach streams share one cleanup, which takes a stream's key out of the entry it registered in while the key still holds its controller, so a stream that ends while a failed destroy holds its session out leaves no key behind. A create or a reactivation refused for memory stops a released warm session only when the latest reading itself is short. A refusal made of reservations (creates in flight, the young-session reserve, waiters ahead) answers 429 host_memory and stops nothing. The EN/DE/FR references, the sandbox README and the sessions guide say so. Spans measured from wall-clock timestamps survive the clock stepping back (wall-clock.ts). Memory, disk, pressure and capacity readings, verdicts and cached answers stamped in the future are stale, and a newer read replaces an older one by the order the reads began. Reservations, places in line, heavy-phase leases and the last start that host pressure paces by count from the present, and back-offs counted from the future are over. The reclaim walk judges each back-off by the clock as its candidate comes up. A drifted build helper is recreated only when a second read of its build history, at least 3 s after the first, shows no build running and none started between them. No create waits for it: the provisioning that holds the helper has a follow-up provisioning read again 3 s later in the background. Once a helper has been held for a minute, the first read with no build under way recreates it, so a busy organization does not keep a helper that may fail its builds. The hold ends with its drift. A provisioning that finds no running helper drifted, or that starts, launches or recreates the builder, forgets it, so a later drift is confirmed anew. The follow-up queues for the organization's lock, however the work ahead of it ends, and looks at the hold only there. It provisions with a budget of its own and no create lease, so nothing is provisioned after an idle stop, the disk relief's removal or a teardown, and no teardown is refused for it. A queued Docker call whose slot comes free with less than a second left, of its own budget or of its operation's, is refused without starting the Docker CLI and hands the slot on. Its message names what was left of both budgets. The egress proxy lowers MaxClients to what its open-file limit holds, at least 1, and logs it. Each host_disk refusal is logged with the disk that refused it, its free space and its floor. The spawner's size settings also take the Kubernetes spelling (10Gi, 512Mi) and a t suffix. The gateway's memory keeps compose's spellings, because compose.yml hands it to mem_limit, which refuses 4Gi. The sandbox README records how each finding is settled, including the two accepted ones: an aborted idle prune may finish in the helper, and a remote DOCKER_HOST needs no locality check because a daemon that does not share the session root fails the workspace bind. The EN/DE/FR references, .env.example and the egress README follow. Closes #4124 Task: TALE-63
The Chat tool status panel on Governance > Policies & Limits gains a Run check for Owners and Admins. It starts a light sandbox the way run_code does, in the organization's light budget, checks the document libraries its runtime image lists, writes a tiny Word file, reads it back and destroys the sandbox. It answers passed, or the piece that failed as a code: no sandbox service; a start that failed, or a sandbox that stopped working, in run_code's own codes (busy, host busy, not ready, unreachable, failed); the missing libraries, where a list that names none counts as missing; a file not written; or a check past its 50 s deadline. It waits for the destroy only until that deadline, and a sandbox it cannot remove is left to the sandbox watchdog. The sandbox service's words stay in the server log. The same check answers POST /api/app/chat/work-tools/check for support, beside the status read, Owners and Admins only and never cached. run_code and the check share one map of light sandbox failures. The chat files docs tell the reader to run it and what it proves; card CHAT-R38 and manual box GOV-F81 hold the rule. Closes #5180 Task: TALE-273
tale-code-bot
force-pushed
the
feature-train-20261101-0845
branch
from
November 1, 2026 09:33
4611b1f to
7a85fe5
Compare
d53b824 (TALE-63) made the sandbox spawner's loadConfig import services/sandbox/src/wall-clock.ts. The CLI's cross-check suite holds SPAWNER_CONFIG_SOURCE to the modules that loadConfig imports, and @tale/cli#test hashes the same files from tools/cli/turbo.json, so the suite failed until both lists named the new module.
d53b824 (TALE-63) read the fake builder's state.json in a buildkit-lifecycle test with `JSON.parse(...) as FakeState`, which the type-aware oxlint of @tale/sandbox refuses (no-unsafe-type-assertion). The test now types the parsed state through its declaration instead.
3fbbdce (TALE-273) exported ChatSandboxCheckPiece from lib/chat/work-tools-check.ts, but nothing uses it, so Knip reported an unused exported type and failed.
d09fd57 (TALE-89) words an automation refusal by its code in the reader's language, so triggerRefusalText no longer falls back to the store's sentence for a code it knows. The test now expects that sentence, and a new case keeps the fallback for a code this build does not know.
tale-code-bot
force-pushed
the
feature-train-20261101-0845
branch
from
November 1, 2026 09:44
7a85fe5 to
ad6b507
Compare
d1bea2a (TALE-302) has the coding agent's dialog read the project it creates into through useNamedProjects on every render, and that hook needs a QueryClient. The run failure card's browser test opens the dialog without one, so its three dialog tests failed with "No QueryClient set" once TALE-285's take-out let the Browser job run to its end. The test now mocks useNamedProjects as coding-agent-entry.test.tsx does, and keeps the module's other exports.
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
This was referenced Nov 1, 2026
tale-code-bot
added a commit
that referenced
this pull request
Nov 1, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 1, 2026
Browser tests replace use-actor-directory with a stand-in that names only the hooks they stub. In the browser a module links its named imports, so use-assignable-members, which took memberActor from that module, kept page-skeletons, board-column and task-modal's browser tests from loading (the Browser check of feature train #5248). memberActor maps a member to the actor a task surface lists and holds no hook, so it moves to lib/member-actor.ts. The actor directory, the assignable members and the board filter take it from there, and the board test's stand-in no longer has to carry the real one.
tale-code-bot
added a commit
that referenced
this pull request
Nov 1, 2026
Browser tests replace use-actor-directory with a stand-in that names only the hooks they stub. In the browser a module links its named imports, so use-assignable-members, which took memberActor from that module, kept page-skeletons, board-column and task-modal's browser tests from loading (the Browser check of feature train #5248). memberActor maps a member to the actor a task surface lists and holds no hook, so it moves to lib/member-actor.ts. The actor directory, the assignable members and the board filter take it from there, and the board test's stand-in no longer has to carry the real one.
tale-code-bot
added a commit
that referenced
this pull request
Nov 1, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 2, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 2, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 2, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 3, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 3, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 3, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 3, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 3, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 4, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 4, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 4, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 5, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 5, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 5, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
tale-code-bot
added a commit
that referenced
this pull request
Nov 6, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
yannickmonney
pushed a commit
that referenced
this pull request
Nov 15, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
yannickmonney
pushed a commit
that referenced
this pull request
Nov 23, 2026
Feature train #5248's Backend integration (Checks run 41295200452, job 124814665388) failed two checks that race, in code the train does not touch: - The MCP-R33 check spent the bench budget to its last run, then made two calls. The budget gives back two runs a second: the suite's refusal came 570 ms later (it waited 931 ms for three runs), which gave back the one run the next try needed, and the try ran. The version-doors lane now spends the budget a minute past its last run, over MCP and over REST. - The MCP-R21/R26 check read the person's initialize rows of the day without naming the key, and took the first: another lane's key came first. The MCP eras lane now reads the rows of its own key.
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: 610007b
The fifth feature train of the 0.6 line: the commits
feature-traincollected on top ofrelease/0.6(4dd64442…, which holdsmainate6bedb62a…), oldest first:Task keys of their
Task:lines: TALE-67, TALE-89, TALE-302, TALE-63, TALE-273, TALE-285.Known before departure, from the role's own run on the first five commits (up to
3fbbdced1). TALE-285's610007bd0reachedfeature-trainat 08:35Z, after those runs. It touches onlypackages/uiandservices/platform, so it changes none of the CLI findings below:Unit (workspaces).d53b8242dmakes the sandbox spawner'sloadConfigimportservices/sandbox/src/wall-clock.ts. The cross-check intools/cli/src/lib/deployment/runtime-sandbox-spawner.test.tsholdsSPAWNER_CONFIG_SOURCE(inruntime-test-helper.ts) to those imports, and neither that list nor the inputs of@tale/cli#testintools/cli/turbo.jsonname the new module. The fix adds it to both lists, one line each. With the fix, the spawner and platform-docs suites pass 24 of 24 in the role's worker. Without it, "the modules the cross-check runs > are the spawner files that load its configuration, and they exist" fails. The role commits the fix on this branch once CI shows that failure.3fbbdced1(bun test --timeout 30000intools/cli) ran 3950 tests in 211 files: 3898 pass, 42 skip and 10 fail. Apart from TALE-63's, the other 9 failures (in the action-archive, smoke-fixture, toolchain, release, deploy, stage and legacy-mode tests) fail with the same names on the base4dd64442din the same worker. They come from the worker's environment, not from this train.3fbbdced1plus that fix:bun install --frozen-lockfileandformat:checkpass.typecheck build(8 GiB heap,--concurrency=1) passes 24 of its 26 tasks, without an OOM kill.@tale/cli#build(Failed to download 'bun-darwin-aarch64-v1.4.2': DNSResolveFailed) and@tale/web#build(getaddrinfo ETIMEOUT api.github.com) fail on the network alone.@tale/web#build, so for them it counts as passed. Four are among the inputs of@tale/cli#build, so this pull request's Build is what builds it.Not run in the role's worker: anything on
610007bd0itself, Knip, lint, the platform unit, UI and integration suites, 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.