Repository navigation
chore: merge train 20261103-2329 - #5349
Merged
Merged
Conversation
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
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
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: 552c353
The stable line's merge train: the three commits between
6a4ff0171(the merge of #5345) and the cut.a1fca64a1fix(platform): never name a thread on an image modeltraindirectly, without a task, on 2026-11-03 at 17:29 UTC.d34335a84fix(deps): settle a browser mock route that was already handledtraindirectly, without a task, at 22:03 UTC.@vitest/[email protected]through Bun'spatchedDependencies. A module mock whose route Playwright has already handled now settles, where before the Browser job failed on "Route is already handled!". That failure is one of those ci: main's Checks fail on 14 of 18 pushes since 2026-10-26 on checks that pass on a re-run, and main's Build times out on every push #5199 describes; this commit does not close ci: main's Checks fail on 14 of 18 pushes since 2026-10-26 on checks that pass on a re-run, and main's Build times out on every push #5199.services/platform/tests/guards/vitest-browser-mock-route.guard.test.ts, pins three things: such a route settles, any other error ("Target page has been closed") still rejects, and an unhandled route is still answered.552c3531ffix(platform): name the settings a provider's removal leaves behind (TALE-429, closes Bug: removing a provider leaves its models in rules and pins, and the delete dialog does not say settings will change #5340)trainbehind the fast gate (formatting, typecheck and build) at 22:46 UTC.MultiSelectkeeps a stored value that matches no option.All three are stable-line, so nothing moved to
feature-trainbefore this departure.mainhas not moved since6a4ff0171, 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.ymlplaces them inall,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_docsande2e_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 on6a4ff0171(Checks 41682084649, Build 41682084644), notmain'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.mdandtest-precheck-train-552c3531.md.a1fca64a1: green.main'sgenerate_title.ts, as a regression test should.d34335a84: green.bun install --frozen-lockfileapplies the patch, then the fast gate.knip:check,lint:conflictsandlint:links.552c3531f, on the cut: green.bunx turbo run typecheck build --continuepassed 26 of 28 tasks, none cached.@tale/cli#buildand@tale/web#buildfailed only on downloads the checking worker cannot reach, andturbo run build --dry=jsonlists none of the train's 45 files among their inputs.app/features/settings/{governance,providers,credentials}(985) and the server tests ofbackend/domains/provider_credentials(103).packages/ui'smulti-select(36) andservices/docs(778).@tale/shared/schemas/providers(229), andcheck:bundleon the Linux binary.knip:check,lint:manual,lint:links,lint:conflictsand commitlint.Not run:
governance-skeletons.browser.test.tsx;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 from552c3531f. This was checked at 23:17 UTC againste67415165,feature-train's head:51bda252d(the merge of #5347 intorelease/0.6) plus onefeatcommit that touches none of the train's files. Atd34335a84the train merged cleanly. The files are:default-model-editor.tsx, its test, andmodel-access-editor.tsx, inservices/platform/app/features/settings/governance/components/;services/platform/messages/{de,en,fr}/governance.yml;services/platform/tests/manual/readme.md,suites/governance.mdandsuites/settings.md.The feature-train role (TALE-239) meets them when it rebases
release/0.6ontomainafter this lands. The new manual box IDs, SET-B50 and GOV-B29, are free on both lines.Commits (3):
Task keys: TALE-429. The other two commits carry no
Task:line, because a maintainer pushed them totraindirectly.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:552c3531fmadeuseGovernancePolicyforward anoptionsargument touseBackendQuery, which isundefinedunless a caller passes one. Two tests inservices/platform/app/features/settings/sandboxes/still expected thegovernance/queries:getPolicycall 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. On179c3c34f, the seven sandboxes test files pass (149 tests). The fast gate is green: install,format:check, andturbo run typecheck buildwith 26 of 28 tasks;@tale/cli#buildand@tale/web#buildfailed only on downloads, and the dry run lists neither changed file among their inputs.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 underpackages/ui/src/components/flow/, and that test file has not changed since1f576870d(2026-10-10). The push of179c3c34fruns the job again.trainitself does not hold179c3c34f. When this pull request merges,mainholds it, and the role movestrainontomainas usual.