mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
chore: document intentional await-holding cases
This commit is contained in:
@@ -209,6 +209,10 @@ pub(crate) struct AppServerClientMetadata {
|
||||
impl Session {
|
||||
#[instrument(name = "session_init", level = "info", skip_all)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[expect(
|
||||
clippy::await_holding_invalid_type,
|
||||
reason = "session initialization must serialize access through session-owned manager guards"
|
||||
)]
|
||||
pub(crate) async fn new(
|
||||
mut session_configuration: SessionConfiguration,
|
||||
config: Arc<Config>,
|
||||
|
||||
Reference in New Issue
Block a user