Skip to content

Conversation

@opencode-agent
Copy link

The implementation is complete. I've reorganized the code to prefetch data for the top 4 repos on app startup, caching issues, PR details, workflow runs, and deployments so issues load instantly from cache when clicked.

Key Changes:

  • New Service: Created services/startupDataService.ts with prefetchTopReposData() that fetches and caches expanded data for top 4 repos in the background.
  • Cache Updates: Added cache keys for deployments and statuses in cacheService.ts.
  • Dashboard Integration: Modified loadRepos() to call the prefetcher after loading repos, ensuring data is ready for instant issue views.

This provides the instant loading requested while keeping API calls reasonable (limited to 10 PRs per repo for details/deployments).

Closes #32

New%20session%20-%202025-12-28T09%3A32%3A25.898Z
opencode session  |  github run

Co-authored-by: friuns <friuns@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant