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

swc-loader appears to be in a deadlock since @swc/[email protected] #9335

Closed
Brooooooklyn opened this issue Jul 26, 2024 · 3 comments · Fixed by #9336
Closed

swc-loader appears to be in a deadlock since @swc/[email protected] #9335

Brooooooklyn opened this issue Jul 26, 2024 · 3 comments · Fixed by #9336
Assignees
Milestone

Comments

@Brooooooklyn
Copy link
Member

Brooooooklyn commented Jul 26, 2024

Describe the bug

AFFiNE can not build since @swc/[email protected], downgrade to @swc/[email protected] is fine

Input code

No response

Config

No response

Playground link (or link to the minimal reproduction)

See this branch: https://github.com/toeverything/AFFiNE/tree/swc-deadlock

  • yarn install
  • BUILD_TYPE=canary yarn workspace @affine/web build

SWC Info output

No response

Expected behavior

Build successfully

Actual behavior

Build is freeze

Version

1.7.2/1.7.1/1.7.0

Additional context

No response

@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2024
@swc-project swc-project deleted a comment from github-actions bot Jul 26, 2024
@swc-project swc-project unlocked this conversation Jul 26, 2024
@Brooooooklyn Brooooooklyn reopened this Jul 26, 2024
@kdy1 kdy1 self-assigned this Jul 26, 2024
@kdy1 kdy1 added this to the Planned milestone Jul 26, 2024
@kdy1
Copy link
Member

kdy1 commented Jul 26, 2024

My guess is #9207
I'll try running the test suite with debug build. The optimization is about UB, so if related codes are encountered in the release build hang is one of correct behavior (for rustc)

@kdy1
Copy link
Member

kdy1 commented Jul 26, 2024

image

Okay it was the cause. Thank you for the report! I'll fix this within weekend.

@swc-bot
Copy link
Collaborator

swc-bot commented Aug 27, 2024

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@swc-project swc-project locked as resolved and limited conversation to collaborators Aug 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging a pull request may close this issue.

3 participants