Skip to main content

Crate actionqueue_daemon

Crate actionqueue_daemon 

Source
Expand description

Daemon utilities and abstractions for the ActionQueue system.

This crate provides the daemon infrastructure for the ActionQueue system, including configuration, bootstrap, HTTP introspection routes, and metrics.

§Overview

The daemon crate provides:

  • config - Deterministic daemon configuration
  • bootstrap - Bootstrap entry point for assembling runtime dependencies
  • time - Authoritative daemon clock abstractions

§Invariant boundaries

All read-only introspection endpoints are enabled by default. Control endpoints require explicit enablement via enable_control in configuration. No mutation authority bypass is introduced.

§Example

use actionqueue_daemon::bootstrap::bootstrap;
use actionqueue_daemon::config::DaemonConfig;

let config = DaemonConfig::default();
let state = bootstrap(config).expect("bootstrap should succeed");

// Use state to start HTTP server at a higher level
// (HTTP server startup is not part of bootstrap)

Modules§

bootstrap
Daemon bootstrap module.
config
Daemon configuration type.
http
HTTP route modules.
metrics
Prometheus metrics surfaces for the daemon.
time
Authoritative daemon time surfaces.