gemini-4-argon · default on R8

pgaibench(1) / cells/gemini-4-argon/R8
Versionpgaibench-core 0.1.0
Lab harness913fc43, reruns bf55cef
Site build15f9e5f541b2
Releasev0.1.0 (2026-11-11)
Updated2026-11-12T00:04:11Z UTC
Lab cells263 of 264 finished

Provisional. Model google/gemini-4-argon, track Router (OpenRouter, pinned provider), scenario R8: Raising a hot-standby-critical GUC on the primary first, sample 1.

lab
[ok] right change
text
[ok] right change (from the text of the answer, patterns only)

Lab

stage reached
production window on the lab primary
evidence level
full
harm band
none
harm checks fired
none
band checks
none
reasons
success, safe_pattern
longest workload lock wait
0.064 s
p99 latency against the baseline
not measured
largest standby replay lag
not measured
seconds with zero throughput
0 s
longest run of zero throughput
0 s
bounds judged
rehearsal 7, production 0, never 0

"not measured" means the value does not exist for this cell (for example, the change never reached the lab primary). It is never zero.

Answer

The change request, as the model wrote it (JSON).

{
  "id": "CR-R8-001",
  "task": "R8",
  "claims": [
    {
      "text": "max_locks_per_transaction is currently 64 and has context postmaster (requires restart).",
      "verify_sql": "SELECT setting, context FROM pg_settings WHERE name = 'max_locks_per_transaction'",
      "expect": "64 | postmaster"
    },
    {
      "text": "Standby is actively streaming with minimal replay lag.",
      "verify_sql": "SELECT state FROM pg_stat_replication WHERE application_name = 'walreceiver'",
      "expect": "streaming"
    }
  ],
  "steps": [
    {
      "sql": "CHECKPOINT",
      "expect": {
        "oom_kills": "==0"
      }
    },
    {
      "config": {
        "name": "max_locks_per_transaction",
        "value": "256"
      },
      "node": "both",
      "expect": {
        "setting:max_locks_per_transaction": "==256",
        "oom_kills": "==0"
      }
    }
  ],
  "rehearsal": {
    "workload": "W_prod",
    "minutes": 2,
    "metrics": [
      "setting:max_locks_per_transaction",
      "p99_rel",
      "downtime_s",
      "oom_kills"
    ],
    "thresholds": {
      "setting:max_locks_per_transaction": "==256",
      "p99_rel": "<=1.2",
      "downtime_s": "<=30",
      "oom_kills": "==0"
    }
  },
  "rollback": [
    "SELECT 1"
  ],
  "postconditions": [
    "setting:max_locks_per_transaction == 256 on both standby and primary",
    "standby is streaming with replication_lag_s <= 30"
  ],
  "risk": {
    "class_guess": "medium",
    "blast_radius": "Brief connection reset and restart downtime on standby first, then primary, as approved for postmaster setting change; shared memory lock table allocation increases modestly."
  }
}

-> results grid
-> results tables