)]}'
{
  "commit": "6329cac3a774e8f3bace30e02470784d84704d1b",
  "tree": "2fc34b8664087a84af2cce0379028724d363ade7",
  "parents": [
    "92e78fce7d4fd16c2eef28f88343dc8a524b7287"
  ],
  "author": {
    "name": "Marc Kupietz",
    "email": "kupietz@ids-mannheim.de",
    "time": "Mon Jun 15 16:39:55 2026 +0200"
  },
  "committer": {
    "name": "Marc Kupietz",
    "email": "kupietz@ids-mannheim.de",
    "time": "Mon Jun 15 16:39:55 2026 +0200"
  },
  "message": "Fix false-positive search failures: real timeout + logged-in searches\n\nThe \"has hits\" searches produced false-positive failures in two ways:\n\n- search() relied on Puppeteer\u0027s default 30s navigation timeout, which is\n  independent of KORAP_SEARCH_TIMEOUT, so complex queries on very large\n  corpora timed out at 30s even when the timeout was raised. The caller\n  timeout now flows into waitForNavigation and waitForFunction.\n\n- \"Logout works\" ran before the searches: Mocha executes a suite\u0027s direct\n  it() tests before its nested describe() suites, so the top-level logout\n  test fired first and logged us out, leaving the searches to query the\n  (tiny) public corpus and report 0 hits. Logout is now wrapped in its own\n  suite declared after the searches, so it runs last; the searches\u0027 before\n  hook also asserts a required login actually succeeded.\n\nAdd an optional KORAP_VC env var to restrict the searches to a virtual\ncorpus (passed as cq), keeping complex queries fast enough to finish within\nthe timeout.\n\nCo-Authored-By: Claude Opus 4.8 \u003cnoreply@anthropic.com\u003e\n\nChange-Id: If72a0b9c36700ca1a546acfd4850ee447d586a38\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7af1131c5482df526d60be499f1b8553c4f2a4f1",
      "old_mode": 33188,
      "old_path": "Readme.md",
      "new_id": "20a427c5fbc22ac60084e96a7813f3a8b65d61d5",
      "new_mode": 33188,
      "new_path": "Readme.md"
    },
    {
      "type": "modify",
      "old_id": "0bdf1af1e6a451146eb1ffd126350859f0bc8636",
      "old_mode": 33188,
      "old_path": "lib/korap_rc.js",
      "new_id": "e2d8a15b60ec77a3f424b5c4c95da7cdeaffb2ff",
      "new_mode": 33188,
      "new_path": "lib/korap_rc.js"
    },
    {
      "type": "modify",
      "old_id": "bec14bd43848960fb696404a46357bb9a147cbb2",
      "old_mode": 33188,
      "old_path": "test/korap-ui.js",
      "new_id": "aaf46c17b03008dec7711fc0781f49c576ecd669",
      "new_mode": 33188,
      "new_path": "test/korap-ui.js"
    }
  ]
}
