Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python] Overhaul iree.build console output and error handling. #19314

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

stellaraccident
Copy link
Collaborator

  • Status updates look more like what would be expected from something like ninja or bazel:
    • Short update one liners wink past
    • If some actions are taking a long time, a multi-line display is shown with the worst lagging ones
  • Per action errors and dependence errors are now tracked in the build graph and reported correctly (vs triggering the last chance exception handler).
  • The last chance exception handler for true program errors now prints its exception verbosely prior to blocking waiting for the executor to shutdown (this was causing exception swallowing).

Copy link
Member

@ScottTodd ScottTodd left a comment

Choose a reason for hiding this comment

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

Nice!

Copy link
Collaborator

@monorimet monorimet left a comment

Choose a reason for hiding this comment

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

Love it. LGTM

* Status updates look more like what would be expected from something like ninja or bazel:
  * Short update one liners wink past
  * If some actions are taking a long time, a multi-line display is shown with the worst lagging ones
* Per action errors and dependence errors are now tracked in the build graph and reported correctly (vs triggering the last chance exception handler).
* The last chance exception handler for true program errors now prints its exception verbosely prior to blocking waiting for the executor to shutdown (this was causing exception swallowing).

Signed-off-by: Stella Laurenzo <[email protected]>
@stellaraccident stellaraccident force-pushed the python_build_console_pretty branch from 437dc53 to 10458a5 Compare November 27, 2024 21:05
@stellaraccident stellaraccident merged commit 516ff10 into main Nov 27, 2024
40 checks passed
@stellaraccident stellaraccident deleted the python_build_console_pretty branch November 27, 2024 21:22
Groverkss pushed a commit to Groverkss/iree that referenced this pull request Dec 1, 2024
…-org#19314)

* Status updates look more like what would be expected from something
like ninja or bazel:
  * Short update one liners wink past
* If some actions are taking a long time, a multi-line display is shown
with the worst lagging ones
* Per action errors and dependence errors are now tracked in the build
graph and reported correctly (vs triggering the last chance exception
handler).
* The last chance exception handler for true program errors now prints
its exception verbosely prior to blocking waiting for the executor to
shutdown (this was causing exception swallowing).

Signed-off-by: Stella Laurenzo <[email protected]>
giacs-epic pushed a commit to giacs-epic/iree that referenced this pull request Dec 4, 2024
…-org#19314)

* Status updates look more like what would be expected from something
like ninja or bazel:
  * Short update one liners wink past
* If some actions are taking a long time, a multi-line display is shown
with the worst lagging ones
* Per action errors and dependence errors are now tracked in the build
graph and reported correctly (vs triggering the last chance exception
handler).
* The last chance exception handler for true program errors now prints
its exception verbosely prior to blocking waiting for the executor to
shutdown (this was causing exception swallowing).

Signed-off-by: Stella Laurenzo <[email protected]>
Signed-off-by: Giacomo Serafini <[email protected]>
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