{
  "id": "go/go-sum-missing-entry",
  "signature": "missing go.sum entry for module providing package github.com/foo/bar; to add: go mod download github.com/foo/bar",
  "signature_zh": "缺少提供包 github.com/foo/bar 的模块的 go.sum 条目；要添加：go mod download github.com/foo/bar",
  "regex": "missing\\ go\\.sum\\ entry\\ for\\ module\\ providing\\ package\\ github\\.com/foo/bar;\\ to\\ add:\\ go\\ mod\\ download\\ github\\.com/foo/bar",
  "domain": "go",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "A dependency was added to go.mod but go.sum was not updated, often due to using -mod=mod without tidy.",
  "root_cause_type": "generic",
  "root_cause_zh": "依赖已添加到 go.mod 但 go.sum 未更新，通常因为使用 -mod=mod 而未运行 tidy。",
  "versions": [
    {
      "version": "1.16",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.23",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "This will regenerate all entries but may take time and cause network issues.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The hash must match exactly; a random hash will cause checksum mismatch.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "go mod tidy",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "go mod download github.com/foo/bar",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.88,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-02-25",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}