Skip to content

[codex] align mvp dashboard with backend for main update#8

Merged
argahsuknesib merged 13 commits intomainfrom
codex/mvp-audit-fixes
Apr 7, 2026
Merged

[codex] align mvp dashboard with backend for main update#8
argahsuknesib merged 13 commits intomainfrom
codex/mvp-audit-fixes

Conversation

@argahsuknesib
Copy link
Copy Markdown
Collaborator

Summary

  • align the dashboard stop action with the backend DELETE route
  • fix the Svelte textarea event typing so janus-dashboard passes type checks
  • revalidate the mvp branch as the candidate branch to merge into main

Why

The mvp branch is the current demo branch and is ahead of main with the HTTP API/dashboard stack, but it still had a small API mismatch and a frontend type-check failure.

Validation

  • cargo check --all-targets
  • cargo test --lib --tests
  • cd janus-dashboard && npm run check
  • cd janus-dashboard && npm run build

Notes

  • I could not run a localhost server smoke test in this sandbox because port binding is blocked here.
  • GitHub CLI auth on this machine may need refreshing if PR creation fails.

Introduce src/api/janus_api.rs with QueryResult, QueryHandle, JanusApi,
execution status and error types. Replace the old query_registration
export with the new janus_api module and remove the deprecated file.

Enhance QueryRegistry with register/get/unregister/add_subscriber/
increment_execution_count/list_all/clear/get_statistics helpers and add
RegistryStatistics to support query lifecycle management.
Features:
- HTTP server with REST API for historical queries and live stream registration
- WebSocket real-time streaming for continuous query results
- Janus Dashboard (Svelte) for visualizing live and historical data
- Dictionary encoding with persistent storage
- MQTT integration for IoT sensor data ingestion
- JanusQL parser with time-window support (RANGE, LOGICAL, PHYSICAL)
- Streaming segment storage with sparse/dense indexing
- Stream Bus CLI for debugging and testing
- Comprehensive documentation in docs/ directory

This MVP provides a working unified Live and Historical RDF Stream Processing engine
with a user-friendly dashboard interface.
@argahsuknesib argahsuknesib marked this pull request as ready for review April 7, 2026 14:36
@argahsuknesib argahsuknesib merged commit 9e7af44 into main Apr 7, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant