Skip to content

fix(apps): count v1 upstream probes against the app's own admission #656

Done

Description

@RentnerKev

Problem

v1 upstream probes from apps are treated as built-in monitoring probes.

  • probeAppProxyUpstream (web/src/server/AppRuntime/hosts.server.ts:484-487) calls inspectControllerDomain(...) without installationId. v2 passes it (web/src/server/AppRuntime/upstream-probes.server.ts:171).
  • Without an installation, Class::of returns Monitoring (core/src/runtime/domain_diagnostics.rs:27-35). A v1 probe takes a permit from the built-in monitoring admission (:180-193) and shares its ActiveChecks key (Monitoring, Proxy, hostId), so a probe in flight makes built-in monitoring of the same host return Busy.
  • diagnostics.upstream.probe.v1 is approvable. The web side limits v1 to 10 probes per minute per installation (hosts.server.ts:461-465), which keeps the impact small.

Proposal

Pass installationId: credentials.identity.installationId in the v1 path, as v2 does.

Acceptance

  • Test: a v1 probe reaches the controller with the installation id and is admitted as Class::App.

Found in the app platform audit of 2026-11-30.

Activity

  1. added
    bug
    area: runtime
    on Nov 30, 2026
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

    area: runtimebug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions