{
  "id": "cicd/gitlab-runner-artifact-size-limit",
  "signature": "Uploading artifacts to coordinator... too large",
  "signature_zh": "将工件上传到协调器...太大",
  "regex": "Uploading artifacts to coordinator\\.\\.\\. too large",
  "domain": "cicd",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "GitLab Runner failed to upload a job artifact because it exceeds the maximum allowed size configured on the GitLab instance or runner.",
  "root_cause_type": "generic",
  "root_cause_zh": "GitLab Runner 无法上传作业工件，因为其超出了 GitLab 实例或 runner 上配置的最大允许大小。",
  "versions": [
    {
      "version": "GitLab CE 15.0+",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "GitLab Runner 15.0+",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "GitLab EE 15.0+",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Increasing the artifact size limit in the project's CI/CD settings without restarting the runner",
      "why_fails": "The runner's cache or configuration may still enforce the old limit; a runner restart is required for the new limit to take effect.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "Setting the artifact size limit to an extremely high value (e.g., 999999 MB) in the GitLab admin panel",
      "why_fails": "The GitLab instance may have a hard-coded maximum limit (e.g., 1 GB) that cannot be overridden via the admin UI; also, unlimited size can cause disk space issues.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Increase the maximum artifact size in the GitLab admin panel (Admin Area > Settings > CI/CD > Artifacts > Maximum artifacts size (MB)) and restart the runner: `gitlab-runner restart`",
      "success_rate": 0.85,
      "how": "Increase the maximum artifact size in the GitLab admin panel (Admin Area > Settings > CI/CD > Artifacts > Maximum artifacts size (MB)) and restart the runner: `gitlab-runner restart`",
      "condition": "",
      "sources": []
    },
    {
      "action": "Compress the artifact before uploading by adding a job step to tar and gzip the output: `tar -czf output.tar.gz build/ && artifacts: paths: [output.tar.gz]`",
      "success_rate": 0.75,
      "how": "Compress the artifact before uploading by adding a job step to tar and gzip the output: `tar -czf output.tar.gz build/ && artifacts: paths: [output.tar.gz]`",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Increase the maximum artifact size in the GitLab admin panel (Admin Area > Settings > CI/CD > Artifacts > Maximum artifacts size (MB)) and restart the runner: `gitlab-runner restart`",
    "Compress the artifact before uploading by adding a job step to tar and gzip the output: `tar -czf output.tar.gz build/ && artifacts: paths: [output.tar.gz]`"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.gitlab.com/ee/ci/yaml/#artifactsreports",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.85,
  "resolvable": "true",
  "first_seen": "2023-06-15",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}