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

Unleash / unleash-edge / #1039
79%

Build:
DEFAULT BRANCH: main
Ran 13 Mar 2024 01:56PM 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

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

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

6 of 7 new or added lines in 1 file covered. (85.71%)

1211 of 1532 relevant lines covered (79.05%)

1.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #1039.1 13 Mar 2024 01:56PM UTC 0
79.05
Source Files on build #1039
Detailed source file information is not available for this build.
  • Back to Repo
  • e7258a97 on github
  • Prev Build on main
  • Next Build on main
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