-
Notifications
You must be signed in to change notification settings - Fork 16.6k
[v3-1-test] Fix import errors not cleared for files without DAGs (#58242)#59500
[v3-1-test] Fix import errors not cleared for files without DAGs (#58242)#59500ephraimbuddy merged 1 commit intov3-1-testfrom
Conversation
- Fix import errors not cleared for files without DAGs
Previously, import errors persisted in the database for files that were successfully parsed but no longer contained any DAGs. This happened because we only tracked files that had DAGs, missing files that were parsed successfully but had their DAGs removed.
Now, when files are parsed, all parsed files are tracked (not just those with DAGs), ensuring import errors are properly cleared when a file is successfully parsed without errors, even if it no longer contains DAGs.
closes: #57621
-
Apply suggestions from code review
-
fixup! Fix import errors not cleared for files without DAGs
-
Remove fallback for files_parsed
-
fixup! fixup! Fix import errors not cleared for files without DAGs
-
fixup! Remove fallback for files_parsed
-
fixup! fixup! fixup! Fix import errors not cleared for files without DAGs
(cherry picked from commit 796b46e)
* Fix import errors not cleared for files without DAGs
Previously, import errors persisted in the database for files that were
successfully parsed but no longer contained any DAGs. This happened
because we only tracked files that had DAGs, missing files that
were parsed successfully but had their DAGs removed.
Now, when files are parsed, all parsed files are tracked (not just those
with DAGs), ensuring import errors are properly cleared when a file is
successfully parsed without errors, even if it no longer contains DAGs.
closes: #57621
* Apply suggestions from code review
Co-authored-by: Tzu-ping Chung
* fixup! Fix import errors not cleared for files without DAGs
* Remove fallback for files_parsed
* fixup! fixup! Fix import errors not cleared for files without DAGs
* fixup! Remove fallback for files_parsed
* fixup! fixup! fixup! Fix import errors not cleared for files without DAGs
---------
(cherry picked from commit 796b46e)
Co-authored-by: Ephraim Anierobi
Co-authored-by: Tzu-ping Chung
* Fix import errors not cleared for files without DAGs
Previously, import errors persisted in the database for files that were
successfully parsed but no longer contained any DAGs. This happened
because we only tracked files that had DAGs, missing files that
were parsed successfully but had their DAGs removed.
Now, when files are parsed, all parsed files are tracked (not just those
with DAGs), ensuring import errors are properly cleared when a file is
successfully parsed without errors, even if it no longer contains DAGs.
closes: #57621
* Apply suggestions from code review
* fixup! Fix import errors not cleared for files without DAGs
* Remove fallback for files_parsed
* fixup! fixup! Fix import errors not cleared for files without DAGs
* fixup! Remove fallback for files_parsed
* fixup! fixup! fixup! Fix import errors not cleared for files without DAGs
---------
(cherry picked from commit 796b46e)
Co-authored-by: Tzu-ping Chung