strip issue-tag comments from #2635 inc1 commits per hive-rules
This commit is contained in:
parent
e11e8294a3
commit
dcb2b79715
9 changed files with 26 additions and 26 deletions
|
|
@ -332,8 +332,8 @@ impl Surface for AgentSurface {
|
|||
Ok(Response::LooseEnds { loose_ends }) => u64::try_from(loose_ends.len()).ok(),
|
||||
_ => None,
|
||||
};
|
||||
// Reminders are harness-local (#2635 inc 1) — dial the in-agent
|
||||
// socket directly instead of the broker.
|
||||
// Reminders are harness-local — dial the in-agent socket directly
|
||||
// instead of the broker.
|
||||
let reminders =
|
||||
match todo_server::dial(&hive_agent_sock::Request::CountPendingReminders).await {
|
||||
Some(hive_agent_sock::Response::PendingRemindersCount { count }) => Some(count),
|
||||
|
|
@ -458,7 +458,7 @@ async fn serve_main<S: Surface>(socket: &Path, poll_ms: u64) -> Result<()> {
|
|||
tracing::error!(error = %e, "web_ui::serve exited with error");
|
||||
}
|
||||
});
|
||||
// Harness-local reminders (#2635 increment 1): a due reminder fires
|
||||
// Harness-local reminders: a due reminder fires
|
||||
// straight into an mpsc channel the serve loop races against the
|
||||
// broker long-poll (unlike todos, a fire carries real per-row data,
|
||||
// so a bare `Notify` doesn't fit — see `reminder_timer` docs).
|
||||
|
|
@ -476,8 +476,8 @@ async fn serve_main<S: Surface>(socket: &Path, poll_ms: u64) -> Result<()> {
|
|||
}
|
||||
};
|
||||
tokio::spawn(reminder_timer::run(reminder_store.clone(), reminder_tx));
|
||||
// In-agent todo socket (loose-ends v2 + #2635 reminders): the harness
|
||||
// owns the todo + reminder stores locally and serves the
|
||||
// In-agent todo socket (loose-ends v2 + harness-local reminders): the
|
||||
// harness owns the todo + reminder stores locally and serves the
|
||||
// in-container producers on `HIVE_AGENT_SOCKET`. A new/changed todo
|
||||
// upsert fires `todo_wake` so the serve loop drives a turn directly —
|
||||
// no broker round-trip, no marker files. Best-effort: if the todos
|
||||
|
|
|
|||
Loading…
Reference in a new issue