You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Route extraction: pre-commit/CI config URLs become __route__infra__ Route nodes and collect junk HANDLES edges #999
On a plain flask checkout, URLs from .pre-commit-config.yaml (e.g. https://github.com/astral-sh/ruff-pre-commit, codespell, uv-pre-commit) are materialized as __route__infra__<url> Route nodes, and the route matcher then attaches HANDLES edges from arbitrary view functions to them:
Every handler gets the same 6-7 junk targets, and WHICH handler wins is tie-break/scheduling-dependent (part of the HANDLES churn between builds). Also in the same class: multiple unrelated handlers all HANDLES-linked to the ambiguous __route__ANY__/ root route.
Asks:
Infra-scan URLs from CI/tooling configs (pre-commit, workflows) should not produce route nodes that participate in handler matching — or at minimum never receive HANDLES from code handlers.
When several handlers tie for one route, either emit none (zero-edge guarantee) or make the tie-break deterministic — arbitrary winners flip between runs/builds.
Found while diffing edge sets during the #979-regression bisect; reproducible on plain pallets/flask.
Activity
fix(pipeline): stop CI/tooling config URLs from minting infra Route n…
fix(routes): only an exposed-endpoint key turns a config URL into a R…