Skip to content

chore: merge train 20261103-2329 - #5349

Merged
tale-code-bot merged 4 commits into
mainfrom
train-20261103-2329
Nov 4, 2026
Merged

tale-code-bot merged 4 commits into
mainfrom
train-20261103-2329

Conversation

@tale-code-bot

@tale-code-bot tale-code-bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Cut: 552c353

The stable line's merge train: the three commits between 6a4ff0171 (the merge of #5345) and the cut.

All three are stable-line, so nothing moved to feature-train before this departure.

main has not moved since 6a4ff0171, so the rebase merge replays the three commits as they are (git merge-tree --write-tree origin/main <cut> is clean). The train changes 45 files: 1581 lines added and 102 removed.

This pull request runs CI once for the whole train, in the scope its changed files select. A local reading of .github/ci-scope.yml places them in all, added, integration, security, cli, build, build_image_inputs, build_platform, build_web, build_docs, build_ui-docs, build_session-manager, build_storybook, build_ci_tests, e2e, e2e_platform, e2e_web, e2e_docs and e2e_session-manager. That is not the full scope, and this pull request's scope job decides.

It rebase-merges when green (auto-merge). The Coder's merge-train role (TALE-234) works it until it is green, and while it is open no other stable-line train departs. Its Browser job is the first CI run of d34335a84's patch. The baseline to compare it with is the green release-candidate round on 6a4ff0171 (Checks 41682084649, Build 41682084644), not main's red push run (Checks 41668146963).

Checked before departure. The details are on TALE-234, in test-precheck-train-a1fca64a.md, test-precheck-train-d34335a8.md and test-precheck-train-552c3531.md.

  • a1fca64a1: green.

    • The fast gate.
    • 8 platform server test files with 101 tests.
    • The new test fails against main's generate_title.ts, as a regression test should.
  • d34335a84: green.

    • bun install --frozen-lockfile applies the patch, then the fast gate.
    • The guard test passes 3 of 3, and fails with the patch reversed.
    • The platform guards and the title test (26 files, 417 tests), and 127 CLI tests of the CI scripts.
    • oxlint, knip:check, lint:conflicts and lint:links.
  • 552c3531f, on the cut: green.

    • The fast gate. bunx turbo run typecheck build --continue passed 26 of 28 tasks, none cached. @tale/cli#build and @tale/web#build failed only on downloads the checking worker cannot reach, and turbo run build --dry=json lists none of the train's 45 files among their inputs.
    • The six test files the commit changes: 147 tests.
    • The client tests of app/features/settings/{governance,providers,credentials} (985) and the server tests of backend/domains/provider_credentials (103).
    • The guards (398), the i18n and message-catalog tests (669), packages/ui's multi-select (36) and services/docs (778).
    • Six CLI test files that read the embedded platform sources or @tale/shared/schemas/providers (229), and check:bundle on the Linux binary.
    • oxlint (type-aware) on platform, ui and shared, knip:check, lint:manual, lint:links, lint:conflicts and commitlint.
  • Not run:

    • the Browser job, including the changed governance-skeletons.browser.test.tsx;
    • backend integration, E2E and Storybook;
    • the CLI's full suite and its macOS and Windows builds;
    • Opengrep.

    No checking worker has Postgres, Docker or a browser. This pull request runs them.

git merge-tree --write-tree origin/feature-train <cut> conflicts in nine files (13 hunks), all from 552c3531f. This was checked at 23:17 UTC against e67415165, feature-train's head: 51bda252d (the merge of #5347 into release/0.6) plus one feat commit that touches none of the train's files. At d34335a84 the train merged cleanly. The files are:

  • default-model-editor.tsx, its test, and model-access-editor.tsx, in services/platform/app/features/settings/governance/components/;
  • services/platform/messages/{de,en,fr}/governance.yml;
  • services/platform/tests/manual/readme.md, suites/governance.md and suites/settings.md.

The feature-train role (TALE-239) meets them when it rebases release/0.6 onto main after this lands. The new manual box IDs, SET-B50 and GOV-B29, are free on both lines.

Commits (3):

  • fix(platform): never name a thread on an image model
  • fix(deps): settle a browser mock route that was already handled
  • fix(platform): name the settings a provider's removal leaves behind

Task keys: TALE-429. The other two commits carry no Task: line, because a maintainer pushed them to train directly.

Added by the merge-train role (TALE-234) on 2026-11-03 at 23:40 UTC. The first CI round on 552c3531f (Checks 41739603116) failed in two jobs:

  • UI (platform 4/4): caused by the train, fixed on this branch. 552c3531f made useGovernancePolicy forward an options argument to useBackendQuery, which is undefined unless a caller passes one. Two tests in services/platform/app/features/settings/sandboxes/ still expected the governance/queries:getPolicy call with two arguments, and they failed the same way locally. The negative assertion that a non-manager never reads the policy passed only because its pattern no longer matched any call. 179c3c34f (test(platform): match getPolicy's options argument in sandbox tests) makes all three assertions expect the third argument. On 179c3c34f, the seven sandboxes test files pass (149 tests). The fast gate is green: install, format:check, and turbo run typecheck build with 26 of 28 tasks; @tale/cli#build and @tale/web#build failed only on downloads, and the dry run lists neither changed file among their inputs.
  • Browser: not caused by the train. In packages/ui/src/components/flow/workflow-canvas.run.browser.test.tsx, the test "highlights the paths through No when a pointer rests on its label" timed out after unhover (expected 'quiet' to be 'base'). The other 768 browser tests passed, and no "Route is already handled!" error appeared. The train touches nothing under packages/ui/src/components/flow/, and that test file has not changed since 1f576870d (2026-10-10). The push of 179c3c34f runs the job again.

train itself does not hold 179c3c34f. When this pull request merges, main holds it, and the role moves train onto main as usual.

yannickmonney and others added 3 commits November 3, 2026 18:29
A gateway lists its image models beside the chat ones, and the title lane
took the first model by id that ran without thinking, so a thread was
named by a model that draws. The walk now sees only models a chat turn
runs on, the filter every chat model listing shares.
The browser tests serve vi.mock through a Playwright route per module. A
file's cleanup unroutes it while a handler may still await the factory,
and the late fulfill rejects with "Route is already handled!": an
unhandled rejection that fails the Browser job after every test passed.
Patch @vitest/browser-playwright to settle that one answer and rethrow
every other, and prove it on the real provider.
Deleting a provider's last active credential stopped its models from
being offered, while the default model and model access rules, the
vision, transcription and image generation models, the standard agent
and project agents went on naming them, and nothing said so.

The dependents read now also returns the settings in force that name
the provider when the credential is its last active one (PCRED-R7), and
the delete dialog lists them, with the model access entries only this
provider offers, before the delete goes through unchanged. The embedding
guard still refuses as before.

The Default models and Model access editors mark a provider or model
that no provider with an active credential offers any more as
unavailable, with a notice. MultiSelect keeps a stored value that
matches no option as a marked chip, so it stays visible and removable,
and a save keeps what was stored. Nothing is marked while the catalog
is unknown.

Strings in en, de and fr, the providers and models docs pages, and the
manual boxes SET-B50 and GOV-B29.

Closes #5340

Task: TALE-429
@tale-code-bot tale-code-bot added the merge-train A merge train's pull request into main label Nov 3, 2026
@tale-code-bot
tale-code-bot enabled auto-merge (rebase) November 3, 2026 23:29
552c353 (TALE-429) made useGovernancePolicy forward an options
argument to useBackendQuery, which is undefined unless a caller passes
one. Two sandboxes tests still expected the getPolicy call with two
arguments and failed in merge train #5349 (Checks run 41739603116,
UI (platform 4/4)). The test that a non-manager never reads the policy
passed only because its pattern no longer matched any call.

All three assertions now expect the third argument, so they match the
call the editor makes again.

Refs #5340
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

2 participants