Skip to content

frontend_path is stripped twice for routes beginning with the prefix text #7090

Closed

Description

@masenf
  • Cluster: event_hotpath | Regression: no (identical on 0.9.10.post2) | Verifier: pending
  • Repro: rx.Config(frontend_path='/app') with pages /apple, /app, /item/[id], /docs/[[...splat]];
    open http://localhost:<FP>/app/apple (or click its link): the recorded on_load shows
    path=/404, route_id=/404; /app/app resolves to /index and fires the index page's on_load.
    Other prefixed routes match correctly.
  • Root cause (reporter): the client sends the basename-relative pathname (/apple), and
    route.get_route strips config.frontend_path again with str.removeprefix, leaving le.
    perf: cut per-event overhead on the state/event hot path (−28% CPU/event, +20% throughput) #7025 memoized this matcher without changing the prefix logic.
  • Evidence: event_hotpath/logs/pw_routes_smoke_dev_fp/results.json vs pw_routes_base_dev_fp/results.json.

Source: prerelease finding 009, recorded against Reflex 0.9.11a1 and compared with 0.9.10.post2. See the full campaign report and cluster notes and reproduction artifacts. Findings and verification status above are from that campaign; this filing does not claim a new browser rerun.

Activity

  1. linear-code commented on Sep 11, 2026

    @linear-code
  2. added
    release-train
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-train

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions