Open mjhoy opened 1 month ago
Forge 0.4.2
Please begin by updating to the latest release or snapshot.
@tarsius isn't that the latest release? Am I missing something from the releases page?
I sometimes forget to update the "Github release thingy" (it's busy work with I should either automate or stop using). The latest release can always be found by looking at what the highest release tag is.
I haven't run into this since fetching latest. If it happens again I'll try to do a bit more debugging and comment here but closing this, thanks!
Wanted to reopen as I am still running into this. It seems like there might be some kind of state that causes a cyclic dependency between forge-get-pullreq
and forge-get-repository
? Running into the same issue now with:
Magit v4.1.2-2-gb2b07b99, Transient 0.7.9, Forge 0.4.4, Git 2.44.1, Emacs 30.0.91, darwin
It happens when I have a branch of a PR checked out, and when I am trying to get back to the magit-status buffer, but it happens very rarely. I am not sure how to debug further, anything I could look at in terms of the state of my repository?
Expected behavior: Opening the magit status buffer for my local repository with a forge database brings me to the status page.
Observed: it fails with the
Lisp nesting exceeds ‘max-lisp-eval-depth’
error.Note: This error was observed with my full configuration loaded. During that emacs session, every time I attempted to load the status buffer it would error consistently. However, when I quit emacs and tried again, it worked. (My plan was to test with my configuration removed except for loading magit.) Feel free to close if you think this is something caused by my setup, I thought I might open the issue just in case it's helpful to track down some kind of non-deterministic bug. I have run into this issue a non-zero number of times in the past six months, although I only just actually tried to debug it.
For context, the repo I had loaded was my dotfiles repo, and the pull request it seems to be recursing on is this one (at the time, the only open PR).
The backtrace is, perhaps obviously, very large. Here is the just the bottom of it (the rest just continues to recurse for many lines):
Magit-version:
Magit 20240831.2255 [>= 4.1.0], Transient 0.7.5, Forge 0.4.2, Git 2.44.1, Emacs 29.4, darwin