Documentation
¶
Overview ¶
Package observability implements the `da observability` command subtree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deps ¶
Deps carries build metadata and global output flags from package commands. Runtime collaborators have production defaults and are replaced only by same-package tests.
type SyncReport ¶
type SyncReport struct {
Accepted int `json:"accepted"`
Deduped int `json:"deduped"`
Retained int `json:"retained"`
Quarantined int `json:"quarantined"`
Pruned int `json:"pruned,omitempty"`
Skipped int `json:"skipped,omitempty"`
Errors []string `json:"errors,omitempty"`
}
SyncReport is the stable result returned to explicit and best-effort callers.
func PublishBestEffort ¶
PublishBestEffort drains due outbox entries for workflow-hook callers. It deliberately returns only a report: publication can never replace the local workflow command's exit status. Explicit `da observability sync` uses the same state machine with forced attempts and returns failures as errors.
Click to show internal directories.
Click to hide internal directories.