)]}'
{
  "commit": "db3eef0dd4a31842fccbf9268aad89a397c9f2f2",
  "tree": "59ef15f63acbb83b57acf51818c390811e5c3fe9",
  "parents": [
    "ae631b9fffa2e47b7b8e0caa5effdc574472cfdd"
  ],
  "author": {
    "name": "Till Adam",
    "email": "till.adam@kdab.com",
    "time": "Fri Jul 24 19:33:23 2026 +0200"
  },
  "committer": {
    "name": "Till Adam",
    "email": "till.adam@kdab.com",
    "time": "Fri Jul 24 19:33:23 2026 +0200"
  },
  "message": "fix: attach db on worker threads in parallel analysis-stats inference\n\nThe next-generation trait solver stores the `HirDatabase` in a\nthread-local, set via `hir::attach_db`. `analysis-stats` attaches it\nonce on the main thread, but the `--parallel` inference path runs\n`InferenceResult::of` on rayon worker threads that never attach it, so\nevery parallel run panicked with \"Try to use attached db, but not db is\nattached\" at `next_solver/interner.rs`. Wrap the per-body inference in\n`hir::attach_db` so each worker has the database attached.\n\nClaude-Session: https://claude.ai/code/session_01RVkhEnTji2EUTKbwmQtJYR\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "87790ce2bca17c1c40fc84cf0876c65098e9fd09",
      "old_mode": 33188,
      "old_path": "crates/rust-analyzer/src/cli/analysis_stats.rs",
      "new_id": "79016921bfaaad45cb481785c57767f890439ad2",
      "new_mode": 33188,
      "new_path": "crates/rust-analyzer/src/cli/analysis_stats.rs"
    }
  ]
}
