<#1282 fix a few core bugs> Pull request opened by...
# flyte-github
a
#1282 fix a few core bugs Pull request opened by samhita-alla • Local cache deadlock:
LocalDB.initialize
held a
threading.Lock
across an aiosqlite
await
, so two cached child actions dispatching at once could wedge a local run. The async init now serializes on an
asyncio.Lock
so a waiting coroutine yields the loop instead of blocking it. •
flyte.trace
no longer replays transient errors: a recoverable failure inside a traced step was memoized and re-raised on every retry, so the task could never self-heal. Recoverable errors now re-run; only non-recoverable ones replay. This also fixes a crash where an errored step recorded an empty output URI and
load_outputs
choked on it. • Local cross-run memory: keyed
MemoryStore
memory didn't persist across separate local runs because the per-run action name wasn't stripped from the local raw-data root. Two local runs sharing a key now resolve to the same store. • int -> float tool args: passing an int like
42
where a
float
is declared was rejected during input conversion (so the child action was never created). It's now coerced, matching what we already do when reading a
float
back.
bool
stays rejected. •
Environment.depends_on
was aliased instead of copied when cloning an environment, so
add_dependency
on one leaked into the other. flyteorg/flyte-sdk