Skip to content

chore: feature train 20261031-0843 - #5197

Merged
tale-code-bot merged 15 commits into
release/0.6from
feature-train-20261031-0843
Oct 31, 2026
Merged

tale-code-bot merged 15 commits into
release/0.6from
feature-train-20261031-0843

Conversation

@tale-code-bot

Copy link
Copy Markdown
Collaborator

Cut: b76da91

The second feature train of the 0.6 line: the commits feature-train collected on top of release/0.6 (9dfaeea0d3d4e1c8b47b3c12ef8743476d10bfc6, which holds main at 06fe8590099080e6593551d8141d0c3f92053add), oldest first:

  • feat(platform): say in the grant dialog when model endpoints are off
  • feat(platform): read a web page's main content in chat web_fetch
  • feat(sandbox): warn when the session limit exceeds the host's memory
  • feat(platform): let admins keep model calls in the EU/EEA
  • perf(platform): page listProjects and read visibility as a join
  • perf(platform): look members up instead of reading every member
  • perf(platform): index the bell's All page by seq
  • feat(platform): show admins which chat tools work, and why not

Task keys of their Task: lines: TALE-225, TALE-219, TALE-245, TALE-222, TALE-252, TALE-251, TALE-254, TALE-213.

Known before departure, from the role's own runs on this cut: Knip finds two exports nothing imports (sessionMemoryWarning in services/sandbox/src/host-memory.ts, from TALE-245; projectsOverviewPageQuery in services/platform/app/lib/backend/projects.ts, from TALE-252), and the platform's settings list-conventions guard (UI tests) refuses the page size TALE-252 sets (PROJECTS_PAGE_SIZE in app/features/projects/hooks/queries.ts). When the checks show them, the role pushes one fix commit for each onto this branch; with the three fixes, Knip, lint, the affected tests and the fast gate pass on the role's worker.

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.

Granting Call models over the API (tale:models.api) while the
organization's model endpoints are off gave no hint that the member
still cannot call the models. The grant dialog now shows a warning
under the Competence field when that capability is chosen and the
endpoints read off, with Open model access linking to Governance >
Models. The grant stays allowed.

The dialog reads the switch from the member's own model API standing
(GET /api/app/governance/my/model-api), the reading the endpoints and
Settings > API > Models already use and the settings rail already
holds. Only an answer shows the notice, so a pending or failed read
claims nothing. The notice has strings in en, de and fr, and the
competences docs and the manual suite (GOV-F69) describe it.

Closes #5047

Task: TALE-225
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
The spawner weighed its session capacity by count alone: an explicit
SANDBOX_MAX_SESSIONS turns memory admission off, and the automatic sizing
plans on a 512 MiB working set per session, so 8 sessions of 4 GiB on a
15.6 GiB host passed without a word. Once it reads the Docker host's
memory, at boot or on the sweep that settles the capacity later, the
spawner now logs one warning when the capacity times the agent session's
memory limit (SANDBOX_AGENT_MEMORY, by default 4 GiB, or 8 GiB with Docker
inside) exceeds the host's memory less its reserve
(SANDBOX_MIN_FREE_MEMORY). The warning names the figures and the settings
and changes neither capacity: an explicit one is the operator's, and a
sized one keeps memory admission. A device's spawner never warns, since
its capacity is the one tale sandbox connect chose.

/v1/limits carries the agent session's memory limit and, once read, the
host's memory and reserve. Settings › Sandboxes names, under the total of
the organization limits, the memory one sandbox on the deployment may use,
or a warning with those figures and both settings when the deployment's
capacity at that limit needs more than its host keeps for sandboxes, in
EN, DE and FR; the warning does not hold Save. The platform reads the new
figures as optional, so an older spawner leaves the quota check and the
acquire probe as they were.

.env.example, the spawner's docs and the environment reference and
Sandboxes admin page in EN, DE and FR document the sizing rule.

Closes #5149

Task: TALE-245
The model-access policy gains a switch, Process prompts only in the
EU/EEA, and a list of attested hosts. While the switch is on, a model
call is judged by the endpoint it would be sent to, before anything
leaves. The vendors' regional endpoints count (eu.openrouter.ai,
eu.api.openai.com, api.eu.mistral.ai), and so do the hosts an admin
attests, such as a custom provider's server or an Azure resource in an
EU/EEA region. A vendor's global endpoint never counts and cannot be
attested, so OpenRouter counts only through eu.openrouter.ai. Any other
call is refused with a message that says why, and each refusal writes a
model_access.denied audit entry. An unreadable policy refuses every call
rather than reading as off. With the switch off, or with no policy,
nothing changes.

The rule holds for chat replies and their titles, Improve with AI, task
turns, an automation's llm steps, the model API, embeddings for indexing
and search, image generation, transcription and speech. Automatic image,
transcription and speech choices skip a refused candidate and serve with
a compliant one. A guard test holds every caller of the credential
resolver to the gate, or names why it is exempt. The model-access
editor, the models page in en, de and fr, the GOV-R17 spec card, the
error-code registry and two manual boxes cover the switch.

The model pickers (#5185), the sandbox gateway and subscription lanes
(#5186), the data-residency guides (#5187) and Guardrails moderation
(#5188) follow in their own issues.

Closes #5041
Task: TALE-222
"Every project I can read" is now one relation, readableProjectsSql,
built on the audience rule (PROJ-R1, PROJ-R2). The board, task search
and the ops indicators join it in the statement that reads the tasks,
instead of reading the caller's project list first and sending it back
as ANY(<ids>); a one-project read joins the project it checked. A
disabled seat reads nothing, and archived projects stay out unless a
reader asks for them (search keeps them, labelled).

The projects list reads one page at a time, newest first (keyset
cursor; 50 by default, 100 at most), and loads the next as it scrolls;
a search or the Teams filter loads every page. Home reads one page of
up to 100 projects, pinned first, and counts 100+ when there are more.
The overdue counts are read for the page's projects only.

Closes #5156

Task: TALE-252
The task screens and the inbox read every member of the organization,
each row with a correlated count of the member's passkeys, only to name
the few people they show. GET /api/app/members/lookup (MEMBER-R11) now
answers for the people a screen names, by user id or by a plain mention
handle. Handles are matched by the shared mention-handle rules, so the
server and the app agree on whom a handle names. Any member may ask, for
at most 100 ids and handles at once. The answer holds that
organization's members who match, oldest seat first, with no sign-in
factor. The app sends every person asked for in one task together, in as
few requests as the server takes. It caches each person under the member
entity, so a member write refreshes them.

The task actor directory (the board, its cards, the task modal, comments
and mentions) asks for each person as it renders them. Someone not
answered yet reads as pending, and someone the lookup answered without
reads as a former member, as before. The inbox looks up the assignees of
its rows and of the selected filter values, and the conversation header
looks up its one assignee. The assignee and reviewer pickers, the mention
autocomplete, the conversation assignee picker and the board's assignee
filter still list every member, but only once they are opened.
FilterPanel and DataTableFilters gain an onOpenChange prop for that,
documented in ui-docs.

The member list no longer counts passkeys. The admin's member dialog
already read the passkeys of the one member it opens (MEMBER-R6). It now
does so without waiting on the list's count.

Unit tests cover the endpoint, the batching, the directory, the inbox and
the pickers. An integration check runs the lookup against Postgres.

A server-side member search for the pickers, and for the other screens
that still read every member, follows in #5195.

Closes #5155
Task: TALE-251
The bell's "All" page (listMyNotifications, under GET
/api/app/collab/notifications and GET /notifications/sync) reads one
person's notifications in one organization newest first by seq, behind a
seq cursor. No index held that order: user_notifications_user_unread
puts read before seq, and user_notifications_user_created orders by
created_at_ms, so every page read all of the person's rows and sorted
them before its LIMIT.

Migration 0225 adds user_notifications_user_seq on (user_id, org_id,
seq DESC). The read now writes its unread filter and its cursor as plain
predicates, and only when they are set, instead of (... IS NULL OR ...)
filters, so a generic plan bounds the scan by the cursor as well.

The EXPLAIN machinery of Home's assigned-read probe moves into the lane
helpers as explainSentStatement. The notification paging lane uses it to
prove that the All page and the next one each read one page of the new
index, in their custom and generic plans.

Closes #5158
Task: TALE-254
The same prompts made documents and images on one deployment but not on
another, and its admins had no one place to see why: the answer was
spread over the Chat tools and Image generation policies, the skill
library and the server log.

Governance > Policies & Limits gains Chat tool status, below the Chat
tools switches. For files, code, skills and images it says Available,
Limited or Unavailable, and what stands in the way: a switch that is off
or a policy that cannot be read, a sandbox service that is not set up or
does not answer, the newest light sandbox start of the past week when it
failed, document skills (docx, pdf, pptx, xlsx) missing from the
organization's skill library, and image generation that is off, has no
usable image model, or has only one whose endpoint the organization's
EU/EEA rule refuses. When images work, it names the model. Check again
reads anew, and so does saving a policy on the page.

GET /api/app/chat/work-tools answers the same for Owners and Admins
(403 for anyone else, never cached), for the panel and for support. It
reads what a reply reads (the Chat tools switches, the sandbox service,
the organization's skill catalog, the image model resolver, and the
run_code starts that replies recorded) and changes none of it.

The chat files docs gain a troubleshooting section that points to the
panel, and the policies page describes it, in en, de and fr. The run
check that starts a sandbox and makes a test file is #5180.

Closes #5030
Task: TALE-213
Knip fails Checks on this train: sessionMemoryWarning in
services/sandbox/src/host-memory.ts is exported, but only
hostSessionCapacity in the same file calls it and nothing imports it.
CI ready (Checks) needs the knip job.

The function is now private to its module. Its behaviour is unchanged,
and its tests still reach it through hostSessionCapacity.
Knip fails Checks on this train: the projects route's loader now
prefetches the list by its adapter row's name, so
projectsOverviewPageQuery in app/lib/backend/projects.ts is called only
by that row in the same file, and nothing imports it. CI ready (Checks)
needs the knip job.

The builder is now private to its module. The loader and the listing
still share it through the adapter row, so their cache keys match.
The settings list-conventions guard fails UI on this train: TALE-252
set PROJECTS_PAGE_SIZE = 50 in features/projects/hooks/queries.ts,
which the guard walks because the Metrics settings page imports the
projects feature.

The projects list keeps its page of 50, the default of its endpoint
(PROJECT_PAGE_LIMITS, at most 100): it loads the next page as it
scrolls, and a search or the Teams filter loads every page. The
constant moves to a module of its own, as LOGS_PAGE_SIZE did, which
the route loader and the listing import, and that module is listed in
PAGE_SIZE_EXCEPTIONS with its reason.
@tale-code-bot tale-code-bot added the merge-train A merge train's pull request into main label Oct 31, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
The platform checks its frontend, backend and tests as one tsc program,
which had filled the 6 GiB budget: under the job's Node 22 it used
6,293,277K of the 6,192 MiB heap limit on main (06fe859) and
6,337,526K on release/0.6 (#5184's head). Feature train #5197 adds 0.7%
(+15,972 types, +40,269 instantiations over its eleven commits), and its
Type check died with "Ineffective mark-compacts near heap limit" at
~6,026 MB retained, exit 137 and no TypeScript diagnostic (Checks run
41186039280, job 124493196392).

- checks.yml gives the Type check job --max-old-space-size=8192, and
  its comment records the measurement.
- The release-candidate contract binds the new value; the descriptor
  check (release-candidate-contract.ts) passes against the workflows.
- The repo contract and CI.md say 8 GiB.
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
@tale-code-bot
tale-code-bot merged commit 234d8d0 into release/0.6 Oct 31, 2026
137 of 142 checks passed
@tale-code-bot
tale-code-bot deleted the feature-train-20261031-0843 branch October 31, 2026 11:15
tale-code-bot added a commit that referenced this pull request Oct 31, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Oct 31, 2026
The platform checks its frontend, backend and tests as one tsc program,
which had filled the 6 GiB budget: under the job's Node 22 it used
6,293,277K of the 6,192 MiB heap limit on main (06fe859) and
6,337,526K on release/0.6 (#5184's head). Feature train #5197 adds 0.7%
(+15,972 types, +40,269 instantiations over its eleven commits), and its
Type check died with "Ineffective mark-compacts near heap limit" at
~6,026 MB retained, exit 137 and no TypeScript diagnostic (Checks run
41186039280, job 124493196392).

- checks.yml gives the Type check job --max-old-space-size=8192, and
  its comment records the measurement.
- The release-candidate contract binds the new value; the descriptor
  check (release-candidate-contract.ts) passes against the workflows.
- The repo contract and CI.md say 8 GiB.
tale-code-bot added a commit that referenced this pull request Oct 31, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Oct 31, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Oct 31, 2026
The platform checks its frontend, backend and tests as one tsc program,
which had filled the 6 GiB budget: under the job's Node 22 it used
6,293,277K of the 6,192 MiB heap limit on main (06fe859) and
6,337,526K on release/0.6 (#5184's head). Feature train #5197 adds 0.7%
(+15,972 types, +40,269 instantiations over its eleven commits), and its
Type check died with "Ineffective mark-compacts near heap limit" at
~6,026 MB retained, exit 137 and no TypeScript diagnostic (Checks run
41186039280, job 124493196392).

- checks.yml gives the Type check job --max-old-space-size=8192, and
  its comment records the measurement.
- The release-candidate contract binds the new value; the descriptor
  check (release-candidate-contract.ts) passes against the workflows.
- The repo contract and CI.md say 8 GiB.
tale-code-bot added a commit that referenced this pull request Oct 31, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Oct 31, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Nov 3, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
tale-code-bot added a commit that referenced this pull request Nov 4, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Nov 4, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Nov 4, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
tale-code-bot added a commit that referenced this pull request Nov 4, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Nov 4, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Nov 4, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
tale-code-bot added a commit that referenced this pull request Nov 4, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Nov 4, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Nov 4, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
tale-code-bot added a commit that referenced this pull request Nov 5, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Nov 5, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Nov 5, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
tale-code-bot added a commit that referenced this pull request Nov 5, 2026
…r test

b4cb58b (TALE-251) gave the actor directory memberPending and
mentionPending, which ActorDirectoryScopeValue calls for each mention it
resolves. The useActorDirectory stand-in of
task-conversation.browser.test.tsx lacked them, so its six long-history
tests threw "TypeError: memberPending is not a function" in the Browser
job of feature train #5197 (Checks run 41186039280, job 124493196302).
The stand-in now answers that everyone has arrived, as the one in
mention-textarea.test.tsx does.
tale-code-bot added a commit that referenced this pull request Nov 5, 2026
The deferred Auto check pinned the pick with an allowlist and lifted it in
its cleanup by writing `enabled: false`. Since model endpoints read the
governance policy strictly (TALE-222), that stub fails the schema (no
mode, no rules) and reads as unreadable, so every later model call of the
organization was refused: the automations llm step, the durable stepper
and the REST search checks of feature train #5197 failed with "The model
access policy cannot be read". Remove the file instead, as the governance
scenario does: a missing policy reads as open.
tale-code-bot added a commit that referenced this pull request Nov 5, 2026
listMyNotifications selects `seq::float8 AS seq`, so its bare
`ORDER BY seq DESC` named the float8 output column: the plan scanned
every row of user_notifications_user_seq and sorted them before the
LIMIT, which the paging-plan check of feature train #5197 caught
(Limit > Sort > Index Scan, 75 rows for a page of 26). Order by the
qualified column so the index holds the page in order and the LIMIT
ends the scan after one page.
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

Development

Successfully merging this pull request may close these issues.

1 participant