Skip to content

Process Transform Title and Log URL #366

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

Merged
merged 5 commits into from
May 2, 2024
Merged

Conversation

BenGalewsky
Copy link
Contributor

Problem

The users would like to know the title of transforms and not just the request ID. They would also like to be able to view the logs for a transform without having to navigate the dashboard

Approach

REST server nows sends the title over as well as the basic Logs url. Client will now parse this and use it in various places

BenGalewsky and others added 4 commits May 1, 2024 10:42
* Added CLI option "logs" to redirect user to transform ids error logs

* removed the URL optional opening, added info and error level, removed the table

* Added loglevel in models for info and error

* Removed Log Level from models.py

* Logic to add the filters in the URL, _a parameters for request id, log level and g parameters for time frame

* edited the logs cli option to use the log url from transformation status message
@BenGalewsky BenGalewsky requested a review from kyungeonchoi May 1, 2024 15:45
Copy link

codecov bot commented May 1, 2024

Codecov Report

Attention: Patch coverage is 89.47368% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 73.78%. Comparing base (a7f11f5) to head (203d116).
Report is 2 commits behind head on 3.0_develop.

Files Patch % Lines
servicex/app/transforms.py 78.37% 8 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           3.0_develop     #366      +/-   ##
===============================================
+ Coverage        72.28%   73.78%   +1.50%     
===============================================
  Files               41       42       +1     
  Lines             2226     2300      +74     
===============================================
+ Hits              1609     1697      +88     
+ Misses             617      603      -14     
Flag Coverage Δ
unittests 73.78% <89.47%> (+1.50%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@kyungeonchoi kyungeonchoi left a comment

Choose a reason for hiding this comment

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

Thanks!

@BenGalewsky BenGalewsky merged commit 5bc25f1 into 3.0_develop May 2, 2024
34 checks passed
@BenGalewsky BenGalewsky deleted the log_url_and_title branch May 2, 2024 15:05
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