)]}'
{
  "commit": "81b32605b2987697145c41b3fb59ca91a5b6e5a1",
  "tree": "596cc9f843d989168d4a92ad02e1652664998cf6",
  "parents": [
    "c2b3648f9274af4aa59f138b6ec4d63be5cda548"
  ],
  "author": {
    "name": "Richard Levasseur",
    "email": "richardlev@gmail.com",
    "time": "Thu Aug 06 20:24:50 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Aug 07 03:24:50 2026 +0000"
  },
  "message": "build: add static type checking for runfiles with rules_pyrefly (#4009)\n\nEnable static type verification for the runfiles library using the\nrules_pyrefly ruleset.\n\nTo ensure hermetic type safety across Bazel runfiles utilities, this\nconfigures rules_pyrefly\u0027s Bzlmod dev toolchain, tags the runfiles\ntarget with `tags \u003d [\"pyrefly\"]`, and enables global aspect evaluation\nin .bazelrc via\n`--aspects\u003d//tests/support/pyrefly:pyrefly.bzl%pyrefly_aspect`.\n\nTo support WORKSPACE mode builds without breaking dependency resolution,\na no-op stub repository for rules_pyrefly is defined under\ntests/modules/rules_pyrefly_stub and registered in\ninternal_dev_deps.bzl.\nUnder Bzlmod, the aspect performs static type checking on tagged\ntargets,\nwhile under WORKSPACE mode, the stub aspect evaluates cleanly as a\nno-op.",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e8cb7794fb3baffbf7d9b09f50c63af5f5923dff",
      "new_mode": 33188,
      "new_path": ".agents/rules/no_gh_auth_token_in_cmdline.md"
    },
    {
      "type": "modify",
      "old_id": "044990fdb1bd0883a068c4873f0b5aa240076239",
      "old_mode": 33188,
      "old_path": ".bazelrc",
      "new_id": "90f3bc8fdbd24443d4705a1d0c6ab76e04a4cab1",
      "new_mode": 33188,
      "new_path": ".bazelrc"
    },
    {
      "type": "modify",
      "old_id": "9c4745c178852a7bf5b9b54c4188f26e13db16a1",
      "old_mode": 33188,
      "old_path": ".bazelrc.deleted_packages",
      "new_id": "da79f110585924071e72ae3f6aac05601c5e9cbd",
      "new_mode": 33188,
      "new_path": ".bazelrc.deleted_packages"
    },
    {
      "type": "modify",
      "old_id": "1c2042152e9fbddfe0c6adcc790c60bb566cd8e1",
      "old_mode": 33188,
      "old_path": "MODULE.bazel",
      "new_id": "027277ab6444a0be470b450def512be69f8b6532",
      "new_mode": 33188,
      "new_path": "MODULE.bazel"
    },
    {
      "type": "modify",
      "old_id": "7ab47172363a6ab1d5b8400fcb96540a9c069ed4",
      "old_mode": 33188,
      "old_path": "internal_dev_deps.bzl",
      "new_id": "6d4d7656b7ce94c3a08229d7e6f0ea80bd740992",
      "new_mode": 33188,
      "new_path": "internal_dev_deps.bzl"
    },
    {
      "type": "modify",
      "old_id": "73663472dc9ee8a71b8c946910b34463929b4e53",
      "old_mode": 33188,
      "old_path": "python/runfiles/BUILD.bazel",
      "new_id": "4e119eddbe0deb2466362304e913df90832e7ee2",
      "new_mode": 33188,
      "new_path": "python/runfiles/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "16afeea47c46d8747885f76309d188af23120562",
      "old_mode": 33188,
      "old_path": "python/runfiles/runfiles.py",
      "new_id": "6fe2e8f28b7252492eb515be792f996c0f359d9c",
      "new_mode": 33188,
      "new_path": "python/runfiles/runfiles.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "48a0b3083d639f8ceec62143ea84bcdf7a104b42",
      "new_mode": 33188,
      "new_path": "tests/modules/rules_pyrefly_stub/WORKSPACE"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2f14f71b3b0619f1a8fd27966ab39f280e5b5247",
      "new_mode": 33188,
      "new_path": "tests/modules/rules_pyrefly_stub/pyrefly/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fc1a44ed3114268a10631b1c8bf5fd6608e65092",
      "new_mode": 33188,
      "new_path": "tests/modules/rules_pyrefly_stub/pyrefly/pyrefly.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "447af06f8ff63ebee8e8df45a2bad263bb2f0282",
      "new_mode": 33188,
      "new_path": "tests/support/pyrefly/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bcb791403fa2bac2ffe31ac2094e3d592907748f",
      "new_mode": 33188,
      "new_path": "tests/support/pyrefly/pyrefly.bzl"
    }
  ]
}
