)]}'
{
  "commit": "ba33198847ac7f6962ae040f9ae3e00a7dc474d0",
  "tree": "4cefd0fd196ddbc09a247a901e9721cec9cc7cea",
  "parents": [
    "f020ddb2de58edb0a1f7a1406a89e6d595087576"
  ],
  "author": {
    "name": "racequite",
    "email": "quiterace@gmail.com",
    "time": "Sun Aug 16 23:06:07 2026 +0800"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Wed Aug 19 10:33:32 2026 -0700"
  },
  "message": "cmd/gomobile: clean up work directory after environment errors\n\nbuildEnvInit creates its work directory before calling envInit. If an error occurs afterward, buildEnvInit returns without giving the caller a cleanup function, leaving the directory behind.\n\nDefer cleanupFn and invoke it whenever buildEnvInit returns an error. This covers future error paths and preserves -work behavior because cleanupFn already retains and prints the work directory when requested.\n\nAdd a regression test using an NDK whose compiler is missing.\n\nFixes golang/go#80901\n\nChange-Id: I8557b11364769e95ac37353018b2123f9fc85e74\nReviewed-on: https://go-review.googlesource.com/c/mobile/+/816100\nReviewed-by: David Chase \u003cdrchase@google.com\u003e\nReviewed-by: Hajime Hoshi \u003chajimehoshi@gmail.com\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\nAuto-Submit: Hajime Hoshi \u003chajimehoshi@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b05ad04ea1ac30040862106452baf1a9228033a4",
      "old_mode": 33188,
      "old_path": "cmd/gomobile/env.go",
      "new_id": "3562ad56f75e2eab217d6a724486997c1cdf39e9",
      "new_mode": 33188,
      "new_path": "cmd/gomobile/env.go"
    },
    {
      "type": "modify",
      "old_id": "ad4c040547eb789fdd63d1a3f2b3a39e311919c5",
      "old_mode": 33188,
      "old_path": "cmd/gomobile/env_test.go",
      "new_id": "e23b9f361e43215a59d3b27818f71e602680d945",
      "new_mode": 33188,
      "new_path": "cmd/gomobile/env_test.go"
    }
  ]
}
