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

Alexleung/dev v070 for refactor #2095

Merged
merged 29 commits into from
May 15, 2024
Merged

Conversation

fedml-alex
Copy link
Collaborator

@fedml-alex fedml-alex commented May 14, 2024

Refactor the scheduler followed by the lark doc. Scheduler Arch. Test Launch/Deploy/FL,
it works.

fedml-alex and others added 25 commits March 27, 2024 20:57
…s center, we split the client runner and server runner into four base classes: agent, protocol manager, job runner manager, job runner.

2. Add the unified account manager to bind into the MLOps backend.
3. Abstract the same design paradigm for launching and deployment scheduler with the following format: agent -> protocol manager -> job runner manager -> job runner.
4. For better debugging messages, we save the message records to local files for sender and receiver in the message center.
5. Write the class diagram and sequence diagram in the lark doc ( https://fedml-inc.larksuite.com/wiki/NpTUwdXnciBlpQkxPkBu79k0sPc, section: FEDML Launch Python(v2) )
…anch_online

# Conflicts:
#	python/fedml/__init__.py
#	python/fedml/computing/scheduler/master/server_runner.py
#	python/fedml/computing/scheduler/model_scheduler/device_client_runner.py
#	python/fedml/computing/scheduler/model_scheduler/device_model_cache.py
#	python/fedml/computing/scheduler/model_scheduler/device_model_deployment.py
#	python/fedml/computing/scheduler/model_scheduler/device_model_msg_object.py
#	python/fedml/computing/scheduler/model_scheduler/device_replica_controller.py
#	python/fedml/computing/scheduler/model_scheduler/device_replica_handler.py
#	python/fedml/computing/scheduler/model_scheduler/device_server_runner.py
#	python/fedml/computing/scheduler/scheduler_core/endpoint_sync_protocol.py
#	python/fedml/computing/scheduler/slave/client_runner.py
#	python/fedml/core/mlops/__init__.py
#	python/setup.py
…_update_name

Update Launch Job Docker Image name
…id the system is blocked.

2. Fix the time error when checking the run process in the job monitor.
3. Support docker authentication when launching the job.
4. Send the edge status detecting message once in the protocol manager, save the status response message to the queue of job runner, and process the edge status in the job runner.
5. Open a process to download the package so that we can avoid the request is blocked and check the timeout.
6. Refactor the status center to make the status sequence work and stable.
7. Change the retain flag to true when establishing an MQTT connection so that we can handle messages even if the device is not started.
8. Sync the latest deployment module to this branch.
[CoreEngine] make the deployment status more stable.
Copy link

gitguardian bot commented May 14, 2024

⚠️ GitGuardian has uncovered 5 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
9453265 Triggered Generic High Entropy Secret 52b5b2d python/fedml/workflow/driver_example/main.py View secret
9453265 Triggered Generic High Entropy Secret 3417f30 python/fedml/api/api_test.py View secret
9453265 Triggered Generic High Entropy Secret c05f23a python/fedml/api/api_test.py View secret
9453265 Triggered Generic High Entropy Secret 060eef6 python/fedml/api/api_test.py View secret
9453265 Triggered Generic High Entropy Secret c607ce6 python/fedml/api/api_test.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

python/fedml/api/api_test.py Outdated Show resolved Hide resolved
@fedml-alex fedml-alex requested a review from fedml-dimitris May 14, 2024 17:30
@fedml-alex fedml-alex requested a review from fedml-dimitris May 14, 2024 17:59
@chaoyanghe chaoyanghe merged commit 2bbe2f9 into dev/v0.7.0 May 15, 2024
0 of 37 checks passed
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.

4 participants