Skip to content

Commit

Permalink
Prevent wait-until-idle from returning while the delegate is locked
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 7, 2024
1 parent 5efb01e commit 7b93f36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

* Deleted the Docker image creation workflow. I don't think it makes sense anymore to have a Docker image since archon is a general-use library.

### 🔧 Fixed

* Prevent `wait-until-idle` from returning while the delegate is locked.

### ⚙️ Engineering

* Migrate to using `uv` for packaging.
Expand Down
3 changes: 3 additions & 0 deletions archon/actor/commands/expose.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,9 @@ async def wait_until_idle(
if not all(is_idle):
continue

if command.actor.exposure_delegate.lock.locked():
continue

if command.actor.exposure_delegate.is_writing:
continue

Expand Down

0 comments on commit 7b93f36

Please sign in to comment.