Fixed
list_queues()(theListQueuesadmin trait) silently returned an emptystatslist for any queue with no completed jobs: the per-queueAVG_JOB_DURATION_MINSaggregate is SQLNULLin that state, which serialized to a JSONnullthat cannot decode intoapalis_core::Statistic, failing the wholeVec<Statistic>decode and dropping every stat for the queue. Thequeue_statsCTE nowCOALESCEs null stat values to"0", so a queue with jobs always reports its full stat set.
Changed
- The unscoped
lock_taskno longer lists "or in another queue" in itsTaskNotFoundhint: that entry point does not filter byjob_type, so a task in another queue is locked rather than reported missing.lock_task_in_queuekeeps the queue-aware hint.
Documentation
- Every public
Result-returning function now carries an# Errorssection. MIGRATIONSand theschemamodule are documented; the crate enables#![warn(missing_docs)]and#![warn(rustdoc::broken_intra_doc_links)].- README links to
examples/*andCONTRIBUTING.mdare now absolute GitHub URLs (relative links 404 on docs.rs); added an MSRV note (Rust 1.88). Cargo.tomlgained[package.metadata.docs.rs]so docs.rs documents thentexpath alongsidetokio.CONTRIBUTING.mdno longer lists--no-default-featurescheck/test commands (building without a runtime feature is an intentionalcompile_error!).
Full changelog: v0.4.0...v0.4.1