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

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

Build:
Build:
LAST BUILD BRANCH: IGVF-3031-pipeline-status-embed
DEFAULT BRANCH: main
Ran 05 Nov 2024 10:32PM 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

05 Nov 2024 10:27PM UTC coverage: 100.0%. Remained the same
#4695

push

web-flow
IGVF-2056 Cache common objects (#646)

* 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.
* Add debugging code.
* This reverts commit 327ca67a1.

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 #4695.1 05 Nov 2024 10:32PM UTC 0
100.0
Source Files on build #4695
Detailed source file information is not available for this build.
  • Back to Repo
  • 82a11a76 on github
  • Prev Build on dev
  • Next Build on dev
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