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

Test/integration testing #951

Merged
merged 72 commits into from
Mar 22, 2024
Merged

Test/integration testing #951

merged 72 commits into from
Mar 22, 2024

Conversation

jrobinAV
Copy link
Member

@jrobinAV jrobinAV commented Mar 8, 2024

No description provided.

@jrobinAV jrobinAV added Core Related to Taipy Core 🧪Testing Related to tests and other QA activities. 🟧 Priority: High Must be addressed as soon ❌ Blocked Issues blocked by another issue or waiting for a decision Core: Job & Orchestrator labels Mar 8, 2024
@jrobinAV jrobinAV self-assigned this Mar 8, 2024
Copy link
Contributor

github-actions bot commented Mar 8, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
17785 15613 88% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
taipy/core/_orchestrator/_dispatcher/_job_dispatcher.py 92% 🟢
taipy/core/_orchestrator/_dispatcher/_standalone_job_dispatcher.py 100% 🟢
taipy/core/_orchestrator/_orchestrator.py 93% 🟢
taipy/core/_repository/_sql_repository.py 83% 🟢
taipy/core/_repository/db/_sql_connection.py 95% 🟢
taipy/core/job/job.py 97% 🟢
taipy/core/submission/submission.py 96% 🟢
taipy/logger/_taipy_logger.py 91% 🟢
TOTAL 93% 🟢

updated for commit: 935adae by action🐍

taipy/core/_orchestrator/_dispatcher/_job_dispatcher.py Outdated Show resolved Hide resolved
taipy/core/_orchestrator/_dispatcher/_job_dispatcher.py Outdated Show resolved Hide resolved
taipy/core/_orchestrator/_orchestrator.py Show resolved Hide resolved
taipy/core/_repository/_sql_repository.py Show resolved Hide resolved
taipy/core/_repository/db/_sql_connection.py Show resolved Hide resolved
@@ -34,7 +34,7 @@ def _get_logger(cls):
cls.__logger.setLevel(logging.INFO)
ch = logging.StreamHandler(sys.stdout)
ch.setLevel(logging.INFO)
formatter = logging.Formatter("[%(asctime)s][%(name)s][%(levelname)s] %(message)s", "%Y-%m-%d %H:%M:%S")
ch.setFormatter(formatter)
f = logging.Formatter("[%(asctime)s.%(msecs)03d][%(name)s][%(levelname)s] %(message)s", "%Y-%m-%d %H:%M:%S")
Copy link
Member Author

Choose a reason for hiding this comment

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

Add milliseconds to default logging format.

Copy link
Member

@trgiangdo trgiangdo Mar 22, 2024

Choose a reason for hiding this comment

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

Will this cause too much noise?

It affects the whole application so I think we need third opinion about this

Copy link
Member Author

Choose a reason for hiding this comment

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

My opinion is that in a multithreading/multiprocessing context, having milliseconds in the logs is more than useful to understand what's happening. This is not only true for us as developers but also for our users.

However, I agree we should discuss it during the daily to have more opinions on that.

Copy link
Member Author

Choose a reason for hiding this comment

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

@FlorianJacta @FabienLelaquais Is it ok for you to have a default log formatting with milliseconds?

@jrobinAV jrobinAV marked this pull request as ready for review March 20, 2024 09:58
@jrobinAV jrobinAV requested a review from trgiangdo March 20, 2024 09:59
@jrobinAV jrobinAV removed the ❌ Blocked Issues blocked by another issue or waiting for a decision label Mar 20, 2024
toan-quach
toan-quach previously approved these changes Mar 21, 2024
@jrobinAV jrobinAV merged commit 8b71da8 into develop Mar 22, 2024
151 checks passed
@jrobinAV jrobinAV deleted the test/integration-testing branch March 22, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core: Job & Orchestrator Core Related to Taipy Core 🟧 Priority: High Must be addressed as soon 🧪Testing Related to tests and other QA activities.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants