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

Feature/390 real time trace #708

Merged
merged 3 commits into from
Jul 8, 2024
Merged

Feature/390 real time trace #708

merged 3 commits into from
Jul 8, 2024

Conversation

mengdaming
Copy link
Contributor

Description:

Allows to display toolchain commands execution trace in "real time" (e.g. line per line) instead of dumping the whole trace after commands are completed. This is expected to improve UX, especially to remove the false impression that TCR is hanging, while it's actually waiting for a slow command to terminate.

Fixes #390

Type of change

Please tick the appropriate option using [x]

  • Bug fix
  • New feature
  • Enhancement

Checklist:

Please tick the appropriate options using [x]

  • My PR includes tests that cover my code changes.
  • Lint and formatter run with no errors
  • All new and old tests are passing

- Extract toolchain command execution functions into a separate file (command_runner.go)
- Report command traces line by line, instead of dumping all traces after command completion
…d is not found

- Also improve smoke tests to verify behaviour for both a failing command and a command not found
@mengdaming mengdaming requested review from aatwi and philou as code owners July 6, 2024 07:28
@mengdaming mengdaming linked an issue Jul 6, 2024 that may be closed by this pull request
1 task
Copy link

sonarqubecloud bot commented Jul 6, 2024

@mengdaming mengdaming merged commit 0799138 into main Jul 8, 2024
17 checks passed
@mengdaming mengdaming deleted the feature/390-real-time-trace branch July 8, 2024 08:10
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.

[Feature]: Display toolchain commands trace in real time
1 participant