Module codeowners

Module codeowners 

Source
Expand description

2026-09-26: Who owns a changed path, per .github/CODEOWNERS, for the telemetry table.

Owner: bench gate. Invariants:

  • A pattern is_supported refuses (**, ?, [, ], \) matches no path, so an unsupported rule names nobody rather than the wrong owner.
  • No gate verdict reads these owners; only telemetry.rs calls this module.

every_pattern_in_the_real_file_is_supported fails if the committed file uses a pattern this does not implement.

Structs§

Rule
2026-09-26: One CODEOWNERS rule, in file order.

Functions§

is_supported
2026-09-26: Whether this module implements pattern: false for **, ?, character classes and \ escapes, none of which the committed CODEOWNERS uses (every_pattern_in_the_real_file_is_supported).
load
2026-09-26: Parse .github/CODEOWNERS; a missing or unreadable file yields no rules.
owners_for_paths
2026-09-26: Every owner of any of paths, deduplicated and sorted.
owners_of
2026-09-26: Owners of path from the last matching rule, or empty when nothing matches, so a specific rule placed after a broad one overrides it.
parse