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

refactor: massive jump toward a legit homestar runtime #133

Merged
merged 1 commit into from
May 19, 2023

Conversation

zeeshanlakhani
Copy link
Contributor

  • Adds runtime for singular workflows (multiple workflows incoming). Incldues:
    • workflow => Dag for sequential/promised and parallel compute
    • task scheduler (within workflow)
    • worker
    • integration between libp2p and workers for receipts and more
    • feature-gating ipfs for resources
    • adds retry/backoff for fetching resources
  • moves us toward tracing's logging and adds logfmt-formatted logs
  • removes much of early-early demo code

Issues closed:

* Adds runtime for singular workflows (multiple workflows incoming). Incldues:
  - workflow => Dag for sequential/promised and parallel compute
  - task scheduler (within workflow)
  - worker
  - integration between libp2p and workers for receipts and more
  - feature-gating ipfs for resources
  - adds retry/backoff for fetching resources
* moves us toward tracing's logging and adds logfmt-formatted logs
* removes much of early-early demo code

Issues closed:

- #76
- #79
- #86 (enough for now)
@zeeshanlakhani zeeshanlakhani requested a review from a team as a code owner May 19, 2023 20:28
@codecov
Copy link

codecov bot commented May 19, 2023

Codecov Report

Merging #133 (3c314fc) into main (b60da1d) will increase coverage by 6.62%.
The diff coverage is 44.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
+ Coverage   41.26%   47.89%   +6.62%     
==========================================
  Files          28       40      +12     
  Lines        1466     1712     +246     
  Branches      388      415      +27     
==========================================
+ Hits          605      820     +215     
- Misses        632      638       +6     
- Partials      229      254      +25     
Impacted Files Coverage Δ
homestar-core/src/lib.rs 100.00% <ø> (ø)
homestar-core/src/workflow/ability.rs 80.00% <ø> (ø)
homestar-core/src/workflow/issuer.rs 0.00% <0.00%> (ø)
homestar-core/src/workflow/prf.rs 53.84% <ø> (ø)
homestar-runtime/src/lib.rs 100.00% <ø> (ø)
homestar-runtime/src/logger.rs 0.00% <0.00%> (ø)
homestar-runtime/src/network/ipfs.rs 0.00% <0.00%> (ø)
homestar-runtime/src/network/pubsub.rs 0.00% <0.00%> (ø)
homestar-runtime/src/network/swarm.rs 0.00% <0.00%> (ø)
homestar-runtime/src/tasks/wasm.rs 0.00% <0.00%> (ø)
... and 27 more

... and 1 file with indirect coverage changes

@zeeshanlakhani zeeshanlakhani merged commit 55ddb91 into main May 19, 2023
10 checks passed
@zeeshanlakhani zeeshanlakhani deleted the zl/runtime branch May 19, 2023 21:07
@release-plz-ipvm-wg release-plz-ipvm-wg bot mentioned this pull request Oct 9, 2023
This was referenced Jan 19, 2024
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.

None yet

1 participant