Conversation
Signed-off-by: 1fanwang <1fannnw@gmail.com>
1fanwang
requested review from
cosmicbboy,
davidmirror-ops,
kumare3,
machichima,
pingsutw,
samhita-alla and
wild-endeavor
as code owners
September 20, 2026 00:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tracking issue
Related to flyteorg/flyte#6393.
Why are the changes needed?
A local workflow can fail on its second run after a consumer renames a cached output file. The cache returns the old path, and input conversion raises
TypeTransformerFailedError: Error encountered while converting inputs of 'repro_6393.process_file':.What changes were proposed in this pull request?
Treat missing local artifact references as cache misses so the producer runs again. Valid cached results and remote references keep their existing behavior. Other filesystem errors still propagate.
This does not isolate in-place edits or inspect paths embedded in opaque serialized values.
How was this patch tested?
The same workflow and SQLite cache produced these results:
Setup process
E2E
I used Python 3.12.9 with the Flytekit development environment. Save this as
repro_6393.pyin both checkouts:Keep the same HOME across all three runs:
Run twice on upstream, then once on the patched checkout without clearing the cache.
Raw output
Upstream, first run:
Upstream, second run:
Patched, same cache:
Screenshots
Not applicable.
Check all the applicable boxes
Related PRs
None.
Docs link
The cache lookup docstring describes the missing-artifact behavior.