{
  "slug": "sentry-cli-bundle-jvm-collects-jvm-sources-from-project-roots-d6c44ec0ee25",
  "title": "sentry-cli bundle-jvm collects JVM sources from project roots",
  "tools": [
    "sentry-cli"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-20T12:14:59.000Z",
  "announced_at": "2026-04-20T12:14:59.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When bundling JVM sources from a project root, run `sentry-cli debug-files bundle-jvm` with the required input directory, output directory, and debug UUID; repeat `--exclude` for custom glob patterns. The v3.4.0 source also collects extensions beyond those listed in the release note, so the supported extension set is not fully documented here.",
    "examples": [
      "sentry-cli debug-files bundle-jvm <project-root> --output <output-dir> --debug-id <UUID> --exclude '<glob-pattern>'"
    ],
    "gotchas": [
      "Version: 3.4.0",
      "PATH (required): Directory containing source files to bundle.",
      "--output PATH (required): Output folder; command writes a ZIP named with the debug UUID.",
      "--debug-id UUID (required): Debug ID used for the source bundle.",
      "--exclude PATTERN: Glob pattern for files/directories to exclude; can be repeated.",
      "Prerequisite: Use sentry-cli version 3.4.0 or later for the project-root collection and `--exclude` changes.",
      "Prerequisite: The input path must exist and be a directory.",
      "Automatic collection is limited to JVM source files with the listed extensions.",
      "The collection respects `.gitignore` and excludes common build output directories.",
      "Docs conflict: The release note lists `.java`, `.kt`, `.scala`, and `.groovy`; the v3.4.0 source's extension list additionally includes `.sc`, `.gvy`, `.gy`, `.gsh`, `.clj`, and `.cljc`. This difference is not used to override the release note."
    ]
  },
  "why_it_matters": "Bundle JVM sources from a project root, including a multi-module repository, while excluding files or directories that match custom glob patterns.",
  "before": "Do not run `bundle-jvm` directly on a project root.",
  "sources": [
    "https://github.com/getsentry/sentry-cli/releases/tag/3.4.0",
    "https://raw.githubusercontent.com/getsentry/sentry-cli/3.4.0/src/commands/debug_files/bundle_jvm.rs"
  ],
  "rank": 0.97025,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "ghtools-20261008",
    "verdict_id": "ghtools-20261008:ghtools-20261008-07f474f572ba9525-1:gate",
    "evidence_hash": "b6ef1d403b9df98371744571d336a0d69a868c7bb3835b696c207af68f3ec4cf"
  },
  "review": {
    "draft_hash": "01dbfa85064de8c331cfe6fdaaea543af5370104a10943e6d9f5f473a34730d7",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "ghtools-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
