Files
windmill/frontend
Guilhem LemouelandClaude Opus 5 62720b0912 fix: never merge a write onto the value resolution happened to read
Codex blocked the round on the other half of the previous fix. Reading the cell
first covers an editor that stays open, but the user can also edit, save, and
close the editor while a tool waits — `write_flow` waits on the provider catalog.
Closing releases the cell, so the read fell back to the value captured at dispatch,
which is now older than the row the editor just saved: the write reverted the saved
summary and settings and dropped a staged rename, and it did not even conflict,
because the save had advanced the syncer's timestamp.

`readGlobalDraftValue` no longer consults that value at all — the cell if an editor
holds one, else the backend. Both of its callers merge onto what it returns, so
neither could ever use a value that predates the wait, and the `fresh` flag that
let the deploy opt out of it goes with it: there is nothing left to opt out of.
Only the storage key is reused across the wait now, never the contents.

The cost is one request per write, which is what the captured value was saving. Two
P1s came out of that saving.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-02 06:06:44 -07:00
..
…
…
…
…
…
…
…

Windmill frontend

The Windmill frontend written in Svelte 5 + Tailwind CSS

The frontend is under AGPL, see the LICENSE file at the root of this repo