Troubleshooting¶
Start with make doctor. It reports required-tool, lock, interpreter, dependency, and Docker
problems with the remediation command.
Setup or lock failure¶
uv.lock is stale: runmake lock, inspect the dependency diff, then rerunmake setup..venv is not initializedor dependencies are missing: runmake setupfrom the repository root. The command is non-interactive and uses the committed lock.- unsupported Python: install the version in
.python-version, remove only the project.venv, and rerunmake setup.
A focused test passes but CI fails¶
Run make test to include repository contracts and static validation. Use the CI job name to select
the next local boundary: package failures use make smoke; Collector failures use
make test-docker. CI also runs supported-Python and clean-installed-artifact matrices that a
single source checkout cannot replace.
Source checkout masks a package defect¶
Run make smoke. It builds the candidate, installs it without dependencies in an isolated
environment, changes out of the source tree, and verifies that the base package remains
OpenTelemetry-free and side-effect-free.
Collector validation fails¶
- Run
uv run --frozen python scripts/validate_collector_profiles.py --static-onlyfor a fast repository diagnostic. - Confirm
docker infosucceeds and the immutable images incollector/images.envare available. - Run
make test-docker; inspect.build/collector/native.txtand.build/collector/local-three-signal.txt. - For an advanced profile, run the matching preflight command documented in
collector/README.md.
Runtime or signal delivery fails¶
Use the bounded local diagnostic category, configuration fingerprint, Collector /health, and
Collector self-metrics before inspecting payloads. Follow the scenario-specific runbook in
docs/platform-operations.md. Preserve the privacy floor: reproductions
use synthetic canaries and never production telemetry or credential values.
Documentation or architecture checks fail¶
make docs-check reports the Markdown file, line, and missing relative target or Make command.
make architecture-check reports the source file and forbidden dependency or the exact package
cycle. Fix the declared source of truth rather than suppressing the check.