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

hyperglass-community / hyperglass / 45341345823
89%

Build:
DEFAULT BRANCH: main
Ran 24 Nov 2026 06:35AM UTC
Jobs 2
Files 479
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 06:33AM UTC coverage: 88.892% (+0.1%) from 88.778%
45341345823

push

github

web-flow
feat(ui): share a result from the results view (#600)

* feat(config): add the per-directive retain flag and export it to the UI

* test(ui): regenerate the UI test fixture

* feat(ui): keep results of a directive with retain: false out of the history

* docs: document the directive retain flag (#558)

* fix(ui): drop results of retain: false directives whenever history changes

Also pin the fail-closed cases: a location without the directive saves nothing, dropUnretained starts from storage, and UIDirective requires retain.

* docs(config): call the query limit settings integers

* feat(api): add share snapshots of cached query results

Off by default. POST /api/share copies a cached query result into a
snapshot under hyperglass.share:, outside the state cleared on start;
GET /api/share/{id} validates and returns it; DELETE /api/share/{id}
removes it with the delete token sent in X-Delete-Token. Creation is
one Lua script, bounded per client and globally (share.quota), by
max_entries without eviction and by max_size; reads by share.read_quota.
Directives with retain: false can't be shared, and their snapshots are
not served. The query cache entry now carries the query, labels, format
and runtime, so a snapshot copies only server data. Adds the
hyperglass share list/delete/clear commands, share messages and the
hyperglass_share_requests_total counter.

* docs: document share snapshots (#559)

* fix(api): harden share snapshots after review

- Validate share ids in every storage function, not only in the routes:
  `hyperglass share delete index` deleted the index.
- A full Redis (maxmemory with noeviction) no longer gives 500: reads
  and deletes go on uncounted, new shares get 503 share_unavailable.
- Cache-Control: no-store on every response of the share routes,
  errors included.
- POST /api/share takes only application/json (415 otherwise), so
  another site can't spend a visitor's quota with a form post.
- DELETE counts against share.read_quota.
-... (continued)

1086 of 1358 branches covered (79.97%)

Branch coverage included in aggregate %.

271 of 277 new or added lines in 7 files covered. (97.83%)

21906 of 24507 relevant lines covered (89.39%)

28.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
95.43
hyperglass/ui/components/results/share-button.tsx
3
96.92
hyperglass/ui/hooks/use-share-links.ts
Jobs
ID Job ID Ran Files Coverage
1 backend - 45341345823.1 24 Nov 2026 06:41AM UTC 339
89.74
GitHub Action Run
2 frontend - 45341345823.2 24 Nov 2026 06:35AM UTC 140
84.67
GitHub Action Run
Source Files on build 45341345823
  • Tree
  • List 479
  • Changed 12
  • Source Changed 12
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45341345823
  • ca543e69 on github
  • Prev Build on main (#45332439811)
  • Next Build on main (#45346671346)
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