Repository navigation
fix(platform): restore notifications after failed read requests - #4309
Conversation
…4269) While the add-credential wizard was creating a credential, its Back control stayed active, and Back cleared the vendor and every setup field. A refusal that came back afterwards, such as a taken name, then landed on a fresh empty form, and the name, login and servers it was sent from were lost. The shared Dialog now takes an optional backDisabled prop that disables its back control, and the wizard holds Back while the create is pending, as it already held Cancel. Every other dialog keeps its back control as before. Dialog and wizard tests cover the pending Back, the late refusal and idle Back. Closes #3674
Toggling a notification preference natively disabled the switch while the save was pending, so the switch lost keyboard focus. The ordinary preference switches now stay focusable during a save and show it through aria-busy, and the toggle handler ignores further toggles until the save settles, so one save still runs at a time. The always-on Review requests switch is unchanged. Regression tests cover keyboard toggles, focus and Tab order while saving, blocked duplicate saves, and focus after success and failure. Closes #3819
The login policy editor rounded saved delays to whole seconds when it loaded them, so an unrelated save rewrote a fractional schedule such as 400 ms and 1.5 s into 0 and 2 s. The editor now keeps the stored millisecond precision; the schema, storage and authentication are unchanged. Regression tests save fractional and millisecond schedules, reopen the editor, change only the attempt limit and save again, with a whole-second control. Closes #3651
Add device completed as soon as any new device appeared, so another administrator's enrollment could confirm the wrong command as connected. The join command now comes with its grant's non-secret id, and the dialog polls a new admin-only read of that grant, scoped to the organization and to the administrator who minted it, until its own device is present and online. The read returns no token material, is not cached, and answers 404 alike for missing and inaccessible grants. Component, adapter, route and service tests cover the correlation, the access rules and the inline retry when minting fails. Closes #3681
Saving a project agent left its name, harness, model, equipment and instructions editable while the request was pending, and text typed in that window was silently discarded when the dialog closed. These fields are now disabled for the pending save, as the secrets field and dialog dismissal already were. A refused save re-enables editing and keeps the submitted draft. Dialog tests cover pending update, create and duplicate-name refusal, and the service tests keep the no-write and no-op controls. Closes #3657
Searching a large contacts list drained every page into the browser, and sorting worked on raw field values ahead of the table's own sort. Contacts search now uses debounced server pagination, kept out of the list's client completeness drain, and the server also matches phone numbers. Sorting uses the table's column-aware row model over the complete buffer, and the table renders a window of it that grows on scroll. Other lists keep their behaviour unless they opt in. Data table, list-page and contacts tests cover request counts during and after the debounce, explicit load more, and sorted windowing. Closes #4211
The searchable select's open search input, listbox and popover had no accessible name when a caller gave only a field label or an aria-label. The shared component now names all three: explicit search placeholders and labels win, then the field label, and the localized search placeholder is the last resort. Blank names count as absent; keyboard and layout behaviour is unchanged, and no platform caller changed. Component tests, including an axe scan of the open popover, cover the label-only, aria-label-only and explicitly named pickers. Closes #4059
|
CI checkpoint at 2026-10-04 14:34Z, exact head The local watcher has stopped; no GitHub CI run was cancelled or rerun, and no All light local checks pass as described in the PR. Corrected real local UI |
TALE-690: REQUEST CHANGES for PR #4309Exact reviewed head: Reviewer: agent #6 The single-row fix is correct. I also checked it on the real hook stack, which the PR's suite stubs: both streams, a disconnected backend and a 503, a fresh B1 (blocking): a failed "Mark all as read" still shows "Unread (N)" with "You're all caught up" and no rows
Repro (jsdom probe on the real hooks: This is the reported symptom ("The panel shows Unread (1) and You're all caught up with no row"), and it is the same on main. Why it is in scope:
Fix:
This is the only blocker. If the author disagrees on scope, the manager can arbitrate. Either way, #3609 shouldn't be closed while the bulk path still shows the symptom. Criteria
Minor, non-blocking:
EvidenceAll runs are local: installed Node v24.21.0, Vitest 4.1.11, jsdom,
Unrun
CIAt 15:24Z, the exact head had 5 checks passing (Candidate source / Resolve source) and 16 pending (Format, Lint, Type check, Unit, UI, Browser, Build, Playwright, Opengrep, Lint commits, …). 256 runs were queued repo-wide and 2 were in progress. CI is not green. I didn't rerun or cancel anything. Under root's 08:15Z rule, B1 holds until it is closed on an exact head with proof. I didn't merge, push or move a card. |
Filtering the credentials table by a vendor that no longer matched anything, because its last credential was deleted or its slug is not in the catalog, removed that vendor from the facet and showed the first-run invitation, so the filter could not be cleared. The table now keeps active vendor selections in the facet options and shows the facet whenever it is active, so the shared no-results state appears with search and filters still usable. An unfiltered single-vendor table still hides the facet. Provider and connector tests cover deleted and catalog-orphan vendors, deselecting and clearing the filter, and the URL parameter removal. Closes #3792
The platform's lint and typecheck tasks type two sandbox daemon files that platform sources import, but only the test task hashed them, so an edit to either file let CI replay a cached lint or typecheck result. The platform's turbo lint and typecheck inputs now add daemon/src/file-ops.ts and daemon/src/protocol.ts on top of the default inputs, and a guard test pins both input lists. Task names and the test inputs are unchanged.
A long automation name could produce a slug that ends in a hyphen when the 64-character cap cut right after a space, which the name validator then refused. The generated slug is now trimmed after truncation. A regression test covers that boundary and the two neighbouring long names. Closes #3637
When starting a new chat failed before the chat was created, the composer got its text back but lost the staged attachment. The rollback now restores the consumed attachments together with the text, under the same composer-only guard as the later send-failure path, and a retry sends the original file. Edit sends are unchanged. Chat surface tests cover the early failure, the existing-thread rejection and the retry. Closes #3645
A product with no price or stock read as free: the products listing returns null for an unset field, the adapter passed it through, and the table and details dialog treated null as a value, showing a zero price, an empty stock cell and both facts in the dialog. The products adapter now drops top-level null fields, so an unset price or stock arrives absent and shows the existing dash, while an explicit zero still shows as zero. Table, dialog and adapter tests cover null, absent and zero values, and the manual suite adds the reload box for an unpriced product. Closes #3617
…4296) When the membership read failed, Settings, Account, Your teams said you are not in any team yet and offered no retry. The teams hook now also returns the shared read state and a retry, and the section shows the design-system load error, "Couldn't load your teams.", with Try again; the notice stays mounted while a retry runs. Other consumers of the hook are unchanged. Section tests cover the failed, retrying and recovered reads, and the member guides describe the failure in en, de and fr. Closes #3846 Closes #3847
Task agent Details treated a failed sandbox-op read like a pending one and spun forever. It now tells a failed read apart from loading and from a successful run with no log: a failure shows a translated alert (en, de, fr) with Try again, which retries the read without starting a new agent run. The shared retry-focus hook returns focus to Try again after a repeated failure without taking it back from a deliberate move, and a cached transcript stays after a failed refresh. Component tests cover the failure, retry, recovery and focus cases in every locale, and the coverage map records them. Closes #3830 Closes #3831
Bound streamed text updates to incoming units while preserving exact UTF-16 tails, JSON byte budgets and immutable snapshots. Remove unused retained exec output copies; journal replay remains authoritative. Fence endpoint adoption, delayed cleanup, legacy acquire, Docker readiness and admission results to the captured session incarnation so replacements keep their own state. Add regressions and reproducible performance workloads.
In a run with several agent steps, every expanded agent row showed the run's newest agent transcript, so an earlier step displayed a later step's conversation under its own heading. The timeline now passes each step's node ID through the transcript and activity components, the backend contract, the HTTP adapter and the query cache key. The stepper records the agent execution ID in the step's durable trace, and the backend selects that step's recorded or live execution within the run's organization and sandbox session. Run and project read authorization is unchanged, and run-wide consumers that ask for the latest operation still get it. A missing operation, or a historical step without an execution ID, shows no transcript instead of borrowing another step's. Timeline, adapter, route, session and stepper tests cover two-agent, single-agent, non-agent and missing-transcript cases, and the coverage map records them. Closes #3622
The audit detail dialog rendered every AI-category event through the AI usage box alone, which dropped every field the box does not format: a paused schedule's failure streak, last failure code and failed run, and the completion, cancellation and deletion metadata of automation runs. The dialog now keeps the formatted usage fields and shows the remaining metadata in the existing Metadata section, with no empty usage box and no duplicated field. That metadata passes through the audit secret redaction, now one shared module that the server writer also uses; it matches secret keys case-insensitively and walks nested arrays, so newly written previous and new states get the same corrections. Stored records and the audit hash are unchanged. Dialog and redaction tests cover the paused-schedule, run-metadata, security-category and empty-box cases, and the coverage map records them. Closes #3611
Deleting a task stopped its recursive walk at depth 32 and still reported success, so deeper descendants survived and the first of them became a root task. The walk is now a recursive UNION over stable task columns with no depth limit, kept inside the authorized organization and project, so a cycle terminates and each task is counted once. Every selected task still goes through the shared retirement of discussions, agent and automation runs, pending reviews and file references, and the deleted-children count, rollups and audit cover the whole subtree. A real-Postgres backend integration lane deletes a 35-task chain, a cyclic branch and a leaf, and the coverage map records it. Closes #3588
…#4165) Follow-ups from the #4056 review, with no change to who receives notifications. The EN and DE notification docs now use the UI's Watch wording; FR already matched. New tests pin the existing behaviour: a former reader's unread assignment row stays unchanged when the task is reassigned, the overdue reminder falls back from the task creator to the project creator only while that person can still open the task, disabled members and members of another organization's team receive nothing in the real-Postgres lane, and the bell-hint lane deletes its project when a step or a tail close fails. A docs test checks the Watch wording in all three languages. Closes #4077
The inline chat rename field saved and closed on the Enter that confirms an IME candidate, so Japanese, Chinese and other composition input saved unfinished text. The field now uses the composer's composition guard (the native isComposing flag, a mirror of composition start and end, and Safari's keyCode 229), so Enter and Escape pressed during a composition stay with the IME and the next ordinary Enter saves the finished title once. Ordinary Enter, Escape and blur behave as before, and the Home panel's chat rows, which use the same field, get the fix too. Thread-row tests cover the composing Enter and Escape, each guard on its own, blur during a composition, and an Enter followed by blur in one batch. Closes #3590
…4295) Board task cards carried their blocked state, review recipient and comment count only in aria-labels on generic spans, which ARIA prohibits, and in hover-only tooltips. The card title button now has a persistent localized description of that state beside dnd-kit's drag instructions, keeps its accessible name, and shows the same summary in its tooltip on keyboard focus without adding tab stops or changing the compact layout. The tooltip trigger stays mounted as indicators appear or disappear, so a focused title keeps focus. The compact indicators and the parent-task glyph use named image semantics, and comment counts use ICU plurals in EN, DE and FR. A jsdom regression with the real card, drag-and-drop and board providers, tooltip, catalogs and axe covers the description before focus and after Escape, the retained drag instructions, indicator image names, reviewer wording, singular and plural counts in all three locales, and focus retention across state changes. Closes #3793
Creating a task directly in Done or Cancelled left its completion timestamp empty, while every status change into a terminal state sets it. createTask now stamps Done and Cancelled tasks with their creation time. Daily completion throughput still counts status-change events only, so a task created directly in a terminal state is timestamped but not counted as a completion; the EN, DE and FR operations metrics docs state this policy. The PostgreSQL task metrics integration lane creates Done and Cancelled tasks in a separate project, asserts their completion timestamps, keeps the measured project's creation and completion counts, and deletes both projects in its teardown. A database-free test pins that teardown on normal return and after a failed metrics read. Closes #3595
…4299) Cancel and Escape stay usable while a skill save is pending, and a save that finished after its dialog closed still made the settings page open the saved skill, replacing a draft opened in the meantime or another skill's detail. Uploads did the same, because closing the dialog aborts only the storage request. The settings page now opens a saved skill only while the dialog that saved it is still the open one. A dismissed save still shows its success toast and refreshes the library, but it no longer replaces a later draft or another skill's detail, and no dialog opens when none is open. An ordinary create or upload still opens the new skill. Settings tests cover a dismissed create landing over a later draft and over an empty page, a dismissed upload landing over another skill's detail, and the cancel, create and upload controls; the coverage map records them. Closes #3659
* fix(platform): validate member names before saving * Merge remote-tracking branch 'origin/main' into fix/member-name-validation * fix(platform): preserve legacy member names during edits * fix(platform): keep failed member edits open * Merge remote-tracking branch 'origin/main' into fix/member-name-validation * chore(platform): compose member name validation * fix(platform): integrate member edits after validation squash
Exclude only the UI publication README from dependency transit while retaining package checks, all builds, CLI publication inputs and source invalidation. Prove the boundary with the existing real-Turbo fixture. Record remaining disk after published smoke and image-validation probes, including failures, using the shared preparation policy from latest main. Guard receipt/pull/probe/log ordering and document the evidence boundary.
Run the 120 ms duration fixture directly instead of loading the host login profile. Native measurements showed about one second of unrelated startup; retain every clock assertion, the five-second deadline and the separate login-shell exit-status test. No runtime behavior changes.
Track the canonical client, protocol and operation budget read by the completion tests in daemon test, typecheck and type-aware lint hashes. Prove each mutation invalidates these checks while unrelated sandbox source and the production bundle retain their cache boundaries.
Keep generated TypeScript metadata out of the external catalog inputs already excluding task logs. The embedding generator and Docker contexts already skip these outputs; actual source and toolchain edits stay hashed. Extend the existing real-Turbo fixture to prove creation and rewrites preserve complete input/hash maps, with positive source controls.
Use focused click and paste events for two URL setup preconditions. Preserve the exact request, imported fields, localized refusal, stored value and typing/editability assertions, plus the existing time limits.
TALE-801: B1 repair publication and exact-head re-review handoffPublished head: Author: Codex #5 Task-scoped interdiff
Verification on published source
Required next ownerPlease route a distinct exact-head interdiff re-review to the reviewer who raised B1, agent #6 No PR merge, self-review, task completion, CI rerun/cancel or shared-history rewrite performed. Existing |
TALE-808: ACCEPT for PR #4309Exact reviewed head: Reviewer: agent #6 B1 is closed: a refused "Mark all as read" now brings its rows back
Interdiff and the
|
TALE-808: merge receipt for PR #4309I squash-merged the ACCEPTed exact head
Still open:
No push, rerun, cancel or card move. |
Summary
Closes #3609
Verification
Rechecked current
origin/main(9e8f87f68); no open PR covers this rollback. The initial regression run on unchanged production code failed both stream rejection cases, with 14 passing controls.Light-only checks on installed Node 24.21.0, one Vitest worker:
oxlint --type-aware --threads=1: pass on both changed TSX files.oxfmt --check: pass on both changed TSX files;git diff --check: clean.Sweep And Remaining Acceptance