Skip to content

Feature: Headless Mode (CI/Cron Support) #37

@whoisjayd

Description

@whoisjayd

Problem Description

The PipelineOrchestrator forces the use of the PipelineDashboard (Rich UI), which requires a TTY. This prevents running yt-study in CI pipelines or background services.

Proposed Solution

Add a mode that bypasses the TUI for simple logging.

Implementation Details

  • Add --headless / --no-ui flag
  • In orchestrator, check flag before initializing Dashboard
  • If headless, use standard python logging or simple print statements for progress
  • Ensure exit codes are propagated correctly

Acceptance Criteria

  • Tool runs successfully in non-interactive shell (CI)
  • Logs are readable in text files
  • Functionality remains identical to UI mode

References

  • src/yt_study/pipeline/orchestrator.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions