Module telemetry

Module telemetry 

Source
Expand description

2026-09-26: The open-PR telemetry comment: which kernel targets each PR re-opens, which targets more than one open PR re-opens, a recommended merge order, and promotion-candidate debt.

render reads only its PrFacts and the tree (the kernel taxonomy and CODEOWNERS); the pr-telemetry workflow collects the facts from GitHub and posts the body. The comment is advisory: render returns only text.

Owner: bench gate. Invariants:

  • A PR with paths_unknown is counted at the widest reach, every target and every promotion candidate, and render lists such PRs (through order::cap_prs) in a warning before the tables.
  • The body always starts with MARKER_START and ends with MARKER_END and a newline.

Re-exports§

pub use order::CHART_PR_BOUND;
pub use order::merge_order;

Modules§

order
2026-09-26: The recommended merge order, the mermaid gitGraph that draws it (main as a line, each PR a branch merged back in order), and the “Recommended next steps” list.

Structs§

PrFacts
2026-09-26: What the workflow collects about one open or merged PR.
PrView
2026-09-26: One PR’s derived position in the kernel taxonomy.

Constants§

MARKER_END
MARKER_START
2026-09-26: The markers around the body. The workflow’s publish job finds its previous comment by MARKER_START and replaces it (.github/workflows/pr-telemetry.yml, marker:).

Functions§

collisions
2026-09-26: Targets that more than one unmerged PR re-opens, with those PRs’ numbers.
render
2026-09-26: The comment body, markers included.
views
2026-09-26: Derive every PR’s view from its facts, the kernel taxonomy and CODEOWNERS.