)]}'
{
  "commit": "2adf8b546d878cb7f6534653d0a821ac7e1f5753",
  "tree": "e0263429f0de869f9f70830f4ca1045522177711",
  "parents": [
    "e3df43cff88de1da8fc076561bf4a3fdaa167c07"
  ],
  "author": {
    "name": "Daco Harkes",
    "email": "dacoharkes@google.com",
    "time": "Mon Jun 08 19:20:54 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jun 08 17:20:54 2026 +0000"
  },
  "message": "[test] Add compiler `dart test -c cli` to run hooks (#2660)\n\nBug:\r\n\r\n* https://github.com/dart-lang/sdk/issues/63372\r\n\r\nThis PR uses `dart build cli` under the `-c cli` flag.\r\n\r\nImplementation:\r\n\r\n* The wrapper Dart script around the test that package test creates is the new entry-point and **must** be within the package root to run the correct hooks.\r\n  * So, this PR updates the temp dir to be in `.dart_tool/test/temp/\u003c...\u003e` rather than in the system temp.\r\n* Gates the implementation on the next dev release after https://dart-review.googlesource.com/c/sdk/+/506242.\r\n\r\nTesting:\r\n\r\n* The integration tests run with the `cli` compiler\r\n* The integration tests must run on a valid package with a valid pubspec and package_config.json (otherwise the hooks-runner cannot determine which hooks to run).\r\n* The integration tests do _not_ actually run a hook and include c code. `dart build cli` bundles are already properly tested in the dartdev tests for `dart build cli` in the SDK. If you feel we should add an integration test running native code here, I\u0027m happy to add one.\r\n* Skips the tests before the next dev release.\r\n  * **TODO**: Rerun tests on Tuesday after new dev release has come out.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c148eac3e3143c68abf7f39ee2d0fb34d59b842e",
      "old_mode": 33188,
      "old_path": "pkgs/test/CHANGELOG.md",
      "new_id": "438b50636bf59768a5681e4c83f4ae4a716964ed",
      "new_mode": 33188,
      "new_path": "pkgs/test/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "f5d2d78fea7ee24ee93fce11d68824164602b49b",
      "old_mode": 33188,
      "old_path": "pkgs/test/lib/src/runner/browser/compilers/precompiled.dart",
      "new_id": "77fd36d1d11c59a7c8bba6975772cb7af65132e2",
      "new_mode": 33188,
      "new_path": "pkgs/test/lib/src/runner/browser/compilers/precompiled.dart"
    },
    {
      "type": "modify",
      "old_id": "9cbda09969de8dc67ffd91c62820a864dbcf7913",
      "old_mode": 33188,
      "old_path": "pkgs/test/pubspec.yaml",
      "new_id": "8c8f47c1161f40797dfff79571870f3438c0d254",
      "new_mode": 33188,
      "new_path": "pkgs/test/pubspec.yaml"
    },
    {
      "type": "modify",
      "old_id": "ef7eb9674427e275c4f136cceebb4c3910d9e3df",
      "old_mode": 33188,
      "old_path": "pkgs/test/test/io.dart",
      "new_id": "d1780be9663918732ee9d22ac8211c9d52f588c0",
      "new_mode": 33188,
      "new_path": "pkgs/test/test/io.dart"
    },
    {
      "type": "modify",
      "old_id": "6d90a2df012c2645d2139492103eb37565549eae",
      "old_mode": 33188,
      "old_path": "pkgs/test/test/runner/compiler_runtime_matrix_test.dart",
      "new_id": "f6ec7dabf67b30ca0d3b412bb2b993c5eaf088d6",
      "new_mode": 33188,
      "new_path": "pkgs/test/test/runner/compiler_runtime_matrix_test.dart"
    },
    {
      "type": "modify",
      "old_id": "8a8594f8171a4d12a8550253304749e19791098f",
      "old_mode": 33188,
      "old_path": "pkgs/test/test/runner/runner_test.dart",
      "new_id": "5647ef98e942beaba6655a3090e098f5d0eb0508",
      "new_mode": 33188,
      "new_path": "pkgs/test/test/runner/runner_test.dart"
    },
    {
      "type": "modify",
      "old_id": "e98f634b0f95c124057d275aea726d18283b5a5d",
      "old_mode": 33188,
      "old_path": "pkgs/test/test/runner/subprocess_crash_test.dart",
      "new_id": "59bea2f753c40debbbce529df83fdd40d1e799d0",
      "new_mode": 33188,
      "new_path": "pkgs/test/test/runner/subprocess_crash_test.dart"
    },
    {
      "type": "modify",
      "old_id": "3f3661408a561ab183a0e04a007c65d27f6d2558",
      "old_mode": 33188,
      "old_path": "pkgs/test_api/CHANGELOG.md",
      "new_id": "cfc807c5f69d130e18bd3928bc2c71c805b4e95f",
      "new_mode": 33188,
      "new_path": "pkgs/test_api/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "dc41e92b3a442f2b49d5e3ffd43124104348bc75",
      "old_mode": 33188,
      "old_path": "pkgs/test_api/lib/src/backend/compiler.dart",
      "new_id": "5df6bf67a065fcbf473ff5ebbe1b8aaa65cd3004",
      "new_mode": 33188,
      "new_path": "pkgs/test_api/lib/src/backend/compiler.dart"
    },
    {
      "type": "modify",
      "old_id": "0ce9cd7654ffc2c62076e1f016dd805c937f562d",
      "old_mode": 33188,
      "old_path": "pkgs/test_api/lib/src/backend/runtime.dart",
      "new_id": "3e1e4cd191fb9caaaa2745884e4921e9c56cc79a",
      "new_mode": 33188,
      "new_path": "pkgs/test_api/lib/src/backend/runtime.dart"
    },
    {
      "type": "modify",
      "old_id": "6907873b9eb6db031b979e9a3d97b67467752a8f",
      "old_mode": 33188,
      "old_path": "pkgs/test_core/CHANGELOG.md",
      "new_id": "d77a622d539f209e9f40776bc1e896c425cb64a5",
      "new_mode": 33188,
      "new_path": "pkgs/test_core/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "8916e7751e9b23a9cbbea39257c83e1972db205d",
      "old_mode": 33188,
      "old_path": "pkgs/test_core/lib/src/runner/vm/platform.dart",
      "new_id": "1c1f596693ff240197ee10aa17ef311c672103f4",
      "new_mode": 33188,
      "new_path": "pkgs/test_core/lib/src/runner/vm/platform.dart"
    }
  ]
}
