Scheduling existing recipes - missing deeplink and creates duplicate recipe
Bug Description
When a user presses the Schedule button on an existing recipe in the desktop app (v1.11.0), two problems occur:
Issue 1: Recipe Deeplink Not Auto-Populated
The scheduler dialog is not auto-populated with the recipe's deeplink, requiring the user to manually fill in the recipe path/URL.
Expected behavior: The recipe deeplink should be automatically populated in the scheduler when scheduling an existing recipe.
Actual behavior: The recipe field is empty and must be filled in manually.
Issue 2: Duplicate Recipe Created
Once the recipe is scheduled, a duplicate version of the existing recipe is created in the Recipe view.
Expected behavior: Scheduling an existing recipe should not create a duplicate entry in the Recipe view.
Actual behavior: A duplicate recipe entry appears in the Recipe view after scheduling.
Environment
- Goose Version: 1.11.0
- Platform: Desktop app
Steps to Reproduce
- Open the desktop app
- Navigate to an existing recipe in the Recipe view
- Click the "Schedule" button on the recipe
- Observe that the recipe deeplink is not pre-filled in the scheduler dialog
- Fill in the schedule details and create the scheduled job
- Return to the Recipe view
- Observe that a duplicate of the recipe now appears
Impact
- Users must manually enter recipe information that should be automatically populated
- Recipe view becomes cluttered with duplicate entries
- Poor user experience when scheduling recipes
@amed-xyz might have fixed this on main
reverting this feature would also be an option
Issue 1 was fixed by https://github.com/block/goose/pull/5290 Issue 2 is going to be fixed by https://github.com/block/goose/pull/5513 once merged