Repository navigation
chore: merge train 20261104-0730 - #5352
Conversation
closedPort() listened on a port, closed the server again and returned the port. Nothing held the port after that, so the system could hand it to the next server that asked for any port, in this process or in another one. A test that expected a refused connection then reached that server instead. Attempt 1 of Checks run 41682084649 failed so in connect.test.ts, with "the tunnel was opened". closedPort() now binds a socket of its own to 127.0.0.1 on a port the system picks and connects it to a server of its own, so the port is bound and nothing listens on it. A connection to it is refused, and Linux hands the port to no other socket until the test that asked for it ends; onTestFinished then closes the socket and its server. The callers in the connect, exit-ip, bridge and local-proxies tests are unchanged. A new test starts 20,000 servers on port 0 while the port is held and checks that none of them gets it; it fails without the fix. The Camoufox lane's freePort(), a copy of the old helper, gives way to closedPort(). Closes #5346 Task: TALE-434
A Claude Code turn that the provider refused with 503 or 529 settled as a harness error. A gateway with no account free (sub2api answers 503 "No available accounts") or an overloaded Anthropic (529) thus spent one automatic retry and one hourly automated start of the task on every refusal, and once both were spent the task stayed In progress with no run, which dispatch never starts again. The Claude stream-json parser now types the CLI's terminal result with api_error_status 503 or 529 as model capacity, as the codex parser already does for its overload text. The task and automation hosts then settle the turn as model_capacity, so the model's hold starts and the retry waits on it without spending an attempt or a start. A 429 stays one account's rate limit that the broker cools down, and every other status settles as before. Closes #5348 Task: TALE-435
Cover what train holds since v0.5.98 for the next stable release: Claude Code runs that wait on a 503 or 529 as model capacity, the settings a provider's last credential leaves behind when it is deleted, and chat titles and Improve with AI kept off image models. The upgrade notes confirm that no migration comes and the API contract stays at 3.52.0, and say what changes for Claude Code runs. Task: TALE-437
|
Release lease: v0.5.99
Checked before the tag, as RELEASING.md steps 3 and 4 say:
Other checks:
Next: the |
|
Release lease released: v0.5.99 is published
Receipt (RELEASING.md, "A release that has to go out", step 4):
Holds: none. This pull request carries only the Next:
|
|
v0.5.99's CLI assets: the CLI run failed and was re-run (Development's Lead, TALE-292, run
|
Cut: eba656f
The stable line's merge train: the three commits between
b658bc887(the merge of #5349) and the cut.1227871eatest(session-manager): hold each closedPort() port until its test ends (TALE-434, closes test(session-manager): keep closedPort() from handing out a port another test listens on #5346)trainon 2026-11-03 at 23:33 UTC. The merge-train role replayed it ontob658bc887at 00:38 UTC, when it movedtrainontomainafter chore: merge train 20261103-2329 #5349.closedPort()now holds the port it returns until the test that asked for it ends. Before, the system could hand that port to another server, and a test that expected a refused connection reached it instead (attempt 1 of Checks 41682084649, inconnect.test.ts).freePort(), a copy of the old helper, gives way toclosedPort().b6099681efix(platform): settle Claude Code 503 and 529 as model capacity (TALE-435, closes bug(platform): a Claude Code run the provider refuses with 503 fails instead of waiting for capacity #5348)trainbehind the fast gate (formatting, typecheck and build) at 00:51 UTC.api_error_status503 or 529 as model capacity. The task and automation hosts then settle such a turn asmodel_capacity: the retry waits on the model's hold and spends no attempt and no automated start. A 429 stays one account's rate limit, and every other status settles as before.eba656f13docs: write the v0.5.99 release notes (TALE-437)trainat 06:36 UTC..github/release-notes/v0.5.99.md, the notes of the next stable release. They cover whatmaingained since v0.5.98 and what this train brings. The commit onmainthat adds this file is the release candidate.All three are stable-line: a
testand adocschange about whatmainships, and afix. So nothing moved tofeature-trainbefore this departure.mainhas not moved sinceb658bc887, so the rebase merge replays the three commits as they are.git merge-tree --write-tree origin/main <cut>gives the cut's own tree,3f5b32911. The train changes 11 files: 415 lines added and 39 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,cli,build,build_platform,build_session-manager,build_storybook,build_sandbox-runtime,build_ci_tests,e2e,e2e_platformande2e_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.
main's own push runs onb658bc887are red, each in a timing test the train does not touch:proxies/parsing.test.tstook 332.9 ms against a 300 ms budget.tools/cli/tests/smoke.test.ts"reinit with --force preserves the project id" timed out at 30 s.Both jobs passed on the same tree in #5349's CI.
Checked before departure. The details are on TALE-234, in
test-precheck-train-b6099681.mdand the receipt of the 06:45 UTC sweep.1227871eaandb6099681e: green.bunx turbo run typecheck build --continuepassed 26 of 28 tasks.@tale/cli#buildand@tale/web#buildfailed only on downloads the checking worker cannot reach, andturbo run build --dry=jsonlists none of the train's files among their inputs.b6099681echanges (65 tests), and the platform server tests oflib/harnesses,backend/core/automations,backend/core/tasks,backend/core/lib/providersand the guards (135 files, 2041 tests).local-proxies.test.tsandbackend/domains/proxies: 526 tests passed. Two were skipped, because the worker has no IPv6 loopback.check:bundleon the CLI's Linux binary, and the two CLI test files that read the embedded platform sources (19 tests).knip:check,lint:manual,lint:links,lint:conflictsand commitlint.eba656f13, on the cut: green.bun tools/cli/scripts/release-notes.ts --version v0.5.99, with the release tags fetched, as.github/RELEASING.mdasks. It answered "Validated .github/release-notes/v0.5.99.md", and found that the Upgrade notes name what the cut brings since v0.5.98 (6a4ff0171): no migration, and the API contract unchanged at 3.52.0.bun run lint:links: "505 documentation pages and 13051 tracked files: every link lands". That covers the notes' three links into docs.tale.dev, two of them to a section.format:checkdoes not cover them.Not run:
playwright-remote.camoufox.test.ts, changed by1227871ea. No CI job runs that lane either. Two checks prove that change: session-manager's typecheck, and the 27 tests oflocal-proxies.test.ts, the helper it now imports.No checking worker has Postgres, Docker or a browser. This pull request runs all of these except the Camoufox lane.
git merge-tree --write-tree --name-only origin/feature-train <cut>is clean, withfeature-trainat8119f9f68:release/0.6at0314eb039plus onefeatcommit. So the feature-train role (TALE-239) meets no conflict from this train when it rebasesrelease/0.6ontomainafter this lands.Commits (3):
Task keys: TALE-434, TALE-435, TALE-437.