SMonitor for Contributors#
DepDigest uses SMonitor as its diagnostics layer. This is not optional for internal diagnostics behavior.
What is mandatory#
Emit diagnostics through catalog entries, not hardcoded strings.
Keep template wiring aligned with the catalog single source of truth.
Do not silence emission failures with empty
exceptblocks.Use
@signalon orchestration paths where traceability matters.
Canonical local guide:
Files you should know#
depdigest/_smonitor.pydepdigest/_private/smonitor/catalog.pydepdigest/_private/smonitor/meta.py
Exception level policy#
Some dependency checks intentionally explore unavailable states. In those paths, exception_level="DEBUG" is expected to avoid noisy error telemetry for normal branching.
When changing diagnostics#
Before merging, verify:
new catalog entries have coherent templates and metadata;
links in diagnostics point to valid docs/issues locations;
fallback behavior preserves context if emission fails.