Skip to content

Some commands (status, commit) take forever #1113

@turfaa

Description

@turfaa

Hi!

I really appreciate you open sourcing this project! I've been using sapling for some times. However, I occasionally run into this frustrating issue 🙁

Setup

  • OS: macOS Sequoia 15.5
  • Sapling version: Sapling 0.2.20250521-115337-25ed6ac4 (installed via homebrew)
  • Watchman version: 2025.07.28.00 (installed via homebrew)
  • Repository mode: .sl mode

Problem

Sometimes, some commands take soooo long. The commands include:

  • sl status
  • sl commit

These commands are not affected:

  • sl
  • sl log
  • sl web -- however, the UI cannot show uncommitted changes and shows the spinner instead until the sl command exits with code 130

I have enabled ui.debug.

  1. When running sl status, there was no debug message.
  2. When running sl commit ..., there was this debug message:
    watchman sockpath is set as /opt/facebook/watchman/var/run/watchman/turfa-state/sock
    

When the problem happens, running sl status or sl commit ... can take more than 15 minutes even with only one line code change. I usually just Ctrl+C the command, restart my machine, and hope that the next run will not fail.

Please let me know if you need more information.

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