)]}'
{
  "commit": "bb8c13048fe7f7c58141e9c64500a00e876bc9f5",
  "tree": "452c48382cd43e1dd91a4e7af0be3d212fc0e22c",
  "parents": [
    "f61a40e7f19d2ac3b459aedb216721bb8224209e"
  ],
  "author": {
    "name": "Niels Lohmann",
    "email": "mail@nlohmann.me",
    "time": "Tue Jul 21 07:27:08 2026 +0000"
  },
  "committer": {
    "name": "Niels Lohmann",
    "email": "mail@nlohmann.me",
    "time": "Tue Aug 04 08:58:31 2026 +0200"
  },
  "message": "Avoid deep recursion in serialization write-buffer test\n\nThe \"many small structural writes exceed the write buffer\" subcase built\na 1100-deep nested array and dumped it to force \u003e1024 consecutive\nsingle-character writes through put_char (exercising the write buffer\u0027s\nflush-when-full branch). dump() recurses per nesting level, so on MSVC\ndebug builds (smaller default stack, larger frames) this overflowed the\nstack and crashed test-serialization; Linux/macOS have enough headroom to\nhide it.\n\nReplace the nesting with a flat array of 500 empty strings. Each element\nemits \u0027\"\u0027, \u0027\"\u0027, \u0027,\u0027 via put_char, so the dump is a long run of\nsingle-character writes (1501 bytes \u003e the 1024-byte buffer) at nesting\ndepth two, hitting the same flush branch without deep recursion. Library\ncode is unchanged.\n\nCo-Authored-By: Claude Opus 4.8 \u003cnoreply@anthropic.com\u003e\nClaude-Session: https://claude.ai/code/session_01XAYM1qhSA2FDaDcGfPW3fG\nSigned-off-by: Niels Lohmann \u003cmail@nlohmann.me\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "983782dcf9ffa75703a30fc144760a474340693f",
      "old_mode": 33188,
      "old_path": "tests/src/unit-serialization.cpp",
      "new_id": "1d34e8002aa1a646ac07b1b02e4f1bb6fe9f1ab6",
      "new_mode": 33188,
      "new_path": "tests/src/unit-serialization.cpp"
    }
  ]
}
