Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reordering Multiple Invocations of Scheduling Goals Fails #1633

Open
Mythicaeda opened this issue Feb 6, 2025 · 0 comments
Open

Reordering Multiple Invocations of Scheduling Goals Fails #1633

Mythicaeda opened this issue Feb 6, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Mythicaeda
Copy link
Contributor

Mythicaeda commented Feb 6, 2025

The update functions for scheduling_specification_goals and scheduling_model_specification_goals does not work with multiple invocations of the same goal.

If you have two instances of a goal with sequential priorities, then try to reorder them, the update fails.

This occurs because the priority-cleanup functions filter on goal_id and not invocation_id

@Mythicaeda Mythicaeda added the bug Something isn't working label Feb 6, 2025
@Mythicaeda Mythicaeda self-assigned this Feb 6, 2025
@github-project-automation github-project-automation bot moved this to Todo in Aerie Feb 6, 2025
Mythicaeda added a commit that referenced this issue Feb 12, 2025
- named `priority` in the DB to maintain schema parity with scheduling, and because `order` is a reserved keyword in SQL
- fixes #1633
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant