Skip to content

Add re-run button for acknowledged error rows#49

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-re-run-option-error-row
Draft

Add re-run button for acknowledged error rows#49
Copilot wants to merge 2 commits intomainfrom
copilot/add-re-run-option-error-row

Conversation

Copy link
Contributor

Copilot AI commented Nov 22, 2025

Adds a "Re-run" button to acknowledged error job rows on the main jobs screen, eliminating the need to navigate to the worker details page.

Changes

  • JobRow.razor: Added button for ACK status that triggers RunJob method
  • JobRow.razor.cs: Implemented RunJob method calling Workers/RunNow API with Worker.ID

The button follows existing patterns for status-specific actions (Cancel for NEW, Acknowledge for ERR) and reuses the same API endpoint as the Run button in WorkerDisplay.

else if (Job.StatusCode == "ACK")
{
    <div>
        <button class="btn btn-xs btn-outline-success" @onclick="RunJob">
            <i class="bi bi-play"></i>
            Re-run
        </button>
    </div>
}
Original prompt

This section details on the original issue you should resolve

<issue_title>Add a "re-run" option on an acknowledged error row</issue_title>
<issue_description>This button would be the same as opening the worker and clicking the Run button, but it's done from the main jobs screen to save time.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: jtenos <607782+jtenos@users.noreply.github.com>
Copilot AI changed the title [WIP] Add re-run option for acknowledged error row Add re-run button for acknowledged error rows Nov 22, 2025
Copilot AI requested a review from jtenos November 22, 2025 17:59
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.

Add a "re-run" option on an acknowledged error row

2 participants