Repository navigation
chore: feature train 20261103-1833 - #5347
Conversation
A board writes the open task into the address (?task=) and takes it out on close. The Home panel beside it read the whole location and was not memoised, so the shell rendering again on each navigation rendered the whole panel with it: 488 components on every open and every close of a 2,000-task board's dialog (#3974). HomePanel is now memoised and reads only what it shows, through the router's selectors: whether the page lets it fold, the Home location it marks as current (structurally shared, so an equal one keeps its reference) and the project a new chat files its draft row in. A query parameter it does not read renders none of its components; its router links still follow the address themselves, as every link does. The panel's suites stand in the router's useLocation with a shared stub that reads through select and structuralSharing as the router does, so a reader that takes the whole location renders again in a test as well. A case renders the panel in a frame that reads the whole address, as HomeSectionFrame does, and counts the navigator's renders through its view switcher, which holds the memo boundary. TASK-P4's automation row and pin name the new cases. The other costs of #3974 landed earlier: the modal's page-wide style pass (f2ce982), react-query's observer bookkeeping (#4062) and the dialog's second wave of reads (113ef5c and #5231). Closes #3974 Task: TALE-46
A dispatch gate's signal could reach Tale only from a program outside it that holds an API key. The task connector gains task.report_gate, so a scheduled or triggered automation can read the signal with its own connectors and report a state, or a value the gate judges, with a reason. The step is held to the REST door's bar. The run's automation must be installed in the gate's active project; a run a person or an API key started reports only while that person may edit the project; a trigger's run answers to its installation; a run dispatch or nobody started is refused. Only a declared gate takes a report, refused otherwise with the writer's DISPATCH_GATE_UNKNOWN and DISPATCH_GATE_VALUE_UNJUDGED. The gate names the run (run:<runId>) as its reporter, from which its automation is found, and the step's output on the receipt shows the report. A report from a step counts like any other: it restarts the stale window, and one that opens the gate asks for a pass. TASK-R51 lets an automation of the project report. PROJ-F78 keeps the dispatch page's half in the manual layer. The docs show an automation that reads the Actions queue and reports the ci gate, and name both ways to report: the step and the REST API. Closes #4991 Task: TALE-204
Every managed turn of a CLI with MCP started tale-connectors-mcp, a Node
stdio relay holding about 46 MiB RSS, only to forward MCP calls to the
platform's bridge doors. The platform now serves the same four tools
itself as a stateless Streamable-HTTP MCP server at
POST /api/connectors/mcp (CONN-R34, CONN-R35). Each request presents the
turn's session token, checked as /api/connectors/execute checks it, and
its tool calls go in-process to the same doors with the same body, under
the app's error handler, so grants, audit rows, answers and errors stay
the relay's. A long workspace tool reports progress over an event
stream, which a client may leave before the call ends. A missing,
unknown, revoked or expired token gets 401, and with no MCP session a
request acts only in its own token's scope. The edge routes the path in
the quiet lane of the bridge's doors.
Claude Code, Codex, Gemini CLI, Qwen Code and OpenCode mount it over
HTTP with the session key as their bearer token, read from where each
already holds it: the --mcp-config argv, Codex's exec environment, or a
${TALE_GATEWAY_TOKEN} or {env:TALE_GATEWAY_TOKEN} reference. OpenClaw
keeps the relay, because its wrapper would write the key into a config
the agent can read. The harness schema gains the remote mount
(bridgeHeaders, bridgeBearerEnv) beside the relay's, and tale-gemini-run
maps the server's URL as it mapped the relay's.
Closes #4728
Task: TALE-137
Tavily's two reads now ship scenarios, so a test can pick what Tavily
answers for a search or an extraction:
- search: two_results and answered (success, the latter when the call
asks for an answer), no_results (empty), and invalid_key (401),
rate_limited (429) and usage_limit (432, Tavily's status for a plan
past its usage limit) as errors.
- extract: one_page and partly_failed (success, the latter for two URLs
of which Tavily reads one), nothing_extracted (empty: Tavily answers
HTTP 200 with no results and the URL in failed_results), and
invalid_urls (400, when no URL passes Tavily's validation),
invalid_key, rate_limited and usage_limit as errors.
Each error scenario raises the message the live body throws, with
Tavily's refusal as Tavily sends it, and the HTTP status.
extract declared `failed: string[]`, but its body hands on Tavily's
failed_results as they come: objects with the URL and the reason
(`{ url, error }`), as Tavily's API reference and the repo's mock spec
say. The signature gives way, not the body: it now declares
`failed: Array<{ url: string, error: string }>`, which is what live
calls have always returned, and keeps the reason each URL failed, which
a list of URLs would drop. Nothing in the repository read `failed` as
strings. The mock spec now types the items of failed_results the same
way.
Tavily joins SCENARIO_CONNECTORS, and TAVILY_PROOFS in the catalog test
proves each of its scenarios against its live body with the answer
Tavily gives for it, the API key handed over as a live call does.
Closes #5322
Task: TALE-414
Every Twilio action now ships its scenarios. The reads (list_messages, get_message, list_calls, get_account, list_phone_numbers) each ship a success, an empty answer and errors; the writes (send_sms, make_call) each ship a success, a duplicate and refusals. Each error is the one the live body throws, with Twilio's HTTP status: a rejected Account SID and Auth Token (401), a rate limit (429), a message not found (404), and an unsubscribed recipient (400, Twilio's error body handed on). Twilio joins SCENARIO_CONNECTORS. The catalog test proves each scenario against its live body: Twilio's answer to the one request the action makes, with Twilio's placeholder Account SID as the credential's username. The data is synthetic. list_messages and get_message now declare date_sent as string | null. Twilio answers null for a message it has not sent yet, both bodies hand Twilio's message on whole, and the mock spec already allows null, so the signature gives way: a scenario that hid the null would describe a call that never happens. Closes #5324 Task: TALE-416
The Convex sandbox's URL rewrite that sent connector calls to the mock gateway left with the Convex backend, so nothing reaches the gateway's connector routes any more. Remove that half: the ten connector OpenAPI specs under lib/mocks/specs/connectors, their registry entries with upstreamHosts and resolveMockUrl, and the connector contract test. The gateway keeps its AI-provider and enterprise-SSO (OIDC) stand-ins, which the E2E suite and the docs screenshots use. Retire TALE_MOCK_CONNECTORS_BASE as well. Only the docs screenshot capture's preflight still read it, as the gateway's address; the preflight now probes 127.0.0.1 at MOCKS_PORT, the port the gateway itself binds, and the screenshot workflow and runbook no longer set it. Correct the texts that still described the connector half as live: the Playwright config, the e2e AGENTS.md and README, the manual setup and its connectors and settings suites, the screenshot runbook and seeder, the ep7 docs video and the mock README. Where they need to, they now say that adding a credential calls no vendor and that a run that must not reach a vendor runs the connector's actions on their scenarios (CONN-R33). Closes #5327 Task: TALE-422
Every action of the Microsoft Teams connector now ships its scenarios: each of the seven reads a success, an empty answer and an error, and each of the two writes a success, a refusal and a duplicate. Each error carries the message and the HTTP status its live body throws: an expired access token (401), a missing scope (403), a team, channel or chat that does not exist (404) and Graph's throttling (429). A repeated post is a new message under a new id, since Graph does not de-duplicate one. Graph answers null for the description of a team or a channel created without one, and for the topic of a one-on-one chat, so the output signatures of list_teams, get_team, list_channels, get_channel and list_chats now admit null there, and a scenario shows each such answer. teams joins SCENARIO_CONNECTORS, and SCENARIO_PROOFS gives each of its 32 scenarios the answer Graph sends to the request its live body makes, so the catalog test holds every scenario against that body and pins the scenario names. The data is synthetic: GUIDs of zeros and example.com addresses. Closes #5323 Task: TALE-415
knip's unused-export check fails on the feature train: the connector bridge's tools/list answer, BRIDGE_MCP_TOOLS, is exported, but only its own module reads it. The bridge test holds it equal to the relay's list by sending tools/list through the real relay, not through an import, so the list needs no export.
|
Step 1 of the feature-train role (22:05Z): this branch's head is now The
Every other workflow's The push of What
The role lands this pull request by rebase once every |
|
Feature-train role, step 1 (22:30Z). Head:
The feature-train role will land this pull request with |
Cut: 69f4822
The twelfth feature train of the 0.6 line. It carries the commits
feature-traincollected on top ofrelease/0.6(77c645d9ea671d407ae9052c7961af81d013ccd0), oldest first. That base holdsmainat6a4ff01715e52a3fce53b33b4d41208bd84c2dd6.Task keys of their
Task:lines: TALE-46, TALE-204, TALE-137, TALE-414, TALE-416, TALE-422, TALE-415.Their issues are #3974 (TALE-46), #4991 (TALE-204), #4728 (TALE-137), #5322 (TALE-414), #5324 (TALE-416), #5327 (TALE-422) and #5323 (TALE-415). GitHub closes an issue only for a commit on
main, so the feature-train role closes them once this pull request landed.Since the last train, the feature-train role rebased
release/0.6fromf9166d53d17c083e5840cfc2c9c7274a1a059337ontomainat6a4ff0171(four commits ofmain), andfeature-trainalong with it. Two conflicts git did not flag were fixed inside the feature commits that metmain's change, and are already onrelease/0.6: the EU/EEA commit of TALE-222 (now3b2a7829669fe582d57079128af29ea8a7fbf29f) sends Auto's reroute inturn_action.tsthrough the EU/EEA gate with the newresolveDirectWiresignature, and the chat tool status rule of TALE-213 (now9fd9694f5e12e90e7a4ca9b18edda1083970f6cd) moved fromCHAT-R36, whichmaintook, toCHAT-R39. This pull request is the first full CI on the rebased line.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.