Add streamed heartbeat/phase logs for long-running EA tasks (and bump version for CI gate)#393
Draft
Copilot wants to merge 4 commits into
Draft
Add streamed heartbeat/phase logs for long-running EA tasks (and bump version for CI gate)#393Copilot wants to merge 4 commits into
Copilot wants to merge 4 commits into
Conversation
Agent-Logs-Url: https://github.com/1mancompany/OneManCompany/sessions/166d7a82-5429-4992-9d68-edabd4bfc17f Co-authored-by: zhengxuyu <20417640+zhengxuyu@users.noreply.github.com>
Agent-Logs-Url: https://github.com/1mancompany/OneManCompany/sessions/166d7a82-5429-4992-9d68-edabd4bfc17f Co-authored-by: zhengxuyu <20417640+zhengxuyu@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Investigate progress log issues during long tasks
Add streamed heartbeat/phase logs for long-running EA tasks
May 13, 2026
Collaborator
|
@copilot ci/cd没过 |
Agent-Logs-Url: https://github.com/1mancompany/OneManCompany/sessions/70f605be-dbd5-4bd4-969b-20af74afa44a Co-authored-by: zhengxuyu <20417640+zhengxuyu@users.noreply.github.com>
Contributor
Author
已定位并修复:CI 失败点是版本门禁(PR version 必须大于 main)。我已把 |
Copilot
AI
changed the title
Add streamed heartbeat/phase logs for long-running EA tasks
Add streamed heartbeat/phase logs for long-running EA tasks (and bump version for CI gate)
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
run_streamed()only emitted logs on discrete stream events (LLM/tool boundaries), so no liveness signal was produced during quiet intervals. Separately, PR version equaledorigin/main(0.7.77), failing the CI version bump check.What Changed
heartbeatlog events during stream silence windows.planning,waiting_for_llm,processing_response,tool_calling) plus elapsed/idle timing and last tool-call timestamp/name.0.7.77to0.7.78to satisfy CI’s PR>main version requirement.Key Design Decisions
on_loglayer as existing task logs to avoid transport/protocol changes.type+content), while adding structured fields for richer UI use.Files Changed (annotated)
src/onemancompany/agents/base.pyrun_streamed(), phase tracking, and last tool-call metadata in heartbeat payload.frontend/xterm-log.jsbeat) for real-time liveness visibility in trace/log panel.tests/unit/agents/test_base.pypyproject.toml0.7.77to0.7.78for CI version gate.package.json0.7.77to0.7.78to keep versions aligned.Type
Review Checklist
Phase 1 — Bug Hunt
Phase 2 — Design Principles (docs/design-principles.md)
except: pass; errors logged,CancelledErrorre-raisednode.status = ...assignmentPhase 3 — Side Effects
Test Plan
.venv/bin/python -m pytest tests/unit/ -x).venv/bin/python -c "from onemancompany.api.routes import router; print('OK')")node -c frontend/app.js)Manual Test Steps
0.7.78> main.Screenshots