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

feat(core): let clients use coprocessor #898

Closed
wants to merge 5 commits into from
Closed

Conversation

Autoparallel
Copy link
Collaborator

Give an overview of the tasks completed
So far a bit of a dependency cleanup and now the Connection has a Coprocessor and I had to unsafe impl Send + Sync on the Coprocessor due to some of the handler dyn Fns not being Send + Sync. This now needs testing and integration.

  • Use the Coprocessor for .call() method in ArbiterMiddleware.
  • Test the Coprocessor maintains state and does not have any glaring bugs due to Send + Sync unsafes.

Link to issue(s) that this PR closes

@Autoparallel Autoparallel added the 🚧 WIP 🚧 DO NOT MERGE THIS PR label Feb 16, 2024
commit 16bf32e
Author: Colin Roberts <[email protected]>
Date:   Wed Feb 28 19:57:55 2024 -0700

    feat: environment logs (#911)

    * feat: logs

    * feat: filter on logs

    * refactor: `ArbiterDB` and `Environment`

commit dbca2d4
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Feb 28 14:05:43 2024 -0700

    build(deps): bump crossbeam-channel from 0.5.11 to 0.5.12 (#919)

    Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.11 to 0.5.12.
    - [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
    - [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
    - [Commits](crossbeam-rs/crossbeam@crossbeam-channel-0.5.11...crossbeam-channel-0.5.12)

    ---
    updated-dependencies:
    - dependency-name: crossbeam-channel
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 63f167b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Feb 28 14:05:33 2024 -0700

    build(deps): bump syn from 2.0.51 to 2.0.52 (#920)

    Bumps [syn](https://github.com/dtolnay/syn) from 2.0.51 to 2.0.52.
    - [Release notes](https://github.com/dtolnay/syn/releases)
    - [Commits](dtolnay/syn@2.0.51...2.0.52)

    ---
    updated-dependencies:
    - dependency-name: syn
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit de894a3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Feb 28 14:05:20 2024 -0700

    build(deps): bump tempfile from 3.10.0 to 3.10.1 (#917)

    Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.10.0 to 3.10.1.
    - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
    - [Commits](Stebalien/tempfile@v3.10.0...v3.10.1)

    ---
    updated-dependencies:
    - dependency-name: tempfile
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 50bfbd3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 26 13:38:48 2024 -0700

    build(deps): bump syn from 2.0.50 to 2.0.51 (#915)

    Bumps [syn](https://github.com/dtolnay/syn) from 2.0.50 to 2.0.51.
    - [Release notes](https://github.com/dtolnay/syn/releases)
    - [Commits](dtolnay/syn@2.0.50...2.0.51)

    ---
    updated-dependencies:
    - dependency-name: syn
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 1db6bec
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Mon Feb 26 10:47:13 2024 -0700

    chore: release (#914)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

commit 8211c6e
Author: Colin Roberts <[email protected]>
Date:   Mon Feb 26 10:42:46 2024 -0700

    feat: `error!` output from behavior (#913)

    * feat: `error!` output from behavior
    * submodule: update `template`
    * fix: `minter` example
    * fix: clippy

commit 509b624
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Wed Feb 21 14:50:30 2024 -0700

    chore: release (#905)

    Signed-off-by: GitHub Action <[email protected]>
    Co-authored-by: GitHub Action <[email protected]>

commit 1df12a3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Feb 20 15:55:07 2024 -0700

    build(deps): bump serde from 1.0.196 to 1.0.197 (#910)

    Bumps [serde](https://github.com/serde-rs/serde) from 1.0.196 to 1.0.197.
    - [Release notes](https://github.com/serde-rs/serde/releases)
    - [Commits](serde-rs/serde@v1.0.196...v1.0.197)

    ---
    updated-dependencies:
    - dependency-name: serde
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 875c260
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Feb 20 15:48:10 2024 -0700

    build(deps): bump syn from 2.0.49 to 2.0.50 (#908)

    Bumps [syn](https://github.com/dtolnay/syn) from 2.0.49 to 2.0.50.
    - [Release notes](https://github.com/dtolnay/syn/releases)
    - [Commits](dtolnay/syn@2.0.49...2.0.50)

    ---
    updated-dependencies:
    - dependency-name: syn
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 2d7e286
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Feb 20 15:47:57 2024 -0700

    build(deps): bump serde_json from 1.0.113 to 1.0.114 (#909)

    Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.113 to 1.0.114.
    - [Release notes](https://github.com/serde-rs/json/releases)
    - [Commits](serde-rs/json@v1.0.113...v1.0.114)

    ---
    updated-dependencies:
    - dependency-name: serde_json
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 66be5ea
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 19 20:39:07 2024 -0700

    build(deps): bump assert_cmd from 2.0.13 to 2.0.14 (#907)

    Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.13 to 2.0.14.
    - [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
    - [Commits](assert-rs/assert_cmd@v2.0.13...v2.0.14)

    ---
    updated-dependencies:
    - dependency-name: assert_cmd
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 6f7f14c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 19 20:38:30 2024 -0700

    build(deps): bump anyhow from 1.0.79 to 1.0.80 (#906)

    Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.79 to 1.0.80.
    - [Release notes](https://github.com/dtolnay/anyhow/releases)
    - [Commits](dtolnay/anyhow@1.0.79...1.0.80)

    ---
    updated-dependencies:
    - dependency-name: anyhow
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 85c7987
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Feb 16 17:54:05 2024 -0700

    build(deps): bump arbiter-engine from 0.2.0 to 0.3.0 (#902)

    Bumps [arbiter-engine](https://github.com/primitivefinance/arbiter) from 0.2.0 to 0.3.0.
    - [Release notes](https://github.com/primitivefinance/arbiter/releases)
    - [Changelog](https://github.com/primitivefinance/arbiter/blob/main/CHANGELOG.md)
    - [Commits](v0.2.0...arbiter-engine-v0.3.0)

    ---
    updated-dependencies:
    - dependency-name: arbiter-engine
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 300eaa8
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Feb 16 17:53:46 2024 -0700

    build(deps): bump clap from 4.5.0 to 4.5.1 (#903)

    Bumps [clap](https://github.com/clap-rs/clap) from 4.5.0 to 4.5.1.
    - [Release notes](https://github.com/clap-rs/clap/releases)
    - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
    - [Commits](clap-rs/clap@clap_complete-v4.5.0...v4.5.1)

    ---
    updated-dependencies:
    - dependency-name: clap
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 1341800
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Feb 16 17:53:31 2024 -0700

    build(deps): bump syn from 2.0.48 to 2.0.49 (#901)

    Bumps [syn](https://github.com/dtolnay/syn) from 2.0.48 to 2.0.49.
    - [Release notes](https://github.com/dtolnay/syn/releases)
    - [Commits](dtolnay/syn@2.0.48...2.0.49)

    ---
    updated-dependencies:
    - dependency-name: syn
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 2913315
Author: ts0yu <[email protected]>
Date:   Fri Feb 16 21:04:05 2024 +0000

    docs: incorrect method (#904)

commit d768fd7
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Feb 16 12:16:33 2024 -0700

    chore: release (#896)

commit 0522476
Author: Colin Roberts <[email protected]>
Date:   Fri Feb 16 12:11:38 2024 -0700

    feat(engine): optional stream for behaviors (#899)

    * feat: optional stream and default impl
    * test: no-stream
@Autoparallel
Copy link
Collaborator Author

This is actually very problematic as the EVM cannot be Send and Sync without a wrapper and unsafe override. Ditching for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 WIP 🚧 DO NOT MERGE THIS PR
Projects
None yet
1 participant