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

google / openhtf / 44388002069
68%
master: 66%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/github-actions-04cceb3d66
DEFAULT BRANCH: master
Ran 18 Nov 2026 08:10PM UTC
Jobs 4
Files 67
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

18 Nov 2026 08:09PM UTC coverage: 68.137% (+2.5%) from 65.645%
44388002069

Pull #1361

github

copybara-github
Restrict CORS and validate request Origin on OpenHTF web GUI servers

`CorsRequestHandler` previously returned `Access-Control-Allow-Origin: *` and
permitted all `OPTIONS` preflights and `POST` requests without validating
`Origin`, and SockJS endpoints (`PubSub` / `DashboardPubSub`) accepted
connections from any origin.

Validate `Origin` against the `Host` hostname (port-agnostic for same-host
`DashboardServer` -> `StationServer` requests), loopback-to-loopback origins,
and a new `allowed_cors_origins` configuration option for cross-host
deployments. Emit CORS headers only when a valid `Origin` is present and
permitted, return HTTP 403 for disallowed origins, and close foreign-origin
SockJS connections in `on_open`.

PiperOrigin-RevId: 1024873067
Pull Request #1361: Restrict CORS and validate request Origin on OpenHTF web GUI servers

85 of 95 new or added lines in 3 files covered. (89.47%)

5575 of 8182 relevant lines covered (68.14%)

2.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
66.86
66.86% openhtf/output/servers/web_gui_server.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.13 - 44388002069.1 18 Nov 2026 08:11PM UTC 67
68.09
GitHub Action Run
2 python-3.11 - 44388002069.2 18 Nov 2026 08:11PM UTC 67
68.14
GitHub Action Run
3 python-3.12 - 44388002069.3 18 Nov 2026 08:10PM UTC 67
68.09
GitHub Action Run
4 python-3.14 - 44388002069.4 18 Nov 2026 08:11PM UTC 67
68.08
GitHub Action Run
Source Files on build 44388002069
  • Tree
  • List 67
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44388002069
  • Pull Request #1361
  • PR Base - master (#44371469555)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc