[ ] Event state classes do not all offer the same API.
[ ] It is hard to distinguish between function crawl state and event crawl state. Maybe names should reflect this?
[ ] The only state implementation for function crawling is MockState, and we are implementing our own DB writes outside of the state. We should make a proper FunctionCrawlState class that properly handles writing function crawl data to the database in a single transaction.
[ ] Get rid of state providers and use lower level functions like _fetch_events_chunk.
MockState
, and we are implementing our own DB writes outside of the state. We should make a properFunctionCrawlState
class that properly handles writing function crawl data to the database in a single transaction._fetch_events_chunk
.