• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

swanlake-io / swanlake / 20894335327
72%

Build:
DEFAULT BRANCH: main
Ran 11 Jan 2026 11:27AM UTC
Jobs 1
Files 30
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Jan 2026 11:24AM UTC coverage: 75.918% (-1.4%) from 77.35%
20894335327

push

github

web-flow
Add status server and metrics tracking with live status page (#79)

* Add status server and metrics tracking with live status page

- Add `swanlake-core/src/metrics.rs` for query/update latency, slow query, and error tracking
- Add status HTTP server (`/` and `/status.json`) via Axum in `swanlake-server/src/status.rs`
- Expose metrics and session registry snapshots on the status page
- Add related config options: `SWANLAKE_STATUS_ENABLED`, `SWANLAKE_STATUS_HOST`,
  `SWANLAKE_STATUS_PORT`, `SWANLAKE_METRICS_SLOW_QUERY_THRESHOLD_MS`,
  `SWANLAKE_METRICS_HISTORY_SIZE`
- Update `CONFIGURATION.md` with new status/metrics env vars
- Wire up metrics to query/update handlers and session registry

* Replace status page with new HTML dashboard

- Add `swanlake-server/src/status.html` with a modern, dark-themed status dashboard for live
  metrics, sessions, latency, slow queries, and errors.
- Update `swanlake-server/src/status.rs` to load the HTML from the new file using `include_str!` for
  easier editing and maintenance.

* Add status.json endpoint check to integration tests

* Add status page docs and update status.html with logo and polish

366 of 522 new or added lines in 9 files covered. (70.11%)

19 existing lines in 6 files now uncovered.

2831 of 3729 relevant lines covered (75.92%)

42.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
71.7
1.82% swanlake-core/src/session/registry.rs
9
80.0
swanlake-server/src/status.rs
15
76.7
-6.05% swanlake-core/src/service/handlers/statement.rs
18
76.83
-11.58% swanlake-core/src/service/execute.rs
23
69.57
-7.23% swanlake-core/src/service/handlers/prepared.rs
90
72.22
swanlake-core/src/metrics.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.8
-0.58% swanlake-core/src/engine/connection.rs
1
76.7
-6.05% swanlake-core/src/service/handlers/statement.rs
1
87.06
1.52% swanlake-core/src/session/mod.rs
4
76.83
-11.58% swanlake-core/src/service/execute.rs
4
71.7
1.82% swanlake-core/src/session/registry.rs
8
69.57
-7.23% swanlake-core/src/service/handlers/prepared.rs
Jobs
ID Job ID Ran Files Coverage
1 20894335327.1 11 Jan 2026 11:27AM UTC 30
75.92
GitHub Action Run
Source Files on build 20894335327
  • Tree
  • List 30
  • Changed 9
  • Source Changed 7
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20894335327
  • 1de3cd23 on github
  • Prev Build on main (#20854915405)
  • Next Build on main (#20906631836)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc