Files
zooqueen c30b709ce1 Make the tree compile, and the builder tests pass with it
`make gotest` failed at cmd/builder with 16 failures, but only one was about
the builder. The other three could not even build a collector — the tree they
compile has been broken since an incomplete sync left calls without their
definitions.

  confmap/internal/decoder.go called NewExpandedValueSanitizer and
    sanitizeToStr. Both exist under the names they were generated with:
    metadata.ConfmapNewExpandedValueSanitizerFeatureGate, and
    sanitizeExpanded(data, true) — the string arm of the same helper
    sanitize() takes the false arm of, which is what the comment above the
    call describes.

  service/metadata.yaml never declared telemetry.newPipelineTelemetry, so
    mdatagen never generated the gate that 22 call sites use. Declared it as
    the CHANGELOG describes it — alpha, v0.123.0, PR #12217 — and added the
    generated entry, because mdatagen itself does not build (undefined:
    cfggen, still outstanding).

  confmap/xconfmap declared WithForceUnmarshaler twice, byte for byte.

  otelcol wanted xconfmap.WithUnredacted. MarshalOptions.OpaqueUnredacted and
    its hook were both there; only the exported option was missing, in the
    package whose own comment says experimental options go there.

  receivertest called atomic.AddInt64 on an atomic.Int64.

  otelconftelemetry computed metricsHost from the localhost gate and then
    hardcoded ptr("localhost"), so the gate did nothing. The compiler said so:
    declared and not used.

  confighttp used slices.Backward without importing slices.

  multi_batcher's Shutdown still ranged over a sync.Map field the struct no
    longer has; partitions is a typed LRU now, and every other reader takes
    the lock, so this one does too.

  otelconf is v0.23.0, the first release where SDK exposes Resource(), which
    createResource calls.

The one real builder bug: Config's component lists had no omitempty, so
MarshalYAML wrote connectors: null and converters: null for a distribution
that declares neither. Its doc comment already said it omits zero values.

cmd/builder: 2 packages ok, 0 failures. confmap, service, otelcol, confighttp,
exporterhelper and receiver all build.
2026-08-12 19:03:45 -07:00
..