Skip to content

Conversation

@akshaymankar
Copy link
Member

@akshaymankar akshaymankar commented Nov 5, 2025

https://wearezeta.atlassian.net/browse/WPB-21555

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

…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.
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Nov 5, 2025
Copy link
Contributor

@fisx fisx left a 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))
Copy link
Contributor

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? :-))

Copy link
Member Author

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.

@jschaul jschaul marked this pull request as ready for review November 10, 2025 12:08
@jschaul jschaul requested a review from a team as a code owner November 10, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants