Skip to content

Persist PR-URL in state #29

Description

@Neokil

Problem

Right now the PR-URL is not persisted in the state, but this is required for the "Open-PR" button to be displayed.

Solution

Make sure the PR-URL is persisted. This could be done by moving the PR creation into the post_prompt_commands and add a save_ post_prompt_commands_output_to_state: true that tells the orchestrator that the post_prompt_commands returns a json object and all properties of the json object should be persisted to the state, overwriting existing values.
This could then be used so the post_prompt_commands returns { "PRURL": "..." } and the orchestrator then updates the state from that.

Same functionality should also be added to the pre_prompt_commands.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions