avborup / avborup/kitty

Lazily initialise the HTTP client

Open
#72 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
29
Forks
6
PR merge metrics
No merged PRs in 30d

Description

If the user's network is very slow, it can take a little bit of time (I think half a second after feeling it out for a bit) for the HTTP client to initialise. This is pretty annoying for running tests or similar where the client isn't used.

Contributor guide

Open the contributing guide

Research direction

Start by locating where the HTTP client is initialized and how CLI commands or tests use it. Confirm the current initialization delay, then verify that commands which do not make HTTP requests avoid creating the client while HTTP-using commands still work normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.