core-agent-ide/.github/workflows
Michael Bolin 3fdf9df133
chore: introduce AppEventSender to help fix clippy warnings and update to Rust 1.87 (#948)
Moving to Rust 1.87 introduced a clippy warning that
`SendError<AppEvent>` was too large.

In practice, the only thing we ever did when we got this error was log
it (if the mspc channel is closed, then the app is likely shutting down
or something, so there's not much to do...), so this finally motivated
me to introduce `AppEventSender`, which wraps
`std::sync::mpsc::Sender<AppEvent>` with a `send()` method that invokes
`send()` on the underlying `Sender` and logs an `Err` if it gets one.

This greatly simplifies the code, as many functions that previously
returned `Result<(), SendError<AppEvent>>` now return `()`, so we don't
have to propagate an `Err` all over the place that we don't really
handle, anyway.

This also makes it so we can upgrade to Rust 1.87 in CI.
2025-05-15 14:50:30 -07:00
..
ci.yml chore: make build process a single script to run (#757) 2025-05-01 08:36:07 -07:00
cla.yml Set up CLA process and remove DCO (#129) 2025-04-16 15:24:31 -07:00
codespell.yml Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#903) 2025-05-14 09:39:49 -07:00
rust-ci.yml chore: introduce AppEventSender to help fix clippy warnings and update to Rust 1.87 (#948) 2025-05-15 14:50:30 -07:00
rust-release.yml chore: introduce AppEventSender to help fix clippy warnings and update to Rust 1.87 (#948) 2025-05-15 14:50:30 -07:00