You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(apps): count v1 upstream probes against the app's own admission #656
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.
Activity