Skip to content

Switch back to upstream Mangle crate - #22

Merged
ajwdev merged 3 commits into
mainfrom
ajw-upstream-mangle
Oct 2, 2026
Merged

ajwdev merged 3 commits into
mainfrom
ajw-upstream-mangle

Conversation

@ajwdev

@ajwdev ajwdev commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Switch back to upstream mangle-rs now that our match_fields
:list:member function changes were accepted.

Update Differential Dataflow (DD) backend to reach parity with Mangle interpreter

ajwdev and others added 3 commits October 2, 2026 13:05
Switch back to upstream mangle-rs now that our match_fields
:list:member function changes were accepted.
Lower Condition::Not (negated built-ins, new in mangle-rs 0.9.1) as row
filters: negated comparisons flip their operator and CallFilter gains a
negate flag. Add :list:member and :match_field check modes, and require
:match_prefix names to be strictly longer than the prefix.

Follow the interpreter on type errors: :string:* and :match_prefix on
the wrong value types now fail. A dataflow can't abort mid-flight, so
errors are emitted as a collection and reads are refused while any are
live; retracting the offending fact clears them. query, snapshot_all
and query_live now return Result.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A failing function in a let (e.g. fn:plus on a string) panicked the
timely worker thread, and the panic during guard join then aborted the
process. Evaluate let expressions fallibly and route failures through
the same error collection as built-in type errors, so reads fail like
the interpreter while the offending fact is live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ajwdev
ajwdev force-pushed the ajw-upstream-mangle branch from 11f7926 to 71bd2be Compare October 2, 2026 18:06
@ajwdev
ajwdev merged commit b244547 into main Oct 2, 2026
2 checks passed
@ajwdev
ajwdev deleted the ajw-upstream-mangle branch October 2, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant