Repository navigation
context: follow a middleware's next(), name a dispatch point's handlers, start at the producer - #1821
Merged
swapnilpaliwal-sd merged 2 commits intoSep 30, 2026
Conversation
…spatch point's handlers, and starts at the producer - a registered callback that calls its own parameter (next) continues into what the same function registers after it on the same receiver, in order, with the registration line - a call through a value whose candidates exceed the fan cap names the registered handlers; the fan counts project, non-test candidates only - a question naming a producing verb (publish, send, forward...) that lands on the producing method starts at its caller; a caller joined only by name is one labelled step - a nested function's step names the factory that made it, read from spans Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com>
swapnilpaliwal-sd
requested review from
JaredHLZhang,
Whua689 and
suyashpaliwal26
as code owners
September 30, 2026 09:43
…ow-stops-at-dispatch-points
swapnilpaliwal-sd
deleted the
apps/javascript/context-flow-stops-at-dispatch-points
branch
September 30, 2026 10:53
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.
context --sourcestopped at the places where a framework or a bus runs the next piece of code:next(): when a registered callback calls its own parameter, the flow now continues into what the same function registers after it on the same receiver, in the order written. Each such step shows the registration line. The graph already recorded these ascallback_registerededges.Tests: new table-driven case
javascript/flow-through-dispatch-points(5 checks plus 4 controls: another receiver, a terminal handler, route handlers in sequence, a question without a producing verb) and one TypeScript check folded intoexplain-flow. The new checks fail before the change and pass after. Suites: js 259/262 and ts 198/202; the remaining failures fail identically on the base. Python 274/275 and C# 202/204 also fail identically on the base or are outside context. Java 304/304, engine js 89/0. Product probes on the same build and graph: 48 → 49 of 70 (the proxy-flow probe is fixed), none regressed. Edges unchanged (8840): the change is query-only.