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

hyperglass-community / hyperglass / 45332439811
89%

Build:
DEFAULT BRANCH: main
Ran 24 Nov 2026 05:20AM UTC
Jobs 2
Files 477
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

24 Nov 2026 05:18AM UTC coverage: 88.778% (+0.3%) from 88.478%
45332439811

push

github

web-flow
feat(ui): show a shared result at /?share=<id> (#595)

* feat(api): send Referrer-Policy: same-origin with the UI's pages

A share link carries its id in the page address (/?share=<id>). The UI's
static files router now sets Referrer-Policy: same-origin through an
after_request hook, so browsers don't send that address to other sites
the page loads from or links to. The UI routers are built in create_app()
from the current settings, so the header is tested through the full app.

* feat(ui): show a shared result at /?share=<id>

The landing page shows the snapshot of a share link read-only, in place
of the form: one GET /api/share/<id> for an id of 32 hex characters, a
banner with the result's time and the link's expiry, and each result
through R1's components with copy and the AS path without lookups.
Prefill parameters alongside share are ignored and removed from the
address. Run this query fills the form for the visitor to submit; New
query shows an empty form; both remove share from the address. Loading,
error and button text come from new web.text keys; not found and
unsupported use messages.share_not_found and share_unsupported. The page
is noindex while a share shows. next dev proxies /api/share.

* test(ui): regenerate the UI fixture for the shared result text

* docs: document the shared result page (#560)

* fix(ui): harden the shared result page after review

- A held Enter no longer submits: after Run this query fills the form,
  focus moves to Submit while the key may still be down, and the form now
  ignores repeated Enter keydowns (button activation and implicit
  submission). Only a new press submits.
- Structured output is checked for every field the BGP and traceroute
  tables read, with its type; malformed output (routes: [{}], objects in
  communities or the AS path) showed Next.js's application error. The
  results are also rendered inside an error boundary that shows
  web.text.share_error.
- The snapshot request no longer follows... (continued)

978 of 1242 branches covered (78.74%)

Branch coverage included in aggregate %.

234 of 239 new or added lines in 12 files covered. (97.91%)

21640 of 24235 relevant lines covered (89.29%)

27.17 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
90.0
hyperglass/ui/components/share/shared-result.tsx
2
97.69
hyperglass/ui/hooks/use-share.ts
Jobs
ID Job ID Ran Files Coverage
1 backend - 45332439811.1 24 Nov 2026 05:25AM UTC 339
89.73
GitHub Action Run
2 frontend - 45332439811.2 24 Nov 2026 05:20AM UTC 138
83.61
GitHub Action Run
Source Files on build 45332439811
  • Tree
  • List 477
  • Changed 16
  • Source Changed 11
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45332439811
  • 00f99aea on github
  • Prev Build on main (#45327305007)
  • Next Build on main (#45341345823)
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