Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ktop for openSUSE:Factory checked in at 2026-12-03 13:58:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ktop (Old) and /work/SRC/openSUSE:Factory/.ktop.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ktop" Thu Dec 3 13:58:28 2026 rev:15 rq:1402613 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ktop/ktop.changes 2026-11-27 19:45:34.113258493 +0100 +++ /work/SRC/openSUSE:Factory/.ktop.new.1340718/ktop.changes 2026-12-03 14:01:31.271945722 +0100 @@ -1,0 +2,256 @@ +Thu Dec 03 05:45:35 UTC 2026 - Johannes Kastl <[email protected]> + +- Update to version 0.8.0: + ktop v0.8.0 unifies cluster navigation around five top-level tabs + ([1] Overview, [2] Workloads, [3] Storage, [4] Network, [5] + Events), adds universal full-screen pane expansion ([x]), + introduces elevated ModalBox overlays over dimmed backdrops, + standardizes expandable 3-column detail panels across nodes, + pods, and containers, and preserves table row selection by + resource identity across focus changes and background refreshes. + Alongside UI refinements for Storage and Network parity, every + tab degrades cleanly when running against Metrics Server or + --metrics-source=none, and all user documentation and visual + guides have been updated for v0.8.0. + * Navigation, Tab Ordering & Interactive Tables (application, ui, + views) + - Five-Tab Workspace Order (application/tui/app.go, + cmd/ktop.go, config/config.go) + - Problem / Context: Core tabs placed Events before + infrastructure views, separating Storage and Network from + the main operator workflow. + - Implementation Details: Reordered registered pages in + application/tui/app.go, --page validation in cmd/ktop.go, + and default configuration validation in config/config.go to + match the operational hierarchy: [1] Overview, [2] + Workloads, [3] Storage, [4] Network, and [5] Events. + - Impact & Behavioral Notes: Numeric tab keys (1–5), < / > + navigation, and --page CLI flags align directly with the + updated five-tab bar. + - Universal [x] Pane Expand and Restore + (ui/table_controller.go, ui/panel.go, views/*) + - Problem / Context: Split layouts constrained dense tables + on multi-panel tabs (Overview, Workloads, Storage, + Network), while only container logs supported [x] + expansion. + - Implementation Details: Added ui.ExpandablePanel and + ui.FormatExpandedSuffix in ui/panel.go, wired + TableControllerConfig.OnExpand and + TableController.SetOnExpand in ui/table_controller.go, and + implemented expand/restore state across + views/overview/main_panel.go, views/workloads/page.go, + views/storage/page.go, views/network/page.go, + views/events/page.go, and detail views. + - Impact & Behavioral Notes: Pressing x on any focused table + or detail card expands it to full workspace height; + pressing x, Tab, or Esc restores the split view. + - Identity-Based Table Selection Persistence + (ui/table_controller.go, views/*) + - Problem / Context: Moving focus away from a table cleared + selection or reset the cursor on background data refreshes, + making cross-panel inspection tedious. + - Implementation Details: Introduced ui.TableSelection + (Attach, OnFocus, OnBlur, BeginRedraw, EndRedraw) and + integrated TableController.OnFocus, TableController.OnBlur, + and TableController.ResetSelection across Overview, + Workloads, Storage, Network, Events, and detail tables. + - Impact & Behavioral Notes: First-time focus highlights the + first row automatically; leaving and returning to a table + restores selection to the last inspected object by resource + identity even when rows reorder during refreshes. + * Floating Modals & Uniform 3-Column Detail Views (ui, ui/theme, + views) + - Elevated ModalBox Overlays with Dimmed Scrim + (ui/modal_box.go, ui/overlay.go, ui/theme/*) + - Problem / Context: Centered overlays previously rendered + directly against live background panels without depth + separation or heavy framing. + - Implementation Details: Added ui.ModalBox (NewModalBox, + Draw, Focus, InputHandler) using double/heavy borders + (ui.DrawDoubleBorder) and inset title styling, paired with + backdrop dimming in ui.OverlayFrame (NewOverlayFrame, + NewCenteredOverlayFrame) and theme tokens in + ui/theme/palette.go and ui/theme/builtins.go. Applied + consistently across Pod Inspector (views/pod/detail.go), + YAML viewer (ui/yaml_modal.go), column picker + (ui/column_modal.go), help overlay (ui/help_modal.go), and + Event Detail (views/events/detail_modal.go). + - Impact & Behavioral Notes: Floating overlays dim the + background header and workspace while keeping modal content + and the bottom shortcut footer crisp and legible. + - Uniform 3-Column Detail Cards & Keyboard Navigation + (ui/detail_columns.go, views/node/detail.go, + views/pod/detail.go, views/container/detail.go, + views/workloads/detail.go) + - Problem / Context: Node System Detail, Pod Detail, + Container Detail, and Workload Detail had inconsistent key + bindings, truncated multi-column cards, and no column + switching. + - Implementation Details: Implemented ui.DetailColumns + (NewDetailColumns, HandleInput, SetExpanded, + PreserveScroll, SectionHeader) in ui/detail_columns.go and + adopted it across views/node/detail.go, + views/pod/detail.go, and views/container/detail.go. Updated + views/workloads/detail.go so Workload Detail opens with + initial focus on Owned Pods, and updated ui/help_modal.go + and ui/footer_context.go for detail shortcuts. + - Impact & Behavioral Notes: Operators switch columns with + ←/→ (h/l), scroll long sections with ↑/↓ (j/k), and toggle + full-screen [x] expansion uniformly across detail panels. + * Storage, Network & Graceful Metrics Degradation (k8s, ui, + views) + - Shared Node Metrics Cache & RX/TX Parity + (k8s/client_controller.go, k8s/summary_controller.go, + k8s/network_controller.go) + - Problem / Context: [1] Overview and [4] Network queried + GetNodeMetrics independently, allowing cluster network RX + and TX totals to drift between tabs. + - Implementation Details: Added + Controller.getNodeMetricsSnapshot with generation-tracked + nodeMetricsCache invalidation on SetMetricsSource in + k8s/client_controller.go, shared across + k8s/summary_controller.go and k8s/network_controller.go. + - Impact & Behavioral Notes: Cluster RX/TX throughput + displayed in [4] Network Summary matches [1] Overview while + avoiding duplicate node metric fetches within short refresh + windows. + - Equal-Height Storage & Network Panels with Distinct Icons + (ui/icons.go, views/storage/page.go, views/network/page.go) + - Problem / Context: Split tables in Storage and Network used + unequal proportions, and PersistentVolumeClaims shared the + Pod package icon. + - Implementation Details: Updated views/storage/page.go and + views/network/page.go to render balanced 1:1 equal-height + split tables, added ui.Icons.FileCabinet in ui/icons.go for + PersistentVolumeClaims, and assigned ui.Icons.Disc to + PersistentVolumes. + - Impact & Behavioral Notes: Storage and Network views + allocate equal vertical space across paired tables with + distinct visual glyphs per resource panel. + - Graceful Tab Degradation Across Metrics Modes (k8s/*, + views/storage/*, views/network/*, views/workloads/*) + - Problem / Context: Running with + --metrics-source=metrics-server or --metrics-source=none + lacked explicit availability signaling across secondary + tabs. + - Implementation Details: Updated k8s/storage_controller.go, + k8s/network_controller.go, and k8s/workloads_controller.go + together with summary panels in views/storage/summary.go, + views/network/summary.go, and views/workloads/summary.go to + surface clear unavailable states for Prometheus-only + counters while keeping all object tables active. + - Impact & Behavioral Notes: Workloads, Storage, Network, and + Events remain fully navigable and interactive regardless of + metrics backend availability. + * Documentation & Visual Guides (README.md, docs/) + - Refreshed Site & User Guide: Updated + docs/overrides/home.html, README.md, and docs/guide.md to + reflect v0.8.0 tab ordering, modals, detail cards, and + ~/.ktop/ktop.log session log path. + - CLI, Telemetry & Headless Docs: Corrected --show-all-columns + default and component coverage in docs/cli.md, documented + Component SLI deductions and JSONL fields in docs/noui.md, + updated GA metrics.k8s.io/v1 and degradation notes in + docs/metrics-server.md, and expanded docs/prometheus.md. + - Screenshots & Vector Diagrams: Added 7 v0.8.0 TUI captures + and 4 SVG architecture/comparison diagrams + (docs/images/arch-navigation-map.svg, + docs/images/arch-prometheus-pipeline.svg, + docs/images/arch-metrics-server.svg, + docs/images/psi-cpu-comparison.svg). + * Upgrade & Compatibility Notes + - Backward Compatibility: Fully compatible with existing CLI + flags, kubectl ktop plugin invocation, ~/.ktop/config.yaml, + and --noui JSON/JSONL automation consumers. + - Deprecations & Behavioral Shifts: Top-level numeric tab order + updated to [1] Overview, [2] Workloads, [3] Storage, [4] + Network, and [5] Events. --show-all-columns defaults to + false. + - Migration Actions: If scripts or habits relied on tab 3 for + Events or --show-all-columns defaulting on, switch to key 5 / + --page=events and pass --show-all-columns explicitly when + needed. +- Update to version 0.7.10: + ktop v0.7.10 resolves UI freezes in long-running TUI sessions + caused by lock inversion between health.APIHealthTracker state + transitions and tview.Application.QueueUpdateDraw, synchronous + reconnect execution on the UI event thread, and unsynchronized + toast identifier handling in application. + * API Health Tracking & Deadlock Prevention (health, application) + - Lock-Free Callback Dispatch & Structured Logging + (health/api_health.go) + - Problem / Context: APIHealthTracker previously held + h.mu.Lock() while logging via slog and invoking + onStateChange, onHealthy, onDisconnected, and + onTryReconnect. Because onStateChange dispatches closures + onto the tview UI loop via QueueUpdateDraw, and the UI draw + loop reads IsAPIDisconnected() / IsAPIHealthy() (acquiring + h.mu.RLock()), transient Kubernetes API errors could + trigger an AB-BA deadlock freezing the TUI. + - Implementation Details: Updated ReportSuccess, ReportError, + scheduleRetry, and TryReconnect to snapshot pending + callback references and transition state under h.mu, + release h.mu.Unlock(), and then invoke slog and callbacks + outside the lock. + - Impact & Behavioral Notes: Background Kubernetes API + disconnect retries, recovery transitions, and retry-timer + callbacks no longer block or invert locks with the TUI + render loop. + - Asynchronous Reconnect Input Handling + (application/app_ctrl.go) + - Problem / Context: Pressing R or r while APIDisconnected + previously called app.apiHealthTracker.TryReconnect() + synchronously inside handleInputEvent on the tview UI + goroutine, where onStateChange calls tapp.QueueUpdateDraw + and self-deadlocks waiting for the UI thread. In addition, + the early if app.HasActiveToast() guard returned key events + before reaching the reconnect handler when the persistent + disconnect toast ("API disconnected. Press R to reconnect") + was visible. + - Implementation Details: Dispatched go + app.apiHealthTracker.TryReconnect() off the UI event thread + inside if app.HasActiveToast() whenever + app.IsAPIDisconnected() is true, and updated the standard + 'R' / 'r' reconnect handler to dispatch go + app.apiHealthTracker.TryReconnect() while guarding with + !app.isFilterEditing(). + - Impact & Behavioral Notes: Pressing R or r from the + disconnect banner triggers immediate asynchronous + reconnection without blocking UI input processing or + interfering with active / filter input. + * Toast Notification Locking (application) + - Scoped toastMutex Synchronization (application/app_ui.go) + - Problem / Context: Toast creation and dismissal paths mutated + p.currentToastID across dismissToastInternal without + acquiring p.toastMutex, and showToastWithButtons / + dismissToast held p.toastMutex across p.root.RemovePage, + p.root.AddPage, p.root.SwitchToPage, p.tviewApp.SetFocus, and + focusRestorationCallback. + - Implementation Details: Removed dismissToastInternal, guarded + every read and update of p.currentToastID directly under + p.toastMutex in showToastWithButtons, dismissToast, and + hasActiveToast, and released p.toastMutex before invoking any + tview page or focus operations. + - Impact & Behavioral Notes: Concurrent toast timeouts, button + callbacks, and UI draw updates operate without lock-order + cycles or data races under -race. + * Concurrency Regression Tests (health, application) + - Health Tracker Concurrency Test (health/api_health_test.go): + Added + TestAPIHealthTracker_NoDeadlockAcrossCallbacksAndReaders + simulating a single-threaded QueueUpdateDraw loop alongside + concurrent state readers, error transitions, reconnects, and + recovery cycles. + - Reconnect Key Deadlock Test + (application/health_deadlock_test.go): Added + TestApplication_ReconnectKeyDoesNotSelfDeadlock verifying + that pressing 'R' while the disconnect toast is displayed + triggers TryReconnect asynchronously without blocking the + simulation UI loop. + * Upgrade & Compatibility Notes + - Backward Compatibility: Fully compatible with existing CLI + flags, kubectl ktop plugin invocation, ~/.ktop/config.yaml, + and --noui JSON/JSONL consumers. + - Deprecations & Migration Actions: None. + +------------------------------------------------------------------- Old: ---- ktop-0.7.9.obscpio New: ---- ktop-0.8.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ktop.spec ++++++ --- /var/tmp/diff_new_pack.3kkBxa/_old 2026-12-03 14:01:33.168026076 +0100 +++ /var/tmp/diff_new_pack.3kkBxa/_new 2026-12-03 14:01:33.169026118 +0100 @@ -17,7 +17,7 @@ Name: ktop -Version: 0.7.9 +Version: 0.8.0 Release: 0 Summary: A top-like tool for your Kubernetes clusters License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.3kkBxa/_old 2026-12-03 14:01:33.210027856 +0100 +++ /var/tmp/diff_new_pack.3kkBxa/_new 2026-12-03 14:01:33.215028068 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/vladimirvivien/ktop.git</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">refs/tags/v0.7.9</param> + <param name="revision">refs/tags/v0.8.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.3kkBxa/_old 2026-12-03 14:01:33.245029339 +0100 +++ /var/tmp/diff_new_pack.3kkBxa/_new 2026-12-03 14:01:33.250029551 +0100 @@ -3,6 +3,6 @@ <param name="url">https://github.com/vladimirvivien/ktop</param> <param name="changesrevision">741794d89c63c4e9898e31d14799317ee4aa7cfb</param></service><service name="tar_scm"> <param name="url">https://github.com/vladimirvivien/ktop.git</param> - <param name="changesrevision">2269d9552d029431793300e5f237d994cd3942ce</param></service></servicedata> + <param name="changesrevision">3f78aa2c0afc93de3018815b65d74aaa185960fc</param></service></servicedata> (No newline at EOF) ++++++ ktop-0.7.9.obscpio -> ktop-0.8.0.obscpio ++++++ ++++ 11278 lines of diff (skipped) ++++++ ktop.obsinfo ++++++ --- /var/tmp/diff_new_pack.3kkBxa/_old 2026-12-03 14:01:33.510040570 +0100 +++ /var/tmp/diff_new_pack.3kkBxa/_new 2026-12-03 14:01:33.517040866 +0100 @@ -1,5 +1,5 @@ name: ktop -version: 0.7.9 -mtime: 1795637542 -commit: 2269d9552d029431793300e5f237d994cd3942ce +version: 0.8.0 +mtime: 1796009240 +commit: 3f78aa2c0afc93de3018815b65d74aaa185960fc ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/ktop/vendor.tar.gz /work/SRC/openSUSE:Factory/.ktop.new.1340718/vendor.tar.gz differ: char 79, line 1
