-
Notifications
You must be signed in to change notification settings - Fork 333
brig-index: Don't fail when a user doc fails to build #4839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
…o build Instead just log and move on. This removes the effect and implement all actions as IO by passing the interpreter and calling it everywhere. This is not the prettiest way to do this, perhaps we figure out a way later.
fisx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM so far.
| syncAllUsersWithVersion interpreter mkVersion = | ||
| runConduit $ | ||
| zipSources (CL.sourceList [1 ..]) (paginateWithStateC (getIndexUsersPaginated pageSize)) | ||
| zipSources (CL.sourceList [1 ..]) (paginateWithStateC (interpreter . getIndexUsersPaginated pageSize)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hehe, nice hack. makes sense to me!
(why is this not how we want to do things? :-))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function is aware of all the transitive dependencies of the interpreters of the effects it depends on. This makes substituting them basically impossible. So all the polysemy things we do here are pointless.
15c5af9 to
85f5694
Compare
https://wearezeta.atlassian.net/browse/WPB-21555
Checklist
changelog.d