From acf46c5925c4d4d045fc45fa55ee4b834f91066c Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 1 Aug 2026 20:32:25 +0000 Subject: [PATCH] fix(qwen3-tts-cpp): hold qwentts.cpp at 35ebe537, upstream master hangs in synthesis tests-qwen3-tts-cpp has been failing on master since 2026-07-31. The suite loads every component fine and then stops: TTS() never returns from the native call, so a job that takes ~5 minutes runs into the 20 minute Go test timeout instead. goroutine 74 [syscall, 19 minutes]: github.com/ebitengine/purego.RegisterFunc.func4 qwen3-tts-cpp.(*Qwen3TtsCpp).TTS goqwen3ttscpp.go:154 qwen3-tts-cpp.init.func2.4 e2e_test.go:90 Not a flake: reproduced on master and again on an explicit re-run. Bisected across this cycle's eight qwentts.cpp bumps by their own check: 10832, 10850, 10902, 10964, 11006, 11039 and 11127 all pass in ~5 minutes; 11241 (abab6b3) fails at 1h58m. That PR was merged with this check already red, which is how the hang reached master. 35ebe537..abab6b3 is three upstream commits, and the only functional one is 26dd8adb, "predictor: unroll the frame into one cgraph and sample in standard ops", which is consistent with a generation loop that never reaches its stop condition. Hold the pin at the last known-good commit. The bump entry is commented out rather than left in place, because it tracks upstream master and would put the hang straight back on the next nightly run. Both spots carry a pointer to the other so the hold is discoverable, and restoring it is uncommenting four lines once upstream is fixed. Signed-off-by: Ettore Di Giacinto Assisted-by: Claude Code:claude-opus-5 [Read] [Edit] [Bash] --- .github/workflows/bump_deps.yaml | 12 ++++++++---- backend/go/qwen3-tts-cpp/Makefile | 12 +++++++++++- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bump_deps.yaml b/.github/workflows/bump_deps.yaml index d220dbcc4d04..2b906a796f15 100644 --- a/.github/workflows/bump_deps.yaml +++ b/.github/workflows/bump_deps.yaml @@ -110,10 +110,14 @@ jobs: variable: "LOCATEANYTHING_VERSION" branch: "master" file: "backend/go/locate-anything-cpp/Makefile" - - repository: "ServeurpersoCom/qwentts.cpp" - variable: "QWEN3TTS_CPP_VERSION" - branch: "master" - file: "backend/go/qwen3-tts-cpp/Makefile" + # qwentts.cpp is held, not tracked: upstream master hangs in synthesis + # (see the comment on QWEN3TTS_CPP_VERSION in the backend Makefile). + # Leaving it here would re-bump the pin back onto the hang every night. + # Restore this entry once the upstream fix lands. + # - repository: "ServeurpersoCom/qwentts.cpp" + # variable: "QWEN3TTS_CPP_VERSION" + # branch: "master" + # file: "backend/go/qwen3-tts-cpp/Makefile" - repository: "ServeurpersoCom/omnivoice.cpp" variable: "OMNIVOICE_VERSION" branch: "master" diff --git a/backend/go/qwen3-tts-cpp/Makefile b/backend/go/qwen3-tts-cpp/Makefile index 614c78fc2b28..e75eb6cca495 100644 --- a/backend/go/qwen3-tts-cpp/Makefile +++ b/backend/go/qwen3-tts-cpp/Makefile @@ -7,8 +7,18 @@ GO_TAGS?= JOBS?=$(shell nproc --ignore=1) # qwentts.cpp version +# +# Held at 35ebe537 rather than tracking latest: abab6b3 hangs in synthesis. +# TTS() never returns from the native call, so tests-qwen3-tts-cpp goes from +# ~5 minutes to the 20 minute Go test timeout. Reproduced on master on +# 2026-08-01 and again on re-run, and the bump PR (#11241) was merged with +# this same check already red. +# +# The regression is in 35ebe537..abab6b3, three upstream commits whose only +# functional change is 26dd8adb, "predictor: unroll the frame into one cgraph +# and sample in standard ops". Restore the bump once that is fixed upstream. QWEN3TTS_REPO?=https://github.com/ServeurpersoCom/qwentts.cpp -QWEN3TTS_CPP_VERSION?=abab6b3bf317cfa1b788efce1d25f4f9239395ad +QWEN3TTS_CPP_VERSION?=35ebe5376b82a0a59d008586d55bbe623d449011 SO_TARGET?=libgoqwen3ttscpp.so CMAKE_ARGS+=-DBUILD_SHARED_LIBS=OFF