- Updates the /test entrypoint for compatibility with convex-test's new
defineTestAppcapability.
- Improve the test entrypoint generics
- Remove the unnecessary react peer dependency and entrypoint
- Enforce a cooldown period whenever the worker starts running, even if the query hasn't returned work for a while. Results in more idle loop iterations.
- Transitions to "running" on ping even when already scheduled due to timeout.
- Fix: Prefer a sooner timeoutMs over a ping's debounceMs when idle.
- Adds a lib:kick function to run if you ever get into a degenerate situation where the worker and monitor are both dead (e.g. you cancel all scheduled functions from the dashboard for this component)
- More graceful handling of monitor execution and backoff for wedged workers.
- Cancels and re-schedules a worker if it's "pending" for over a minute.
- Provide a worker-persisted cursor to make it easier to implement iterating through work using commitTs, which optimizes your queries to skip slow regions of the database full of deleted items.
- Introduces
defineBatchWorkerValidators, deprecates vBatchQueryArgs, vBatchResult, etc. - Requires Convex 1.43+ for v.commitTs() and the new
ctx.runQueryoptions.
- Enfoce a cooldown period whenever the worker starts running, even if the query hasn't returned work for a while. Results in more idle loop iterations.
- More graceful handling of monitor execution and backoff for wedged workers.
- Cancels and re-schedules a worker if it's "pending" for over a minute.
- Removes the heartbeat field (breaking)
- Removes the thick client in favor of a standalone
pingfunction
- Initial release.