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

IGVF-DACC / igvf-ui / #4679
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: IGVF-3031-pipeline-status-embed
DEFAULT BRANCH: main
Ran 01 Nov 2024 09:38PM UTC
Jobs 1
Files 141
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

01 Nov 2024 09:34PM UTC coverage: 100.0%. Remained the same
#4679

push

forresttanaka
IGVF-2056-cache-common-objects

* Add a class to use the Redis cache easily for any generic data. Use this new API for the home page. Don’t cache the files and samples — just the file sets.
* Make a new `/api/profiles` endpoint to handle requests for `/profiles` while caching the results. Make a new module specifically to fetch and cache profiles. I might make it more generic in the next commit
* Some small cleaning up.
* Update the ServerCache class to specify the fetch configuration _after_ instantiating the class to work better when caching data with data *not* from the data provider. Add a convenience function to retrieve and cache entire objects from the data provider. All places that load the `/profiles` object now cache the profiles.
* Cache the collection-titles endpoint.
* Split getCacheClient() into its own file so we can skip Jest testing it. Add Jest tests for the cache.ts module.
* Remove a couple unused variables.
* Add documentation for the cache.ts module.
* Add a `ttl` parameter to `retrieveCacheBackedData` and set it to 20 minutes for /profiles and /collection-titles.
* Return the /profiles and /collection-titles `ttl` values back to one hours. I changed my mind.
* Have the audit documentation page use the /profiles cache.

1124 of 1124 branches covered (100.0%)

Branch coverage included in aggregate %.

43 of 43 new or added lines in 3 files covered. (100.0%)

2672 of 2672 relevant lines covered (100.0%)

16.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #4679.1 01 Nov 2024 09:38PM UTC 0
100.0
Source Files on build #4679
Detailed source file information is not available for this build.
  • Back to Repo
  • 4e378168 on github
  • Prev Build on dev
  • Next Build on IGVF-2056-cache-common-objects
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