Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
b7b0b3f
feat!: update http-client DAG API to match [email protected]
rvagg Oct 11, 2021
d558a60
feat!: update DAG API options types
rvagg Oct 11, 2021
5d1cdfa
chore: update go-ipfs dependency
rvagg Oct 11, 2021
24626cb
feat!: update http-server DAG API to match [email protected]
rvagg Oct 11, 2021
80b0343
feat!: update core DAG API to match [email protected]
rvagg Oct 11, 2021
374349d
feat!: update cli DAG API to match [email protected]
rvagg Oct 11, 2021
c0286df
feat!: update interface-ipfs-core DAG API to match [email protected]
rvagg Oct 14, 2021
3907671
feat!: update docs for DAG API to match [email protected]
rvagg Oct 14, 2021
8899e40
feat!: update ipfs for DAG GET API to match [email protected]
rvagg Oct 14, 2021
f8fa2f9
chore(test): add sharness t0053 tests equivalent to go-ipfs
rvagg Oct 18, 2021
f4f42a2
fix: update runnable tests to match go-ipfs
rvagg Oct 18, 2021
4d77f1d
feat: object API returns CIDv1 by default
rvagg Nov 15, 2021
a960d28
TEMPORARY - remove custom ipld formats example test
rvagg Nov 16, 2021
abd817a
Merge branch 'master' into rvagg/dag-api-0.10
lidel Dec 2, 2021
c6816a4
fix(ci): fail-fast: false
lidel Dec 2, 2021
50cbc1f
fix(ci): make tests use less workers
lidel Dec 2, 2021
566f10a
Merge remote-tracking branch 'origin/master' into rvagg/dag-api-0.10
achingbrain Dec 3, 2021
0a2f12c
chore: disable ci concurrency control
achingbrain Dec 3, 2021
ce58e59
chore: remove fail fast and fix block.put arg
achingbrain Dec 3, 2021
376d27d
Merge remote-tracking branch 'origin/master' into rvagg/dag-api-0.10
achingbrain Dec 3, 2021
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
Prev Previous commit
Next Next commit
fix(ci): fail-fast: false
I imagine we want to see full list of things that pass and don't.
Failing fast hides some problems by cancelling all matrix jobs on the
first failure.
  • Loading branch information
lidel committed Dec 2, 2021
commit c6816a4676a1bfc77c462fdbd0fcb33eb5f8883e
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node: [16]
fail-fast: false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK gh orgs only have a certain number of workers available for actions - this may end up hogging resources and preventing other builds from running when we know a given CI run will fail.

Copy link
Member

@lidel lidel Dec 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we truly care about not using too many workers then fail-fast does not buy us much.
We should limit the number of concurrent jobs with concurrency – did a poc in 50cbc1f where we limit number of test workers consumed per github revision, which makes PRs independent of each other.

Bit confused why CI stopped passing without any package.json changes – is lerna setup fuzzy like this by design?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, this wasn't meant to be here for the final version - I turned this off because of the examples failures, which are currently commented out and need to be addressed before merge but I'm not sure how to do that dance when they depend on eachother being fixed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we truly care about not using too many workers

We should be optimistic that builds will complete successfully, so they should consume as many resources as necessary to do that expediently (within reason). If they fail, they should not stand in the way of other builds completing, so should fail fast.

Not sure what reasonable is yet but so far so good.

Bit confused why CI stopped passing without any package.json changes

Right now it's failing because the types in iso-random-stream are broken - needs hugomrdias/iso-random-stream#91

I'm not sure how to do that dance when they depend on each other being fixed

We can check out branches of the example tests with fixes applied which should get the build passing.

e.g. in .github/workflows/test.yml

- name: ipfs browser video streaming
  repo: https://github.com/ipfs-examples/js-ipfs-browser-video-streaming.git
  deps: ipfs-core@$PWD/packages/ipfs-core/dist

would become:

- name: ipfs browser video streaming
  repo: https://github.com/ipfs-examples/js-ipfs-browser-video-streaming.git#fix/this-is-a-branch-with-a-fix
  deps: ipfs-core@$PWD/packages/ipfs-core/dist

If that's not practical, I think it's ok to merge with the example tests disabled, then fix the examples and re-enable them in a follow up PR. As long as there isn't a massive lag between the two.

steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -109,6 +110,7 @@ jobs:
type:
- browser
- webworker
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -210,6 +212,7 @@ jobs:
- browser
#- electron-main
#- electron-renderer
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -252,6 +255,7 @@ jobs:
- test:interface:client
- test:interface:http-go
- test:interface:http-js
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -451,6 +455,7 @@ jobs:
- name: ipfs-log
repo: https://github.com/orbitdb/ipfs-log.git
deps: ipfs@$PWD/packages/ipfs/dist,orbit-db-io@next
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down