Skip to content

Remove redundant workflow step with invalid step reference#6

Closed
Copilot wants to merge 3 commits intosubmit_test-updatesfrom
copilot/sub-pr-5
Closed

Remove redundant workflow step with invalid step reference#6
Copilot wants to merge 3 commits intosubmit_test-updatesfrom
copilot/sub-pr-5

Conversation

Copy link

Copilot AI commented Nov 14, 2025

Addresses feedback on PR #5 regarding the "Fail if tests failed" step at line 102 which referenced a non-existent step ID.

Changes

  • Removed redundant conditional step that attempted to fail the workflow based on steps.Publish_Test_Results.outcome

Rationale

The step was unnecessary because:

  1. dotnet test already exits non-zero on test failures
  2. publish-unit-test-result-action doesn't set failure outcomes—it only publishes results to the Checks UI
  3. The step reference was invalid (Publish_Test_Results ID was never defined)

Test failures are caught naturally by the test execution steps (lines 68-84).


💡 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: softworkz <4985349+softworkz@users.noreply.github.com>
Copilot AI changed the title [WIP] Update workflow execution in badgecount tests Remove redundant workflow step with invalid step reference Nov 14, 2025
Copilot AI requested a review from softworkz November 14, 2025 11:43
@softworkz softworkz marked this pull request as ready for review November 14, 2025 11:44
Copilot AI review requested due to automatic review settings November 14, 2025 11:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes a redundant workflow step that attempted to fail the workflow based on a non-existent step reference, addressing feedback from PR #5.

  • Removed the "Fail if tests failed" step that referenced an undefined step ID Publish_Test_Results

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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