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

[feat] Introduce chronological order for dynamic reports #4450

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

bruntib
Copy link
Contributor

@bruntib bruntib commented Feb 6, 2025

Reports' can be assigned some labels. It is useful especially for dynamic analyzer reports for storing their timestamps or test cases during which they appeared.
Now it is possible to store a "chronological-order" annotation which is a simple integer counter.

@bruntib bruntib added this to the release 6.25.0 milestone Feb 6, 2025
@bruntib bruntib requested a review from cservakt February 6, 2025 16:26
@bruntib bruntib requested a review from vodorok as a code owner February 6, 2025 16:26
@bruntib bruntib force-pushed the typed_annotations branch 2 times, most recently from 4cfb3f9 to ab544a8 Compare February 7, 2025 16:54
Copy link
Collaborator

@cservakt cservakt left a comment

Choose a reason for hiding this comment

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

Currently, the report filters only include testcase. Users might also need the new chronological-order annotation as a filter. Should we consider adding it?

Comment on lines 1029 to 1030
SortType.CHRONOLOGICAL_ORDER: [('annotation_chronological-order',
'annotation_chronological-order')]}
Copy link
Collaborator

Choose a reason for hiding this comment

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

The naming convention here may not be consistent. It would be better to use snake_case and display it with a hyphen only in the GUI.


report_annotation_types = {
"timestamp": __allowed_types["datetime"],
"testsuite": __allowed_types["string"],
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we use the testsuite annotation anywhere? If not, it might be unnecessary and can be removed from the list.

Copy link
Member

@dkrupp dkrupp left a comment

Choose a reason for hiding this comment

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

Where is the expected PLIST format is documented? Shouldn't this new chornological-order field be documented? could you please add it?

@bruntib bruntib force-pushed the typed_annotations branch 3 times, most recently from c0a7892 to 7380728 Compare February 12, 2025 10:49
@bruntib bruntib requested review from cservakt and dkrupp February 12, 2025 10:49
Reports' can be assigned some labels. It is useful especially for
dynamic analyzer reports for storing their timestamps or test cases
during which they appeared.
Now it is possible to store a "chronological-order" annotation which is
a simple integer counter.
Copy link
Member

@dkrupp dkrupp left a comment

Choose a reason for hiding this comment

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

LGTM

@bruntib bruntib merged commit 98bd13c into Ericsson:master Feb 12, 2025
8 checks passed
@bruntib bruntib deleted the typed_annotations branch February 12, 2025 14:52
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