FlowFuse / FlowFuse/flowfuse

Where a flow attempts to write data to persistent context and that request fails the flow should be alerted

Open
#2,172 3 comments 0 reactions 0 assignees View on GitHub
needs-triage priority:medium type:feature
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 20h
Merged PRs (30d)
149

Description

### Description

The limit for persistent context storage is 1MB.

There is no way to check how much of that storage you have used (I think either programatically or in the FF UI).

If you try to write data to context and there is not enough storage left the action fails silently.

This makes it really hard to use context to store data without it potentially failing at a later date in a way that might not be caught.

Where a flow fails to write data to context some sort of error should be returned. The problem will be, there are lots of different ways to interact with context including functions nodes so it may be challenging to catch all methods.

An alternative could be to allow a flow to check the current utilisation of its persistent context storage.

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.