next.js
bd90b6c5 - [CC] Fix dev validation error from server action bound args (#88600)

Commit
33 days ago
[CC] Fix dev validation error from server action bound args (#88600) In Cache Components, bound args encryption needs to be cached (and tracked with cacheSignal) because it's tasky. We use the serialized bound args themselves as a cache key. However, in dev, the key ends up containing debug info (in particular, timing information) so it's different every time . This causes a cache miss and results in a static shell validation failure. The fix is to use a dummy debug channel to pipe the problematic debug info into the void and thus make the key be deterministic.
Author
Parents
Loading