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

Release 4.0 - Includes breaking changes for C2D V2 (also free compute) #1891

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f6057f3
add datasets on ComputeAsset, new start compute fn
paulo-ocean Oct 31, 2024
9e6ec4d
fix type mismatch new c2d v2
paulo-ocean Oct 31, 2024
50e3ed8
fix tests
paulo-ocean Oct 31, 2024
0f0ad3e
fix tests, keep backwards compatibility due to tests running with exi…
paulo-ocean Oct 31, 2024
a9a099d
support for starting a free env compute job
paulo-ocean Nov 4, 2024
2107197
minor fix
paulo-ocean Nov 5, 2024
583db8e
add file object types
paulo-ocean Nov 6, 2024
7df390a
enforce asset files object type
paulo-ocean Nov 7, 2024
e312ec7
support for consumer signature on initialize compute
paulo-ocean Nov 12, 2024
88ee8d3
update docs and tests, pass signer account, not signer address
paulo-ocean Nov 12, 2024
c31c0c3
Release 4.0.0-next.0
paulo-ocean Nov 12, 2024
2c631d4
Release 4.0.0-next.1
paulo-ocean Nov 12, 2024
1030ee5
remove noZerox usage on compute routes query string/params
paulo-ocean Jan 7, 2025
c1b8546
fix conflicts
paulo-ocean Jan 7, 2025
c7a5ffd
merge main, fix conflicts
paulo-ocean Jan 14, 2025
a9e5614
fix conflict
paulo-ocean Jan 14, 2025
309b781
fix conflict
paulo-ocean Jan 14, 2025
bfceb46
rm node 18 image ref
paulo-ocean Jan 14, 2025
bd56020
put back change, was 18 not 16, 18 is ok
paulo-ocean Jan 14, 2025
fcebea0
try fix build ci
paulo-ocean Jan 20, 2025
ac61d94
try skip the delete part (images were not built before?)
paulo-ocean Jan 20, 2025
7f604f6
add the delete images part back
paulo-ocean Jan 20, 2025
cdc1ec6
add -f flag on ci, removal of docker images, avoid fail if img not pr…
paulo-ocean Jan 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ jobs:
- run: npm run build:metadata
- name: Delete default runner images
run: |
docker image rm node:18
docker image rm node:18-alpine
docker image rm node:20
docker image rm debian:10
docker image rm debian:11
docker image rm moby/buildkit:latest
docker image rm -f node:18
docker image rm -f node:18-alpine
docker image rm -f node:20
docker image rm -f debian:10
docker image rm -f debian:11
docker image rm -f moby/buildkit:latest
- name: Wait for contracts deployment and C2D cluster to be ready
working-directory: ${{ github.workspace }}/barge
run: |
Expand Down
4 changes: 2 additions & 2 deletions ComputeExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ Let's have 5 minute of compute access
computeEnv.id,
computeValidUntil,
providerUrl,
await consumerAccount.getAddress()
consumerAccount
)
```
<!--
Expand Down Expand Up @@ -655,7 +655,7 @@ Let's have 5 minute of compute access
providerUrl,
consumerAccount,
computeEnv.id,
assets[0],
assets,
algo
)

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ Initializes the provider for a compute request.
| `computeEnv` | `string` | The compute environment. |
| `validUntil` | `number` | The job expiration date. |
| `providerUri` | `string` | The provider URI. |
| `accountId` | `string` | caller address |
| `signer` | `Signer` | caller account |
| `signal?` | `AbortSignal` | abort signal |

#### Returns
Expand Down
Loading
Loading