build-cran-binaries/.crow
Repository files (latest commit first)
Filename Latest commit message Latest commit date
pat-s b93d1ef6bd
All checks were successful
ci/crow/cron/process-updates/1 Pipeline was successful
chore: silence otelsdk warnings across build paths (#105)
## Summary

Silences the recurring `OpenTelemetry error: there is no package called 'otelsdk'` warnings during builds.

## Root cause

The `build-env-*` images configure an OTel exporter (traces/logs/metrics), but `otelsdk` (the R OTel SDK backend) isn't installed. pak's `otel` instrumentation therefore tries to load `otelsdk` on every run and logs the error, falling back to a no-op.

`OTEL_SDK_DISABLED=true` (already set in `build-one.Dockerfile`) does **not** help — the R `otel` package ignores it and gates purely on `OTEL_R_<SIGNAL>_EXPORTER` (then the standard `OTEL_<SIGNAL>_EXPORTER`). When that resolves to a real exporter (`otlp`/`http`/…) with no SDK present, you get the error.

## Fix

Set `OTEL_R_TRACES_EXPORTER`, `OTEL_R_LOGS_EXPORTER`, and `OTEL_R_METRICS_EXPORTER` to `none` so the R otel providers are clean no-ops:

- `docker/build-one.Dockerfile` — exported alongside the existing OTel var.
- `.crow/process-updates.yaml`, `weekly-rebuild-missing.yaml`, `build-all-versions.yaml`, `build-all-versions-install-deps.yaml` — added to each step's `environment` block.

Using the R-specific variables (not the standard `OTEL_*_EXPORTER`) keeps OTel intact for any non-R tooling in the images.

Reviewed-on: #105
2026-06-30 12:41:32 +00:00
..
archive-missed-packages.yaml chore: 4.4.0 instead of 4.3.1 2026-06-30 14:07:22 +02:00
build-all-versions-install-deps.yaml chore: silence otelsdk warnings across build paths (#105) 2026-06-30 12:41:32 +00:00
build-all-versions.yaml chore: silence otelsdk warnings across build paths (#105) 2026-06-30 12:41:32 +00:00
process-updates.yaml chore: silence otelsdk warnings across build paths (#105) 2026-06-30 12:41:32 +00:00
weekly-audit-missing.yaml refactor(ci): route workflows by agent group label instead of named agent (#94) 2026-06-17 16:26:04 +00:00
weekly-rebuild-missing.yaml chore: silence otelsdk warnings across build paths (#105) 2026-06-30 12:41:32 +00:00