Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

fix: multibase in pubsub http rpc interop tests #387

Closed
wants to merge 6 commits into from

Conversation

lidel
Copy link
Member

@lidel lidel commented Oct 21, 2021

This PR updates pubsub interop tests with HTTP RPC wire format changes introduced in ipfs/js-ipfs#3922 and ipfs/kubo#8183 and runs against the code from mentioned PRs (js-ipfs from ipfs/js-ipfs#3922 + go-ipfs 0.11.0-rc1) to ensure things work end-to-end.

TODO

@ipfs ipfs deleted a comment from welcome bot Oct 21, 2021
@lidel lidel force-pushed the feat/pubsub-require-multibase branch 2 times, most recently from a610dbb to b5c9d2c Compare October 21, 2021 11:39
@lidel lidel changed the title chore: http-rpc-runtime.sh fix: multibase in pubsub http rpc interop tests Oct 21, 2021
@lidel lidel force-pushed the feat/pubsub-require-multibase branch 3 times, most recently from 88fdb1c to f6575c4 Compare October 21, 2021 13:41
@lidel lidel force-pushed the feat/pubsub-require-multibase branch 10 times, most recently from e4660c9 to ab7eb97 Compare October 21, 2021 23:35
.github/workflows/test.yml Outdated Show resolved Hide resolved
@lidel lidel marked this pull request as ready for review October 22, 2021 14:45
lidel added a commit that referenced this pull request Oct 25, 2021
This temporarily disables pubsub tests as we are unable to test interop
until both JS and GO changes land:
- ipfs/kubo#8183
- ipfs/js-ipfs#3922

When we have that, we will re-enable skipped tests
in #387
@lidel lidel force-pushed the feat/pubsub-require-multibase branch from 108bd99 to ac5561b Compare October 25, 2021 21:38
.gitignore Outdated Show resolved Hide resolved
test/pubsub.js Outdated Show resolved Hide resolved
Copy link
Member

@achingbrain achingbrain left a comment

Choose a reason for hiding this comment

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

LGTM, just a few small things in the comments that need addressing.

@lidel
Copy link
Member Author

lidel commented Nov 17, 2021

This extracts glue code that simplifies running interop against
unreleased code of go-ipfs and js-ipfs packages from lerna monorepo.

Makes it easier to demonstrate green CI and/or test end-to-end locally
before submitting a PR.
the Rube Goldberg machine for testing HTTP RPC wire format
changes end-to-end
@lidel lidel force-pushed the feat/pubsub-require-multibase branch from 18a5c7d to 4064018 Compare November 17, 2021 23:33
scripts/custom-runtime.sh Outdated Show resolved Hide resolved
@lidel lidel force-pushed the feat/pubsub-require-multibase branch from 4b3e399 to 81f4687 Compare December 1, 2021 21:59
This ensures we run interop with official binary that is provided to
regular users.

It also removes the need for `go` binary when running in CI in js-ipfs
repo.
@lidel
Copy link
Member Author

lidel commented Dec 7, 2021

Continued in #410

@lidel lidel closed this Dec 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants