Skip to content

Split monolithic action.ts into smaller modules #461

@github-actions

Description

@github-actions

The core orchestration file (src/github/action.ts) is ~900 lines and handles cloning, prompt building, Codex/OpenAI invocation, diff detection, PR creation, comment updates, and error handling. Break it into cohesive submodules (e.g. prompt-builder, diff-scanner, comment-manager) to improve readability, testability, and maintainability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions