-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
revbump(main/llama-cpp): 0.0.0-b6996-1 #27168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
revbump(main/llama-cpp): 0.0.0-b6996-1 #27168
Conversation
- This PR will force `lint-packages.sh` to break
|
What fresh hell did you subject that poor little linter to now? |
|
@TomJo2000 I have discovered this method (visible in this PR) of consistently triggering a bug in Important notes:
|
|
My first impression of the issue is that empty commits seem to be messing up the Will need more testing. |
|
I think the obvious first step is making failures louder. |
I can let you know that if I changed some random thing somewhere that isn't linted, like
Ok sounds good, please ask me for clarification if you need more explanation about any other things |
Yes, the problem has to do with that, that is on the right track, but it's hard to explain exactly how. I'm going to show you one of the most useful debugging patches that I used to debug this to the point that I can consistently reproduce it. Wait a moment. |
|
@TomJo2000 I've applied a form of the debugging print message patch that I used to learn how to consistently reproduce this. Please take a look at the log now, and in particular, pay close attention to the top of the |
|
Oh, the log of the command |
Looks like a merge commit issue.
base_commit: HEAD~2
HEAD commit hash: c8309f354d98e0a7f60c916ba6a036fcc03167e4
git status: HEAD detached at pull/27168/merge
Untracked files:
(use "git add <file>..." to include in what will be committed)
built_termux-main_packages.txt
built_termux-main_subpackages.txt
nothing added to commit but untracked files present (use "git add" to track)
git log: commit c8309f354d98e0a7f60c916ba6a036fcc03167e4
Merge: 9888d735 473f4beb
Author: Robert Kirkman <31490854+robertkirkman@users.noreply.github.com>
Date: Sun Nov 9 06:59:57 2025 -0600
Merge 473f4bebec9837cd3fe65214bd74f09919c28896 into 9888d73522d238518683bd4aca4c8920c294f264
commit 473f4bebec9837cd3fe65214bd74f09919c28896
Author: Robert Kirkman <rkirkman@termux.dev>
Date: Sun Nov 9 06:59:47 2025 -0600
temporary debugging print messages in `lint-packages.sh`
commit ec4850db06bb33b921826ae1c951e4665b603274
Author: Robert Kirkman <rkirkman@termux.dev>
Date: Sun Nov 9 06:39:30 2025 -0600
revbump(main/llama-cpp): 0.0.0-b6996-1
- This PR will force `lint-packages.sh` to break
commit 19e9f186cbc471c3e9463044e95fdc250f49720c
Author: Robert Kirkman <rkirkman@termux.dev>
Date: Sun Nov 9 06:39:03 2025 -0600
force break `lint-packages.sh` dummy commit 5
commit bc2a7f04ea10ea0ea2d557cfd3461b89636501fe
Author: Robert Kirkman <rkirkman@termux.dev>
Date: Sun Nov 9 06:39:02 2025 -0600
force break `lint-packages.sh` dummy commit 4
commit a0925d5bb529d801d5bcd37c05ef797110e85d70
Author: Robert Kirkman <rkirkman@termux.dev>
Date: Sun Nov 9 06:39:00 2025 -0600
force break `lint-packages.sh` dummy commit 3
commit 7c684bec59c86e090fa076cfb8ab41dd219cffbb
Author: Robert Kirkman <rkirkman@termux.dev>
Date: Sun Nov 9 06:38:59 2025 -0600
force break `lint-packages.sh` dummy commit 2
commit 7a7d0339e4f169e6667bc44fc7e06be29b6c3b7b
Author: Robert Kirkman <rkirkman@termux.dev>
Date: Sun Nov 9 06:38:53 2025 -0600
force break `lint-packages.sh` dummy commit 1
commit 9888d73522d238518683bd4aca4c8920c294f264
Author: Termux Github Actions <contact@termux.dev>
Date: Sun Nov 9 12:14:04 2025 +0000
bump(main/llama-cpp): 0.0.0-b6996
This commit has been automatically submitted by Github Actions.
commit 78518d906e9c907d38941b9f7348000b2b55de58
Author: Termux Github Actions <contact@termux.dev>
Date: Sun Nov 9 06:15:34 2025 +0000
bump(main/jackett): 0.24.268
This commit has been automatically submitted by Github Actions.HEAD~2 would then contain the bump to llama-cpp, so it gets picked up by |
|
According to |
|
Could you try adding And I guess also to the |
|
It's up to you, but for organization purposes it might be best as a separate PR which can be marked as "fixing" this PR. |
Sure I will try that |
|
|
I think that works! I didn't know that would work. Thank you! So that you fully understand, the merge commit comes from this line, I think:
I didn't know what to do to actually fix this, though. your idea seems like it works. |
|
I don't get how that is even creating a merge commit.
|
oh, I think you're right, well, I don't know what is creating the merge commit. but you can see that whatever it is doesn't get caught by that check, so the CI proceeds onward silently and messes up the current |
closes termux#27168 Co-authored-by: Robert Kirkman <rkirkman@termux.dev>
|
Ohh ok it seems like, as far as I can tell, the code which is creating the merge commit is somewhere in this repository: Because, this issue is discussing it, where others have had similar problems: and the This would mean that the area where the merge commit is actually happening from the side of https://github.com/termux/termux-packages is here: termux-packages/.github/workflows/packages.yml Lines 42 to 45 in 9888d73
and since that is before everything else in the CI, I assume that actually turning off the merge commit might break other things that have already been developed to account for it. |
|
I'll leave that rabbit hole in your capable hands. |
|
ok, unfortunately, I thought so. For some reason, unfortunately this PR starting to pass the linter was a false positive, because when I run another (fresh) test applying my method of consistently reproducing the problem, the problem comes back, even with |
closes termux#27168 Co-authored-by: Robert Kirkman <rkirkman@termux.dev>
closes #27168 Co-authored-by: Robert Kirkman <rkirkman@termux.dev>
lint-packages.shto break