)]}'
{
  "commit": "c6fe85ef0e39ab74949fc5e41cb8254019ba5e44",
  "tree": "d81133bea2499e8a33b1e9483dd70bba7a3fb1b3",
  "parents": [
    "9c2a6ef82d44c307b214eb4d762da100ce962701"
  ],
  "author": {
    "name": "Alex Zani",
    "email": "azani@google.com",
    "time": "Tue Nov 17 17:31:05 2026 -0800"
  },
  "committer": {
    "name": "fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Nov 17 17:31:05 2026 -0800"
  },
  "message": "[config_change_validator] Match registry objects by ID\n\nCompareRegistries, CompareCustomers, and CompareMetrics built their\nlookup maps using CustomerName, ProjectName, and ReportName as keys,\nwhereas CompareProjects already keyed metrics by Id. Renaming an\nexisting customer, project, or report while keeping its numeric ID\nskipped compatibility checks (such as CompareReports on a renamed\nreport), while reusing a deleted name on a new ID compared unrelated\nobjects.\n\nSwitch CompareRegistries, CompareCustomers, and CompareMetrics to key by\nCustomerId, ProjectId, and Id while preserving both the name and numeric\nID in error messages. In addition:\n\n- Require newly deleted customers to be listed in deleted_customer_ids\n  (noting that customers whose projects were all deleted must also be\n  removed from the YAML), and reject changes that drop previously\n  recorded IDs from deleted_customer_ids, deleted_project_ids,\n  deleted_metric_ids, or deleted_report_ids.\n- Run CompareCustomers and CompareProjects against empty baselines for\n  newly added customers and projects so also_log_locally is rejected\n  with full customer and project context.\n\nTested: ./cobaltb.py build-test --tests\u003dgo \u0026\u0026 ./cobaltb.py lint\nBug: 517992654\nChange-Id: I5eff72e054ed56b50621c0f3ab2c849a96aaa1d7\nReviewed-on: https://fuchsia-review.googlesource.com/c/cobalt/+/1945389\nCommit-Queue: Alex Zani \u003cazani@google.com\u003e\nReviewed-by: Kiet Tran \u003ckiettran@google.com\u003e\nLint: android-build-ayeaye@system.gserviceaccount.com \u003candroid-build-ayeaye@system.gserviceaccount.com\u003e\nFuchsia-Auto-Submit: Alex Zani \u003cazani@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eeacbb07c9e4e8f3b17a1605056dbad77472662b",
      "old_mode": 33188,
      "old_path": "src/bin/config_change_validator/src/BUILD.gn",
      "new_id": "83ead3145e09ef9869336668c9ddd6924d380911",
      "new_mode": 33188,
      "new_path": "src/bin/config_change_validator/src/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "4d47f9b03b6552a61202627afb4ee4709bcaa007",
      "old_mode": 33188,
      "old_path": "src/bin/config_change_validator/src/validator/customers.go",
      "new_id": "b389232b4439c69b17d5a38ff124535f8f87ab8c",
      "new_mode": 33188,
      "new_path": "src/bin/config_change_validator/src/validator/customers.go"
    },
    {
      "type": "modify",
      "old_id": "bf9700681f3e5bb11201d770e47227870cb60fe2",
      "old_mode": 33188,
      "old_path": "src/bin/config_change_validator/src/validator/customers_test.go",
      "new_id": "27cb06be150c675a8696e0cfc098105b342bb5b2",
      "new_mode": 33188,
      "new_path": "src/bin/config_change_validator/src/validator/customers_test.go"
    },
    {
      "type": "modify",
      "old_id": "f8c365227f05be15a60419ba146583f285e92376",
      "old_mode": 33188,
      "old_path": "src/bin/config_change_validator/src/validator/metrics.go",
      "new_id": "c162896d112a937404a0a804cf19dea3eac73a43",
      "new_mode": 33188,
      "new_path": "src/bin/config_change_validator/src/validator/metrics.go"
    },
    {
      "type": "modify",
      "old_id": "338bcd8fbe9ef88639d19aeba059aac7743e0079",
      "old_mode": 33188,
      "old_path": "src/bin/config_change_validator/src/validator/metrics_test.go",
      "new_id": "1e0c400aa9b29e1d78030be9081827f9636ea0c1",
      "new_mode": 33188,
      "new_path": "src/bin/config_change_validator/src/validator/metrics_test.go"
    },
    {
      "type": "modify",
      "old_id": "46c7d88d470ebfc92d2975871da5b5ed9dcbd3cf",
      "old_mode": 33188,
      "old_path": "src/bin/config_change_validator/src/validator/projects.go",
      "new_id": "0db2abf772e781470f4fff26524f703d6850c957",
      "new_mode": 33188,
      "new_path": "src/bin/config_change_validator/src/validator/projects.go"
    },
    {
      "type": "modify",
      "old_id": "5fed7453e186094629b6d84dbc1da45ebbef6a86",
      "old_mode": 33188,
      "old_path": "src/bin/config_change_validator/src/validator/projects_test.go",
      "new_id": "978f85cb803b1a7a7c125cbcfc0962a07af833ea",
      "new_mode": 33188,
      "new_path": "src/bin/config_change_validator/src/validator/projects_test.go"
    },
    {
      "type": "modify",
      "old_id": "f1a456cf8c41d2c8dcc17e8e75b6fc243b998fc8",
      "old_mode": 33188,
      "old_path": "src/bin/config_change_validator/src/validator/registries.go",
      "new_id": "31fdb1fa6480709f8db01e613c4e056cde9e7b04",
      "new_mode": 33188,
      "new_path": "src/bin/config_change_validator/src/validator/registries.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fa2005abe425d9f1e28bf81ebba10b68223352f0",
      "new_mode": 33188,
      "new_path": "src/bin/config_change_validator/src/validator/registries_test.go"
    }
  ]
}
