Browse documentation
← CLI reference

Command

cscale tests accept

Accept a finding from a saved check without rerunning it. Finds the comparison by ID, or takes --base-commit. Uses the agent by default, or your passkey if passkey confirmation is enabled. Use --json for the record as JSON

CLI 0.2.11

cscale tests accept [OPTIONS] --reason <REASON> <ID>

Examples

Accept a finding already covered by the integration suite and record the reason.

cscale tests accept 0123456789abcdef --reason "Covered by the integration suite."

Accept for a named person and committed comparison.

cscale tests accept 0123456789abcdef --reason "Verified manually." --human-key john --base origin/main --head HEAD --base-commit HEAD~1

Accept the saved finding; this compatibility option does not rerun the check.

cscale tests accept 0123456789abcdef --reason "Verified manually." --isolated

Accept the saved finding and return the record as JSON.

cscale tests accept 0123456789abcdef --reason "Covered by the integration suite." --json

Arguments

IDrequired

The current finding ID from the test check report

Options

--base <BASE>

Trusted target branch; defaults to commitscale.target or origin/HEAD

--base-commit <BASE_COMMIT>

Comparison commit used by the saved check; otherwise find it by ID

--head <HEAD>

Committed head whose finding you are accepting

Default: HEAD

--help

Print help (see a summary with '-h')

--human-key <HUMAN_KEY>

Trusted human key ID or person handle. The protected signer holds the key

--isolated

Compatibility option; acceptance uses the saved result and reruns nothing

Default: false

--json

Print JSON, for agents and scripts

Default: false

--no-browser

Never open a browser: print the page to open instead. Pages that confirm with your passkey, auth login, and web open one

Default: false

Environment: CSCALE_NO_BROWSER

--reason <REASON>

Why this finding is acceptable for the committed change

--server <SERVER>

The Commitscale server, such as https://commitscale.com

Environment: CSCALE_SERVER