-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix: prevent interop timeouts with fast fixture loading #73
Conversation
* deps: update ipfsd-ctl and kubo-rpc-client * chore: apply suggestions from code review * tmp: get some debug logs from CI jobs * fix: disable delegated routing in vfetch-interop tests * fix: test:node on windows * Revert "tmp: get some debug logs from CI jobs" This reverts commit 3654a28.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self review
gateways: ['http://127.0.0.1:8180'], | ||
routers: [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see ipfs/js-ipfsd-ctl#831 for why we can't just use the same info from ipfsd-ctl
/** | ||
* fast-glob does not like windows paths, see https://github.com/mrmlnc/fast-glob/issues/237 | ||
* fast-glob performs search from process.cwd() by default, which will be: | ||
* 1. the root of the monorepo when running tests in CI | ||
* 2. the package root when running tests in the package directory | ||
*/ | ||
let globRoot = process.cwd().replace(/\\/g, '/') | ||
if (!globRoot.includes('packages/interop')) { | ||
// we only want car files from the interop package | ||
globRoot = [...globRoot.split('/'), 'packages/interop'].join('/') | ||
} | ||
for (const carFile of await fg.glob('src/fixtures/data/*.car', { cwd: globRoot })) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this could likely be smarter, and will likely break if we're running this elsewhere (via the binary for the package)
## @helia/verified-fetch-interop [1.21.1](https://github.com/ipfs/helia-verified-fetch/compare/@helia/verified-fetch-interop-1.21.0...@helia/verified-fetch-interop-1.21.1) (2024-05-08) ### Bug Fixes * prevent interop timeouts with fast fixture loading ([#73](#73)) ([a43d994](a43d994))
🎉 This PR is included in version 1.21.1 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.4.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.0.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
Title
fix: prevent interop timeouts with fast fixture loading
Description
Attempting to merge pr #72 into main instead of onto #70
Related: #72
Related: #70
Notes & open questions
no idea why github CI continues to fail on #70
Change checklist