Repository navigation
path: a request sent through a helper is not independent of the route it may reach - #1777
Merged
swapnilpaliwal-sd merged 1 commit intoSep 29, 2026
Conversation
… it may reach
path said 'independent' for an HTTP client and the service method a route
calls, when the request goes out through a helper the graph does not follow.
It now names the unresolved/library request()/urlopen()/fetch() send and the
nearest route over the other side, and answers 'NOT shown to be independent'.
A route decorated with an empty path under a router prefix (@router.post(""))
is now an http entry point.
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 29, 2026 05:46
swapnilpaliwal-sd
deleted the
apps/python/path-claims-independent-over-dynamic-cal
branch
September 29, 2026 06:44
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.
path A Bsaid "the two are independent" when one side was an HTTP client that sends its request through a helper and the other was the service method a route calls. The graph does not link that hop, so the connection is unknown, not absent.path: if one side's closure makes an unresolved or libraryrequest()/urlopen()/fetch()call, and the other side is reached from an HTTP route (by a resolved call or by name), it names the send and the nearest route and answers "NOT shown to be independent".--jsonincludes the sends asrequests.next:for that answer points to the send and says to compare its path with the routes listed.@router.post("")on a router with a prefix) is now an http entry point.python/value-callee-is-unknowngets the HTTP row and two controls: a client method that sends nothing, and a function no route reaches.Checked: the case went from 15/16 to 16/16 (without the entry-point rule it stays at 15/16). Python suite passes 34/34. On a multi-service Python project, "independent" answers across 21 path probes fell from 9 to 2, and the probe pass count is unchanged at 29/58 with no probe regressed.