Skip to content

Run gh subprocesses async so a slow fetch cannot freeze the server #55

Description

@fiddur

Every git/gh call is execSync/execFileSync; a slow gh api fetch (e.g. /api/github/details) blocks the event loop — viewer heartbeats, the live-claim watcher, and every poll stall with it.

Proposal: async execFile for the gh boundary first (it is network-bound); git can stay sync until it hurts.

Effort: M.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions