Skip to content

fix(runtime): bound and order dashboard events#20

Open
XiaokunDuan wants to merge 4 commits into
chekusu:mainfrom
XiaokunDuan:codex/runtime-audit-dashboard
Open

fix(runtime): bound and order dashboard events#20
XiaokunDuan wants to merge 4 commits into
chekusu:mainfrom
XiaokunDuan:codex/runtime-audit-dashboard

Conversation

@XiaokunDuan

Copy link
Copy Markdown

Replaces closed PR #3, which GitHub cannot reopen because the head branch was force-pushed or recreated.

Addressed the dashboard review comments and pushed the updates to codex/runtime-audit-dashboard.

Changes:

  • /dashboard/data now tails runtime-audit.log instead of reading and parsing the full file on every poll.
  • Dashboard event history is bounded to the latest 100 entries.
  • Event History now merges runtime audit entries and supervisor event-bus entries by timestamp, with stable sequence fallback for entries without parseable timestamps.
  • Added regression tests for audit log tailing, bounded event history, and chronological audit/event-bus merging.

Validation:

  • pnpm -C packages/runtime exec vitest run src/__tests__/supervisor.test.ts
  • pnpm --filter @wanman/runtime build

This should address the long-running dashboard boundedness issue and the unified timeline ordering issue.

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