Skip to content

fix(#1342): parallel mode drops per-issue warnings, not just progress — spec-parse failure, PR-after-exec failure and checkpoint-commit failure are silent on every MCP run - #1373

Merged
admarble merged 5 commits into
mainfrom
feature/1342-fix-run-parallel-mode-drops-per-issue-warnings-not
Oct 8, 2026

Conversation

@admarble

@admarble admarble commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

In parallel mode, which every MCP sequant_run uses, runIssueWithLogging's log is a no-op, so per-issue warnings were dropped along with progress lines. Examples: spec-parse failure, PR-after-exec failure, checkpoint-commit failure, ready-gate halts and the PR-body placeholder warning. This PR adds a warn channel that survives parallel mode:

Fixes #1342

AC status (runner-verified)

AC Status Evidence
AC-1 warnings reach output in parallel mode; progress stays suppressed Met batch-executor.test.ts > "#1342 … > AC-1: parallel mode emits the warning but not progress lines"
AC-2 under the TUI, warnings use the renderer's channel Met "AC-2: with a renderer handle the warning goes through appendNotice, not console.log"
AC-3 gate against bypassing calls Met "AC-3: no log(chalk.yellow

Mutation-verified: AC-1 — made warn call the parallel-mode no-op log instead of bracketedConsoleLog; src/lib/workflow/batch-executor.test.ts failed (AC-1, and also AC-2 and AC-3 since the mutation adds a log(chalk.yellow(...)) call); restored.

Mutation-verified: AC-3 — added a log(chalk.yellow(...)) call inside runIssueWithLogging; src/lib/workflow/batch-executor.test.ts failed (exactly the AC-3 case); restored.

Notes

  • Plugin freeze: this diff touches no file under plugin/, .claude/skills/ or templates/skills/. Only src/lib/workflow/batch-executor.ts, its test, and CHANGELOG changed.
  • The AC-3 gate matches log(chalk.yellow|red( literally, so a warning built in a template string with embedded chalk would slip past it. This is within AC-3's text, which scopes the gate to those calls.
  • QA ran while required CI was still in progress. CI is re-checked before merge.

🤖 Generated with Claude Code

@admarble
admarble merged commit c96fc5b into main Oct 8, 2026
8 checks passed
@admarble
admarble deleted the feature/1342-fix-run-parallel-mode-drops-per-issue-warnings-not branch October 8, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant