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

Add notice annotation level and support more annotation fields #1175

Merged
merged 15 commits into from
Jul 13, 2021

Conversation

luketomlinson
Copy link
Contributor

@luketomlinson luketomlinson commented Jun 28, 2021

This PR does the following:

  • Creates a new notice command to map to the notice annotation level.
  • Adds support for title, endColumn, endLine

@luketomlinson luketomlinson requested a review from a team as a code owner June 28, 2021 15:00
ericsciple
ericsciple previously approved these changes Jul 2, 2021
@luketomlinson luketomlinson force-pushed the annotations-improvements branch from a0368dc to 8ba5e0e Compare July 2, 2021 17:14
@@ -1012,6 +1031,7 @@ public static class WellKnownTags
public static readonly string Command = "##[command]";
public static readonly string Error = "##[error]";
public static readonly string Warning = "##[warning]";
public static readonly string Notice = "##[notice]";
Copy link
Collaborator

Choose a reason for hiding this comment

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

we might want to make the UI changes first before we start writing this.... actually i guess it doesnt matter because no one will be using this initially. So we have some time to make that change in parallel

ericsciple
ericsciple previously approved these changes Jul 2, 2021
@luketomlinson luketomlinson merged commit fff31e1 into main Jul 13, 2021
@luketomlinson luketomlinson deleted the annotations-improvements branch July 13, 2021 15:38
AdamOlech pushed a commit to antmicro/runner that referenced this pull request Jun 17, 2024
…ns#1175)

* Add Notice Command

* Add Feature Flag For Enhanced Annotations

* Fix tests

* Add validation for columns and lines

* Fix order to match service

* Remove console.write

* Make Validation Better

* Cleanup

* Handle empty/whitespace strings

* Add more validation for line/column ranges

* Make Validation Debug, Not Throw

* Change casing to 🐫 from 🐍

* Give notice a well known tag

* Cleanup

* Sanitize invalid commands rather than fail
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.

4 participants