OpenFn / OpenFn/kit

Runtime: remove state.references

Open
#487 5 comments 0 reactions 1 assignee View on GitHub

@josephjclark is already working on this.

Since Apr 10, 2025.

design
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.