You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Hongbo <no...@github.com.INVALID> on 2022/01/17 21:32:50 UTC

[apache/incubator-teaclave] Add watchdog functionalities (PR #600)

## Description

Clients can now cancel a task, even when the task is executing;
Teaclave can detect `dangling tasks`, which means the executor can send heartbeat packets for liveness report.

Currently Client Rust API changes are missing.

Fixes # (issue)

## Type of change (select or add applied and delete the others)

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [X] API change with a documentation update
- [X] Additional test coverage
- [ ] Code cleanup or just sync with upstream third-party crates

## How has this been tested?

## Checklist

- [X] Fork the repo and create your branch from `master`.
- [X] If you&#39;ve added code that should be tested, add tests.
- [ ] If you&#39;ve changed APIs, update the documentation.
- [ ] Ensure the tests pass (see CI results).
- [ ] Make sure your code lints/format.

You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/600

-- Commit Summary --

  * execution service multi-threaded
  * modify tests
  * fmt
  * multi-threaded scheduler
  * add new status
  * clean
  * add new statesz
  * add cancel_task, unfinished
  * format
  * tune tests
  * ci debug
  * differentiate authorization and authentication
  * not sleeped well in test
  * deadlicking
  * deadlock resolved
  * sleep a bit longer
  * testing
  * testing
  * almost done, trigger ci
  * add tests
  * format

-- File Changes --

    M cmake/scripts/test.sh (4)
    M examples/python/builtin_gbdt_train.py (7)
    M sdk/python/teaclave.py (27)
    M services/execution/enclave/src/service.rs (174)
    M services/frontend/enclave/src/service.rs (45)
    M services/management/enclave/src/service.rs (69)
    M services/proto/src/proto/teaclave_common.proto (13)
    M services/proto/src/proto/teaclave_frontend_service.proto (8)
    M services/proto/src/proto/teaclave_management_service.proto (1)
    M services/proto/src/proto/teaclave_scheduler_service.proto (14)
    M services/proto/src/teaclave_common.rs (105)
    M services/proto/src/teaclave_frontend_service.rs (49)
    M services/proto/src/teaclave_management_service.rs (2)
    M services/proto/src/teaclave_scheduler_service.rs (81)
    M services/scheduler/enclave/src/lib.rs (17)
    M services/scheduler/enclave/src/service.rs (255)
    A tests/fixtures/functions/gbdt_training/e2e_output_model.enc (0)
    M tests/functional/enclave/src/execution_service.rs (2)
    M tests/functional/enclave/src/frontend_service.rs (147)
    M tests/functional/enclave/src/management_service.rs (9)
    M tests/functional/enclave/src/scheduler_service.rs (28)
    M types/src/storage.rs (2)
    M types/src/task.rs (2)
    M types/src/task_state.rs (111)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/600.patch
https://github.com/apache/incubator-teaclave/pull/600.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/600
You are receiving this because you are subscribed to this thread.

Message ID: &lt;apache/incubator-teaclave/pull/600@github.com&gt;

Re: [apache/incubator-teaclave] Add watchdog functionalities (PR #600)

Posted by Mingshen Sun <no...@github.com.INVALID>.
Merged #600 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/600#event-5921162065
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>