)]}'
{
  "commit": "89f04c5b074079b298a3bfa2b0a4622eab3b67c0",
  "tree": "2a9916a2c1dfe03e8c1cb8a97d11133dcbcd5b7f",
  "parents": [
    "dc7046d2530545cfa14ea7340d9fdf74e9f266bb"
  ],
  "author": {
    "name": "twerth CA",
    "email": "twerth@google.com",
    "time": "Fri Aug 28 09:29:38 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Aug 28 09:31:43 2026 -0700"
  },
  "message": "Relocate the sandbox debug suggestion to the build summary.\n\nWhen a sandboxed action failed, AbstractSandboxSpawnRunner directly emitted an Event.info with the --sandbox_debug suggestion. This caused the hint to appear mid-execution right before the compiler\u0027s stderr output, interleaving Bazel advice into the compiler error.\n\nRemove the direct reporter call from AbstractSandboxSpawnRunner and instead print the --sandbox_debug suggestion in BuildResultPrinter at the end of the build alongside --verbose_failures.\n\nBefore:\n```\n  ERROR: /path/to/BUILD:15:11: GoCompilePkg //pkg:go failed: (Exit 1): builder failed: ...\n  Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging\n  pkg/auth.go:6:2: result declared but not used\n  Target //pkg:go failed to build\n  Use --verbose_failures to see the command lines of failed build steps.\n```\n\nAfter:\n```\n  ERROR: /path/to/BUILD:15:11: GoCompilePkg //pkg:go failed: (Exit 1): builder failed: ...\n  pkg/auth.go:6:2: result declared but not used\n  Target //pkg:go failed to build\n  Use --verbose_failures to see the command lines of failed build steps.\n  Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging\n```\n\nPart of https://github.com/bazelbuild/bazel/issues/15820\n\nRELNOTES: None.\nPiperOrigin-RevId: 972632303\nChange-Id: I2ee2517c9262eb3af48d7b27b3621702b8e5c0bc\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cc645fcb493737c80f5bad35a132bdc63a2f4b29",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/buildtool/BUILD",
      "new_id": "90b0ad560ff7ad72edab21ca46899ea8cc246a73",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/buildtool/BUILD"
    },
    {
      "type": "modify",
      "old_id": "9118e9599bc5dc6d7acf8ca0856338a0e1de64a0",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/buildtool/BuildResultPrinter.java",
      "new_id": "12b4fbee29714acdc32f44b55ee4b31bbca16bfa",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/buildtool/BuildResultPrinter.java"
    },
    {
      "type": "modify",
      "old_id": "c69456c21d5c15722d4e734822576950b565d63b",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/sandbox/AbstractSandboxSpawnRunner.java",
      "new_id": "125d355c3430febc2dec8ef341a65e3278cec697",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/sandbox/AbstractSandboxSpawnRunner.java"
    },
    {
      "type": "modify",
      "old_id": "bcd5fadc167d79926ce912ffab7c3d179963795c",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/runtime/UiEventHandlerTest.java",
      "new_id": "291709d163b96e39f9af4b6f633d8ced11adb28a",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/runtime/UiEventHandlerTest.java"
    },
    {
      "type": "modify",
      "old_id": "54b7cb0d09e0dc6329d0125c3907b2de1fe541d8",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunnerTest.java",
      "new_id": "ddc6581177a200275b85fc2ecdd8e178f1f3ae5c",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunnerTest.java"
    }
  ]
}
