)]}'
{
  "commit": "e17418d6b9f853deb6b36059780476672ae4750d",
  "tree": "eb15c55cee29f8941ba5901cfc81f5b0f38f02a7",
  "parents": [
    "d3322a58097595a2e9a3ba2f3982133f665e4145"
  ],
  "author": {
    "name": "philter",
    "email": "hello@rive.app",
    "time": "Wed May 13 04:08:31 2026 +0000"
  },
  "committer": {
    "name": "philter",
    "email": "hello@rive.app",
    "time": "Wed May 13 04:08:31 2026 +0000"
  },
  "message": "chore: Guard from calling markNeedsUpdate in update (#12525) fab85a4fd5\nIncreasingly, users (or the agent) have been known to call markNeedsUpdate from within update in scripts. This results not only in the update cycle recursing until the max number is hit, but more seriously, memory usage can grow very quickly when this is the case, ultimately leading to the system running out of memory. This PR:\n\nAdds a guard to prevent markNeedsUpdate from adding dirt when called during the update cycle\nAdds some instructions for the agent and comments in the documentation to make it clear to avoid this scenario.\n\nCo-authored-by: Philip Chung \u003cphilterdesign@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ed50efbc78b806348597ded33fd4a7c7ae8058ab",
      "old_mode": 33188,
      "old_path": ".rive_head",
      "new_id": "667c9841d04aefc892459c409e81a0435db3f0ff",
      "new_mode": 33188,
      "new_path": ".rive_head"
    },
    {
      "type": "modify",
      "old_id": "196574f4227699407b48ea242a6139db8dea7924",
      "old_mode": 33188,
      "old_path": "include/rive/scripted/scripted_object.hpp",
      "new_id": "b7c31bbebaea72fb6eeacc64530b4c467ee3ecb3",
      "new_mode": 33188,
      "new_path": "include/rive/scripted/scripted_object.hpp"
    },
    {
      "type": "modify",
      "old_id": "f5f81914547c4da7483d0b46820a3f0446b3cf1f",
      "old_mode": 33188,
      "old_path": "src/scripted/scripted_drawable.cpp",
      "new_id": "99ce32bfdfe39c6f3ef562ee73290da77e0a2456",
      "new_mode": 33188,
      "new_path": "src/scripted/scripted_drawable.cpp"
    },
    {
      "type": "modify",
      "old_id": "b70cd87fd57fb94a669afc568f486b340f0f0193",
      "old_mode": 33188,
      "old_path": "src/scripted/scripted_object.cpp",
      "new_id": "2664d59487a5f130b8efd6b89d560a2f5b624642",
      "new_mode": 33188,
      "new_path": "src/scripted/scripted_object.cpp"
    },
    {
      "type": "modify",
      "old_id": "8f880b4edd8a0e9ebba31fabe33ef6507e2c70dd",
      "old_mode": 33188,
      "old_path": "src/scripted/scripted_path_effect.cpp",
      "new_id": "e3390b9a1cca799b5fa0bedc80a800c992a7325a",
      "new_mode": 33188,
      "new_path": "src/scripted/scripted_path_effect.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f092c6ddcdadde27d3fbc2c2c9d388ed088e6403",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/runtime/scripting/scripting_update_phase_guard_test.cpp"
    }
  ]
}
