EMRY-015: RunSession + Engine API #13

Closed
opened 2026-06-24 00:20:53 +00:00 by vxfemboy · 1 comment
vxfemboy commented 2026-06-24 00:20:53 +00:00 (Migrated from github.com)

Engine::start / RunHandle

API

  • Engine::start(RunConfig) -> RunHandle
  • emit(&[(MetricId, f64)]) — fast path
  • emit_dynamic(HashMap<String, f64>) — slow path
  • set_phase(Phase), finish()

Acceptance

  • Demo binary writes JSONL from synthetic loop
  • finish() flushes all pending records

Depends on: EMRY-004, EMRY-006, EMRY-010, EMRY-014
Estimate: 10h

## Engine::start / RunHandle ### API - `Engine::start(RunConfig) -> RunHandle` - `emit(&[(MetricId, f64)])` — fast path - `emit_dynamic(HashMap<String, f64>)` — slow path - `set_phase(Phase)`, `finish()` ### Acceptance - [ ] Demo binary writes JSONL from synthetic loop - [ ] `finish()` flushes all pending records **Depends on:** EMRY-004, EMRY-006, EMRY-010, EMRY-014 **Estimate:** 10h
vxfemboy commented 2026-06-25 11:45:45 +00:00 (Migrated from github.com)

Completed and merged in PR #60.

Completed and merged in PR #60.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
femboy/emry#13
No description provided.