Runtime: remove state.references
@josephjclark is already working on this.
Since Apr 10, 2025.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 23
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 17
Description
Many adaptors write old state.data objects into state.references
openfn v1 does not remove this from the final state, but encourages users to do so manually because it's basically just bloat.
https://docs.openfn.org/documentation/build/triggers#a-quick-fix-for-final-state-bloat
Refernces is useful inside a job but probably not outside it (and references from job a presumably should not be passed to job b).
The new runtime does not do any management of references. Should it? Jjust like it removes state.configuration.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.