MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / remediation_error

Function remediation_error

atomic-cli/src/commands/workspace_txn.rs:85–92  ·  view source on GitHub ↗
(remediation: WorkspaceRemediation)

Source from the content-addressed store, hash-verified

83}
84
85pub(crate) fn remediation_error(remediation: WorkspaceRemediation) -> CliError {
86 CliError::StaleBaseline {
87 report: format!(
88 "workspace reconciliation required: {}\nInspect with 'atomic status --no-reconcile'; then run 'atomic git shim reconcile' before retrying.",
89 remediation.describe()
90 ),
91 }
92}
93
94/// The CLI owns the separate Git coordination boundary, including ordinary
95/// status/diff adoption. Release it before issuing an observation-only RPC;

Callers 8

runMethod · 0.85
enter_workspaceFunction · 0.85
prepare_service_queryFunction · 0.85
run_importMethod · 0.85
runMethod · 0.85
run_git_diffMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected