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

pin TS to unreleased git revision to fix freezes #7737

Merged
merged 1 commit into from
Jul 27, 2023
Merged

Conversation

pascalkuthe
Copy link
Member

@pascalkuthe pascalkuthe commented Jul 25, 2023

Closes #7689

Thanks to a quick fix by @the-mikeidavis the upstream bug that was causing freezes in helix was fixed. It's fairly easy to run into this so until the next TS release we should pin a git revision that has the fix.

I used a workspace dependency so I don't have to specify the revisions twice and risk them going out of sink. Workspace dependencies is something I would like to make more use of as it helps to avoid accidental duplication of the same dependency with different versions

@pascalkuthe pascalkuthe added C-bug Category: This is a bug E-easy Call for participation: Experience needed to fix: Easy / not much A-dependencies Area: Dependency A-tree-sitter Area: Tree-sitter S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-review Status: Awaiting review from a maintainer. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jul 25, 2023
@archseer
Copy link
Member

I'm not opposed to this but I think it made packaging releases (on NixOS?) harder when we did this for crossterm

@pascalkuthe
Copy link
Member Author

yeah it can cause some issues forsome package management systems that are not that flexible. However, in this case there are no actual code changes involved so in the worst case they would need to patch the Cargo.toml to remove the git dependency. I hope that there will be a new TS release before our next release anyway. This is just intended to fix the freezes on master until then

@archseer archseer merged commit 262a595 into master Jul 27, 2023
@archseer archseer deleted the ts_freeze branch July 27, 2023 02:50
iainh added a commit to iainh/helix that referenced this pull request Jul 27, 2023
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dependencies Area: Dependency A-tree-sitter Area: Tree-sitter C-bug Category: This is a bug E-easy Call for participation: Experience needed to fix: Easy / not much S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helix 23.05 (d52b7903) freezes editing markdown
3 participants