mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-25 07:05:57 +03:00
[PR #83] [MERGED] fix(events): isolate events per run to prevent stale event pollution #125
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ralph-orchestrator#125
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mikeyobrien/ralph-orchestrator/pull/83
Author: @mikeyobrien
Created: 1/21/2026
Status: ✅ Merged
Merged: 1/21/2026
Merged by: @mikeyobrien
Base:
main← Head:fix/run-isolated-events-82📝 Commits (4)
a59e369fix(events): isolate events per run to prevent stale event pollution99db23etest(events): add e2e integration tests for event isolation143186ffeat(cli): renameresumesubcommand to--continueflag900c153feat(events): auto-detect current run events file inralph events📊 Changes
10 files changed (+1285 additions, -93 deletions)
View changed files
📝
crates/ralph-cli/src/main.rs(+77 -31)➕
crates/ralph-cli/tests/integration_events_isolation.rs(+638 -0)📝
crates/ralph-cli/tests/integration_resume.rs(+72 -52)📝
crates/ralph-core/src/event_logger.rs(+3 -3)📝
crates/ralph-core/src/event_loop.rs(+6 -1)📝
crates/ralph-core/src/event_reader.rs(+2 -2)📝
crates/ralph-core/tests/event_loop_ralph.rs(+4 -4)➕
tasks/event-isolation-e2e-tests.code-task.md(+173 -0)➕
tasks/rename-resume-to-continue-flag.code-task.md(+150 -0)➕
tasks/run-isolated-events-file.code-task.md(+160 -0)📄 Description
Summary
ralph runnow writes to a unique timestamped events file (.agent/events-{timestamp}.jsonl), preventing stale events from previous runs from polluting the TUIresume→--continue: Theresumesubcommand is now a--continueflag on theruncommand for cleaner CLI ergonomicsralph eventsnow automatically finds the most recent events file for the current run, no manual path neededTest Plan
integration_events_isolation.rs)--continueflagcargo test)ralph run, check.agent/for timestamped events fileralph eventsand confirm it shows current run's events🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.