Skip to content

Can we enhance the caching functionality to work seamlessly with Haskell code changes? #218

@bglgwyng

Description

@bglgwyng

Currently, caching does not respond to changes in Haskell code. As a result, we need to dockerize the Haskell code, and caching should be applied to the Docker task. I believe there isn't a way to achieve this without dockerizing the Haskell code, since we can't hash functions.

To address this, we should consider modularizing the Haskell code and building each Docker image independently. This approach will allow us to maximize Funflow's caching capabilities. Do we have any better options?

Additionally, even though we lack a robust solution for this issue at the moment, it would be beneficial to have the ability to disable caching globally. This would prevent caching from causing problems during development. Currently, the runFlowWithConfig does not provide an option to turn off caching. The only available setting allows us to specify the caching store directory, which requires creating a specific directory to effectively disable the cache. Is there a more efficient way to achieve this?

I am relatively new to Funflow, and my question may contain misunderstandings. Please correct me if I am mistaken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions