Replies: 1 comment 6 replies
-
Commands such as Apparently that is still too slow for your taste (and/or given the size of your database and/or network speed). Unfortunately there is nothing I can do about that, not in the short run at least. Also, I just labeled some topics individually, and while there is a bit of lag, I find it quite manageable. But that's me.
In the first case this is done because after we create a pull-request, then we also fetch data using
Hooks do not have to be declared. If I add a hook mainly for the benefit of a single user (here #182), then I usually don't declare it, to avoid advertising something I am not (yet?) fully convinced is actually a good idea. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Tarsius,
Is there a reason that Forge pulls all topics and does a "full" fetch from upstream whenever I perform some action in a single GitHub repo topic, like
forge-post-submit(C-c C-cin forge post buffers)Even though the operation is async, It adds a lot of friction when I'm running through a list of topics and replying/closing each one. Emacs still blocks when the sentinel runs, some magit-status buffer state is disturbed etc.
Isn't it sufficient to pull a subset of updates, if not the single topic that was updated?
I tried to trace the call that does a full refresh and got as far as
forge--post-submit-callback. In this condition:It looks like setting
selective-pwill do what I want, which is to pull the topic only, but theselective-pslot doesn't appear to be set for any of my GitHub repos tracked by Forge. Is there some way to set it, or is this a technical limitation of the API?Aside: where is
forge-post-submit-callback-hookdefined? I couldn't find it, and it appears to be run inforge--post-submit-callback.Beta Was this translation helpful? Give feedback.
All reactions