)]}'
{
  "commit": "5ddb5172f9d5e3843de9c45d5d659f4fa38812df",
  "tree": "50a30507a5d09952b1674f79c8298a69b00d42f7",
  "parents": [
    "5d946afda8236b6f3fe555d772b9333f148c5995"
  ],
  "author": {
    "name": "Sitaktif",
    "email": "rchossart@apple.com",
    "time": "Tue May 26 17:47:17 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue May 26 18:47:17 2026 +0200"
  },
  "message": "Set direct nogo attribute to prevent building nogo for the wrong platform when multiple exec platforms are set (#4611)\n\n**What type of PR is this?**\n\nBug fix\n\n**What does this PR do? Why is it needed?**\n\nThis PR fixes an issue whereby, when two or more exec platforms are set\n(via `--host_platform` and/or `--extra_execution_platforms`), it was\npossible for Nogo to be build for one exec platform A, but be executed\non exec platform B, leading to an \"exec format error\" / \"cannot execute\nbinary file\" error when the action is run.\n\nThis PR moves the nogo dep directly to the relevant rules instead of via\n`go_context_data`, removing the possibility for a discrepancy for the\ntwo exec configs.\n\n**Which issues(s) does this PR fix?**\n\nFixes #4571\n\n**Other notes for review**\n\nI wasn\u0027t sure about the handling of \"legacy host mode\" mentioned in the\ncomments so I added a test that covers the case... if that\u0027s what the\ncomments meant by \"host mode\". Please someone check whether that\u0027s\nactually testing that (and/or if we still care about host mode).",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "91a187ba368f4fd5addeac6ac8c56fc7093cf85a",
      "old_mode": 33188,
      "old_path": "BUILD.bazel",
      "new_id": "7bbefa9ec9871f775b5e4c0b9917f430f3b35a6b",
      "new_mode": 33188,
      "new_path": "BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "ed66414443e67856dbd720a85bc109e838225734",
      "old_mode": 33188,
      "old_path": "go/private/BUILD.bazel",
      "new_id": "abe5c365757d457ddc8932318239680498c4931d",
      "new_mode": 33188,
      "new_path": "go/private/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "d23f0c65572542f0df6a2563182a3fced9e353d5",
      "old_mode": 33188,
      "old_path": "go/private/context.bzl",
      "new_id": "049b8ec03144af51669bd09324e9ecaeef0607fc",
      "new_mode": 33188,
      "new_path": "go/private/context.bzl"
    },
    {
      "type": "modify",
      "old_id": "082b4e56c6ad34124114268862bae7a803f86e6b",
      "old_mode": 33188,
      "old_path": "go/private/rules/binary.bzl",
      "new_id": "3bea859737996d0a10155869ea4d9a0d135e0d4b",
      "new_mode": 33188,
      "new_path": "go/private/rules/binary.bzl"
    },
    {
      "type": "modify",
      "old_id": "f89a55e93c522d1deeefb0b329ae8847c7dd2d6d",
      "old_mode": 33188,
      "old_path": "go/private/rules/library.bzl",
      "new_id": "1b9bfeb5f5d3650c8d2c0ce4dde5b0d9f255609f",
      "new_mode": 33188,
      "new_path": "go/private/rules/library.bzl"
    },
    {
      "type": "modify",
      "old_id": "0f86f2f6030f9ef69002a6409d3049883bf1b18f",
      "old_mode": 33188,
      "old_path": "go/private/rules/nogo.bzl",
      "new_id": "8c9437c32b1405cf34e7385c57fae28dc661952a",
      "new_mode": 33188,
      "new_path": "go/private/rules/nogo.bzl"
    },
    {
      "type": "modify",
      "old_id": "1eb732d5d8984bf6b7a5aedc03296ba6d6cf1461",
      "old_mode": 33188,
      "old_path": "go/private/rules/test.bzl",
      "new_id": "f767bf89bfc0b612972221d74aed892a9860e706",
      "new_mode": 33188,
      "new_path": "go/private/rules/test.bzl"
    },
    {
      "type": "modify",
      "old_id": "c0b2e2aa01e47e5cdc12bdc96a015d76fcbfa2be",
      "old_mode": 33188,
      "old_path": "go/private/rules/transition.bzl",
      "new_id": "809ede69d8ffd8dd460b3a3103044b4196acf179",
      "new_mode": 33188,
      "new_path": "go/private/rules/transition.bzl"
    },
    {
      "type": "modify",
      "old_id": "513d188ddb7be446b7e9c79bea12303c24ba11e4",
      "old_mode": 33188,
      "old_path": "proto/def.bzl",
      "new_id": "da4cf45ce17e9f13dba2f2cba8df8d603b19fcdf",
      "new_mode": 33188,
      "new_path": "proto/def.bzl"
    }
  ]
}
