bypass workers with cookie

Is there any way to bypass workers using a cookie?

For example in the case that something catastrophic is wrong with a worker I'd like to set a cookie and just send traffic directly to the origin.
Was this page helpful?