I have noticed for the past several weeks a strange behavior: after I sync a pending Resource-Sync to my GitHub repo, the UI becomes unresponsive.
I am using Edge on a Windows PC with tons of RAM and plenty of power. This seems to consistently repro each time:
Go to Resource-Syncs
If there is a pending change - commit the change
UX refreshes (such as alert in the top right no longer shows there is a pending sync) - however the UX becomes completely unresponsive. If I try to click on anything I get an alert from Edge that the page is not responding. This does not seem to resolve and I end up closing the tab completely.
Originally created by @rsocko on GitHub (Jul 23, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/680
I have noticed for the past several weeks a strange behavior: after I sync a pending Resource-Sync to my GitHub repo, the UI becomes unresponsive.
I am using Edge on a Windows PC with tons of RAM and plenty of power. This seems to consistently repro each time:
1. Go to Resource-Syncs
2. If there is a pending change - commit the change
3. UX refreshes (such as alert in the top right no longer shows there is a pending sync) - however the UX becomes completely unresponsive. If I try to click on anything I get an alert from Edge that the page is not responding. This does not seem to resolve and I end up closing the tab completely.
GiteaMirror
added the bug label 2026-06-21 22:41:21 -05:00
I think I need to remove the fancy syntax highlighting for the TOML. In edge case it causes this UI freeze.
<!-- gh-comment-id:3111938583 -->
@mbecker20 commented on GitHub (Jul 24, 2025):
I think I need to remove the fancy syntax highlighting for the TOML. In edge case it causes this UI freeze.
<!-- gh-comment-id:3111940495 -->
@mbecker20 commented on GitHub (Jul 24, 2025):
It is sad because this syntax highlighting is nice. But the way you make syntax highlighting with monaco editor is incredibly confusing and I have no idea how to debug this issue. The code is here: https://github.com/moghtech/komodo/blob/main/frontend/src/monaco/toml.ts
Are you using the same syntax highlighting on the Stack Info page (and perhaps elsewhere?) Or are you using a different type/feature (like a diff view perhaps?)
<!-- gh-comment-id:3117951551 -->
@rsocko commented on GitHub (Jul 25, 2025):
Are you using the same syntax highlighting on the Stack Info page (and perhaps elsewhere?) Or are you using a different type/feature (like a diff view perhaps?)
The syntax highlighting depends on the language, stack info uses standard Monaco yaml highlighting. On toml / sync syntax highlighting has this issue.
<!-- gh-comment-id:3120403907 -->
@mbecker20 commented on GitHub (Jul 25, 2025):
The syntax highlighting depends on the language, stack info uses standard Monaco yaml highlighting. On toml / sync syntax highlighting has this issue.
It does seem to be that, as for my at the moment the page will freeze if I have the Info tab selected, which of course has the highlighting.
The highlighting is really cool too :(
<!-- gh-comment-id:3155856931 -->
@oblivioncth commented on GitHub (Aug 5, 2025):
It does seem to be that, as for my at the moment the page will freeze if I have the `Info` tab selected, which of course has the highlighting.
The highlighting is really cool too :(
Starting in 1.19.0, the fancy TOML highlighting is disabled by default to avoid this issue. If your setup works with it, you can enable it again with KOMODO_ENABLE_FANCY_TOML=true
<!-- gh-comment-id:3238964971 -->
@mbecker20 commented on GitHub (Aug 30, 2025):
Starting in 1.19.0, the fancy TOML highlighting is disabled by default to avoid this issue. If your setup works with it, you can enable it again with `KOMODO_ENABLE_FANCY_TOML=true`
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @rsocko on GitHub (Jul 23, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/680
I have noticed for the past several weeks a strange behavior: after I sync a pending Resource-Sync to my GitHub repo, the UI becomes unresponsive.
I am using Edge on a Windows PC with tons of RAM and plenty of power. This seems to consistently repro each time:
@mbecker20 commented on GitHub (Jul 24, 2025):
I think I need to remove the fancy syntax highlighting for the TOML. In edge case it causes this UI freeze.
@mbecker20 commented on GitHub (Jul 24, 2025):
It is sad because this syntax highlighting is nice. But the way you make syntax highlighting with monaco editor is incredibly confusing and I have no idea how to debug this issue. The code is here: https://github.com/moghtech/komodo/blob/main/frontend/src/monaco/toml.ts
@rsocko commented on GitHub (Jul 25, 2025):
Are you using the same syntax highlighting on the Stack Info page (and perhaps elsewhere?) Or are you using a different type/feature (like a diff view perhaps?)
@mbecker20 commented on GitHub (Jul 25, 2025):
The syntax highlighting depends on the language, stack info uses standard Monaco yaml highlighting. On toml / sync syntax highlighting has this issue.
@oblivioncth commented on GitHub (Aug 5, 2025):
It does seem to be that, as for my at the moment the page will freeze if I have the
Infotab selected, which of course has the highlighting.The highlighting is really cool too :(
@mbecker20 commented on GitHub (Aug 30, 2025):
Starting in 1.19.0, the fancy TOML highlighting is disabled by default to avoid this issue. If your setup works with it, you can enable it again with
KOMODO_ENABLE_FANCY_TOML=true