)]}'
{
  "commit": "133827012c58f4d980af3f893b18faaa08656c8b",
  "tree": "f31b22dff1c71928a90fe3558df9dd9a78c69fd4",
  "parents": [
    "36db46e5a9ad59c6ec44e82dc92778319e8fe5b3"
  ],
  "author": {
    "name": "Dmitri Shuralyov",
    "email": "dmitshur@golang.org",
    "time": "Thu Aug 29 11:43:19 2024 -0400"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Tue Sep 03 22:38:05 2024 +0000"
  },
  "message": "internal/task: don\u0027t introduce toolchain directive in tagging workflow\n\nThe golang.org/x repo tagging/updating workflow will inadvertently add\na \u0027toolchain go1.23.0\u0027 directive in a few modules in its next upcoming\nrun. This is because we use the latest Go toolchain to generate go.mod\nfile changes, and default behavior of the go command:\n\n\u003e For repeatability, any command that updates the go line also updates\n\u003e the toolchain line to record its own toolchain name.\n\nHowever, right now we want to keep the toolchain directive at go1.22.0\nor so, to avoid module authors from needing to remove it if trying to\nuse an older (but still supported) version of the Go toolchain. Also\nsee the rationale at https://go.dev/design/69095-x-repo-continuous-go#why-not-bump-the-toolchain-lines-too.\n\nModify the tagging/updating workflow to check if a toolchain directive\nwasn\u0027t already there (the common case at this time), and drop it at the\nend if so.\n\nFor golang/go#48523.\n\nChange-Id: I9f2fb5b02e61fcdeed0ba43bbcc9fb69a1f1efb9\nReviewed-on: https://go-review.googlesource.com/c/build/+/609396\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\nReviewed-by: Michael Pratt \u003cmpratt@google.com\u003e\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nAuto-Submit: Dmitri Shuralyov \u003cdmitshur@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f07e528b2320588db307dc6971545faac3147eb4",
      "old_mode": 33188,
      "old_path": "internal/task/tagx.go",
      "new_id": "54ffe5efdb2397eeccda09b2c9dc84f50222ac87",
      "new_mode": 33188,
      "new_path": "internal/task/tagx.go"
    },
    {
      "type": "modify",
      "old_id": "c08448373f25b1c0fc12591f7816220d55f5fd0e",
      "old_mode": 33188,
      "old_path": "internal/task/tagx_test.go",
      "new_id": "3817910629ffc6f9ec04fd07a88cf717cb07da61",
      "new_mode": 33188,
      "new_path": "internal/task/tagx_test.go"
    }
  ]
}
