Skip to content

Conversation

@josephjclark
Copy link
Collaborator

@josephjclark josephjclark commented Jan 8, 2026

  • Allow lightning-style edge conditions to be executed in the CLI (ie, move special conditions down into the runtime)
  • Limit state size in runtime

* runtime: map special condition strings

* pass upstream id to conditions

* project: support edge conditions in  v1 state

Still need to apply mappings in v2

* add integration test

* remove special worker handling of conditions

* types

* update tests

* tests

* changeset for cli

* changeset for runtime

* changeset for worker
@github-project-automation github-project-automation bot moved this to New Issues in v2 Jan 8, 2026
josephjclark and others added 2 commits January 8, 2026 12:05
* runtime: add function to ensure that state size does not exceed a particular limit

* add new stateLimit_mb option

* engine: support state limit mb as an option

I don't think this is the right option in the right place - I'll check into that later

* refactor rutime option

* tidying up

* fix failing test in mock

* more generous timeout on flaky test

* add debug log

* changeset

* tweak memory limit

Drop the payload size thing - runtime memory will always be higher

* refine options

* runtime: type safety
@josephjclark josephjclark changed the title Release: CLI 1.22.0, worker next Release: CLI 1.22.0, worker 1.21.0 Jan 8, 2026
@josephjclark josephjclark marked this pull request as ready for review January 8, 2026 12:12
@josephjclark josephjclark merged commit 64ad5f0 into main Jan 8, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from New Issues to Done in v2 Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants