Describe the bug
When awaiting a Promise.all inside a $derived I can see the await_waterfall warning. I'm possibly misunderstanding the warning but I don't think it should warn about it.
The warning can be seen in the REPL console upon first load.
In my project I was also getting await_reactivity_loss from the same code that produced this warning which actually had an impact on the app. I haven't been able to reproduce that in a REPL but they're possibly related
Reproduction
https://svelte.dev/playground/7150c39aa545498bba86de0a18506707?version=5.55.1
Logs
[svelte] await_waterfall
An async derived, `broken` (App.svelte:29:16) was not read immediately after it resolved. This often indicates an unnecessary waterfall, which can slow down your app
https://svelte.dev/e/await_waterfall
System Info
System:
OS: Linux 6.18 cpe:/o:nixos:nixos:26.05 26.05 (Yarara)
CPU: (16) x64 13th Gen Intel(R) Core(TM) i5-13400F
Memory: 32.52 GB / 62.65 GB
Container: Yes
Shell: 5.3.9 - /run/current-system/sw/bin/bash
Binaries:
Node: 24.13.0 - /nix/store/9cyx2v23dip6p9q98384k9v06c96qskb-nodejs-24.13.0/bin/node
npm: 11.6.2 - /nix/store/9cyx2v23dip6p9q98384k9v06c96qskb-nodejs-24.13.0/bin/npm
pnpm: 10.28.0 - /nix/store/q182xhmnqzff17cdg90hcp44ljgvqqr7-pnpm-10.28.0/bin/pnpm
bun: 1.3.10 - /etc/profiles/per-user/alex/bin/bun
Browsers:
Chrome: 146.0.7680.153
Firefox: 149.0
Firefox Developer Edition: 149.0
Severity
annoyance
Describe the bug
When awaiting a Promise.all inside a $derived I can see the await_waterfall warning. I'm possibly misunderstanding the warning but I don't think it should warn about it.
The warning can be seen in the REPL console upon first load.
In my project I was also getting await_reactivity_loss from the same code that produced this warning which actually had an impact on the app. I haven't been able to reproduce that in a REPL but they're possibly related
Reproduction
https://svelte.dev/playground/7150c39aa545498bba86de0a18506707?version=5.55.1
Logs
System Info
System: OS: Linux 6.18 cpe:/o:nixos:nixos:26.05 26.05 (Yarara) CPU: (16) x64 13th Gen Intel(R) Core(TM) i5-13400F Memory: 32.52 GB / 62.65 GB Container: Yes Shell: 5.3.9 - /run/current-system/sw/bin/bash Binaries: Node: 24.13.0 - /nix/store/9cyx2v23dip6p9q98384k9v06c96qskb-nodejs-24.13.0/bin/node npm: 11.6.2 - /nix/store/9cyx2v23dip6p9q98384k9v06c96qskb-nodejs-24.13.0/bin/npm pnpm: 10.28.0 - /nix/store/q182xhmnqzff17cdg90hcp44ljgvqqr7-pnpm-10.28.0/bin/pnpm bun: 1.3.10 - /etc/profiles/per-user/alex/bin/bun Browsers: Chrome: 146.0.7680.153 Firefox: 149.0 Firefox Developer Edition: 149.0Severity
annoyance