Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@altsem
Copy link
Owner

@altsem altsem commented Apr 18, 2025

No description provided.

@altsem altsem requested a review from Copilot April 18, 2025 08:55
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 pull request enhances the command execution functionality by printing stderr output to the screen during command execution (as used in git hooks), while also capturing and logging the output.

  • Introduces logging and update calls prior to spawning the command.
  • Modifies command execution to tee output streams to both the stderr and an internal log.
  • Adds a new "Refresh" event to the GituEvent enum in src/lib.rs.

Reviewed Changes

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

File Description
src/state.rs Modified command execution flow to tee stdout/stderr and update terminal.
src/lib.rs Added the Refresh event to support terminal refresh notifications.

@codecov
Copy link

codecov bot commented Apr 18, 2025

Codecov Report

Attention: Patch coverage is 94.28571% with 2 lines in your changes missing coverage. Please review.

Project coverage is 86.69%. Comparing base (5b0a23b) to head (947da1b).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/lib.rs 0.00% 1 Missing ⚠️
src/state.rs 96.96% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #351      +/-   ##
==========================================
+ Coverage   86.63%   86.69%   +0.05%     
==========================================
  Files          66       66              
  Lines        6127     6154      +27     
==========================================
+ Hits         5308     5335      +27     
  Misses        819      819              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@altsem altsem force-pushed the feat/incremental-output branch from 16ab303 to 947da1b Compare April 18, 2025 09:02
@altsem altsem merged commit ebb63fb into master Apr 18, 2025
5 checks passed
@altsem altsem deleted the feat/incremental-output branch April 18, 2025 09:54
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.

2 participants