bake: make the landing scan say what it saw, so a no-answer names its own cause

Splits Ignore into unreadable vs not-a-request and counts every verdict; the report prints only when the pass answered nobody, so its absence proves the action never ran.
This commit is contained in:
2026-08-02 08:00:19 -04:00
parent 7f3b00a646
commit 41ca833b86
7 changed files with 196 additions and 33 deletions
+6 -9
View File
@@ -204,14 +204,10 @@ BakeChainResult runBake(ReaSamplerProcessor& processor) {
break;
case wire::BakeAnswerKind::Unanswered:
return fail(
"the ReaSampler extension did not run the bake landing -- its action id "
"resolved but nothing read the request. Possible causes: the extension is "
"older than this plugin and does not know this action; REAPER deferred "
"running the action past this call returning (unverified -- see "
"reaper_bridge.h); the extension ran but could not read its own request "
"key on this pass; or the action name resolved to an id no currently "
"loaded extension actually handles. Reinstalling the extension and "
"restarting REAPER is worth trying, but is not the only possible fix");
"the ReaSampler extension did not answer -- the request key still holds "
"this exact request, untouched. Check the REAPER console: if the landing "
"action printed a scan report just now, it DID run and that line says what "
"it saw; if the console is silent, the action never ran at all");
case wire::BakeAnswerKind::Undecodable:
return fail(
"the extension answered in a format this plugin does not read -- the "
@@ -219,7 +215,8 @@ BakeChainResult runBake(ReaSamplerProcessor& processor) {
case wire::BakeAnswerKind::Cleared:
return fail(
"the bake key came back empty -- either the request was cleared before "
"an answer was written, or this build could not read whatever was there");
"an answer was written, or this build could not read whatever was there. "
"The landing action's console scan report, if one appeared, names which");
case wire::BakeAnswerKind::ForeignRequest:
return fail(
"the bake key held a different pending request instead of an answer -- "