Skip to content

Speed up PR info loading - #15

Merged
melonamin merged 2 commits into
melonamin:mainfrom
mishamsk:perf/defer-pr-auth-cache
Aug 11, 2026
Merged

melonamin merged 2 commits into
melonamin:mainfrom
mishamsk:perf/defer-pr-auth-cache

Conversation

@mishamsk

Copy link
Copy Markdown
Contributor

Summary

  • defer PR discovery until worktree detail loading completes so startup rendering stays responsive
  • use environment tokens as a fast path and cache successful auth lookups for the TUI process
  • avoid retrying when credentials are absent and resume deferred discovery after a failed refresh

Testing

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • Codex branch review: clean, no accepted or actionable findings

@melonamin melonamin left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution. Reviewed and all checks pass.

@melonamin
melonamin merged commit 460b251 into melonamin:main Aug 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants