mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 09:13:14 +00:00
* perf: speed up Reviews list (My PRs + All PRs) Push the "My PRs" author filter into the threads.search metadata (pr.author containment) instead of scanning up to 1000 reviewer threads in Python, and replace the per-repo GitHub access check (an N+1 of sequential GET /repos calls) with a single per-login accessible-repo set, cached for 60s. Detail endpoints still re-validate access live. Frontend: prefetch the inactive tab and adjacent page on hover/focus so tab switches and pagination are instant. * fix: don't cache repo access for the reviews list The /reviews list is an authorization boundary for private PR metadata (repo/PR titles, branches, authors, finding counts). A cross-request TTL cache on the accessible-repo set could surface that metadata for up to 60s after a user lost repo access. Resolve the set fresh per request instead — still a fixed, repo-count-independent burst of GitHub calls (no per-repo N+1), with no staleness. --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| admin.py | ||
| agent_instructions.py | ||
| agent_overrides.py | ||
| agent_usage.py | ||
| analyzer_cron.py | ||
| enabled_repos.py | ||
| oauth.py | ||
| options.py | ||
| pr_diff.py | ||
| profiles.py | ||
| repo_access.py | ||
| review_api.py | ||
| review_style_jobs.py | ||
| review_styles.py | ||
| routes.py | ||
| schedules.py | ||
| slack_oauth.py | ||
| team_credentials.py | ||
| team_settings.py | ||
| thread_api.py | ||
| user_mappings.py | ||