Skip to content

Fix to prevent stderr warnings from creating error annotations on successful installations - #1

Open
lmvysakh wants to merge 5 commits into
mainfrom
1317_fix_annotation
Open

Fix to prevent stderr warnings from creating error annotations on successful installations#1
lmvysakh wants to merge 5 commits into
mainfrom
1317_fix_annotation

Conversation

@lmvysakh

Copy link
Copy Markdown
Owner

Description:
Code fix to properly address errors and warnings.

  1. Buffer stderr lines during execution instead of logging them immediately.
  2. After the installation script exits, check the exit code to determine log severity:
    • Exit code ≠ 0 → log stderr lines with core.error() (red annotations - genuine failure)
    • Exit code = 0 → log stderr lines with core.warning() (yellow annotations - informational warning)

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.

1 participant