Troubleshooting#
Use this page as a fast diagnosis map.
Symptom: no diagnostics are visible#
Check:
ensure_configured(PACKAGE_ROOT)is called on import._smonitor.pyexists in package root with exact name.handlers are active (
smonitor.report()and manager state).
Symptom: warning message has no template/hint#
Check:
emitted
codeexists in active catalog,message fields (
user_message,dev_message, etc.) exist,placeholders required by template are in
extra.
Symptom: strict signals fail in QA#
Check:
signal source matches the expected contract key,
all
extra_requiredfields are present,test profile enables the intended strict mode.
Symptom: duplicate messages#
Check:
custom logging handlers are not re-emitting same event,
warnings capture and logging capture are not duplicated manually.
Symptom: bundle has no events#
Check:
event_buffer_sizeis greater than 0,events are emitted after configuration,
export command points to the same runtime context.
Symptom: users see overly technical output#
Check:
default profile in
_smonitor.pyisuser,dev/debug overrides are not leaking into user runtime.
If still blocked#
Prepare a minimal reproducer with:
package
_smonitor.py,one decorated function,
one catalog code,
one failing call.
Then compare against: