Repository navigation
chdig v26.8.1: ratatui, tmux panes, tmuxinator sessions, sharing logs with colors - #115216
Conversation
|
Workflow [PR], commit [1efea49] Summary: ❌
AI ReviewSummaryThis PR bumps Findings
Tests
Final VerdictChanges requested: fix the selected-host leak in the new async-insert log actions, make the settings dialog use the focused instance’s filter slot, and address the still-open ANSI-export issue before merging. |
| @@ -1 +1 @@ | |||
| Subproject commit 3e046e4dfabd98ef667ed0e5a058fd673c06a479 | |||
| Subproject commit 9302521212c898fa7d91df827136e74f3a760bb7 | |||
There was a problem hiding this comment.
chdig now uploads shared logs as .terminal, but the exported payload still writes each span.content byte verbatim while also injecting its own SGR (src/tui/views/log_view.rs:1259-1275, src/interpreter/worker.rs:1789-1792). That means any literal \x1b[...m already present in the log/query text becomes active styling in pastila instead of data. A logged query or query_id containing SGR can therefore recolor or hide parts of the shared transcript, so the paste is no longer a faithful rendering of what chdig intended to export. Please strip or escape ANSI from the content before re-inserting the renderer-generated SGR sequences.
… with colors Release: https://github.com/azat/chdig/releases/tag/v26.8.1 Feature tour: https://github.com/azat/chdig/blob/v26.8.1/Documentation/Features.md [](https://asciinema.org/a/ZEKN312JmcADLtiS)
| @@ -1 +1 @@ | |||
| Subproject commit 3e046e4dfabd98ef667ed0e5a058fd673c06a479 | |||
| Subproject commit 9302521212c898fa7d91df827136e74f3a760bb7 | |||
There was a problem hiding this comment.
These new async-insert log drilldowns drop the selected-host filter. show_logs_by_query_ids, show_logs_by_query, and show_flush_logs all build TextLogArguments with hostname: None (src/tui/views/providers/asynchronous_inserts.rs:175-179, 224-228; src/tui/views/providers/asynchronous_insert_log.rs:129-133). In cluster mode, TextLogView::new hides the hostname column whenever ctx.selected_host.is_some() (src/tui/views/text_log_view.rs:54-56), so opening logs from a host-scoped async-insert row can silently mix records from other replicas with no way to tell them apart. Please thread the current selected_host into these TextLogArguments (and ideally into the async-insert-log subqueries too) so the drilldown stays on the same host the row came from.
| @@ -1 +1 @@ | |||
| Subproject commit 3e046e4dfabd98ef667ed0e5a058fd673c06a479 | |||
| Subproject commit 9302521212c898fa7d91df827136e74f3a760bb7 | |||
There was a problem hiding this comment.
Named views: instances are documented as having instance-aware settings lookups (src/interpreter/options.rs:248-249), and the query views themselves honor that by keying their runtime filter off the actual widget name (src/tui/views/queries_view.rs:1229-1245). The settings dialog no longer does: it loads and saves queries_filter through Context::settings_queries_filter() (src/interpreter/context.rs:196-208, src/tui/views/settings_view.rs:237, 463-465), which only sees current_view: ChDigViews and therefore always resolves the provider's default widget name. With two last_queries instances like last_selects / last_inserts, editing the filter from last_selects mutates the shared last_query_log slot instead, so the focused instance comes back with its old filter and the user's change is ignored. The dialog should key the runtime filter off the focused pane name the same way the rebuild path below already resolves instance.
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
Only the stripped binary is compared: the official master build keeps debug symbols while PR builds strip them, so the other binaries differ by construction. Compile time of recompiled translation units7 translation units recompiled, 4 s compile time in total, 7 of them have a recent master baseline. |
3436fef
Bring the release branch to the same Rust toolchain and Rust contribs as master, so that it shares master's `rust_vendor` commit (`c4fd435`): - `nightly-2026-11-02` instead of `nightly-2025-07-07`. - `wasmtime` v41 -> v45.0.1 (`561b224`), with the `ValType` API change in `WasmTimeRuntime.cpp` from #106836 (also covers #98603 and #102603, which only moved the submodule). - `delta-kernel-rs` v23 (`3ae3062`), with the FFI adaptations, tests and the `arrow` crate feature from #105861. The branch keeps its `default-engine-rustls` feature and its per-batch `add_files` loop in `WriteTransaction::commit`; only the `commit` call is changed to the committed-transaction API. - `chdig` v26.10.1 (`a28e107`), with the `config.toml.in` sources from #103145, #110938 and #115216. - `rust/workspace/Cargo.lock` re-resolved offline against that vendor commit. Original PR: #128815 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
chdig v26.8.1: ratatui, tmux panes, tmuxinator sessions, sharing logs with colors, feature tour
Workflow [PR]
Sync PR [sync-upstream/pr/115216]
Version info
26.8.1.1646(included in26.8and later)