KT-2245 e2e specs that call the backend directly fall back to the developer's own Kronn on :3140
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript, vite
- Domain
- testing
Research direction
Start with frontend/e2e/fixtures/backend-url.ts and trace how the five specs importing E2E_BACKEND_URL choose their direct-call target. Compare that with the UI origin and Vite proxy configuration. Done means direct calls use the UI's origin or stop immediately when the required variable is unset, and the default never points to :3140.
Written by the indexing model from the issue text.
Description
Tracked as KT-2245.
frontend/e2e/fixtures/backend-url.ts falls back to http://localhost:3140 when neither KRONN_VITE_BACKEND_URL nor KRONN_BACKEND_URL is set. Vite's proxy target is resolved separately, so a local run whose Vite points at a sandbox backend can still send a spec's direct calls (5 spec files import E2E_BACKEND_URL) to the developer's own Kronn. Seen on 05/12: one workflow trigger POST from workflow-linear-3-step.spec.ts, on an id that did not exist there.
Fix: direct calls use the UI's origin, or the variable is required and the run stops at once when it is unset; the default never names :3140.
- Dominant language
- Rust
- Stars
- 18
- Forks
- 2
- Avg merge
- 17h 12m
- Merged PRs (30d)
- 55
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DocRoms/Kronn
-
bug UI
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DocRoms/Kronn#666 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
Similar issues
-
O-windows relnotes relnotes-needs-review relnotes-tracking-issue T-libs
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
marketing
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
num_ode_rk4_adaptive rejects atol = 0 while accepting rtol = 0 and while num_ode_dopri5 accepts bothOpenarea/ode-pde good first issue help wanted kind/contract severity/4-minor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Apich-Organization/rssn#383 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
bug priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
nledford/Ladderback#2028 ·
Maintainers usually reply within 1 day