Skip to content

[GSK-1476] introducing debug_description in test decorator#1290

Merged
rabah-khalek merged 36 commits intomainfrom
GSK-1476-debug-description
Sep 28, 2023
Merged

[GSK-1476] introducing debug_description in test decorator#1290
rabah-khalek merged 36 commits intomainfrom
GSK-1476-debug-description

Conversation

@rabah-khalek
Copy link
Copy Markdown
Contributor

The idea is to describe what the debug does for every test when a user clicks on the button

@linear
Copy link
Copy Markdown

linear Bot commented Aug 2, 2023

@rabah-khalek rabah-khalek marked this pull request as draft August 2, 2023 14:45
@rabah-khalek
Copy link
Copy Markdown
Contributor Author

@Googleton, I introduced the default message, What's left is to propagate it for every test with a custom message.
Could you please test if you can retrieve it on the UI without any issues? I created the DTOs but just want to be sure I haven't forgotten anything. Thanks!

@rabah-khalek rabah-khalek added Python Pull requests that update Python code Frontend Backend labels Aug 2, 2023
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Aug 4, 2023

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

57.1% 57.1% Coverage
0.0% 0.0% Duplication

@Inokinoki Inokinoki self-assigned this Sep 14, 2023
@Inokinoki Inokinoki marked this pull request as ready for review September 18, 2023 09:55
@Inokinoki
Copy link
Copy Markdown
Member

Preview:

image

@Inokinoki
Copy link
Copy Markdown
Member

Preview:

image

Updated:
image

Inokinoki and others added 6 commits September 19, 2023 19:03
* performance

* adjusted bold rendering

* added bold to default message

* statistic

* metamorhpic

* drift

* calibration

* adjusted frontend

* implemented @jmsquare's feedback

* fixed tests
Comment thread frontend/src/views/main/project/SuiteTestExecutionCard.vue
@Inokinoki Inokinoki requested a review from Googleton September 26, 2023 15:39
Copy link
Copy Markdown
Member

@Inokinoki Inokinoki left a comment

Choose a reason for hiding this comment

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

Nice work @rabah-khalek for the debug description messages!
Could you plz test to start a new instance without existing DB from main and connect an internal ML worker (so that the test function does not contain debug description), and then restart both DB and worker from this branch, to see whether the debug descriptions are updated or not.
I tested locally, it seems to be working now.

Comment thread backend/src/main/java/ai/giskard/service/TestFunctionService.java
Comment thread frontend/src/views/main/project/SuiteTestExecutionCard.vue
@rabah-khalek
Copy link
Copy Markdown
Contributor Author

@Inokinoki @Googleton the backend build seems to be failing, could you please have a look? I hope it's an easy fix.

@Inokinoki
Copy link
Copy Markdown
Member

@Inokinoki @Googleton the backend build seems to be failing, could you please have a look? I hope it's an easy fix.

Checked, it seems to be random network issue in the last CI. This one passes

@sonarqubecloud
Copy link
Copy Markdown

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 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@rabah-khalek rabah-khalek merged commit 04455a6 into main Sep 28, 2023
@rabah-khalek rabah-khalek deleted the GSK-1476-debug-description branch September 28, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend Frontend Python Pull requests that update Python code

Development

Successfully merging this pull request may close these issues.

4 participants