)]}'
{
  "commit": "da20e38428cd6fd2c112692a1db8b9032bb7e4c2",
  "tree": "c8ca9cfe6d3a7216746e28093f9d2de70218808a",
  "parents": [
    "945b53417148093af5ac2785766f7ba3bd37875d"
  ],
  "author": {
    "name": "Fabian Meumertzheim",
    "email": "fabian@meumertzhe.im",
    "time": "Tue Nov 24 01:50:53 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Nov 24 01:52:15 2026 -0800"
  },
  "message": "Check module extension lockfile entries on the extension\u0027s worker thread (#32889)\n\n### Description\n\n`SingleExtensionEvalFunction` now runs entirely on the worker thread that previously only ran the extension\u0027s implementation function (moved from `RegularRunnableExtension.run`). Before, the lockfile check ran on the Skyframe thread. Every restart, e.g. between batches of recorded inputs, reloaded the extension and checked all previous batches again, which recomputes the digests of all files watched in them. Repository rules already check their marker files on their worker thread.\n\n### Motivation\n\nA module extension that watches many files, e.g. one manifest per crate, spends most of the time it takes to check its lockfile entry hashing these files. Skyframe restarts shouldn\u0027t multiply that work.\n\n### Build API Changes\n\nNo\n\n### Release Notes\n\nRELNOTES: None\n\nCloses #32889\n\nCOPYBARA_INTEGRATE_REVIEW\u003dhttps://github.com/bazelbuild/bazel/pull/32889 from fmeum:extension-lockfile-check-in-worker 8f039b13ef6283fef31f8ad6e077c87a58a8f95d\nPiperOrigin-RevId: 1028853349\nChange-Id: I9d85bc17475750026f0a4fa64accedf82542a9bd\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1a6c7487273a2093d425b1f629719b9bc3b32f55",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/RegularRunnableExtension.java",
      "new_id": "623b433f9d395d6e1a29d0c352a70a1c0d9dc87d",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/RegularRunnableExtension.java"
    },
    {
      "type": "modify",
      "old_id": "b13241099ed94211cd34ecfc659b7e7be9977a71",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/RunnableExtension.java",
      "new_id": "29e1773205db0a1c92bd61e923bfb4c622f43dc7",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/RunnableExtension.java"
    },
    {
      "type": "modify",
      "old_id": "710b96846dff1c5031602437755ef3465a88d260",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/SingleExtensionEvalFunction.java",
      "new_id": "c90fedc4db17e133ad9b32aef367eb47ebc541ba",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/bazel/bzlmod/SingleExtensionEvalFunction.java"
    }
  ]
}
