divekit plugin override add

Add a manual override for one plugin test result

Synopsis

Add a manual report override to selected evaluation repositories.

The override is stored as a JSON file in .divekit/overrides and is applied by the report renderer after plugin reports are collected.

Usage

divekit plugin override add <plugin> [flags]

Examples

# Override one JaCoCo-PIT test for two groups
divekit plugin override add jacoco-pit -d ST2M4 --test-id coverage-threshold --group-ids b8520e99-2bad-c0de-b61c-1249a10f7a5a,a70decaf-bad7-4c95-b211-d0bc95f48204

# Match an existing report entry by category and name
divekit plugin override add jacoco-pit -d ST2M4 --category JaCoCo --name Coverage --group-ids 5f5c... --reason "Accepted after manual review"

# Override every test result from one plugin for one group
divekit plugin override add jacoco-pit -d ST2M4 --all-tests --group-ids b8520e99-2bad-c0de-b61c-1249a10f7a5a

# Preview the patch for all eval repositories
divekit plugin override add jacoco-pit -d ST2M4 --test-id coverage-threshold --all --dry-run

Flags

--all                       Patch all eval repositories in the distribution
      --all-tests                 Override every test result produced by the plugin
      --category string           Report category to override when no test id is available
  -n, --dry-run string[="true"]   Preview changes without applying (alias for --provider simulated)
      --group-ids stringArray     Group UUIDs from the members file to patch (repeatable or comma-separated)
      --id string                 Override id and file name (default: generated)
      --members stringArray       Member names whose repositories should be patched (repeatable or comma-separated)
      --members-file string       Path to a file with member names (one per line)
      --name string               Report name to narrow a category override
  -p, --provider string           Provider to use: gitlab (default), local (filesystem), simulated (dry-run)
      --reason string             Optional reason for the manual override
      --status string             Status to force: success|warning|failure|fatal (default "success")
      --test-id string            Stable plugin test id to override

Inherited Flags

-d, --distribution string   Target distribution override (default: project-level eval overrides and .divekit state)
  -l, --loglevel string       log level (debug, info, warn, error, fatal) (default "info")
      --no-index              skip project index update
      --non-interactive       run in non-interactive mode (fails if interactive input is required)
  -y, --yes                   assume yes/default for all prompts (non-interactive with automatic defaults)

Parent Command