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

Unleash / unleash-edge / #1039 / 1
79%
main: 79%

Build:
DEFAULT BRANCH: main
Ran 13 Mar 2024 01:56PM UTC
Files 22
Run time 0s
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

13 Mar 2024 01:53PM UTC coverage: 79.047% (+0.2%) from 78.824%
#1039.1

push

web-flow
fix: handle incoming requests on the api level (#443)

Update all endpoints of the frontend_api to accept top-level properties.

This is primarily just changing the type we expect and then, on the lower level functions, converting the incoming context into a regular context.

Most of the functions are pretty straight-forward. get_all_features appears to be the only one that doesn't share an implementation with any other functions.

The tests check:

-    /api/frontend/features/:feature (/api/proxy/features/:feature uses the same impl under the hood, so I've not tested that explicitly. Happy to change that though.
-   GET /api/{frontend,proxy}(/all)?
-    POST /api/{frontend,proxy) (POST all features function takes an IncomingContext as a parameter, so I'm assuming the serialization here works; can of course add tests for that too)
-    That providing a string as the value of properties yields a 400

1211 of 1532 relevant lines covered (79.05%)

1.81 hits per line

Source Files on job #1039.1
  • Tree
  • List 0
  • Changed 15
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1039
  • e7258a97 on github
  • Prev Job for on main (##1034.1)
  • Next Job for on main (##1041.1)
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