Skip to content
Commit Detail

Commit aa2399e

Author
James M Snell <jsnell@cloudflare.com> 2025-02-11 17:14:12 -0800
Parents
ded1c30
Tree
c9404af
Fixup the streaming tail worker implementation

* Fixes UAF in server.c++ handling
* Simplifies trace-stream implementation
* Ensures that the outcome event is sent in fetch request traces
* Still needs to ensure that outcome is sent in all other types of invocations
* Still needs tests, tests, and more tests.
  * Tests to verify that throwing an error in the tail worker handler works as expected
  * Tests to verify that all of the various ways a worker invocation can complete will appropriately trigger an outcome event
  * Tests to verify that all internal state is cleaned up and not leaked

Files changed