Repository navigation
Conversation
…sing - Add IssueExecutionContext type to replace 15 positional params in runIssueWithLogging (AC-2) - Move RunOptions and ProgressCallback to types.ts for shared use - Add normalizeCommanderOptions() to replace `as any` cast for Commander.js --no-X flag handling (AC-4) - Extract executeOneIssue() helper to unify duplicated log bookkeeping in sequential and parallel loops (AC-1) - Update all 3 call sites (sequential, parallel, batch) to construct context objects (AC-3) - Update all existing tests to use context-based API - Add unit tests for normalizeCommanderOptions covering all 6 flag mappings (AC-8) - No behavioral change — all existing tests pass (AC-5) - Net ~60 line reduction in runCommand function body (AC-6)
6 tasks
…sing - Add IssueExecutionContext type to replace 15 positional params in runIssueWithLogging (AC-2) - Move RunOptions and ProgressCallback to types.ts for shared use - Add normalizeCommanderOptions() to replace `as any` cast for Commander.js --no-X flag handling (AC-4) - Extract executeOneIssue() helper to unify duplicated log bookkeeping in sequential and parallel loops (AC-1) - Update all 3 call sites (sequential, parallel, batch) to construct context objects (AC-3) - Update all existing tests to use context-based API - Add unit tests for normalizeCommanderOptions covering all 6 flag mappings (AC-8) - No behavioral change — all existing tests pass (AC-5) - Net ~60 line reduction in runCommand function body (AC-6)
…Issue Replace 11 positional params in executeBatch and redundant field listing in executeOneIssue with a shared BatchExecutionContext object (#402).
…ameter-' of https://github.com/sequant-io/sequant into feature/402-simplify-run-command-execution-path-and-parameter- # Conflicts: # src/commands/run.ts # src/lib/workflow/batch-executor.ts # src/lib/workflow/types.ts
Remove LogWriter, StateManager, ProgressCallback, ShutdownManager, and WorktreeInfo imports that were left behind during #402 refactor.
4 tasks
admarble
deleted the
feature/402-simplify-run-command-execution-path-and-parameter-
branch
April 6, 2026 21:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
runIssueWithLoggingwith a structuredIssueExecutionContextobject, eliminating fragile call sitesexecuteOneIssue()helper to unify duplicated log bookkeeping (startIssue/completeIssue/setPRInfo) across sequential and parallel loopsnormalizeCommanderOptions()function to replaceas anycast for Commander.js--no-Xflag handlingRunOptionsandProgressCallbacktypes totypes.tsfor shared use; re-export frombatch-executor.tsfor backwards compatibilityAC Coverage
executeOneIssue()IssueExecutionContextnormalizeCommanderOptions()replacesas anyCommanderRawOptionsinterfaceTest plan
npm run buildpassesnpm run lintpassesnpm test— 2342 passed (1 pre-existing timeout flake in state-utils)Closes #402
🤖 Generated with Claude Code