Closed dekimsey closed 1 year ago
Oh, no! That shouldn't happen! I am really sorry for that! It could because of the outage as I download the Workflow schemas which is a workaround until JetBrains does it (I need to check this again). Anyway, I will have a look as soon as I find time, it's a really embarrassing bug! Thank you for reporting this!!!
Is the installed Plugin version really that old (1.13.4)?
| Aside, I am using a custom GH Action/Workflow Schema to provide syntax highlighting, will these imported schemas break that once they are able to be pulled?
Wow, I like to see this "x-intellij-language-injection": "Shell Script"
(But it can be also PowerShell?)
I have no idea how you use this without using master from schemastore.org
.
My plugin adds Schemas but doesn't overwrite them. So I would guess you can switch between your and my provided schemas
Oh, no! That shouldn't happen! I am really sorry for that
No worries, it happens! Thank you for acknowledging the report so quickly :)!
Is the installed Plugin version really that old (1.13.4)?
D'oh. Read the wrong plugin's version. It should be 3.0.3
. I'll correct the report.
Wow, I like to see this "x-intellij-language-injection": "Shell Script" (But it can be also PowerShell?)
Sort of yes, however unfortunately IDEA-279710 makes it not possible to have a shell-specific entry. So the schema has to hardcode one shell or the other. (I linked to both schemas I tried in the IntelliJ ticket). I don't use PowerShell, so I'm not sure what the correct keyword is. I'm guessing one would need a PowerShell extension to provide it.
That being said it does work with the vanilla schemastore if one is willing to add the language injection comment before the blocks, like such:
steps:
# language=python
- shell: python
run: ....
Unfortunately, I have no idea about your work, but if schemastrore.org does not merge your awesome work or JetBrains does not fix it, then we could try to work on a solution within this plugin. Just don't know how jet ^^
Version 3.0.4 is on the way. I really appreciate your report!
Fix is being rolled out.
The schemas are now preloaded and are always updated by newer versions. This is at least a relief, and I could if even adjust the schemas at any time. Preloaded Schemas The problem was, by not having control over the schema loading, I assumed that the JetBrains would run background processes asynchronously and not blocking. There are some designs that are really questionable in plugin development.
Thank you very much, I super appreciate the quick turnaround!
What happened? When I open a project the UI is unresponsive for a noticeable amount of time.
How can we reproduce the issue? Steps to reproduce the behavior:
Relevant log output
log excerpt
``` 2023-10-11 11:58:50,088 [ 2631] INFO - #com.github.yunabraska.githubworkflow.helper.GitHubWorkflowHelper - Download [https://json.schemastore.org/dependabot-2.0] 2023-10-11 11:58:50,796 [ 3339] INFO - #c.i.u.i.UnindexedFilesScanner - Scanning completed for jubilant-goggles. Number of scanned files: 19105; Number of files for indexing: 6 took 1585ms; general responsiveness: 1/1 sluggish; EDT responsiveness: ok 2023-10-11 11:58:50,796 [ 3339] INFO - #c.i.u.i.UnindexedFilesScanner - 10408fc5: marking roots for initial VFS refresh 2023-10-11 11:58:50,800 [ 3343] INFO - #c.i.u.i.UnindexedFilesScanner - 10408fc5: starting initial VFS refresh 2023-10-11 11:58:50,803 [ 3346] INFO - #c.i.u.i.UnindexedFilesScanner - 10408fc5: initial VFS refresh finished 2 ms 2023-10-11 11:58:50,809 [ 3352] INFO - #c.i.o.p.MergingQueueGuiExecutor - Task finished: UnindexedFilesScanner[jubilant-goggles] 2023-10-11 11:58:55,624 [ 8167] INFO - #com.github.yunabraska.githubworkflow.helper.GitHubWorkflowHelper - Download [https://json.schemastore.org/github-action] 2023-10-11 11:58:58,471 [ 11014] WARN - #c.i.o.p.i.ProjectFrameAllocator - Cannot load project in 10 seconds: ... 2023-10-11 11:58:58,681 [ 11224] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Loading global entities from files 2023-10-11 11:59:00,886 [ 13429] INFO - #com.github.yunabraska.githubworkflow.helper.GitHubWorkflowHelper - Download [https://json.schemastore.org/github-funding] 2023-10-11 11:59:06,092 [ 18635] INFO - #com.github.yunabraska.githubworkflow.helper.GitHubWorkflowHelper - Download [https://json.schemastore.org/github-workflow] 2023-10-11 11:59:11,360 [ 23903] INFO - #com.github.yunabraska.githubworkflow.helper.GitHubWorkflowHelper - Download [https://json.schemastore.org/github-discussion] 2023-10-11 11:59:16,626 [ 29169] INFO - #com.github.yunabraska.githubworkflow.helper.GitHubWorkflowHelper - Download [https://json.schemastore.org/github-issue-forms] 2023-10-11 11:59:21,886 [ 34429] INFO - #com.github.yunabraska.githubworkflow.helper.GitHubWorkflowHelper - Download [https://json.schemastore.org/github-issue-config] 2023-10-11 11:59:27,163 [ 39706] INFO - #com.github.yunabraska.githubworkflow.helper.GitHubWorkflowHelper - Download [https://json.schemastore.org/github-workflow-template-properties] 2023-10-11 11:59:32,490 [ 45033] WARN - #c.i.d.PerformanceWatcherImpl - UI was frozen for 41680ms, details saved to /Users/daniel.kimsey/Library/Logs/JetBrains/GoLand2023.2/threadDumps-freeze-20231011-115855-GO-232.9921.53-Unsafe.park-41sec ```
Thread dumps show multiple threads all
BLOCKED
attempting to pull the Schema from schemastore.org, with one inWAITING
:Operating System
Plugin Version
IDE Name and Version
Expected behavior UI should not be unresponsive.
Screenshots None.
Additional context This is a new install of the plugin.
schemastore.org appears to be having an outage right now. Requests are 502ing (GoLand's own built-in polling) or long response time.
Aside, I am using a custom GH Action/Workflow Schema to provide syntax highlighting, will these imported schemas break that once they are able to be pulled?