Skip to content

v0.11.2: tokio runtime drop panic on every local-path worker VM boot after #1514 #1524

@rohitg00

Description

@rohitg00

Repro

iii update                # iii-worker 0.10.0 -> 0.11.2 (post #1514)
cd <any project with local-path workers in config.yaml>
iii                       # engine boots, local workers all 'stopped'
iii worker logs <name>

Symptom

Every local-path worker panics at VM-boot time:

  Booting VM (2 vCPUs, 2048 MiB RAM)...

thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/runtime/blocking/shutdown.rs:51:21:
Cannot drop a runtime in a context where blocking is not allowed. This happens when a runtime is dropped from within an asynchronous context.

iii-observability, iii-state, iii-queue (config workers) still come up clean. Only local-path workers that boot through iii-worker __vm-boot are affected.

Environment

Suspected cause

Something in crates/iii-worker/src/cli/vm_boot.rs or one of the new shell-relay / supervisor modules introduced by #1514 is dropping a multi-threaded tokio runtime while still inside an async task, which tokio 1.52 explicitly forbids.

Impact

Blocks every iii project that boots local-path workers on v0.11.2. Reverting to 0.11.0 would restore function but doesn't include the fixes from #1514.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions