• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nagayon-935 / conduit / 23791787239
64%

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2026 10:04AM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Mar 2026 10:02AM UTC coverage: 59.967% (-0.02%) from 59.983%
23791787239

push

github

nagayon-935
fix: wire LocalForward frontend chain and move token to Cookie

Security: session token removed from forward URL.
Previously: /api/forward/{token}/host/port/path
Now:        /api/forward/host/port/path
Token is sent via Cookie 'conduit_forward_token' (path=/api/forward/,
SameSite=Strict) set by the Terminal click handler before opening
the new tab.

Frontend wiring (was entirely missing):
- App.tsx: SessionTab gains localForwards/forwardBaseUrl fields;
  handleConnect accepts and stores them; renderPane passes to Terminal
- ConnectForm: loads profile localForwards on profile select;
  passes to buildConnectRequest and onConnect
- NewConnectionOverlay: same localForwards wiring
- Terminal: forward link buttons set Cookie then window.open();
  disabled (greyed) when session disconnected

Backend:
- forward.go: parse token from Cookie not URL; 401 if absent
- connect.go: ForwardBaseURL simplified to '/api/forward'
- forward_test.go: updated URLs and Cookie headers

12 of 17 new or added lines in 2 files covered. (70.59%)

731 of 1219 relevant lines covered (59.97%)

7.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
32.67
1.82% internal/api/forward.go
Jobs
ID Job ID Ran Files Coverage
1 23791787239.1 31 Mar 2026 10:04AM UTC 22
59.97
GitHub Action Run
Source Files on build 23791787239
  • Tree
  • List 22
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 55c117c6 on github
  • Prev Build on main (#23789841913)
  • Next Build on main (#23792512309)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc