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

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

Build:
Build:
LAST BUILD BRANCH: IGVF-3031-pipeline-status-embed
DEFAULT BRANCH: main
Ran 05 Nov 2024 10:32PM UTC
Files 141
Run time 4s
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.1

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 %.

2672 of 2672 relevant lines covered (100.0%)

16.83 hits per line

Source Files on job #4695.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 4695
  • 82a11a76 on github
  • Prev Job for on dev (##4688.1)
  • Next Job for on dev (##4698.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