Skip to content

refactor: split CLI setup and pass 2 orchestration#61

Merged
flexiondotorg merged 2 commits into
mainfrom
dissappointed
Jul 5, 2026
Merged

refactor: split CLI setup and pass 2 orchestration#61
flexiondotorg merged 2 commits into
mainfrom
dissappointed

Conversation

@flexiondotorg

Copy link
Copy Markdown
Contributor
  • Move run validation, encoder checks, and runtime config assembly out of main.go
  • Extract pass 2 orchestration and preview cadence handling into helpers
  • Trim stale comments and keep config constants and tests aligned

  - Move run validation, encoder checks, and runtime config assembly out of
    `main.go`
  - Extract pass 2 orchestration and preview cadence handling into helpers
  - Trim stale comments and keep config constants and tests aligned

Signed-off-by: Martin Wimpress <code@wimpress.io>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 10 files

Confidence score: 3/5

  • In cmd/jive-visualiser/pipeline.go, quitting via tea.Quit can still leave the process blocked waiting on analysisErrCh, so the app may look hung even after the TUI exits and users may assume quit is broken — add cancellation wiring for the background pass (or make the post-quit channel wait non-blocking) before merging.

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread cmd/jive-visualiser/pipeline.go
  - Mark the progress model as interrupted when the user quits
  - Skip final summary output when exit came from the live view
  - Add tests for quit handling and completed view behaviour

Signed-off-by: Martin Wimpress <code@wimpress.io>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 3 files (changes from recent commits).

Requires human review: Massive refactor extracting CLI setup, pass 2 orchestration, and preview cadence handling into new files. 1105 lines changed with 3 new files. Restructures core execution flow and changes preview payload function signature. High risk of introduced bugs despite review finding no issues.

Re-trigger cubic

@flexiondotorg flexiondotorg merged commit 660e5d0 into main Jul 5, 2026
16 checks passed
@flexiondotorg flexiondotorg deleted the dissappointed branch July 5, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant