codemem 0.49.0-beta.1 → 0.49.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -12045,12 +12045,12 @@ function projectDatabaseSubsystems(snapshot, configuredObserver, attention) {
12045
12045
  severity: "error",
12046
12046
  message: "Observer exhausted retries recently. Run `codemem diagnostics capture check`"
12047
12047
  });
12048
- } else if (configuredObserver && snapshot.observer.backoff_batches > 0) {
12049
- observerState = "backoff";
12048
+ } else if (configuredObserver && snapshot.observer.recent_failed_batches > 0) {
12049
+ observerState = "degraded";
12050
12050
  attention.push({
12051
- code: "observer_backoff",
12051
+ code: "observer_recent_failures",
12052
12052
  severity: "warning",
12053
- message: "Observer has retryable failures. Run `codemem diagnostics capture status`"
12053
+ message: "Observer batches failed recently. Run `codemem diagnostics capture status`"
12054
12054
  });
12055
12055
  }
12056
12056
  return {