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

Fix issue 489 - trace level messages get evaluated to send to Pulumi engine #492

Merged
merged 8 commits into from
May 23, 2024

Conversation

lbialy
Copy link
Collaborator

@lbialy lbialy commented May 10, 2024

Fansi has some issues with some ansi escape codes as reported in #489. This does not fix the inner issue, we just stop sending trace log events to the engine and that prevents evaluation of the lines that cause the problem. Alternative would be to stop using pprint/fansi combo for debug but that would make debugging experience much worse so no go.

Therefore this is fixed for the end user, weird fansi (?) bug persists on trace level and can / will come back to bite us in debugging.

@pawelprazak pawelprazak added kind/bug Some behavior is incorrect or out of spec area/core The SDK's core code labels May 15, 2024
@lbialy lbialy requested a review from prolativ as a code owner May 22, 2024 18:22
@lbialy
Copy link
Collaborator Author

lbialy commented May 23, 2024

Changed it so that no trace level messages get sent to pulumi engine. Temporary solution.

  • fixed fansi / ansi escape codes problem with pulumi engine for the end user by dropping trace messages from pulumi engine publishing pipeline, tactical, temporary solution - actual issue is caused by how
  • stop using bloop in CI

@lbialy
Copy link
Collaborator Author

lbialy commented May 23, 2024

Found a solution that actually works. No need for half-assed temporary solutions.

Copy link
Collaborator Author

@lbialy lbialy left a comment

Choose a reason for hiding this comment

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

lgtm, bravo me

@lbialy lbialy merged commit 1314110 into main May 23, 2024
2 checks passed
@lbialy lbialy deleted the issue-489 branch May 23, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core The SDK's core code kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants