Greetings,

Sorry if this is not the right place to send this, but I thought that the 
emacs-team
might have to deal with this in the future so I thought it could helpful.

In short, I operate a channel on GitHub[1] called "emaxs-master". It features a
GitHub action[2] that updates the packages based on the main branch to the 
latest
commit (it does this once every two hours, and I also have an action for 
building to
see if the main one builds).
When it comes to Emacs versions outside of the main branch, the only offer 
available
currently is the new Garbage Collector[3] found in the "feature/igc"[4] branch. 
It
is not updated automatically.

Operating it is generally smooth sailing, but this time I encountered an 
issue[5] that
I wasn't able to solve. Basically, the 
"module--test-assertions--call-emacs-from-gc"
test fails. The backtrace can be found here: 
<https://github.com/gs-101/emacs-master/issues/7#issuecomment-2998312119>.
This test checks if functions are being prevented from being called
during garbage collection.

It originally only failed for the igc package, but after performing a major 
refactor
to make the code more concise, I also managed to break the package for pgtk, 
but, after
giving it some more tries, I got it (pgtk) to build successfully.

Since this issue happened with a package outside of the "feature/igc" branch, I 
took
it as a more general issue, that could impact emacs-next in the future.

I tried:

- Disabling parallel tests (a test is a function, so maybe a test could have 
been triggered
during garbage collection?)
- Disabling parallel builds
- Removing patches
- Removing all patches
- Downgrading the igc's commit
- Travelling through the commit history, even to the latest version of igc 
before the inclusion
of MPS[6]

And my line of thought for the root of the issue was:

Parallelism ->
Outdated patches ->
Bug fixed on a new commit? ->
Bug introduced in the latest commit? ->
Non-determinism (because I got a package with the same issue to build) ->
Brealing change in emacs.scm? (I checked, doesn't seem to be the case, logs 
show that
the latest change was from three weeks ago, and it only added a dependency)

[1] <https://github.com/gs-101/emacs-master>
[2] <https://github.com/gs-101/emacs-master/actions>
[3] 
<https://github.com/gs-101/emacs-master/blob/d40f6f14ccf21b369f12f15b0731ac70ab2dafba/emacs-master.scm#L109>
[4] <https://cgit.git.savannah.gnu.org/cgit/emacs.git?h=feature%2Figc>
[5] <https://github.com/gs-101/emacs-master/issues/7#issuecomment-2994911240>
[6] 
<https://github.com/gs-101/emacs-master/commit/d8bb6d7434572cb2dd7f23af5873b5324b823782>

Regards,

-- 
Gabriel Santos

Reply via email to