Originally created by: adityaharishch
Summary
- dev-start.sh: clear
ui/.next cache on each run so stale module references (e.g. deleted instrumentation.ts) don't break beforeDevCommand; add ui/node_modules preflight so the error surfaces clearly; kill stale Meridian Dev.app process before relaunching
- install.sh: add
npm install in ui/ during dev-path setup so ui/node_modules is present when npm run tauri dev runs beforeDevCommand
- src/main.rs: wire
worklog_pipeline::run_loop (calls /worklog_hour hourly) instead of the decommissioned pm_worklog::run_loop (was calling /synthesise_worklog → 404)
- tray/src-tauri/src/commands/health.rs: gate the a11y-helper trust check behind
#[cfg(not(feature = "capture"))] — in-process capture builds don't use the a11y-helper binary, so the banner must never fire
- services/agents/observability.py: add
instrument_agno() and current_traceparent() for W3C traceparent propagation from agno-based pipelines
Test plan
- [ ] Fresh clone →
bash install.sh (dev path) → bash dev-start.sh — no next: No such file or directory error
- [ ] Re-run
bash dev-start.sh — ui/.next is cleared, no stale module error
- [ ] Tauri dev build with
--features capture — health check returns no a11y_helper_trusted field, a11y banner absent
- [ ] MLX server logs — no more
POST /synthesise_worklog 404; /worklog_hour called on the hour instead
Originally posted by: coderabbitai[bot]
✨ Finishing Touches
🧪 Generate unit tests (beta)
- [ ] Create PR with unit tests - [ ] Commit unit tests in branch `fix/dev-env-startup`Comment
@coderabbitai helpto get the list of available commands.Originally posted by: adityaharishch
Fixed the
current_traceparentfinding — now usesTraceContextTextMapPropagator().inject(carrier)instead of hand-rolling the W3C format string, matching the extraction pattern and handling tracestate correctly.Ticket changed by: Akarsh-Hegde