Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix dashboard signals parsing for dashboard queries #1228

Merged
merged 5 commits into from
Jul 12, 2023

Conversation

dmytrotsko
Copy link
Contributor

Summary:

Fixed dashboard signals parsing for dashboard queries.
Used parse_source_signal_sets() function to parse (source, signal) pairs

Prerequisites:

  • Branch is up-to-date with the branch to be merged with, i.e. dev
  • Build is successful
  • Code is cleaned up and formatted

@dmytrotsko dmytrotsko requested a review from melange396 July 10, 2023 19:23
@dmytrotsko dmytrotsko self-assigned this Jul 10, 2023
Copy link
Collaborator

@melange396 melange396 left a comment

Choose a reason for hiding this comment

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

beautiful! one thing about handling the signal wildcard that is pretty important, and then two other little suggestions to think about.

…les_count() + in check_signals_allowlist().

Changed request_signals from list to set in order to use `issubset()` function
@dmytrotsko dmytrotsko requested a review from melange396 July 11, 2023 20:19
@dmytrotsko dmytrotsko force-pushed the fix_dashboard_signals_parsing branch from 58caadd to 17b98dd Compare July 12, 2023 07:51
@dmytrotsko dmytrotsko changed the title Fixed dashboard signals parsing for dashboard queries Fix dashboard signals parsing for dashboard queries Jul 12, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Collaborator

@melange396 melange396 left a comment

Choose a reason for hiding this comment

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

looks great, nice work!

@dmytrotsko dmytrotsko merged commit 7bed7c7 into dev Jul 12, 2023
@dmytrotsko dmytrotsko deleted the fix_dashboard_signals_parsing branch July 12, 2023 16:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants