Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions linux/crates/app/src/ui/workspace/health_banner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,12 @@ mod tests {
))));
let test = parked("RejectionText", vec![refused], None);

let banner = wait_for_button(&test, "Retry");

assert!(banner.title().contains("no pg_hba.conf entry"), "{}", banner.title());
// The banner follows the session's health after it changes, and offers
// Retry while reconnecting too, so the button alone can come too early.
let banner = banner(&test);
wait_until(WAIT, || banner.title().contains("no pg_hba.conf entry"))
.unwrap_or_else(|_| panic!("the banner said {}", banner.title()));
assert_eq!(banner.button_label().as_deref(), Some("Retry"));
}

#[gtk4::test]
Expand Down
5 changes: 1 addition & 4 deletions linux/crates/session/src/session/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
mod editor_session_shutdown;
mod object_list_snapshot;
mod schema_catalog;
#[expect(
clippy::module_inception,
reason = "the Session type is the module's subject"
)]
#[expect(clippy::module_inception, reason = "the Session type is the module's subject")]
mod session;
mod session_deps;

Expand Down
Loading