Commit Graph
1261 Commits
Author SHA1 Message Date
Michael Bolin f298f5fd3b merge commit for archive created by Sapling 2025-05-15 15:41:54 -07:00
Michael Bolin 4b6d0a627b feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 15:41:48 -07:00
Michael Bolin cfde8d25f8 Merge ffc1432f8a into sapling-pr-archive-bolinfest 2025-05-15 15:24:12 -07:00
Michael Bolin ffc1432f8a feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 15:24:09 -07:00
Michael Bolin 4ebe3a21d0 merge commit for archive created by Sapling 2025-05-15 15:19:28 -07:00
Michael Bolin 19fa6a552b feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 15:19:18 -07:00
Michael Bolin d10106d9cc merge commit for archive created by Sapling 2025-05-15 14:54:48 -07:00
Michael Bolin aca377958a feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 14:54:15 -07:00
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
Michael Bolin 2f26a4541b merge commit for archive created by Sapling 2025-05-15 14:41:03 -07:00
Michael Bolin ffb04a92c9 chore: introduce AppEventSender to help fix clippy warnings and update to Rust 1.87 2025-05-15 14:40:39 -07:00
Michael Bolin 8d4fa1cd45 Merge 910e8a5d85 into sapling-pr-archive-bolinfest 2025-05-15 14:07:42 -07:00
Michael Bolin 910e8a5d85 feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 14:07:30 -07:00
Michael Bolin ec5e82b77c chore: pin Rust version to 1.86 and use io::Error::other to prepare for 1.87 (#947)
Previously, our GitHub actions specified the Rust toolchain as
`dtolnay/rust-toolchain@stable`, which meant the version could change
out from under us. In this case, the move from 1.86 to 1.87 introduced
new clippy warnings, causing build failures.

Because it will take a little time to fix all the new clippy warnings,
this PR pins things to 1.86 for now to unbreak the build.

It also replaces `io::Error::new(io::ErrorKind::Other)` with
`io::Error::other()` in preparation for 1.87.
2025-05-15 14:07:16 -07:00
Michael Bolin a7ce2e06ef Merge 581c5bfcb3 into sapling-pr-archive-bolinfest 2025-05-15 14:03:56 -07:00
Michael Bolin 581c5bfcb3 chore: pin Rust version to 1.86 and use io::Error::other to prepare for 1.87 2025-05-15 14:03:52 -07:00
Michael Bolin 77d0ab8357 merge commit for archive created by Sapling 2025-05-15 14:00:42 -07:00
Michael Bolin fab2b94323 chore: pin Rust version to 1.86 and use io::Error::other to prepare for 1.87 2025-05-15 14:00:35 -07:00
Michael Bolin c993940ec0 Merge fc4434a92d into sapling-pr-archive-bolinfest 2025-05-15 13:56:41 -07:00
Michael Bolin fc4434a92d chore: pin Rust version to 1.86 and use io::Error::other to prepare for 1.87 2025-05-15 13:56:37 -07:00
Michael Bolin 37f89ba5cf Merge 22037acecd into sapling-pr-archive-bolinfest 2025-05-15 13:56:32 -07:00
Michael Bolin 22037acecd chore: pin Rust version to 1.86 and use io::Error::other to prepare for 1.87 2025-05-15 13:56:21 -07:00
Michael Bolin 19879c0f5f merge commit for archive created by Sapling 2025-05-15 13:37:33 -07:00
Michael Bolin 42a1ddd6d2 feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 13:37:27 -07:00
Michael Bolin ab045bf50d merge commit for archive created by Sapling 2025-05-15 13:31:13 -07:00
Michael Bolin 2a3a06efa2 feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 13:31:07 -07:00
Michael Bolin 5828739c27 merge commit for archive created by Sapling 2025-05-15 12:32:59 -07:00
Michael Bolin 970e2cba4d feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 12:32:41 -07:00
Michael Bolin 5d3aef3799 Merge 8b5de5a4d6 into sapling-pr-archive-bolinfest 2025-05-15 09:00:50 -07:00
Michael Bolin 8b5de5a4d6 feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 09:00:47 -07:00
Michael Bolin b47d24157c merge commit for archive created by Sapling 2025-05-15 08:59:48 -07:00
Michael Bolin d7aa41a47e feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 08:59:44 -07:00
Michael Bolin 910c594882 merge commit for archive created by Sapling 2025-05-15 08:57:18 -07:00
Michael Bolin 558eb03476 feat: record messages from user in ~/.codex/history.jsonl 2025-05-15 08:57:12 -07:00
Michael Bolin 5fc9fc3e3e chore: expose codex_home via Config (#941) 2025-05-15 00:30:13 -07:00
Michael Bolin 96f8c9c052 Merge 1226998d2b into sapling-pr-archive-bolinfest 2025-05-14 23:59:37 -07:00
Michael Bolin 1226998d2b chore: expose codex_home via Config 2025-05-14 23:59:33 -07:00
Michael Bolin 653177c618 Merge 401af38955 into sapling-pr-archive-bolinfest 2025-05-14 23:58:14 -07:00
Michael Bolin 401af38955 chore: expose codex_home via Config 2025-05-14 23:58:10 -07:00
Michael Bolin 454f63d6f0 Merge 04f9918c3e into sapling-pr-archive-bolinfest 2025-05-14 23:57:19 -07:00
Michael Bolin 04f9918c3e chore: expose codex_home via Config 2025-05-14 23:57:16 -07:00
Michael Bolin 72109de30d merge commit for archive created by Sapling 2025-05-14 23:56:35 -07:00
Michael Bolin cf63787d9a chore: expose codex_home via Config 2025-05-14 23:56:30 -07:00
Michael Bolin 9f4eba52fb merge commit for archive created by Sapling 2025-05-14 23:53:10 -07:00
Michael Bolin 499d7e1443 chore: expose codex_home via Config 2025-05-14 23:53:04 -07:00
Michael Bolin 5c65b7364f Merge f38b3b31eb into sapling-pr-archive-bolinfest 2025-05-14 23:51:28 -07:00
Michael Bolin f38b3b31eb chore: expose codex_home via Config 2025-05-14 23:51:24 -07:00
Michael Bolin 93eaf02fae merge commit for archive created by Sapling 2025-05-14 23:51:16 -07:00
Michael Bolin 5fb7d700e9 chore: expose codex_home via Config 2025-05-14 23:51:09 -07:00
Michael Bolin e7666e0af9 merge commit for archive created by Sapling 2025-05-14 23:11:35 -07:00