)]}'
{
  "commit": "e0e26ff6afa701b471b8ae38d5949d5b94b9f2ef",
  "tree": "c0cfc35e77c0e816fc2e85ff469efc76b21e4b3b",
  "parents": [
    "e2660c68ec467dfdd9045f2eb78a24441414257b"
  ],
  "author": {
    "name": "racequite",
    "email": "quiterace@gmail.com",
    "time": "Sun Aug 16 17:29:52 2026 +0800"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Tue Sep 01 11:07:46 2026 -0700"
  },
  "message": "cmd/screentest: reject negative retrypixels values\n\nBoth the global -retrypixels flag and the per-test retrypixels directive\naccepted negative values. The comparison later converted the configured\nint to uint64, so -1 became math.MaxUint64 and made every same-sized\ndifference retryable.\n\nReject negative values at both input paths, document the constraint, and\nadd regression tests.\n\nFixes golang/go#80898\n\nChange-Id: I876acc9a3aec69ff07d34105fe8d703ed30b2da0\nReviewed-on: https://go-review.googlesource.com/c/website/+/816040\nAuto-Submit: Jonathan Amsterdam \u003cjba@google.com\u003e\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.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@golang.org\u003e\nReviewed-by: David Chase \u003cdrchase@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "158ab58afdaee87c26bdba9930c924f64270b1ad",
      "old_mode": 33188,
      "old_path": "cmd/screentest/main.go",
      "new_id": "0277f4d6145c4f01c073ed067f65f821aaa70ca8",
      "new_mode": 33188,
      "new_path": "cmd/screentest/main.go"
    },
    {
      "type": "modify",
      "old_id": "ada5ccfacc42f45ee1a21c033a4a33c4b14fe273",
      "old_mode": 33188,
      "old_path": "cmd/screentest/screentest.go",
      "new_id": "f2dcd4d1b323156bb88a790d9027ed3c4668855d",
      "new_mode": 33188,
      "new_path": "cmd/screentest/screentest.go"
    },
    {
      "type": "modify",
      "old_id": "000fa14bb516b48c5e22c941e4709ebdf0ba8436",
      "old_mode": 33188,
      "old_path": "cmd/screentest/screentest_test.go",
      "new_id": "a389a26ba5ff484fbbc5ae41c4fe181027a2cbe0",
      "new_mode": 33188,
      "new_path": "cmd/screentest/screentest_test.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "97008278b0a84cb14d8603d974e72a43b9a951cf",
      "new_mode": 33188,
      "new_path": "cmd/screentest/testdata/readtests-negative-retrypixels.txt"
    }
  ]
}
