Repository navigation
LCORE-4753: Remove degraded-mode machinery - #3227
Conversation
Degraded mode allowed LCORE to start without OGX connectivity and report overall_status=degraded from readiness. With the move to in-process inference via the provider registry, this fallback is no longer needed — OGX/registry failure now aborts startup. Removed: DegradedModeTracker, allow_degraded_mode config flag, ls_started_in_degraded_mode metric, degraded startup branch, readiness degraded path, degraded-mode e2e tests and config, E2E_SKIP_OGX_RESTORE_ON_LCS_RESTART flag, and related docs.
|
No actionable comments were generated in the recent review. WalkthroughThe pull request removes degraded-mode configuration and runtime behavior. Readiness now reports healthy or unhealthy status. Startup, metrics, E2E workflows, tests, and documentation no longer include degraded-mode support. ChangesDegraded-mode removal
Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Refactor Possibly related issues
Suggested reviewers: Merge Risk:
|
|
e2e tests were failing because the pipeline was having problem with pulling the ubi image. Are we having a service down issue? might be better to just rerun them tomorrow 🤞. |
|
@asimurka Should be good to review. Feel free to review it when you're available! 😁 |
The test asserted that /metrics exposes ls_started_in_degraded_mode, but it was removed in [1]. Since we are migrating to a newer version of lightspeed-stack that already contains [1], we have to remove it from the test (otherwise, it will fail). [1] lightspeed-core/lightspeed-stack#3227
Description
Degraded mode allowed LCORE to start without OGX connectivity and report overall_status=degraded from readiness. With the move to in-process inference via the provider registry, this fallback is no longer needed — OGX/registry failure now aborts startup.
Removed: DegradedModeTracker, allow_degraded_mode config flag, ls_started_in_degraded_mode metric, degraded startup branch, readiness degraded path, degraded-mode e2e tests and config, E2E_SKIP_OGX_RESTORE_ON_LCS_RESTART flag, and related docs.
Type of change
pyproject.toml+uv.lock]requirements.*.txtfor Konflux]Tools used to create PR
Used Claude to double check the removal is clean and no leftover references
Related Tickets & Documents
Checklist before requesting a review
Testing
Summary by CodeRabbit
allow_degraded_modeconfiguration setting and the associated degraded-status metric.