)]}'
{
  "commit": "dfbdf8164ca607b3fa7be562bb1205f59bc2a731",
  "tree": "bba25c1b59b9501c4c0ca17f3d83cf5cb7d5f10d",
  "parents": [
    "f35edf848bf0f2b9cf411833c60f72cc49915487"
  ],
  "author": {
    "name": "Zvonimir Pavlinovic",
    "email": "zpavlinovic@google.com",
    "time": "Mon Jun 17 19:05:56 2024 +0000"
  },
  "committer": {
    "name": "Zvonimir Pavlinovic",
    "email": "zpavlinovic@google.com",
    "time": "Mon Jun 24 15:52:52 2024 +0000"
  },
  "message": "cmd/govulncheck/integration: make expectation check more robust\n\nWhen checking test expectations (packages of called vulnerabilities), we\nwould use equality. Given that a requirement of integration checking is\nto query the Go vulnerability database, the expectations need to change\nfrom time to time. With the new support for UNREVIEWED, this is\nhappening more and more.\n\nTo address this, the CL here checks that the expected packages are a\nsubset of what is detected with govulncheck. This will make the test\nmore robust. The list of expected packages is anyhow long, so the\ncoverage is good and we are still testing against the same live db.\n\nChange-Id: I49f73dc2094686253ae222bbe92144f87b2637a5\nReviewed-on: https://go-review.googlesource.com/c/vuln/+/593155\nReviewed-by: Maceo Thompson \u003cmaceothompson@google.com\u003e\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f061cf50c6b7ed98f8c5650d50a8fa7bb9c17494",
      "old_mode": 33188,
      "old_path": "cmd/govulncheck/integration/internal/integration/test.go",
      "new_id": "685754a074af3a63286e54b8377a7634078ca1c3",
      "new_mode": 33188,
      "new_path": "cmd/govulncheck/integration/internal/integration/test.go"
    },
    {
      "type": "modify",
      "old_id": "7b2207e8e0ca9e0ee2df46e29c4a22da388ad0cb",
      "old_mode": 33188,
      "old_path": "cmd/govulncheck/integration/k8s/k8s.go",
      "new_id": "f4cd3becb165a03e3ff9a6696de8e26d064c5b61",
      "new_mode": 33188,
      "new_path": "cmd/govulncheck/integration/k8s/k8s.go"
    },
    {
      "type": "modify",
      "old_id": "ff2079d8c94778b6150b3e581a21e571c0efbc10",
      "old_mode": 33188,
      "old_path": "cmd/govulncheck/integration/stackrox-scanner/scanner.go",
      "new_id": "a42dacc0c4a8cdaea6d12eb5fa163296d2b86dbf",
      "new_mode": 33188,
      "new_path": "cmd/govulncheck/integration/stackrox-scanner/scanner.go"
    }
  ]
}
