agentplat▸control runs deployments agents metering + agent
← runs

run_39d0fd22a2ba2151

REJECTED retrigger →
tenant-context-test v2 · tenant-context-test-k8s · owner wstuckey@mozilla.com (web-user) · via cli · cloud-engineering

input

{
  "request": "Read backstage to get details about app_code",
  "references": [
    "app_code:merino"
  ]
}

summary

Retrieved tenant context for app_code "merino" via the tenant_context_read tool (backed by the api-adapter capability binding). The tenant is a high-risk, webservices-function tenant owned by workgroups/merino, running in the "merino" namespace with two associated cloud projects for nonprod/prod (moz-fx-merino-nonprod-db57, moz-fx-merino-prod-5de4) plus two entitlement projects (storage-upload-access, telemetry-ent). It manages two Deployments — "merino" and "locust" — each scoped to 1-3 replicas with a restart budget of 2/hour. Source of truth is the global-platform-admin tenants/merino.yaml file. This was a read-only lookup request; no remediation or configuration change is indicated by the data itself.

findings

  • none

proposed actions

no-op / informationalrisk none
tenant:merino
No write action is warranted from this read-only lookup. If further action is needed (e.g., scaling, restart, or workload change on 'merino' or 'locust' Deployments), any such change must stay within the allowed envelope: replicas between 1 and 3, and no more than 2 restarts per hour, and should be executed by/approved by owners in workgroups/merino.

tool calls

[
  {
    "capability": "tenant.context.read",
    "args": {
      "tenant": "merino"
    },
    "result": {
      "tenant": "merino",
      "function": "webservices",
      "risk_level": "high",
      "owners": [
        "workgroups/merino"
      ],
      "namespaces": [
        "merino"
      ],
      "projects": [
        "merino-entitlement-storage-upload-access",
        "merino-entitlement-telemetry-ent",
        "moz-fx-merino-nonprod-db57",
        "moz-fx-merino-prod-5de4"
      ],
      "workloads": {
        "locust": {
          "kind": "Deployment",
          "min_replicas": 1,
          "max_replicas": 3,
          "restart_budget_per_hour": 2
        },
        "merino": {
          "kind": "Deployment",
          "min_replicas": 1,
          "max_replicas": 3,
          "restart_budget_per_hour": 2
        }
      },
      "source": "https://github.com/mozilla/global-platform-admin/blob/main/tenants/merino.yaml"
    }
  }
]

usage

{
  "model": "claude-sonnet-5",
  "input_tokens": 2576,
  "output_tokens": 1271,
  "estimated_cost_usd": 0.026793000000000004
}

approvals

[
  {
    "action_id": "act_222e72d1ba8f2bf8",
    "approver": "web",
    "decision": "rejected",
    "t": 1784829798.7087185
  }
]

log

launched k8s job run-run-39d0fd22a2ba2151 in ns/mzcld-demo-dev image=us-docker.pkg.dev/moz-fx-mzcld-demo-prod/mzcld-demo-prod/agentplat:latest
runner started
live reasoning model=claude-sonnet-5
awaiting approval for 1 action(s)