temporalio / sdk-core

Core Temporal SDK that can be used as a base for language specific Temporal SDKs
MIT License
266 stars 70 forks source link

[Feature Request] Add task validation to activity tasks #794

Closed Sushisource closed 1 month ago

Sushisource commented 1 month ago

Workflow tasks get some basic sanity checks like "have a task token", etc. Activity tasks don't, but probably should, since as we've discovered some users stand up proxies and muck with returned poll tasks and this confuses the worker into thinking it's got a real task instead of an empty poll response.