Watch
0
0
Fork
You've already forked hyperhive
0

remove what no longer has a reader: build-log store, dashboard sent/delivered events, graph resource dep

This commit is contained in:
atlas 2026-11-13 10:08:19 +01:00 • committed by mara
commit 49266e4410

View file

@ -266,9 +266,8 @@ fn fmt_dur(secs: i64) -> String {
/// One animated node line: kind, an `(after …)` marker for a fan-in node
/// (>1 node-dependency), and a truncated error tail.
/// Resource deps (`GraphDep::Resource`) don't name another node, so they're
/// filtered out of the fan-in count the same way `hive-c0re`'s own
/// `dag_view` projection already does.
/// Only node deps count toward the fan-in: an edge of unknown kind (see
/// `GraphDep::Unknown`) names no node.
fn node_line(nodes: &[GraphNode], n: &GraphNode) -> String {
use std::fmt::Write as _;
let mut s = n.payload.label.clone();
@ -277,7 +276,7 @@ fn node_line(nodes: &[GraphNode], n: &GraphNode) -> String {
.iter()
.filter_map(|d| match d {
GraphDep::Node { id, .. } => Some(*id),
GraphDep::Resource { .. } => None,
GraphDep::Unknown => None,
})
.collect();
if dep_ids.len() > 1 {