Skip to content

path: a request sent through a helper is not independent of the route it may reach - #1777

Merged
swapnilpaliwal-sd merged 1 commit into
0.1.9from
apps/python/path-claims-independent-over-dynamic-cal
Sep 29, 2026
Merged

swapnilpaliwal-sd merged 1 commit into
0.1.9from
apps/python/path-claims-independent-over-dynamic-cal

Conversation

@swapnilpaliwal-sd

Copy link
Copy Markdown
Contributor

path A B said "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 library request() / 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". --json includes the sends as requests.
  • next: for that answer points to the send and says to compare its path with the routes listed.
  • Python engine: a route decorated with an empty path (@router.post("") on a router with a prefix) is now an http entry point.
  • Case python/value-callee-is-unknown gets 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.

… 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
swapnilpaliwal-sd changed the base branch from 0.1.8 to 0.1.9 September 29, 2026 06:04
@swapnilpaliwal-sd
swapnilpaliwal-sd merged commit 7ca94ee into 0.1.9 Sep 29, 2026
12 checks passed
@swapnilpaliwal-sd
swapnilpaliwal-sd deleted the apps/python/path-claims-independent-over-dynamic-cal branch September 29, 2026 06:44
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