There is a strange bug with the flushing/caching that materialises as follows:
- Upload func A/B with contents C
- Execute func A/B (contents C get executed)
- Flush
- Upload func A/B with contents D
- Execute func A/B (contents D get executed)
- Execute func A/B again (contents C get executed ?!)
There is an E2E test that is currently skipped that replicates this issue.