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

Skip to content

Conversation

@amartani
Copy link
Contributor

Interactive for better user experience (show progress of the hook as it is running) and exit on error so that checks that fail actually stop the command.

@amartani amartani requested a review from a team as a code owner April 16, 2025 18:28
@aviator-app
Copy link
Contributor

aviator-app bot commented Apr 16, 2025

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.


See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

@aviator-app
Copy link
Contributor

aviator-app bot commented Apr 16, 2025

✅ FlexReview Status

Common Owner: aviator-co/engineering (expert-load-balance assignment)
Owner and Assignment:

  • aviator-co/engineering (expert-load-balance assignment)
    • Assigned: draftcode

Review SLO: 7 business hours if PR size is <= 200 LOC for the first response.

@aviator-app aviator-app bot requested a review from draftcode April 16, 2025 18:28
Args: []string{"hook", "run", "--ignore-missing", "pre-av-sync"},
Args: []string{"hook", "run", "--ignore-missing", "pre-av-sync"},
Interactive: true,
ExitError: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Unlike av pr equivalent, this "Interactive" option might not work as expected. Because the terminal is under bubbletea's control in this code, the program exec-ed from this part wouldn't be able to control the terminal. For this reason, bubbletea has a special construct to pause its terminal control and exec the specified program https://pkg.go.dev/github.com/charmbracelet/bubbletea#ExecProcess

It's fine for now, but just let you know. I can follow up later.

@aviator-app aviator-app bot merged commit ecc293a into aviator-co:master Apr 16, 2025
5 checks passed
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