coder

package
v1.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RootCommand

func RootCommand() *cobra.Command

func ValidateNewErrors added in v1.0.23

func ValidateNewErrors(baseline, current mesherr.InfoAll, baselineNext, currentNext int, out io.Writer) error

ValidateNewErrors rejects newly introduced integer error codes that are not backed by a legitimate local allocation.

Precondition: baseline must be the analysis of current's merge-base (the commit this branch forked from), NOT the current tip of the base branch. The allocation-counter checks (R2, R4) assume baseline is an ancestor of current; if baseline's own next_error_code has advanced past current's (e.g. because the base branch's post-merge allocation bot ran on unrelated PRs after this branch diverged), R2 reports a false counter regression. Callers wiring this into CI must construct baseline from the PR's merge-base, not from the base branch's tip at CI-run time.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL