Skip to content

Features that report success but aren't implemented (streaming delivery, templates, email, CLI/web placeholders) #41

Closed

Description

@CodingAnarchy

Found in the final hardening sweep for #7. In each case a feature looks implemented, or reports success, but does nothing.

Library: critical

  • Event streams never send anything. StreamManager::process_event_batch (src/streaming.rs) prepares the batch, then does // For now, simulate successful processing and updates stats as delivered. It never calls the processor's send_batch. Kafka, Kinesis and Pub/Sub streams silently drop every event while their stats report success. Deliver through the processor, apply the stream's retry policy, and record real per-delivery results in stats.
  • Webhook payload_template is ignored (src/webhooks.rs, // TODO: Implement template rendering): a configured template is skipped and the raw event is sent. Implement rendering (define the template syntax and the available fields, escape safely into JSON), or reject templates at configuration time.
  • Email alert targets do nothing. AlertManager::send_email_alert logs and returns Ok(()). Implement SMTP delivery (e.g. lettre behind the alerting feature, configured host/port/credentials/TLS), or make email targets a configuration error.
  • Pub/Sub health_check always returns true. Check the topic exists and is reachable.

CLI (cargo-hammerwork)

Web dashboard (hammerwork-web)

  • api/stats.rs: hourly trends return mock data; error-pattern last_seen / affected_queues are fabricated.
  • api/spawn.rs: the whole spawn API is a placeholder route.
  • api/queues.rs: two endpoints say "not implemented"/"for now".
  • api/system.rs: memory usage on macOS and metrics fields are placeholders. Implement or report as unavailable rather than inventing values.

Each item gets either a real implementation with tests, or removal/rejection with a clear error and CHANGELOG note. Nothing may silently report success.

Part of #7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions