Repository navigation
chore: merge train 20261106-0738 - #5395
Merged
Merged
Conversation
A member reading a chat shared with its project (CHAT-R2) opened a surface that asked for the reads only the chat's owner may make. The thread's live stream and its video-link jobs answered 404, and the jobs read retried, so the reader's console filled with 404s. The chat's versions, arena pair, queued sends and ratings were read for nothing. The surface took the caller for the owner until the summary answered, so even a reader's first render made these reads. The surface now makes them only once the caller is known to own the chat, because their own list holds it or its summary says so. useThreadView takes a live option; without it no lane opens and the reply a running turn is still writing is left out, so a reader sees the conversation without it and the settled reply with the view's next read. useChatVideoLinks takes an enabled flag, and the deferred-send tray mounts for the owner alone. The routes stay owner-only, and route tests now pin a reader's 404 from both. The CHAT-R2 card, the projects page in en, de and fr, a new manual box (PROJ-F81) with its pin, and the automation reference say the same. The card also says what the server still hands a reader: the messages read carries the running turn's placeholder, which the reader's view leaves out. Closes #5383 Task: TALE-460
The bridge's relay destroyed the browser's socket as soon as the upstream closed. Once the browser has half-closed, the upstream closes right after it ends, while the browser's socket may still hold the last bytes of the answer, so a browser that read slower than the upstream sent got a clean end with a short body. The test proxies' relay had the same defect. A side that closes after it ended both ways now leaves the other to send what it holds and close by itself; a side cut off (reset, error, destroy) still takes the other down. Tests read a big answer slowly after a half-close through the bridge and through HttpProxy. Closes #5387 Task: TALE-464
A message that carried documents waited until each was indexed — extracted, then embedded chunk by chunk — so the embedding server and every upload queued before it decided whether a chat could be sent. Uploads from the chat had no priority and sat behind Knowledge uploads and background sources, and the index queue ran in batches: one slow file held every file fetched with it for up to fifteen minutes, then failed the whole batch. Two documents in one message could leave it queued for good, its chips at "Indexing…". An upload's door now queues a read instead (`rag.read_file`). On a worker, it extracts the file with the indexer's own extractor and puts the bytes, the text and the file's name through the organization's secret scan and PII policy, exactly as indexing does. The checked text is kept in the organization's knowledge database, beside its index's text (`private_knowledge.document_reads`), until the index completes; the file row records only where the read stands (migration 0238). The read hands the file's index run on in the same transaction as its verdict, and that run starts from the kept text. A message waits for the reads, which take seconds, and for an index only when a document is too large to read before it: a PDF or Office file over 50 MiB, a spreadsheet over 20 MiB, or more than 4 MiB of text. A read whose job is lost is settled by a watchdog within minutes and leaves the file to its index, so no message waits on it for good. rag_fetch serves the kept text without extracting anything in the api process, asks for the read of a file nothing has read and waits for it, reads a file again once a passing fault decided its read, and states every verdict; a refusal by the index outranks the kept text. Reads have slots of their own, three a worker and two an organization, at the attachment priority, a read the assistant asks for below it, and the index queue runs one file per slot. The release purge, an organization's teardown and the nightly reconcile drop kept text with its file. A file the organization's checks refused, or are still checking, is withheld from every tool that takes files — running code, a task agent's workspace and an agent review's staging — and a task's brief names it. The chip says "Reading…", then the file's size, or why the assistant cannot read the file, in the reader's language, and that reason opens on keyboard focus too; each verdict's toast is told once. A held-back send reads its files in its own organization, twenty statuses at a time. The assistant also gets every attachment's stored type and size, and a picture's ref answers those facts instead of a failed "Not found" step. Rules CHAT-R47 to CHAT-R49 and KNOW-R21; manual boxes CHAT-AT9 to CHAT-AT15.
A customer acceptance test asked that an assistant can be shared with every user of the platform by the person who created it. In Tale an assistant is a project agent, shared with everyone who can open its project, but nothing said so: the Agents tab named no audience, the docs never explained how to share an agent with the whole organization, and several pages still said that only the built-in assistant answers in a project chat or told editors to change an audience only owners and admins may change. The Agents tab now names who can use the project's agents (the whole organization or its teams), the project agents page explains how to share an agent with everyone, and the stale or wrong sentences in the chat, project, agent and tutorial pages (EN/DE/FR) and the chat proposal card are corrected. The projects spec gains PROJ-R29 (only owners and admins change who can reach a project once it exists), held by the sharing tests, and the manual suite gains PROJ-F82.
The IBAN pattern imported `validator/lib/isIBAN`, a CommonJS file with a named export beside its default. Under Node, an ESM import of it is the whole `exports` object, so the mod-97 check threw, the pattern caught it as invalid, and an organization whose PII policy masks or blocks IBANs had none masked — in chat input, in indexed documents and in attachments read for the assistant. The tests ran the pattern through a bundler's interop, which hands over the function, so they never saw it. The pattern now reads `isIBAN` from the package's entry, and a test runs the scrubber under plain Node with the backend's resolve hook and checks it scrubs every kind of sample exactly as the in-process tests see it.
A deck the pptx skill built from a corporate template kept the template's section list (p14:sectionLst in ppt/presentation.xml) as it was. The deleted template slides stayed listed in their sections and the new slides sat in none, so PowerPoint showed every template section as empty, "(0)", beside the generated slides. clean.py, which every template workflow runs after its structural changes, now brings the sections in step with <p:sldIdLst> through the new scripts/sections.py: entries for deleted slides go, a slide in no section joins the section of the slide before it, each section stays one run of slides in deck order where most of its slides sit, and empty sections go, with the whole section list when no slide is left in one. add_slide.py lists a duplicate in its source's section, right after the source, and never hands out an id a section still lists, so a new slide cannot inherit a deleted slide's section. `python scripts/sections.py deck.pptx` does the same for a finished deck built another way (python-pptx); SKILL.md and editing.md say when to run it, and editing.md tells the model to delete a template's instruction and toolbox slides unless asked to keep them. The new suite runs the skill's scripts with python3 on synthetic decks; CHAT-F98 checks the result in PowerPoint. An existing organization keeps the pptx skill it was created with until the bundle is replaced. Refs #4964
web_fetch reads an HTML page through a new main-content reader (lib/knowledge/main-content.ts): its longest <main>, else its one <article>, else its body, passing over a region too short to hold the page, and cutting navigation, the page header and footer, dialogs, hidden parts and a cookie notice outside the main content, in one linear pass. The result carries the page's canonical URL when it was read at another address. A page that answers with success but holds nothing to read is explained instead of returned empty: a 202 with nothing in it as a site that blocks automated access, a page its scripts build as one that needs a browser, anything else as empty. Recorded pages (a Microsoft Learn article, a TED notice, an AWS WAF challenge) carry the tests. The tool description and the chat docs (en, de, fr) say so; the SSRF guards and the bot check are unchanged. Rendering a page that needs a browser is the follow-up, #5183. Closes #5036 Task: TALE-219 (cherry picked from commit 66b76f0)
web_fetch read a page whose content a script builds in the browser (a TED notice, an app's empty mount point) as an explained "needs a browser" failure. It now retries such a page once through the crawler's render lane: one sandboxed browser session for that page, against the organization's render-session limit, created by the member who asked and introduced as the chat (TaleAssistant), never as the crawler's TaleBot. The rendered page is read for its main content and the result says "rendered": true. A spent render limit, a failed render, a lane that stopped before the page and a page still empty once rendered each return the explained failure with what the render met. A bot check, a site's empty refusal (blocked), an empty page and a page that reads as sent are never rendered; the plain GET's SSRF and redirect checks still decide whether a page may be read at all. The render lane's three session verbs move from the crawl shim into one table (domains/sandbox/render-lane-shim.ts) that the crawl and the chat shims both spread, and the chat reachability gate takes the crawl gate's session_exec exclusion. The render lane takes an optional creator and User-Agent; the crawl keeps system:crawler and TaleBot. Closes #5183 Task: TALE-274 (cherry picked from commit 1134ea8)
The render worker took a page's status from the navigation's first answer. A site's bot check whose script passes in the browser answers that navigation itself, AWS WAF's challenge with a 202 and Cloudflare's with a 403, then reloads the page. So a page the browser had got past the check to was reported with the check's status: behind Cloudflare it failed as "HTTP 403 at render time", behind AWS WAF it read as a 202. The worker now follows the page's main-frame documents and reports the last one: its status, whether its body broke off, and the bot-check headers it carried (cf-mitigated, x-amzn-waf-action, x-vercel-mitigated, named once in lib/net/bot-check.ts), so a caller can tell a check the browser did not get past from the page. The host keeps those headers and no other, and a frame's document never stands for the page's. The crawl renders a page behind a check the browser passes, where it used to charge the page a failure.
web_fetch gave up on a page whose site answered every attempt with a bot check, so a TED notice behind AWS WAF's challenge never reached the model. Its step read "Failed", and the step's detail showed an English instruction meant for the model. A challenge is a script a browser runs on its own, and the sandbox's headless Chromium passes TED's while it introduces itself honestly as TaleAssistant, with no stealth. lib/net/bot-check.ts now says what a check asks for: a challenge, a CAPTCHA or a block. Cloudflare's challenge; AWS WAF's challenge or CAPTCHA, by its header or by its interstitial's gokuProps and reload, never by its SDK's script, which a TED notice loads too; Vercel's challenge or deny; Fastly's client challenge. web_fetch renders a challenged page once, at the address the plain GET reached, through the render lane its needs-browser read already uses. A CAPTCHA and a refusal are never rendered, and nothing is ever solved. A render whose last document still carries a check, or whose page is the interstitial or Fastly's page, reads nothing. A turn renders a page once: its later windows, a repeat after a render that read nothing and the same page asked for twice at once answer from that render. A spent render quota fails at once. Every web_fetch failure now names its cause (WEB_FETCH_FAILURE_REASONS) beside a message that states what happened. How to tell the person (in their language, that the site keeps automated readers out, with the link and an offer to read pasted text or a PDF, never guessing the page or inventing another address) moved into the tool description. The chat spec states the rule as CHAT-R50, and the chat, sandboxes and environment docs say that a page whose site first checks the browser is rendered too.
A failed web_fetch step read "Failed" whatever kept the page out, and
its detail held the model's English message. The step now names the
cause its result gives, in the reader's language (EN, DE, FR): no page
at the address, a site that keeps automated readers out, a CAPTCHA, a
bot check that did not let the browser through, no browser free, a
render that failed, and the rest of WEB_FETCH_FAILURE_REASONS. A page a
browser drew is titled "Reading {hostname} in a browser". The detail
keeps what the tool answered, which now states facts only.
CHAT-R30 covers a web read, the chat docs say the step gives its reason
in the reader's language, and the chat suite gains CHAT-F99 for a live
browser check.
An Admin who signs in through single sign-on could not create an API key for themselves: Settings > API > REST offered "Belongs to: You", sent it to the api-key plugin, and the session authority refused it (403 ORG_FORBIDDEN, "This session is limited to the organization that signed you in"). A sign-in through single sign-on or an authenticating proxy covers one organization, and a personal key works in every organization its holder belongs to, so that refusal stays. It hit every role on such a session, not only Admins. Such a session now makes its person's own key at the organization's door instead (POST /api/app/api-keys with owner kind self): a key for a member, bound to this organization, whose maker is the member. Whether they may make one is the create rule read for this organization alone (mayConnectAgentIn: Owner, Admin or Developer here, or a live grant here of a competence used with a key), checked before the mint and again in the transaction that binds the key; nobody is notified of their own key. The REST door keeps such a key acting as the member, with their live role, while they stay active: no maker above them has to stay. A password session still makes the unbound personal key at the plugin, and asking the organization's door for its own key answers 400 API_KEY_MEMBER_SELF. No migration: 0154's constraints admit a member key whose maker is its member. The app learns whether the session is bound to this organization from the session the server answered (trustedOrganizationId, now read by one shared function, lib/shared/session-organization.ts). The create dialog then says the key works in this organization only, "Belongs to" reads "You — this organization only", and so does the key's row; revoking it goes to the organization's door, which such a session may use. GET /api/app/governance/my/api-keys reads the right to a key for this organization alone on such a session. Two readers looked a key made for a member up by the identity it authenticates as instead of by its member, which this change would have made common: holdsApiKeys (a member whose right lapsed lost the REST tab that lists the keys made for them) and the budget picker's listOrgApiKeys (it named the key's own identity as its owner). Both now read the binding's member. APIKEY-R13 states the rule; R1, R3 and the key table point at it. The admin, SSO and editor guides (en, de, fr) and the manual suite (SET-F111, SET-B51) describe it.
Admins could see and revoke only the keys made in their organization and their own: a member's own key, which works in every organization its holder belongs to, never showed, so an Admin had no way to see which personal tokens could reach their organization. A customer acceptance test reported it as "I only see the API keys created by me". Owners and Admins now get an "All keys in this organization" view in Settings > API > REST, beside "Keys you manage". It adds the personal keys of the organization's members that work here; each such row is marked as a personal key and names its holder by name and e-mail. The view is read-only: a member's personal key offers no revoke, and shows no last use, because the key records its last use across every organization its holder belongs to. Keys of former or disabled members, disabled keys and expired keys are not listed. Members, Editors and Developers keep the list they had. The view reads its keys afresh each time it opens, since a membership change sends no key hint. The keys table's actions column now carries its "Row actions" label. GET /api/app/api-keys takes scope=managed or scope=all, managed by default, and answers 400 INVALID_QUERY for any other value. With the previous commit, every key made after a single sign-on is bound to the organization, so it is listed and revocable in the managed view. This ports the listing of the feature line's #5045 to the stable line, without what rests on that line's per-organization key blocks and its switch for members' personal keys. APIKEY-R8, the admin guide (en, de, fr) and the manual suite (SET-F112) describe it.
The create dialog left three things for the person to find out by failing. The Member picker hid every member at or above the maker's role, an Admin's peers and the Owner (APIKEY-R3), and said why only once nobody was left to choose. It now says under the picker, whenever it leaves someone out, that it lists only the members below the maker's role, since a key acts as its member. Calling the organization's models with a key takes the organization's switch (Model endpoints for API keys, MAPI-R1) and the Owner, Admin or Developer role or the Call models over the API competence (MAPI-R2); a team's, a project's or the organization's key acting as a Member or Editor never can, since no competence is granted to it. One line in the dialog now says when the key being made will not reach them: the switch is off; the maker's own key without the role or the competence; a key for a Member or Editor, which needs that member's competence; a key acting as a Member or Editor. It says nothing until the organization's standing is known. No server rule changes. The create rule's refusal, API_KEY_CREATE_FORBIDDEN, reached the toast in the server's English. The create dialog now words it in the reader's language (settings.apiKeys.createForbidden), from either door: the api-key plugin's and, from a session bound to the organization, the organization's. The dialog does it rather than the create hook, which the REST route's loader imports: the settings messages stay out of the cold load (check-entry-budget). APIKEY-R3, the admin guide (en, de, fr) and the manual suite (SET-F113) describe it.
Review of the single sign-on key change found gaps around it: - An Owner's own key, made after a single sign-on, became a key bound to the organization that any Admin could end; nobody below the Owner could touch the Owner's keys before. An Admin now ends no Owner's own key: the list offers no way to and the door answers not found (APIKEY-R13, the "below you" rule of APIKEY-R3). - A session that covers one organization was offered Revoke on the person's older keys that work everywhere, which the personal-key door refuses. The list now marks them as not revocable there, and the page says to revoke them after a password sign-in. - Every key a person made for themselves after a single sign-on had a request budget of its own, so making more keys bought more requests. Such a key now shares its person's budget, like every key of theirs; a key an Owner or Admin made for someone keeps its own. - Whether a member holds a key read every key of the deployment for a member who holds none, on every visit to the settings; it is two indexed probes now. - The member picker's reason for leaving someone out disappeared behind its error when it closed without a choice; both show. The line about the model endpoints is announced as it changes. - The docs name passkeys added during such a sign-in, say who sees and ends such a key, what deleting the organization takes, and that the older keys are revoked after a password sign-in.
A message parked until its attachments were ready runs its turn on a worker. The page learns of that turn from the thread's progress lane, which polls; a turn that ended between two of its ticks — a quick refusal, a fast model — never showed there, and its reply stayed off the page until a reload, while the tray row had already gone: it looked as though the message had never been sent. The worker now hints the sender's tabs under the thread's messages once the fired turn has ended, and the app keys the message read under the same entity, declared once for both ends.
clean.py deleted sections that were empty before it ran: a deck with Intro [256], Draft [], Main [257, 258] lost "Draft" on an edit that changed only text, because the section sync dropped every section without a slide. The sync now changes nothing while every slide is listed once, in deck order, and no section lists a slide that is gone. When it does change the sections it still removes the ones it leaves empty, the template sections whose slides were deleted, but a section that listed no slide before stays, after the section it followed. A slide two sections list stays in the first, as before; the suite now holds that too.
add_slide.py read the ids in use with a regex that knew only the p and p14 prefixes. A section list written with another prefix, or in the default namespace, kept listing a deleted slide's id the regex did not see, so a new slide could take that id and land in the deleted slide's section. Two calls made before their <p:sldId> lines went into <p:sldIdLst> also got the same id. The ids in use now come from the parsed presentation.xml (sections.py's used_slide_ids, by namespace), and the id is chosen before any file is written. A new slide's relationship is named after its id (rId262 for slide id 262), so the next call reads the ids of slides still waiting for their <p:sldId> back from presentation.xml.rels and hands out a higher one; an id whose rId is taken is skipped.
The section sync ran only from clean.py's command line, so a program that imported clean_unused_files left the deleted slides listed in their sections. And as clean.py and add_slide.py imported their sibling as a top-level `sections`, `from scripts.clean import ...` and `from scripts.add_slide import ...` failed with ModuleNotFoundError. clean_unused_files now brings the sections in step itself, first, so a presentation.xml that does not parse stops it before it removes a file. Before, its <p:sldIdLst> regex found no slide in such a file and the clean removed every slide of the deck. Both scripts import sections from their own folder: relative to it when imported as part of the scripts package, as a top-level module when run as a script or imported from that folder.
SKILL.md guarded the python-pptx route with one sentence: add new slides before deleting template slides. python-pptx has no delete, and the usual one, dropping the slide's relationship and <p:sldId>, leaves the slide listed in its section. python-pptx 1.0.2 gives the next slide the highest id in <p:sldIdLst> plus one, and templates keep their instruction and toolbox slides last: deleted first, their ids came back for the new slides, which sections.py then filed under the deleted slides' sections. It also names a new slide's part after the slide count, which after a deletion in the middle is a part still in the deck, so the zip held two slide6.xml entries and the reopened deck showed a new slide where the closing slide had been. sections.py now ships delete_slide(prs, slide). It removes the slide's <p:sldId>, its relationship, its section entries and a section that keeps no slide (the section list, and an extension list it empties, too), and numbers the remaining slide parts in deck order; a deleted slide another slide still links to keeps a part name outside that numbering. SKILL.md has the model delete every slide through it. The suite drives it through stand-ins for the python-pptx objects it touches; in the sandbox image, with python-pptx 1.0.2, deleting before and after adding both left no duplicate zip entry and every new slide in the section of the slide before it.
Nothing in the pptx skill's QA looked at a deck's sections, and the
scripts printed only a slide count per section, which does not say
which slides a section holds.
sections.py and clean.py now list each section with the numbers of its
slides in deck order ("Content slides: slides 3-7", "Draft: no
slides"), and SKILL.md's QA gains a Sections QA step: run sections.py
on the final file and check every section against the slides it holds,
with no section left from the template's instruction or toolbox slides.
add_slide.py lists a duplicate in its source's section, right after the source. A copy of a toolbox or instruction slide, made for its layout and placed among the content slides, kept that section alive once the originals were deleted, and could pull a real slide into it: with Content [257, 258] and Toolbox [259, 260], 259 copied as 262 between 257 and 258 and the toolbox slides deleted, the sync gave Content [257] and Toolbox [262, 258]. sections.py cannot tell such a copy from a slide the template's author put there, and a rule that moves a lone slide of one section sitting among another section's slides would undo the case the suite already holds, a copied content slide used as the agenda after the title. So the model decides: add_slide.py now prints the copy's entry as written (<p14:sldId id="262"/>) and says to move it into the section of the slides around it when the copy goes elsewhere. editing.md says so in its build step and its add_slide.py notes, and SKILL.md's Sections QA names the case. With the entry moved, the sync gives Content [257, 262, 258] and no Toolbox.
sections.py, clean.py and add_slide.py printed a Python traceback for a deck they could not read: random bytes, a truncated zip or an encrypted .pptx (an OLE file; BadZipFile), XML that does not parse (ExpatError) or declares entities (defusedxml's EntitiesForbidden), a folder they could not write (PermissionError). Their command lines now print one `Error: ...` line naming the file, as unpack.py does, and exit 1; a file that does not read stops them before they change anything. add_slide.py prints the <p:sldId> line before it lists a copy in its source's section, so a failure there still leaves the line for the slide it made; a presentation.xml that does not parse stops it before it makes anything, since the new slide's id is read from it. The suite's stand-in for defusedxml now refuses entity declarations as defusedxml does, its python3 probe asks for 3.10 or later (the scripts use `str | None`, which macOS's /usr/bin/python3 3.9 cannot read), and it covers section names in other scripts, with an ampersand and smart quotes. The chat automation register says the suite owns the section rules and PowerPoint's slide panel stays with CHAT-F98.
web_fetch took any page holding `window.gokuProps =` and a reload for AWS WAF's challenge. An article that quotes the interstitial in a code block holds both as text, so it was rendered instead of read, and the render, which still held the quote, read as the check again: such a page could never be read. The interstitial is now told by what only it is: a page of at most 16 KB (it is about 2 KB), answered 202 for the challenge or 405 for the CAPTCHA, whose own <script> element sets gokuProps. Answered 405, it is the CAPTCHA, whatever it draws. A quoting article is read as the article, and is never rendered. The headers a render kept are read through a header record instead of `new Headers()`, which throws on a value outside Latin-1: such a value failed the call, or the render, with the conversion's error. It is no mark now.
web_fetch asked for a page again through the next outbound proxy after any bot check. A site that showed one exit a CAPTCHA and the next a challenge was then rendered: changing addresses went round the CAPTCHA. Only a challenge, a check a browser passes on its own, is asked again now. A CAPTCHA or a refusal ends the attempts where it answers, also after a challenge, and is reported at once; its message no longer claims it answered each attempt. CHAT-R50 says so, with an example, as do the environment reference (en, de, fr) and the chat suite's automation register.
web_fetch returned a page's <title> as the site wrote it, outside the untrusted wrapper and with no bound: a page whose title runs to 860,000 characters handed the model all of them, control and direction marks included. Every other assistant tool puts a title through sanitizeUntrustedField; this one now does too (at most 200 characters), and the address a redirect led to is cut at 2,048 characters, the bound a page's canonical URL already has.
Two things reached the model that were not facts about the page:
- A site that answered 400 or above was reported with its status text,
words the site chose ("The server answered 404 <anything>"). Only the
status goes now, as for the 202 a site answers with nothing.
- A render the sandbox itself could not run said why in the deployment's
words: on a stack without the sandbox service set up, "SANDBOX_TOKEN
is not set — …". Such a failure of the render lane now reads only that
rendering failed; the log keeps the cause. A page the browser met
still says what it met.
The step of a web read the site's CAPTCHA kept out read "The site asks for a puzzle only a person can solve", in German "ein Rätsel", in French "une énigme": it now names the CAPTCHA, as the docs do. A site that did not answer in time read "Ran out of time", the words for a program, or a step the round's time ran out on. web_fetch gives it a cause of its own now, site_timed_out, which reads "The site didn't answer in time" (EN, DE, FR); timed_out keeps its words. The French lines this change added follow the catalog's ASCII apostrophes, and renderEmpty reads "…, même dans un navigateur". CHAT-R30 lists the site that did not answer.
Opened, a failed web read's step still showed what the tool told the model, an English sentence of facts, in a German or French chat: the complaint that started this work. For a web read whose result names a cause the timeline has words for, the expanded step now shows that cause in the reader's language beside the address it read, as the line under its title does; a cause it has no words for, and every other tool's result, keep the tool's own words. CHAT-R30's example, the chat suite's CHAT-F99 and its automation register say so.
The render worker handed the session's NO_PROXY to Chromium as its proxy bypass. NO_PROXY names the session's neighbours on the sandbox network (127.0.0.1, localhost, sandbox-llm-gateway, backend-api, backend-relay), which the session's own programs reach directly; a rendered page's scripts reached them the same way, past the egress proxy that refuses such destinations, and backend-api serves /metrics without a credential on that network. The browser now goes out through the proxy with no bypass, and with `<-loopback>`, which takes back the bypass Chromium keeps for localhost of its own. The fake Playwright records its launch options to hold it.
The render worker waits until a page's text stops growing, two samples
1.5 s apart. Cloudflare's check page holds text ("Just a moment...",
"Verifying you are human") that never grows, so the page settled in
about three seconds, and the worker captured the check, a 403 marked
cf-mitigated, before the check's script had passed and reloaded the
page. A page behind it read as a check the browser did not get past.
While the page's last main document still carries a bot check's mark,
the worker now waits for the next main document within the page's own
time (its load, idle and settle budgets, which it never ran past), and
lets that one settle in turn. A check that never lets the page through
is reported as before once that time is spent. Run in a real Chromium
against a stand-in check that reloads after four seconds, the base
worker captured the 403 and this one the page behind it.
CHAT-R50 said a CAPTCHA or a refusal is never opened in the browser. That holds of one the plain read meets; a check opened in the browser can still turn into a CAPTCHA there, which is shown but never solved, and reads nothing. The rule now says so, with an example. Cloudflare marks every check alike, whether its script passes on its own or waits for a person to tick a box, and decides which in the browser; nothing in the first answer tells them apart reliably. A Cloudflare check stays a challenge: the browser passes it, or meets it again and reads nothing. The rule and lib/net/bot-check.ts say so.
A deployment that sets OUTBOUND_PROXY_URLS lists several proxies, and the sandbox's squid hop hands each request to the next of them, so a rendering browser's requests, the check's own calls and the reload it makes among them, leave from different addresses. CHAT-F99 ran with one proxy or none, where every request leaves from one address, and could pass where such a deployment fails. It now asks for two at least, set up as for KNOW-F40; the pins register says why.
The cached site plan test runs build.yml's Resolve site build step with
the real docker CLI, which waits on docker-compose, while Compose waits
on docker-buildx's plugin metadata before it prints the Bake plan, none
of them with a timeout. execute() had no deadline of its own either, so
when one of these stalled on a hosted runner (Checks run 42057462986,
attempt 2), Bun's 30 s test timeout killed bash alone ("killed 1
dangling process"), left the docker processes under it running and
never read their stderr, so the log named no process.
The step now runs in a process group of its own, under a 40 s deadline
within a 50 s test timeout. At the deadline execute() lists the group's
processes, sends SIGQUIT to the ones no other one waits on (docker and
its plugins are Go programs and print every goroutine's stack on it),
kills the group and fails with that list and the output. The test also
points DOCKER_HOST at a socket that does not exist. The plan needs no
daemon, Compose's daemon lookups then fail at once instead of holding
the run about 2 s when a daemon does not answer, and no configured
context is dialled. The plan is the same.
Closes #5391
Task: TALE-466
Release's Prepare step refused a different version once a release had been published that UTC day, and every full release while the release history could not be read. The candidate of v0.5.100 merged at 08:04Z on 2026-11-05, but v0.5.99 had published at 00:52Z that day, so the version waited until the next day; v0.5.100 then went out at 00:55Z on 2026-11-06 and held the next one back until 2026-11-07. A tag pushed in that window fails in Prepare and burns its version, because a release tag never moves. Drop the check, and the token only it used. The tale-release concurrency group stays: one release publishes at a time, a later tag repoints latest only after the earlier one published, and no run is cancelled mid-flight. How often to release is the release lane's decision. The repo contract and the manual reference row already say no per-day limit holds a release back; RELEASING.md now says it too, and the executable fixture proves Prepare admits a later version, a rerun, a dispatch and the sites-only scope without asking GitHub or the clock.
Since the page of a session waits for its read in its loader, pressing Alt with Down or Up faster than a read answered could do nothing: the scheduled E2E run on main failed "the arrows, Home and End move between the rows' links, and Alt with Down or Up opens the next or previous session" three times out of three, and it failed 5 runs of 12 locally. TanStack Router can draw a page while its loader still waits: a navigation that interrupts another commits the newer one's matches before they have loaded. Such a page suspends, and a route with no pending component has no Suspense boundary of its own, so it suspended the root's. That hid the whole sessions layout, the list included, for half a second (the default pendingMinMs): the focused row fell to the body and the list's handler found no list, so the next Alt key opened nothing. The routes that wait for a read, the page of a session and the General and AI access settings, now have a boundary of their own (wrapInSuspense) and hold a page that is still loading no longer than its read (pendingMinMs 0): the list beside it stays as it is. A pending component would give them a boundary too, but the build splits `component` out of a route's file: one that named it named a function no longer in the file and the app did not start, and one grouped into the page's chunk kept a page whose code could not be fetched from reloading (navigation.spec "does not reload for a link whose page cannot be fetched", 18 runs of 40). A guard holds the two settings on every route whose loader waits for a read, and no pending component on them. Locally, 20 runs each of the Alt test, the two unfetchable-page tests and the settings save test pass, as do the session-manager jsdom suite near the routes (93 files), its type check and its lint.
Contributor
Author
|
Release lease: v0.5.101
State at acquisition:
Next: the gate once the seven runs finish, then the |
Contributor
Author
|
Release lease released: v0.5.101 is published
Receipt (RELEASING.md, "A release that has to go out", step 4):
Holds, read again before the tag:
Other checks:
A published version is not a deployment; Ops adopts it with its release adopter. |
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: 81ba577
The stable line's merge train: the 34 commits between
a94d0a3fc(the merge of #5393) and the cut, and three added on this branch after it. It departed ahead of its 8-hour slot because the owner asked for this train to land and be released today, as v0.5.101.Added on this branch:
859de1da5ci: let a release go out more than once a day.release.yml's Prepare refused any other version on the UTC day of the last publication: v0.5.100 published at 00:55Z today, so nothing could ship before 2026-11-07, and a tag pushed meanwhile would fail in Prepare and burn its version. The check and the token only it used are gone; thetale-releaseconcurrency group stays (one release publishes at a time, none is cancelled mid-flight)..agents/repo.mdand the manual reference row already said "no per-day limit";RELEASING.mdnow does too. The executable fixture inci-build-optimization.test.tsproves Prepare admits a later version, a rerun, a dispatch and the sites-only scope without callingghordate. A tag runs therelease.ymlof its own commit, so the candidate of this train is admitted today.5efd4dd48fix(session-manager): keep the list beside a page that is still loading. The scheduled E2E run onmain(42151271119) failedsessions.spec.ts"…Alt with Down or Up opens the next or previous session" 3 times of 3; it failed 5 of 12 locally. Cause: since48170ac77(this release) the page of a session waits for its read in its loader; TanStack Router can draw a page while its loader still waits (an interrupting navigation commits the newer matches before they loaded), and with no boundary of its own the page suspended the root's Suspense, hiding the whole sessions layout forpendingMinMs(500 ms): focus fell to the body and the list's key handler lost its list. The three routes that wait for a read getwrapInSuspense: trueandpendingMinMs: 0; a guard (tests/guards/route-pending.guard.test.ts) holds it. A pending component was tried first and rejected: named in the route file it broke the build's code splitting, grouped into the page's chunk it kept an unfetchable page from reloading (navigation.spec.ts, 18 of 40).18d4113cfdocs: write the v0.5.101 release notes, last, so that the rebase merge's merge commit is the release candidate. An independent fact check found 15 issues in the first draft (IBAN scope and remediation, the before-behaviour of web reads and crawls, roles, feat(platform): choose or remove a chat's project from the chat, with the agent choice following the project #5362,--override-all), all corrected.Checked before arming (locally):
60946285a…0a8023515) were verified when they landed ontrain: fullbackend:integration2405/2405 (295 lanes), platform unit tests, typecheck, build, lint, format, knip, links,lint:manual, commitlint.859de1da5: the 17 CLI test files that readrelease.yml, 832/832.5efd4dd48: the full Session Manager E2E suite 819/819 (6 workers, no retry needed), the Alt test 20/20 and 24/24 in repeat runs, the two unfetchable-page tests 40/40, the settings save test 20/20, the jsdom suite 2589/2589,tsc --noEmit,oxlint --type-aware, the new guard. The Session Manager server suite fails the same 46 socket tests on this machine with and without the change (they pass in CI).bun tools/cli/scripts/release-notes.ts --version v0.5.101validates (migrations 0236, 0237, 0238; API contract unchanged at 3.52.0);lint:linkslands every link.State of
main: the scheduled E2E failure above is fixed here. The nightly Workspace upgrade (42162419833) failed on the knownunknown certificate verification errorfrom api.github.com; its re-run passed both legs.Commits (37):
9acda24c4fix(platform): stop a shared chat's reader asking for owner-only reads2b518b266fix(session-manager): send a tunnel's whole answer after a half-close60946285afix(platform): read chat attachments on a worker, not after their index6c0b84491fix(platform): say who can use a project's agents and how to share theme47cabb43fix(platform): mask IBANs under the backend's runtime1b8c60baffix(platform): keep a template deck's sections in step with its slides0f9229663feat(platform): read a web page's main content in chat web_fetch2d504c0fcfeat(platform): render a page that needs a browser in chat web_fetch1e0b25f72fix(platform): report the document a rendered page ends on663cb13eafix(platform): read a page behind a JavaScript challenge in a browser3790e6c35fix(platform): say on a web read's step why it read nothingda77feecbfix(platform): let a single-organization session create its own API keyf0351c3bdfix(platform): list members' personal API keys for admins, read-only59faa40ccfix(platform): say what an API key will reach before it is made15b517cf7fix(platform): keep an Owner's own API key out of an Admin's reachbc7d3ad70fix(platform): show a parked send's reply without a reloadf6c3ad5b4fix(platform): keep the empty sections of someone's own pptx deck8bff11f3afix(platform): give each new pptx slide an id no section still lists9f851550afix(platform): sync pptx sections wherever clean_unused_files runsa24f75f31fix(platform): take a deleted python-pptx slide out of its section84c359bc6fix(platform): list each pptx section's slides and check them in QA2fd268e8dfix(platform): say where a copied pptx slide's section entry goesc40ca9019fix(platform): end a pptx script on a bad deck with one Error linedff98d513fix(platform): tell AWS WAF's interstitial by its own script272d984bcfix(platform): ask no other proxy past a CAPTCHA or a refusala08bc7bb3fix(platform): bound and clean the title a web read returns4606a9f51fix(platform): keep a site's status text and the setup from web_fetch9aa43c275fix(platform): word a web read's step by what it met, CAPTCHA by namecd0dec4c2fix(platform): show a failed web read's cause in the reader's language373121409fix(platform): send every request of a rendered page through the proxy6196d33c2fix(platform): wait for the reload a bot check's script makes21785c26dfix(platform): state what CHAT-R50 holds of a CAPTCHA in the browser0a8023515fix(platform): run CHAT-F99 through two outbound proxies at least81ba5771etest(cli): bound the cached site plan's docker run and skip the daemon859de1da5ci: let a release go out more than once a day5efd4dd48fix(session-manager): keep the list beside a page that is still loading18d4113cfdocs: write the v0.5.101 release notesIt rebase-merges when green (auto-merge). While it is open, no other stable-line train departs. After it lands, v0.5.101 is validated and tagged from the merge commit of
18d4113cf.