)]}'
{
  "commit": "56b2e5e10836f8cb961fce9e9f880ecc6e16923f",
  "tree": "70404857eb4cd2b20d6423bc4bc52ae09e7e8481",
  "parents": [
    "f51d13354644878f706e4f320478d49a6ccd64b1"
  ],
  "author": {
    "name": "Behdad Esfahbod",
    "email": "behdad@behdad.org",
    "time": "Mon Nov 09 22:20:30 2026 -0600"
  },
  "committer": {
    "name": "Behdad Esfahbod",
    "email": "behdad@behdad.org",
    "time": "Mon Nov 09 22:20:30 2026 -0600"
  },
  "message": "[repacker] Only charge node duplication to the graph work budget\n\nCharging every overflow-resolution iteration its V+L against a budget\nof 256 * (V+L) would make a real font that needs more than ~256\niterations fail to repack, though HB_REPACKER_MAX_ITERATIONS (500)\nallows it.  Iterations are already capped, so drop the per-iteration\ncharge and keep only the duplication charge in graph_t::duplicate(),\nwhich bounds the links the graph can grow to (the vertex limit does\nnot).  Each pass\u0027s work is then bounded by the grown graph times the\niteration cap.\n\nThe always_recalculate_extensions retry reuses the same graph, clones\nincluded, so not re-arming the budget there is consistent: it counts\nlinks that are still in the graph.\n\ntest_work_budget still exhausts the budget and expects both\nduplicate() and hb_resolve_graph_overflows() (which must duplicate to\nsucceed) to return LIMIT_EXCEEDED.  Full meson test: 278 OK.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3fcadb28829b061daed5dcded735cc18c6a048bf",
      "old_mode": 33188,
      "old_path": "src/graph/graph.hh",
      "new_id": "7120858c144167437fb490173583e99c9975e6a4",
      "new_mode": 33188,
      "new_path": "src/graph/graph.hh"
    },
    {
      "type": "modify",
      "old_id": "c65457f3253bc203a527235425a6cd9ca616a6ab",
      "old_mode": 33188,
      "old_path": "src/hb-limits.hh",
      "new_id": "7afc2b5602636a5bd1d3d03a630cdaef8e64d2f2",
      "new_mode": 33188,
      "new_path": "src/hb-limits.hh"
    },
    {
      "type": "modify",
      "old_id": "598256ca079f6f828d2cba3f69198137a3578110",
      "old_mode": 33188,
      "old_path": "src/hb-repacker.hh",
      "new_id": "e3eda74d9aca33b20697f8ef2d7b55f5d5420802",
      "new_mode": 33188,
      "new_path": "src/hb-repacker.hh"
    }
  ]
}
