Skip to content

feature/LCHIB-777: improve the gate command output to display actionable failure details - #1364

Merged
jothikumar-CB merged 3 commits into
v1from
feature/LCHIB-777-improve-the-gate-command-output
Aug 28, 2026
Merged

feature/LCHIB-777: improve the gate command output to display actionable failure details#1364
jothikumar-CB merged 3 commits into
v1from
feature/LCHIB-777-improve-the-gate-command-output

Conversation

@jothikumar-CB

@jothikumar-CB jothikumar-CB commented Aug 25, 2026

Copy link
Copy Markdown

Pull request overview

This PR enhances the gate command’s human-readable output so that, when a gate fails, it prints actionable per-test failure details (including test identifier path and stderr), with special formatting for GitHub Actions logs.

Changes:

  • Extend gate table output to include “Actionable Failure Details” derived from actionableFailedTests.
  • Add GitHub Actions-specific log grouping (::group:: / ::endgroup::) for actionable failure details when GITHUB_ACTIONS is set.
  • Update and expand tests to cover the new output and JSON shape.

@jothikumar-CB
jothikumar-CB requested review from ono-max and a lite review from Copilot and removed request for Copilot August 25, 2026 10:02
@jothikumar-CB jothikumar-CB self-assigned this Aug 25, 2026
@jothikumar-CB jothikumar-CB added enhancement New feature or request Smart Tests CLI The next gen CLI labels Aug 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 enhances the gate command’s human-readable output so that, when a gate fails, it prints actionable per-test failure details (including test identifier path and stderr), with special formatting for GitHub Actions logs.

Changes:

  • Extend gate table output to include “Actionable Failure Details” derived from actionableFailedTests.
  • Add GitHub Actions-specific log grouping (::group:: / ::endgroup::) for actionable failure details when GITHUB_ACTIONS is set.
  • Update and expand tests to cover the new output and JSON shape.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/commands/test_gate.py Updates existing gate tests and adds a new test to assert actionable failure detail output, including GitHub Actions grouping format.
launchable/commands/gate.py Prints actionable failed test details (path + stderr) after the summary table, with GitHub Actions grouping support.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread launchable/commands/gate.py

@mnamachivayam mnamachivayam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left a comment for you to address. Otherwise, looks good.

Comment thread launchable/commands/gate.py
Comment thread launchable/commands/gate.py Outdated
Comment thread launchable/commands/gate.py Outdated
@jothikumar-CB
jothikumar-CB requested a review from ono-max August 28, 2026 02:49
Comment thread launchable/commands/gate.py
@jothikumar-CB
jothikumar-CB merged commit d2fa73b into v1 Aug 28, 2026
14 checks passed
@jothikumar-CB
jothikumar-CB deleted the feature/LCHIB-777-improve-the-gate-command-output branch August 28, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Smart Tests CLI The next gen CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants