Skip to content

Commit

Permalink
refactor: e2e workflow(s) run
Browse files Browse the repository at this point in the history
* Run IPVM workflow (json) files, return beginning info
* Integrate Runner / worker bits, and pieces like
  * aborting workers
  * gc'ing handles
  * delayqueue/timing-wheel integration for expir(ed)/(ing) workflows
  * worker's can now send messages to the runner, for things like drop/abort
  * make db pool accessible within worker, so it's reusable upon creation
    and run
* store receipts and workflow/receipt joint info as part of a DB transaction
* runtime-specific proc-macro and worker builder for easier test integration
  * this now spins up db-related tests (involving workers/schedulers/the-runner)
    to use different sqlite dbs in parallel
* flake fixins around cargo nextest and macos
* Removes `Error` from Enum thiserror variants as per common usage
* workflow info "storage" stores a timestamp for local use
* remove bincode all around, and make rpc encoding/decoding work
  with messagepack
* make database_url work as part as configuration or env (latter takes precedent)
* more error-specific types
  • Loading branch information
zeeshanlakhani committed Aug 4, 2023
1 parent 4921bde commit a473e45
Show file tree
Hide file tree
Showing 71 changed files with 3,425 additions and 1,531 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Setup IPFS
uses: ibnesayeed/setup-ipfs@master
with:
run_daemon: true

- name: Checkout Repository
uses: actions/checkout@v3

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/tests_and_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- stable
- nightly
# minimum version
- 1.66
- 1.67
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -76,6 +76,11 @@ jobs:
- stable
- nightly
steps:
- name: Setup IPFS
uses: ibnesayeed/setup-ipfs@master
with:
run_daemon: true

- name: Checkout Repository
uses: actions/checkout@v3

Expand Down Expand Up @@ -128,7 +133,7 @@ jobs:
uses: taiki-e/install-action@nextest

- name: Run Tests
run: cargo nextest run --profile ci --no-default-features
run: cargo nextest run --profile ci --no-default-features --features "test-utils"

run-docs:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@
private
*.temp
*.db
*.db-shm
*.db-wal
*.tmp
*.png
*.dot
.history
.DS_Store
homestar-guest-wasm/out
homestar-wasm/out
**/fixtures/test_*

# ipfs
.ipfs

# daemon
homestar.err
Expand Down
2 changes: 2 additions & 0 deletions .ignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ LICENSE
.gitignore
.release-please-manifest.json
.pre-commit-config.yaml

**/fixtures
Loading

0 comments on commit a473e45

Please sign in to comment.