OpenFn / OpenFn/lightning

Refresh cache on application start up

Open
#644 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

User story

Jobs panel is slow on first open after restart. See this issue for context and this issue for first fix.

As someone that has enabled caching, I would like the cache to be refreshed whenever the application starts up, so that I am sure it is up to date.

Details

Attempt to refresh the cache whenever the application starts up. (For
offline use, this will fail but it's OK — make the message a warning, not
an error.)
Add documentation on how to adjust the cache location to override the
sensible default.

Implementation notes
Release notes
  • Attempt to refresh cache on application startup when caching enabled
User acceptance criteria

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or startup entry point are named in the issue. First locate the application startup path and cache configuration, then inspect how refresh failures are reported; done means enabled caching is attempted at startup, offline failure is a warning, and documentation explains how to override the cache location.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
backend, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.