)]}'
{
  "commit": "f007969b37d332b0ccc2bbb5d0ac23275837db62",
  "tree": "5b3e8820a6cb71615db4b52672a38980f1516df1",
  "parents": [
    "96aa415e1f9d7762dbeb2accd8da14ed2878a6eb"
  ],
  "author": {
    "name": "Marc Kupietz",
    "email": "kupietz@ids-mannheim.de",
    "time": "Sun Jun 14 20:25:54 2026 +0200"
  },
  "committer": {
    "name": "Marc Kupietz",
    "email": "kupietz@ids-mannheim.de",
    "time": "Sun Jun 14 20:31:09 2026 +0200"
  },
  "message": "Fix false-positive failures in \"has hits\" search tests\n\nThe search tests sometimes reported failure (and fired notifications) even\nthough the result page showed matches. Two changes:\n\n- The per-search mocha timeout was a hard 20s, shorter than search()\u0027s own\n  internal waits, so a slow total-count computation could trip it before the\n  count was read. The timeout is now configurable via KORAP_SEARCH_TIMEOUT\n  (default 60s).\n\n- search() no longer relies on a fixed 2s sleep. It waits until the result\n  page has settled -- the total is shown, matches are listed, or a \"no\n  matches\" message appears -- and reads the outcome immediately.\n\nNote this slightly relaxes what \"has hits\" verifies: when glimpse/cutoff is\non, Kalamar lists matches without computing a total, so the test now accepts\nthe presence of listed matches as proof of hits rather than requiring a\ncounted total. This keeps the check stable across glimpse states; when\nglimpse is off the exact total is still read and asserted.\n\nCo-Authored-By: Claude Opus 4.8 \u003cnoreply@anthropic.com\u003e\n\nChange-Id: I92f2004ba668722939e3a70e3ab8aa7eae698b4d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d492bbe3892024c37cfbaa38c195dc748d24e2e4",
      "old_mode": 33188,
      "old_path": "Readme.md",
      "new_id": "7af1131c5482df526d60be499f1b8553c4f2a4f1",
      "new_mode": 33188,
      "new_path": "Readme.md"
    },
    {
      "type": "modify",
      "old_id": "158ecbb712db188d1d034f5bf8ff46f99a9b27ee",
      "old_mode": 33188,
      "old_path": "lib/korap_rc.js",
      "new_id": "0bdf1af1e6a451146eb1ffd126350859f0bc8636",
      "new_mode": 33188,
      "new_path": "lib/korap_rc.js"
    },
    {
      "type": "modify",
      "old_id": "621b22f43ba38399e6f07c333e01451eb01b4e58",
      "old_mode": 33188,
      "old_path": "test/korap-ui.js",
      "new_id": "bec14bd43848960fb696404a46357bb9a147cbb2",
      "new_mode": 33188,
      "new_path": "test/korap-ui.js"
    }
  ]
}
