Block auto-registration is skipped when switching databases #7347
Labels
bug
Something isn't working
component:blocks
Related to the Prefect Blocks API
status:in-progress
Someone is working on this, check-in here before beginning new work
First check
Bug summary
A community user reported that changing the database that backed their local Orion instance resulted in block disappearing from their UI. The user resolved the issue by deleting their .prefect folder.
Thread: https://prefect-community.slack.com/archives/CL09KU1K7/p1666812855264589
Reproduction
Error
No response
Versions
Additional context
This is likely due to block auto-registration memoization. Memoization should be updated so that the block auto-registration memostore key is no longer valid when the orion database URL is changed.
The text was updated successfully, but these errors were encountered: