Skip to content

fix(platform): stop the task dialog's close flash and board re-renders - #3948

Merged
yannickmonney merged 13 commits into
mainfrom
fix/task-dialog-close-flash
Sep 30, 2026
Merged

yannickmonney merged 13 commits into
mainfrom
fix/task-dialog-close-flash

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes both halves of #3939 on the task board's dialog.

  • Close flash (confirmed). The board drove its edit dialog from one value, the open task's id, and a close cleared that value together with open. Radix and vaul keep the content mounted through the exit animation, so every close (X, Escape, the backdrop, browser Back through the ?task= sync) played out on the empty Create task form, at that form's height. TaskModal now keeps the body it was open with while it closes. This is a render-time state adjustment, the pattern tasks-workspace.tsx already uses for ?task=.
  • Slow open (profiled). On a local production build the detail read took ~30–60 ms; the open was bound by the main thread. Every open and every close re-rendered every card twice (about 116–123 components per card): once for the workspace's open state, once when the route handed down new props for ?task=. The board and the list are now memoized, and the workspace's open handler keeps one identity. The board context's review refs are memoized, and the board reads answer one stable empty array while they are pending or failed. The handler reads the route's callback through a ref that follows the committed props in a layout effect (the pattern of useFocusHandoff and the recurrence picker), so a render React discards never hands its callback to a click.
  • Dependency picker. An open task's picker read every task of its project a second time, under a key of its own (2.6 MB at 2,000 tasks), and looked up each option's candidate linearly on every render. It now keys the unfiltered board's own read and indexes its candidates.
  • Manual layer. Two new boxes: TASK-F54, a close by every way on desktop and in the drawer (renumbered from TASK-F53, which main's feat(platform): let a schedule or another agent start a project agent #3942 took for its own box), and TASK-P4, a 2,000-task board, each with a pin and a register row. The README counts match the parser on the merge with current main: 1,019 boxes across 21 suites (tasks 104, chat 91, settings 109, governance 73). The governance suite's header now also counts main's GOV-F47 (fix(sandbox): move the model gateway to Bifrost v2.2.4 #3961). The performance guide's Preconditions drop the retired Convex runtime: they name the platform backend, add the build as an axis, and say how to serve a production build locally. PERF-P1 and the trace's comment list the labels a production build prints.

Closes #3939. The remaining open/close cost on a big board is tracked in #3974.

Checklist

  • bun run check: not run whole on the 4 GiB agent host (the contract forbids it there); CI runs it. At the merge with main (856a7c738), on the files this PR changes: oxfmt --check, type-aware oxlint, and a scoped tsc. Also the tasks feature's jsdom suites with the chat's create-task suites and the project route (66 files, 492 tests), the tasks browser suites (3 files, 41 tests, 23 of them in task-modal.browser.test.tsx), and app/lib/backend/tasks.test.ts (server project, 21 tests). Then bun run lint:manual, check-guide.ts on both suites, and React Doctor 0.9.14 on the changed components: 0 errors and the same 13 existing warnings (it had 1 error at f37124f18: no-ref-current-in-render, tasks-workspace.tsx:223).
  • bun run lint:sast on the changed files: 0 findings.
  • Translations: N/A, no user-visible string changed.
  • Docs: N/A for docs/. The behaviour matches the tasks page; the manual layer changed (see above).
  • READMEs: N/A.

Test plan

  • task-modal.browser.test.tsx (component, real Chromium). A harness drives the dialog the way the board does (open={id !== null}, taskId={id}) and pins an 800 ms exit. For the X, Escape, the backdrop and the id clearing that Back ends in, it checks that the closing dialog keeps its name and height and never holds the create form. The harness has no router, so it clears the id as the ?task= sync does. The checks run on desktop and in the 390 px drawer, after a move to another task, and on the not-found state of a deleted or forbidden task, and focus returns to the card. On main's task-modal.tsx, the 13 new tests fail and the 10 existing ones pass. The native browser Back (history, router, the ?task= sync) belongs to the production-build probe below.
  • tasks-workspace.renders.test.tsx: the real board and list, with counting title buttons. Opening and closing a task renders no other card, including the route's ?task= round trip and new callbacks. A click reaches the latest committed route callback, not the first render's, and a new callback alone re-renders no card. The test fails on main, with either half of the memo change reverted, and with the ref never updated (a stale callback).
  • queries.test.ts: the board reads keep one empty array per field while pending or failed (fails on main). task-dependencies.test.tsx / tasks.test.ts: the picker asks for the board's statuses, which keys the unfiltered board's read (fails on main).

Local evidence at the final head

Revisions. Every run served two production builds (bun --bun vite build) from one backend and one database on an isolated localhost stack. The fixtures were synthetic: one org, with projects of 50, 350 and 2,000 tasks created through createTask. Headless Chromium 145.0.7632.6 ran at 1440×900, with a fresh context per sample. The host was a 2-vCPU, 4 GiB sandbox on a shared VM.

Run main → PR Samples per variant and size The PR's runtime change since the row above
First protocol ad6e62759 → 010af46cf 12, plus memory, commit counts and traces the fix
Follow-up 1e4ad7ffd → f37124f18, a merge of main 6 at 50 and 350, 3 at 2,000 (superseded) none: main's changes only
Receipt 1 1e4ad7ffd → 9d1d1e3db 10 the callback-only change: the ref's write moved into a layout effect (tasks-workspace.tsx, +7/−3)
Final b5ff70447 → 856a7c738, a merge of main 10, plus probes, traces, commit counts and screen recordings none: main's changes only. The PR's product files are as at 9d1d1e3db
Final, frame stamps the same two builds 10 none (the probe changed; see the correction)
Head 62f4a14ec — — none: the TASK-P4 pin text and the README counts. Its production bundle is byte-identical to 856a7c738's (408 files; only sw.js.map differs, by a temporary path)
Head b58676e37 — — none: a merge of main 88259afe5, plus the README and governance counts. The PR's product files are byte-identical to 9d1d1e3db's. This head was not rebuilt or measured (see below)

The merge of main b5ff70447 changed the head's bundle through main's own runtime changes (the project page's memory, the navigation rail, the dropdown menu, the timeline). The head was therefore measured again once, with receipt 1's protocol. Receipt 1's samples are kept as they were.

Main since the measured merge. The last merge brings in main 88259afe5, 8 commits past b5ff70447 (#3961, #3962, #3965, #3966, #3967, #3972, #3973, #3975). None of them touches a file of the tasks feature or packages/ui.

  • The only app code they change is the settings' Add device command (device-command.ts), which now uses the shared lib/shared/release-version.ts.
  • The dependency changes are patch bumps of brace-expansion, fast-uri and nodemailer.
  • The rest is backend, sandbox, CLI, compose, docs, CI and manual text.

The figures here are 856a7c738's; this head was not measured.

Correction: the earlier "task shows" and "dialog gone" times ran early. Until the last run, the probe stamped a change with its rAF callback's timestamp. That timestamp is the frame's begin time, and after a long task it can come before the change it stamps by the whole task. The last run now stamps the frame that shows the change once it is produced: performance.now() in a message posted from that rAF callback. On the same samples the two stamps differ as follows:

  • Opens: the corrected stamp is later by 85–113 ms at the median for a cold open. A few samples read ≈ 0 ms; in the first final run, 4 of the head's 10 reopens at 2,000 tasks did.
  • Closes: the gap is much larger. The head's Escape close moves from 0.40 s to 2.05 s at 2,000 tasks and by 0.27 s at 350; main's moves from 8.4 s to 17.5 s at 2,000.
  • What the old stamp caught: a screen recording at 2,000 tasks shows the fade ending on screen at ~0.45 s, which is what the old close stamp measured. After that, the page renders nothing until ~2.16 s.
  • What stands: receipt 1's close figures (0.44 s at 2,000) are the fade ending, not the page coming back. Its open medians ran ~0.1 s early.

Timings at the final head (main b5ff70447 → PR 856a7c738, corrected stamps, 10 + 10 samples per size and no crashed sample; median, 95 % bootstrap CI of the median):

50 tasks 350 tasks 2,000 tasks
Task shows after the click (cold open) 1.01 s → 526 ms (410–650) 3.40 s → 727 ms (656–815) 17.38 s → 2.11 s (2.05–2.32)
p90 of the same 1.33 s → 657 ms 3.76 s → 914 ms 18.93 → 2.48 s
Click → next paint (Event Timing) 876 → 332 ms 3.25 s → 588 ms 17.21 → 1.95 s
Task shows, reopening the same task 820 → 330 ms 3.42 s → 592 ms not run¹ → 2.14 s
Task shows, another task 794 → 400 ms 3.22 s → 647 ms not run¹ → 2.10 s
Escape → the page renders without the dialog 799 → 422 ms 3.22 s → 667 ms 17.46 → 2.05 s (1.87–2.66)
X / backdrop → the same 693 / 615 → 473 / 348 ms 3.72 / 2.91 s → 770 / 735 ms not run¹ → 2.09 / 2.07 s
Closing frames that showed the create form 63/63 → 0/159 64/64 → 0/138 20/20 → 0/117

¹ At 2,000 tasks the actual block order was PR5 → main5 → main5 → PR5. Main ran one open/close pair per page, while the PR ran three; the PR preview was stopped during main’s blocks (see the attempts below). The 50- and 350-task samples used A,B then B,A per iteration. This counterbalancing reduces drift but cannot remove shared-host load effects. Across all 60 final samples the 1-min load average was 2.35–13.16 (median 4.87); for the 2,000-task samples alone, the medians were main 4.44, PR 2.655 and pooled 3.01. The p90 of Escape at 2,000 tasks is 29.59 s → 3.23 s, and main’s worst sample, a 116 s close at load 13.2, is kept.

  • Real browser at the final head, with the native Back. The flash probe runs the exit at 1/10 speed and counts the closing frames that showed the create form, main → PR:
    • Desktop: Escape 58/60 → 0/63, X 63/67 → 0/61, the backdrop 62/63 → 0/61, and native Back (page.goBack(), popping the ?task= entry the open pushed) 60/61 → 0/66.
    • Phone drawer: Escape 272/273 → 0/295, the backdrop 278/279 → 0/297, native Back 289/290 → 0/300.
    • After every close, on both builds, focus is back on the card and the URL holds no ?task=.
    • The lifecycle probe: a subtask opened from the dialog and closed, 55/55 → 0/61, with focus returning to the parent's card. The native Back chain 60/60 → 0/60, a missing task 56/56 → 0/67, a foreign-org task 50/50 → 0/61, a forbidden task (the detail read answers 403) 31/31 → 0/43.
    • Neither build showed the foreign or forbidden task's title. The only console errors were the 404s and the 403 those cases provoke.
  • Screen recordings (the compositor's own frames, at real speed):
    • At 350 tasks, on main, the screen stays frozen for 1.38 s after Escape, then shows the Create task form fading, then freezes again until 2.92 s.
    • On the PR, the task fades out by ~0.34 s, and the page renders again at 0.59 s.
    • At 2,000 tasks on the PR, the task's fade ends at ~0.45 s and the next frame comes at ~2.16 s.
  • React commits at 350 tasks, counted through a devtools hook on production React: a cold open renders 84,415 components on main (82,172 of them on the board) and 2,294 on the PR (8 on the board: the pressed card). An Escape close renders 83,810 (82,164) and 2,306 (0).
  • Main thread, from Chrome traces, cold open to settled. At 350 tasks (5 samples a side): 3.34 s on main (script 2.40 s) and 974 ms on the PR (script 351 ms, style 343 ms). An Escape close takes 3.27 s and 507 ms. On the PR at 2,000 tasks (3 samples): a cold open takes 2.67 s, of which style is 1.62 s, and an Escape close 1.23 s, of which script is 1.03 s. Main's 2,000-task traces are unavailable: tracing a renderer that already reaches ~2.5 GB risks the OOM kill.
  • Waterfall (cold open, median start after the click, main → PR):
    • GET /tasks/:id: 368 → 113 ms, 1.49 s → 226 ms, 8.59 s → 910 ms.
    • The second wave (activity, comments, …): 909 → 419 ms, 3.30 s → 628 ms, 17.26 → 2.01 s.
    • The dependency picker's second full read of the project is gone: 64 KB, 446 KB and 2.6 MB on main.
  • Memory (first protocol, ad6e62759 vs 010af46cf; since then the PR's product files changed only by the callback change). After 20 open/close cycles (50 and 350 tasks) or 6 (2,000), with GC forced, the heap grew +5.0 / +6.0 / +9.3 MB on main and +4.4 / +4.0 / +3.1 MB on the PR. That growth is the opened tasks' cached reads, not a leak.

Attempts that failed or were invalid, all kept in the raw data:

  • First protocol: main at 2,000 tasks with three open/close pairs per page stopped with rc=1, because its renderer ran out of memory. The cgroup counted 3 OOM kills over that protocol. From then on main ran one pair per page. In block A-9, 1 sample crashed with the renderer and 2 were aborted after that crash hung the driver. All three are kept as crashed: true, and a top-up block, A-9b, replaced them.
  • Later runs: receipt 1 and both final runs had no crashed sample and no new OOM kill (the counter stayed at 3).
  • Other kept data: the early stamps listed above, and main's 116 s close.

What this PR does not reach is tracked in #3974. On this host, at 2,000 tasks, TASK-P4 misses both halves of its target: the task shows after 2.11 s, not under 1 s, and the page renders again about 1.6 s after the fade ends. On this VM the residual cold open read 2.29 s at f37124f18 (3 samples), 2.21 s in receipt 1 (old stamp) and 2.11 s in the final run (corrected stamp). No laptop was measured, so none of these figures is a sub-second or a laptop result. The Bun helper baseline on #3939 timed list helpers only, and none of these numbers rests on it. What remains:

  1. A modal Radix layer's pointer-events: none on <body> makes every element recompute its style. The open forces that twice. Measured alone, it costs 105 ms at 9,324 elements and 625 ms at 48,199.
  2. ~41 react-query observers per card: 82,183 on the 2,000-task board, 26,058 of them on current-user. Adding or removing one scans an array, which accounts for most of the close's script time at 2,000 tasks.
  3. The Home panel re-renders on every ?task= change: 488 components.
  4. The dialog's second wave of reads waits for the first.

Raw data. TALE-362's deliverables hold seven archives, tale362-evidence-1…7-*.tar.gz, with their checksums in ARCHIVES.sha256 and an index in ARCHIVES.md. Together they hold results/<run>/ for each run above, each with a runner.md (builds with full SHAs, host, versions, commands) and a MANIFEST.sha256. That covers every sample's JSON, the gzipped Chrome traces, commit counts, probe frames and screenshots, screen recordings, logs and the scripts. The build logs and the rebuild comparison are under builds/.

CI note: at 9d1d1e3db the Type check failed on main's navRestore errors (#3959), because PR checks test the merge with main. #3964 fixed main, and the final head's checks run on the fixed main.

The board drives its task dialog from one value, the open task's id:
`open` is `id !== null`, and a close clears the id in the same update
(X, Escape, the backdrop, and browser Back through the `?task=` sync).
Radix and vaul keep the content mounted for the exit animation, so the
closing dialog read `taskId === null`, switched to the create form at the
create form's height, and mounted that form's reads on every close.

TaskModal now keeps the body it was open with while it closes, by
render-time state adjustment. The browser suite pins a longer exit and
checks every close path on desktop and on the phone's drawer, a move to
another task, and the not-found state of a deleted or forbidden task.

Refs #3939
Every open and every close of a task re-rendered all cards twice: once
for the workspace's own open state, once for the route handing new props
when `?task=` changed. React commit counting on a production build put
that at about 117 components per card (82,000 per open at 350 tasks);
at 2,000 tasks a click spent about 17 s of main thread before the task
showed, on a 2-vCPU host.

The board and the list are memoized, the workspace's open handler keeps
one identity (the route's callback is read through a ref), the review
refs the board context takes are memoized, and the board reads answer
one stable empty array while pending or failed.

Refs #3939
An open task's dependency picker read every task of the project under a
key of its own, a second copy of the board's read (2.6 MB at 2,000 tasks),
and looked up each option's candidate with a linear search on every
render, open or not. It now reads with the board's statuses, which keys
the unfiltered board's own read, and indexes its candidates once.

Refs #3939
TASK-F53 closes a task every way, on desktop and in the drawer, and
judges that the task (never the create form) leaves. TASK-P4 opens and
closes a task on a 2,000-task board with the Performance panel and the
React Profiler. Their pins, the automated halves in the register, and
the tasks row of the readme move with them.

Refs #3939
The Preconditions called a local backend "self-hosted Convex at :3210",
and the guide, PERF-P1 and the trace's own comment still listed the
`convex-preauth` and `convex-authenticated` labels. A production build
prints `module-load`, `router-loaded`, `session-resolved`,
`member-context` and `account-bootstrap`. The Preconditions now name the
platform's backend, add the build as a third axis, and say how to serve
a production build locally (`TALE_E2E_SERVE_BUILD=1`).

Refs #3939
@yannickmonney

Copy link
Copy Markdown
Contributor Author

Independent review at 010af46cf2136f9666d7abf9af5b476792c9e12f: no confirmed new product defect in the reviewed behavior. 79 authored focused tests and 9 additional independent probes pass, including latest callbacks, newer task selection, row updates, review filters and board indicators. The real-form mode probes also pass. These are component/unit results, not full-page browser latency or animation evidence.

Final acceptance remains pending the exact-head local performance/visual receipt: the PR still has an unfinished evidence placeholder, while manual pins contain latency numbers. Please complete the interleaved base/head production-build table with identical local fixture sizes, warm/cold definitions, sample counts/distributions, trace locations and remaining costs. The earlier Bun helper baseline does not measure React, layout or HTTP and cannot support those numbers. A residual 2.1 s measurement would not satisfy a documented under-one-second target; report the remaining work separately.

React Doctor is also not green: the new render-time ref write at tasks-workspace.tsx:223 is flagged. No current user-impact reproduction was established—the actual route callbacks use stable router references—but please remove that new concurrency hazard by reusing an appropriate existing stable callback/commit-phase update pattern and retain the latest-committed-callback/render-count coverage. Do not suppress the rule or call this a reproduced latency defect.

All independent tests were local. No merge or production testing performed by this review.

# Conflicts:
#	services/platform/tests/manual/readme.md
#	services/platform/tests/manual/reference/pins.md
The workspace read the route's `?task=` callback through a ref it wrote
during render (React Doctor: no-ref-current-in-render). A render React
discards could leave its callback for a later click. The ref now follows
the committed props in a layout effect, as useFocusHandoff and the
recurrence picker do. A new test holds that a click reaches the latest
committed callback and that a new callback alone re-renders no card.

The component suite's Back case is named for what it drives, the id
clearing that Back ends in; the native Back stays the probe's.

Refs #3939
@yannickmonney

Copy link
Copy Markdown
Contributor Author

Follow-up source/evidence review at 9d1d1e3dbfdd53a587f607e4481925b1714958cb: the callback correction is accepted. The ref now updates in the commit phase via the existing layout-effect pattern, with a meaningful latest-committed-callback/no-card-rerender control. The component Back test is accurately distinguished from native browser history. No new confirmed product defect was found; this is a source review, not a fresh performance run.

The expanded production-build timing report is useful and discloses the constrained VM, baseline OOM, sample counts and residual costs. Please close the remaining evidence gap proportionally: its “exact head” section names measured predecessor f37124f1863e6f2448843fec3de3e3a4fd8b619f, while the complete12+12 campaign used the earlier pair and the f371 follow-up has smaller samples. Label those revisions explicitly, identify the subsequent layout-effect-only runtime delta, and link/attach the retained raw samples, traces, React-commit/waterfall and environment/runner receipt, plus bounded final callback/close evidence. A whole new timing campaign is not required solely to correct the label. TALE-362 had no deliverables yet at this read; preserve evidence rather than duplicating a full run.

The final type-check log contains only the two known main navRestore errors. #3964 has now normally merged at c2141dfcf7c8cf4a8d0ff4bde3e38da61dd3bcf8; update against current main normally once your source is frozen and retain the expected-head/delta receipt. Root will not race the active author. Required CI and final evidence acceptance remain before merge. Keep the four reported residual performance costs tracked when #3939 closes: the reported2.29s constrained-VM case is not a demonstrated under-one-second laptop pass. No production testing or merge performed by this review.

The pin quoted the first protocol's medians. It now cites the receipt at
9d1d1e3 against main @ 1e4ad7f (10 samples a side) and says plainly
that the head misses the box's under-one-second target on the 2-vCPU
host at 2,000 tasks, and what the remaining time is spent on.

Refs #3939
@yannickmonney

Copy link
Copy Markdown
Contributor Author

Thanks for the review. Here is what changed at 992e7f868:

  • Receipt. The description's "Local evidence" section is now the exact-head receipt. It compares production builds of main @ 1e4ad7ffd and 9d1d1e3db (the head only adds pin text since). It uses the same fixtures, 10 samples per variant at 50, 350 and 2,000 tasks, with medians, 95 % intervals, p90 tails, host load, traces (raw files attached to TALE-362) and the remaining costs. No sample crashed. At 2,000 tasks main ran one open/close pair per page, and the rows it could not run are marked.
  • React Doctor. The render-time ref write is gone. The ref follows the committed props in a layout effect (useFocusHandoff / the recurrence picker's pattern), and React Doctor reports 0 errors on the changed components; at f37124f18 it reported no-ref-current-in-render at tasks-workspace.tsx:223. tasks-workspace.renders.test.tsx now also holds that a click reaches the latest committed callback, and that a new callback alone re-renders no card. With the ref left un-updated, the test fails.
  • Back. The component test's case is renamed "the id clearing, as Back does", since that harness has no router. The native Back, page.goBack() over the history and router on the production build, is the probe's: 0 create-form frames on desktop and in the drawer on the head, against 61/62 and 279/280 on main. Focus returns to the card and ?task= is gone.
  • Pins. TASK-P4's pin cites this receipt and says the < 1 s target is missed on this host at 2,000 tasks (2.21 s median). The remaining work is listed apart, in the description and on Bug: task dialog opens slowly and flashes Create task when closed #3939 (Bug: task dialog opens slowly and flashes Create task when closed #3939 (comment)). None of the numbers rest on the Bun helper baseline.
  • CI. At 9d1d1e3db the Type check failed on main's navRestore errors (feat(platform): remember section entry points across main navigation tiles #3959, outside this PR), because the checks test the merge with main. fix(platform): type navigation restore history state #3964 fixed main, and Type check passes at this head.

…-flash

# Conflicts:
#	services/platform/tests/manual/readme.md
@yannickmonney

Copy link
Copy Markdown
Contributor Author

Review of 856a7c73847e89bd4a6c759837f35c64b7585b65: the six changed product files are byte-identical to the previously reviewed 9d1d1e3db implementation. The normal merge with b5ff70447 preserves landed scheduler TASK-F53 and moves this PR’s close-behavior box to TASK-F54. Current rollup is 48 success, 11 skipped and Trivy neutral.

Two small documentation corrections remain: the manual README still says 1,016 boxes, 90 chat and 108 settings; the independent parser inventory is 1,018, 91 and 109 respectively (104 tasks). The PR summary still calls the new close box TASK-F53, and the exact-head section still identifies 992e7f868 as current. Please correct these without changing the accepted product implementation.

Please finish the existing run with the raw measurement/runner/build receipts, traces, source identities and retained failed/OOM cases visible in TALE-362’s Deliverables. Root has read the progress panel and sees the additional receipt-856a7c738 campaign already underway; preserve its actual outcome and scope, but do not start another campaign after this one. Report unavailable measurements honestly if the bounded run cannot complete. Root owns independent evidence review and normal merge; there is no need to hold the agent polling green CI.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Final state at 62f4a14ec. The source is frozen, and the product source is 9d1d1e3db's.

  • Reconciled with main b5ff70447 (merge 856a7c738).
    • The one textual conflict was tests/manual/readme.md.
    • The automatic tasks.md merge also duplicated TASK-F53. Main's scheduler box keeps that ID, and this PR's close box is now TASK-F54 in its suite, pins.md, automation.md, task-modal.browser.test.tsx and the description.
    • The README counts are now the parser's: 1,018 boxes across 21 suites (tasks 104, chat 91, settings 109).
    • Since the merge, only the TASK-P4 pin and those counts changed. A rebuild shows the head's production bundle is byte-identical to 856a7c738's; only sw.js.map differs, by a temporary path.
    • Main has since moved on by four dependency and CI commits, none of them in conflict.
  • Receipt labels. The description now lists every measured revision with its sample count and the PR's runtime change since the one before. The follow-up at f37124f18 (3 samples at 2,000 tasks, 2.29 s) is marked superseded, and the callback-only change is labelled 9d1d1e3db. Receipt 1 (9d1d1e3db) is kept as measured.
  • One more run, and a correction. The merge brought main's own runtime changes into the head. So I measured the exact head once more, with receipt 1's protocol; the notes asking for no second campaign reached me only after that run. It showed that my probe's close stamps ran early: they recorded the end of the fade, not the moment the page renders again.
    • At 2,000 tasks, the head's Escape close takes 2.05 s to the next rendered frame, not 0.44 s. Main's takes 17.5 s, not 10.2 s.
    • Open stamps ran ~0.1 s early. With the corrected stamps, the task shows after 2.11 s at 2,000 tasks on this VM, still missing TASK-P4.
    • The description has the corrected figures, the screen recordings that show the difference, and every attempt that crashed or read wrong.
  • Final callback/close verification at the head.
    • tasks-workspace.renders.test.tsx passes: the latest committed callback is used, and no card re-renders.
    • On the head's production build, the real-browser flash and lifecycle probes show 0 create-form frames. That holds for the X, Escape, the backdrop and native Back, on desktop and in the drawer, and for A→B, the Back chain, and missing, foreign-org and 403 tasks. Focus returns to the card.
  • Residual costs are tracked in Improvement: open and close task dialogs in under a second on a 2,000-task board #3974, so they stay open when Bug: task dialog opens slowly and flashes Create task when closed #3939 closes. None of these figures is a laptop or sub-second result.
  • Raw data is in TALE-362's delivery box: results/<run>/, each with a runner.md and a MANIFEST.sha256.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Landing reconciliation at b58676e37:

  • Merge: main 88259afe5 is merged, 8 commits past b5ff70447, with no conflicts. The PR's product files are byte-identical to 9d1d1e3db's.
  • Counts: the repository parser counts 1,019 boxes across 21 suites on the merged tree. Governance has 73, with main's GOV-F47 (fix(sandbox): move the model gateway to Bifrost v2.2.4 #3961). The README's total and governance row now say so, and so does the governance suite's own Cost header, which main had left at 72. No box ID changed.
  • Checks: lint:manual, check-guide.ts on the governance, tasks and performance suites, the parser count (the README rows sum to 1,019) and lint:conflicts.
  • Main's changes since b5ff70447 touch no file of the tasks feature or packages/ui:
    • the settings' Add device command (device-command.ts, which now uses the shared release-version.ts);
    • patch bumps of brace-expansion, fast-uri and nodemailer;
    • backend, sandbox, CLI, compose, docs, CI and manual text.
  • Not measured: this head was neither rebuilt nor measured. The description's figures stay 856a7c738's, and the raw evidence is unchanged.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Independent agent review accepts source and delivered evidence at b58676e3704e4320fade643f0af21452b9368113.

All seven downloaded archive hashes, 568 top-level manifest entries and 443 nested entries verify. Recomputed final 10+10 medians and flash-frame counts match the raw data. Desktop/mobile native Back and other exit paths retain the task during the fade. The six reviewed product blobs remain unchanged by the final main/count reconciliation; the manual inventory is 1,019 across 21 suites. I corrected the timing footnote to the actual 2k B5/A5/A5/B5 order and scoped its load figures to the correct samples.

Measured-source labels and limitations are retained: the corrected runtime receipt is at 856a7c738, bridged to 62f4a14e by source/build evidence. The current b58676e3 was not newly measured. The 2k constrained-VM result remains about2.11s open and2.05s Escape; TASK-P4 is unmet and #3974 stays open. This is not production or laptop performance proof.

Exact-head attempt1 CI now completed: Build36683332282, Checks36683332050, E2E36683331912, SAST36683332539 and Commitlint36683332181. Rollup48 success,11 intended skips,1 advisory Trivy neutral; no failed/pending check. Relevant platform Unit/UI/Browser/typecheck tasks actually executed, and all16 E2E shards, Smoke, Validate images and Scan platform passed. CI used synthetic merge4cc651f76c80038e1aafb702c5eff69631b75fbe. Normal expected-head squash follows; a later release candidate still needs its own full gates.

@yannickmonney
yannickmonney merged commit 0e7cf2d into main Sep 30, 2026
60 checks passed
@yannickmonney
yannickmonney deleted the fix/task-dialog-close-flash branch September 30, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: task dialog opens slowly and flashes Create task when closed

1 participant