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
|
|
@ -344,7 +344,7 @@ impl AgentServer {
|
|||
if is_self_query && let Some(todos) = local_todos().await {
|
||||
loose_ends.extend(todos);
|
||||
}
|
||||
// Merge local pending reminders (#2635 inc 1 — same self-query-only
|
||||
// Merge local pending reminders — same self-query-only
|
||||
// restriction: a manager asking for a child's loose-ends no longer
|
||||
// sees the child's reminders, matching the todos precedent above).
|
||||
if is_self_query && let Some(reminders) = local_reminders().await {
|
||||
|
|
@ -453,8 +453,8 @@ impl AgentServer {
|
|||
Err(e) => return e,
|
||||
};
|
||||
let kind_label = loose_end_kind_label(kind);
|
||||
// Reminders are harness-local (#2635 inc 1) — dial the in-agent
|
||||
// socket directly instead of the broker; every other kind
|
||||
// Reminders are harness-local — dial the in-agent socket
|
||||
// directly instead of the broker; every other kind
|
||||
// (question/approval) still lives in c0re.
|
||||
if kind == hive_sh4re::CancelLooseEndKind::Reminder {
|
||||
return match dial_agent_socket(&hive_agent_sock::Request::CancelReminder { id })
|
||||
|
|
@ -543,8 +543,8 @@ impl AgentServer {
|
|||
(Some(s), None) => hive_sh4re::ReminderTiming::InSeconds { seconds: s },
|
||||
(None, Some(t)) => hive_sh4re::ReminderTiming::At { unix_timestamp: t },
|
||||
};
|
||||
// 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.
|
||||
match dial_agent_socket(&hive_agent_sock::Request::StoreReminder {
|
||||
message: args.message,
|
||||
timing,
|
||||
|
|
|
|||
|
|
@ -338,8 +338,8 @@ pub(super) async fn local_todos() -> Option<Vec<hive_sh4re::LooseEnd>> {
|
|||
}
|
||||
|
||||
/// Query the harness's in-agent socket for this agent's local pending
|
||||
/// reminders (#2635 inc 1 — was a broker query before reminders moved
|
||||
/// in-container). Same best-effort contract as [`local_todos`].
|
||||
/// reminders — was a broker query before reminders moved in-container.
|
||||
/// Same best-effort contract as [`local_todos`].
|
||||
pub(super) async fn local_reminders() -> Option<Vec<hive_sh4re::LooseEnd>> {
|
||||
match dial_agent_socket(&hive_agent_sock::Request::ListReminders).await? {
|
||||
hive_agent_sock::Response::LooseEnds { loose_ends } => Some(loose_ends),
|
||||
|
|
|
|||
Loading…
Reference in a new issue