Repository navigation
Ariadne: a read-lane expression the frame budget skipped is never a warning - #1082
Merged
Merged
Conversation
…arning On the live nicotina page (arigl-web, real tx.wtf) a 10-post feed decoding pictures in wasm spends the 30 ms read-lane budget on its first frames, and each expression it skipped became "ari: reactive expr ... skipped - per-frame budget exhausted" through warn_once, which the page's ariadneWarning shows the user. A skip is not the document's fault. - Every read-lane path takes a skip the same way: last frame's value, else the fail-safe one, and no warning. predicate (visible_when / enabled_when / disabled_when): last answer, else hidden / disabled (one skipped before it ever ran warned). eval_text (computed binds, src): last text, else empty. eval_text_or_literal (tooltip): last text, else empty, not the expression's own source. eval_options: last list, else empty. eval_count (repeat:): last count, else 0. - Real errors (parse, runtime, unbound, step / time cap) still warn once. - Runtime::reactive_skip_count() counts the skips, for a host that logs them. - The engine's String/StringList/Int outcomes say skipped, as Outcome did. Docs: ARIADNE.md section 2.1; the set_reactive_frame_budget / take_reactive_warnings comments. Test: ariadne_media_test's AriadneReactiveBudget.ASkipIsNeverAWarning.
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A read-lane expression that the per-frame budget skipped is no longer a warning. On the live nicotina page (arigl-web 3.7.12, real tx.wtf), a 10-post feed decoding pictures in wasm spends the 30 ms budget on its first frames. Each skipped expression became
ari: reactive expr "…" skipped — per-frame budget exhaustedthroughwarn_once, and the page'sariadneWarningshowed it to the user. A skip isn't the document's fault.Every read-lane path now handles a skip the same way: last frame's value, or the fail-safe one where the expression never ran. There is no warning.
predicatevisible_when,enabled_when,disabled_wheneval_textbind:/ text, a computedsrc:eval_text_or_literaltooltipeval_optionsoptionseval_countrepeat:Runtime::reactive_skip_count()counts the skips, for a host that wants to log them.StringOutcome,StringListOutcome,IntOutcome) now sayskipped, asOutcomedid.{i}instance), like the predicates and counts already were. A map entry is copied only when its value changes.Docs: ARIADNE.md §2.1 (what a skipped expression shows, and that a skip is never a warning), and the header comments on
set_reactive_frame_budget/take_reactive_warnings.Test:
ariadne_media_test'sAriadneReactiveBudget.ASkipIsNeverAWarning. Withset_reactive_frame_budget(0.0)from the first frame, it covers:take_reactive_warnings()stays empty;This is separate from the Loop and
badge:PRs, so it can go into a release on its own.