Skip to content

Design: converge OTEL_EXPORTER_OTLP_ENDPOINT onto frozen runner hosts #1617

Description

@DefeatMan

Problem

/etc/boxlite/runner.env in prod holds an empty OTEL_EXPORTER_OTLP_ENDPOINT, and runner/main.go:58,80 skip OTel init on an empty one: no logs, no traces.

The boot script that wrote it is in ignoreChanges and the instance is protect: true, so no deploy reaches it. unitEnvironmentBlock, the only channel that does, pins BOXLITE_API_URL alone.

Approach

Site Change
runner-upgrade.ts otlpUrl, validated and pinned
gcp/runners.ts $resolve beside apiUrl
aws/runners.ts payload, triggers
src/runner-update.ts unchanged

Absent omits the key. Empty is refused: converging onto it enforces the bug.

Alternatives

Option Why not
Replace hosts protect forbids; destroys boxes
Hand-repair Not the class
Second policy Restarts a host twice

Validation

The rendered enforce, under bash, against the prod file shape. Reverted: still empty. Restored: passes. Plus make test:apps:infra.

Activity

  1. DefeatMan commented on Sep 28, 2026

    @DefeatMan
    CollaboratorAuthor

    TL;DR

    PR #1739 was split, so the size exception recorded here earlier is withdrawn.

    Details

    #1739 carries the zone and #1619 the runner endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions