Skip to content

Feat/preempt button#4662

Merged
nikola-jokic merged 10 commits intoarmadaproject:masterfrom
dslear:feat/preempt-button
Feb 6, 2026
Merged

Feat/preempt button#4662
nikola-jokic merged 10 commits intoarmadaproject:masterfrom
dslear:feat/preempt-button

Conversation

@dslear
Copy link
Collaborator

@dslear dslear commented Feb 5, 2026

What type of PR is this?

Feature

What this PR does / why we need it

This PR adds a preempt button to the Lookout UI, allowing a user to preempt selected jobs directly from the interface. This is mostly modeled after a combination of the existing reprioritize and cancel buttons to attempt to maintain consistency.

Notably, the preempt endpoint of the Armada API returns an empty response upon success, so I had to handle the response differently

Which issue(s) this PR fixes

Fixes #

Special notes for your reviewer

Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
@mauriceyap
Copy link
Collaborator

@Mergifyio refresh

@mergify
Copy link

mergify bot commented Feb 5, 2026

refresh

✅ Pull request refreshed

@mauriceyap
Copy link
Collaborator

@Mergifyio refresh

@mergify
Copy link

mergify bot commented Feb 5, 2026

refresh

✅ Pull request refreshed

@mauriceyap
Copy link
Collaborator

@Mergifyio refresh

@mergify
Copy link

mergify bot commented Feb 5, 2026

refresh

✅ Pull request refreshed

@nikola-jokic nikola-jokic enabled auto-merge (squash) February 6, 2026 09:43
@nikola-jokic nikola-jokic merged commit f433fb6 into armadaproject:master Feb 6, 2026
15 checks passed
dslear added a commit to dslear/armada that referenced this pull request Feb 9, 2026
<!-- Thanks for sending a pull request! Here are some tips for you: -->

#### What type of PR is this?

Feature

#### What this PR does / why we need it

This PR adds a preempt button to the Lookout UI, allowing a user to
preempt selected jobs directly from the interface. This is mostly
modeled after a combination of the existing reprioritize and cancel
buttons to attempt to maintain consistency.

Notably, the preempt endpoint of the Armada API returns an empty
response upon success, so I had to handle the response differently

#### Which issue(s) this PR fixes
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related
issues/tests in a comment and do not use `Fixes`_*
-->
Fixes #

#### Special notes for your reviewer

---------

Signed-off-by: David Slear <david_slear@yahoo.com>
Co-authored-by: Maurice Yap <mauriceyap@hotmail.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants