{
  "slug": "supabase-compute-builds-accept-exclude-patterns-63548ac41d91",
  "title": "supabase compute builds accept exclude patterns",
  "tools": [
    "supabase"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-25T13:23:43.000Z",
  "announced_at": "2026-09-25T13:23:43.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When excluding repository files from a Supabase Compute build, add an `exclude` string list under `[compute.<name>]` in `supabase/config.toml`; `supabase compute push <name>` omits matching paths from the uploaded build context.",
    "examples": [
      "[compute.<name>]\nexclude = [\".env\", \"node_modules/\", \"*.log\"]",
      "supabase compute push <name>"
    ],
    "gotchas": [
      "Version: 2.118.0",
      "[compute.<name>].exclude: List of string patterns for paths to omit from the build context. Patterns use `.gitignore`-style matching; re-inclusion (`!`) and malformed or empty patterns are refused."
    ]
  },
  "why_it_matters": "Exclude files from compute build contexts in a repository.",
  "sources": [
    "https://github.com/supabase/cli/releases/tag/v2.118.0",
    "https://github.com/supabase/cli/pull/6658"
  ],
  "rank": 0.95034,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3-rejudge+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "gap-20261007",
    "verdict_id": "gap-20261007:gap-20261007-5dcd06d4c733db20-6:rescue",
    "evidence_hash": "7f8470960837124e1bb1436a19d23ab314fb3cb2215bdddac273757f5d8c8fd3"
  },
  "review": {
    "draft_hash": "8ff3bb5a858b75e7ba397121f3542d5742659366476f8c31567e0e75a04fb80e",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "gap-20261007:rescue",
    "reason": "Rescue path: first rejected only because the extracted card lacked usage; judged again on the enriched card, 3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
