Repository navigation
Conversation
This reverts commit 857d966.
Replace per-view list/watch subscriptions with a shared per-kind store engine, add polling fallback, store-backed details, credential capability probes, and repository-owned terminal sessions. Remove legacy watchers and per-kind subscription wrappers.
Remember watch denials per cluster epoch, start denied kinds in polling, and let cluster-scoped kinds such as Namespaces bypass the global all-namespaces watch probe.
Drop poll preferences, poll-rate UI, and polling fallback. Keep listed data when a watch is denied and retry the watch instead of marking the store failed.
Treat watch and list 403 responses as permanent for the current task so forbidden resources keep their listed data without an automatic retry loop.
# Conflicts: # src/models/resources/store.rs # src/repository/mod.rs # src/repository/resources/detail.rs # src/repository/resources/nodes/mod.rs # src/repository/resources/pods/mod.rs # src/repository/resources/watcher.rs # src/repository/watch_prefs.rs # src/view_models/resources/cron_jobs/mod.rs # src/view_models/resources/endpoints/mod.rs # src/view_models/resources/ingresses/mod.rs # src/view_models/resources/namespaces/mod.rs # src/view_models/resources/node/mod.rs # src/view_models/resources/overview.rs # src/view_models/resources/persistent_volumes/mod.rs # src/view_models/resources/pod_disruption_budgets/mod.rs # src/view_models/resources/replication_controllers/mod.rs # src/view_models/resources/secrets/mod.rs # src/view_models/resources/services/mod.rs # src/view_models/resources/storage_classes/mod.rs
GT020
added a commit
that referenced
this pull request
Nov 10, 2026
* perf: optimize watch fetch flow and retained-ui updates * perf: batch streaming initial events for large lists * Revert "perf: batch streaming initial events for large lists" This reverts commit 857d966. * docs: remove watch and UI comparison notes * refactor: share cluster stores across resource views Replace per-view list/watch subscriptions with a shared per-kind store engine, add polling fallback, store-backed details, credential capability probes, and repository-owned terminal sessions. Remove legacy watchers and per-kind subscription wrappers. * fix: poll immediately when watch is denied Remember watch denials per cluster epoch, start denied kinds in polling, and let cluster-scoped kinds such as Namespaces bypass the global all-namespaces watch probe. * refactor: remove polling and keep watch-only stores Drop poll preferences, poll-rate UI, and polling fallback. Keep listed data when a watch is denied and retry the watch instead of marking the store failed. * fix: stop retrying forbidden resource watches Treat watch and list 403 responses as permanent for the current task so forbidden resources keep their listed data without an automatic retry loop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces per-view list/watch subscriptions with a shared per-kind store engine.
What changed
sendInitialEventsstreaming initial state with list fallback.ResourceStore, and boilerplate per-kind subscription wrappers.Verification
cargo clippy --all-targetscleancargo test --bin krusty— 113 passed