Commit graph

3 commits

Author SHA1 Message Date
Yujong Lee
1562339aab chore(rust): gate workspace against lock-across-await and undocumented unsafe
Inherits a [workspace.lints] table into all four crates:

- clippy::await_holding_lock (deny): a std::sync Mutex/RwLock guard held
  across .await blocks its Tokio worker and is one step from deadlock.
  Async-aware locking belongs to tokio::sync.
- clippy::await_holding_refcell_ref (deny): same failure mode for
  RefCell guards resumed on an arbitrary worker thread.
- clippy::undocumented_unsafe_blocks (warn): every future unsafe block
  must carry a SAFETY justification; the workspace currently has zero
  unsafe blocks, so this only gates what comes next (free-threading
  work, buffer protocol).
- rustc::unsafe_op_in_unsafe_fn (warn): unsafe operations inside unsafe
  fns need their own explicit unsafe block.
2026-09-03 09:53:45 -07:00
yujonglee
62e318de8e
fix(python-bridge): harden sync and async route boundaries (#39332) 2026-09-02 16:26:35 -07:00
Yujong Lee
9de4e84feb
refactor(rust): extract domain-neutral Python interop 2026-09-02 12:16:26 -07:00