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

moon bundle --target all has concurrency bug #411

Closed
1 task
bzy-debug opened this issue Oct 22, 2024 · 1 comment
Closed
1 task

moon bundle --target all has concurrency bug #411

bzy-debug opened this issue Oct 22, 2024 · 1 comment

Comments

@bzy-debug
Copy link
Contributor

Bug Report

Environment

OS

Operating System: macOs

MoonBit CLI Tools Version

moon 0.1.20241021 (9d3a2d5 2024-10-21) ~/.moon/bin/moon
moonc v0.1.20241021+e6d54baa1 ~/.moon/bin/moonc
moonrun 0.1.20241021 (9d3a2d5 2024-10-21) ~/.moon/bin/moonrun

Steps to Reproduce

run moon bundle --target all in core

Expected Behavior

target/pacakges.json should always be valid json

Actual Behavior

sometimes, target/packages.json might be invalid due to concurrent writing.

Checklist

  • (Optional) My case is minimal enough to be reproducible.
@Young-Flash
Copy link
Collaborator

closed by #412

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants