Skip to content

Conversation

@mhasself
Copy link
Member

@mhasself mhasself commented Sep 9, 2025

This reflects how we want to run, in practice, which is to fail until the bad_books file has been manually updated.

Also adds --limit option, and speeds up directory scanning by using glob instead of walk.

@mhasself mhasself requested a review from AERAdler September 9, 2025 18:40
Copy link
Contributor

@AERAdler AERAdler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a prefect alert that tells us when update_obsdb has failed?

This reflects how we want to run, in practice, which is to fail until
the bad_books file has been manually updated.

Also adds --limit option, and speeds up directory scanning by using
glob instead of walk.
@mhasself mhasself force-pushed the mhasself/track-bad-books branch from 3a8a3ad to f2b7681 Compare September 11, 2025 02:34
@mhasself mhasself marked this pull request as ready for review September 11, 2025 14:00
@mhasself
Copy link
Member Author

Is there a prefect alert that tells us when update_obsdb has failed?

Yup.

@mhasself
Copy link
Member Author

I notice now that my switch from os.walk to glob.glob breaks the system, unless fastwalk is used.

Let me find a better solution to that ... converting back to draft for now.

@mhasself mhasself marked this pull request as draft September 19, 2025 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants