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

hang: waiting for bundle read lock #2163

Closed
dckc opened this issue Mar 20, 2024 · 4 comments
Closed

hang: waiting for bundle read lock #2163

dckc opened this issue Mar 20, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@dckc
Copy link
Contributor

dckc commented Mar 20, 2024

Describe the bug

A dev reports that they're experimenting with changes to the contract in dapp-offer-up. When running yarn test they see and endless series of

bundles/ waiting for bundle read lock: /Users/NNN/projects/learn/demo/contract/bundles/bundle-assetContract-js.lock in /Users/NNN/projects/learn/demo/contract/src/offer-up.contract.js

Steps to reproduce

the above is what we have

Expected behavior

tests should run

Platform environment

not reported

Additional context

cc @kbennett2000 @kriskowal

@dckc dckc added the bug Something isn't working label Mar 20, 2024
@dckc
Copy link
Contributor Author

dckc commented Mar 20, 2024

work-around: remove bundles directory

rm -rf bundles made the symptoms go away

@kriskowal
Copy link
Member

The bundle read lock does not exist on the most recent releases of @endo/bundle-source. This might be solved by an upgrade.

@dckc
Copy link
Contributor Author

dckc commented Mar 21, 2024

ok... let's track this as a dapp issue, then:

@dckc
Copy link
Contributor Author

dckc commented Mar 21, 2024

The bundle read lock does not exist on the most recent releases of @endo/bundle-source.

I'd like to cite evidence of that and close this issue. I looked in the bundle-source changelog without luck.

Ah... I suppose this works:

Replaces the lockfile mechanism with atomic renames.
-- #1732

That suggests it's fixed in v2.80 2023-09-12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants