Skip to content

Planner import: changing an import draft's repository drops attachment-only sources #3966

Done

Description

@integry

From the review of #3965 (F1), in code added by #3957.

Problem: for an attachment-only plan import, changing the target repository from the existing-draft control (createDraftForRepoChange in propr-ui/src/components/TaskPlanner/SetupWizard.tsx) creates a new import draft from config.prompt, which is empty, and persists only the setup snapshot. The attachments stay on the old draft, so the new draft has no source and Import is disabled. This happens, for example, when a user goes back to pick a different repository after a conversion fails.

Do: transfer the import draft's text attachments to the replacement draft, in order, before navigating. Add a regression test for a repository change from an attachment-only import draft.

Activity

  1. propr-dev commented on Dec 1, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-6.2-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-6.2-sol
    • Branch: 3966/gpt-6.2-sol-planner-import-changing-a-20261201-1253-rhq
    • Base Branch: main
    • Worktree: issue-3966-20261201-1253-gpt-6.2-sol-rhq

    🔍 Track Task Execution

  2. added a commit that references this issue on Dec 1, 2026
    88990b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions