OmniSharp analysis is extremely slow on only one small-ish project out of four

Versions

VS Code: 1.62.3
C# Extension: 1.23.17
OmniSharp: 1.37.18-beta.83

Repro

git clone git@github.com:alexrp/system-terminal.git
cd system-terminal && git checkout d28f485e05d1557abc690a4f0316ef92e5f023c1 && dotnet build
Open the repository root as a folder in VS Code
Open src/core/Terminal.cs
Start making arbitrary edits

At this point you should notice that OmniSharp's analysis (notably, not completion) is extremely slow to respond to edits. Style diagnostics (both from the IDExxxx analyzers and StyleCop) as well as code quality diagnostics (CAxxxx analyzers) can sometimes seem to get completely stuck to the point where you have to close the file and reopen it for analysis to start over and finally respond to the changes you've made.
What is interesting is that the same is not true in other projects in the repository. For example, if you open src/extensions/Hosting/TerminalHost.cs and start making edits, OmniSharp immediately goes back to normal with analysis being virtually instantaneous.
Log
Worth noting that the OmniSharp log is full of stuff like this when editing the problematic project:
Received response for /completion but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /completion/resolve but could not find request.
[warn]: OmniSharp.Stdio.Host
        ************ Request ************
{
  "Type": "request",
  "Seq": 186,
  "Command": "/filesChanged",
  "Arguments": [
    {
      "FileName": "c:\\Users\\alex\\source\\repos\\system-terminal\\src\\core\\Terminal.cs",
      "changeType": "Change"
    }
  ]
}
[fail]: OmniSharp.Stdio.Host
        ************  Response (9.6956ms) ************
{
  "Request_seq": 186,
  "Command": "/filesChanged",
  "Running": true,
  "Success": false,
  "Message": "\"System.IO.IOException: The process cannot access the file 'c:\\\\Users\\\\alex\\\\source\\\\repos\\\\system-terminal\\\\src\\\\core\\\\Terminal.cs' because it is being used by another process.\\r\\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\\r\\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\\r\\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\\r\\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\\r\\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\\r\\n   at OmniSharp.Roslyn.BufferManager.<UpdateBufferAsync>d__8.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn\\\\BufferManager.cs:line 47\"",
  "Body": null,
  "Seq": 229,
  "Type": "response"
}
Received response for /v2/getcodeactions but could not find request.
Received response for /quickinfo but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\alex\source\repos\system-terminal\src\core\Terminal.cs, Line: 57, Column: 48.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\alex\source\repos\system-terminal\src\core\Terminal.cs, Line: 0, Column: 9.
Received response for /v2/getcodeactions but could not find request.
[warn]: OmniSharp.Stdio.Host
        ************ Request ************
{
  "Type": "request",
  "Seq": 270,
  "Command": "/v2/getcodeactions",
  "Arguments": {
    "FileName": "c:\\Users\\alex\\source\\repos\\system-terminal\\src\\core\\Terminal.cs",
    "Line": 57,
    "Column": 43
  }
}
[fail]: OmniSharp.Stdio.Host
        ************  Response (5343.5150ms) ************
{
  "Request_seq": 270,
  "Command": "/v2/getcodeactions",
  "Running": true,
  "Success": false,
  "Message": "\"System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.\\r\\n   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)\\r\\n   at System.Reflection.RuntimeAssembly.get_DefinedTypes()\\r\\n   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()\\r\\n   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()\\r\\n   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()\\r\\n   at System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()\\r\\n   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)\\r\\n   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)\\r\\n   at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items)\\r\\n   at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom(Project project) in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Refactoring\\\\V2\\\\CachingCodeFixProviderForProjects.cs:line 93\\r\\n   at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject(ProjectId projectId) in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Refactoring\\\\V2\\\\CachingCodeFixProviderForProjects.cs:line 57\\r\\n   at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService`2.GetSortedCodeFixProviders(Document document) in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Refactoring\\\\V2\\\\BaseCodeActionService.cs:line 156\\r\\n   at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService`2.<AppendFixesAsync>d__13.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService`2.<CollectCodeFixesActions>d__12.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Refactoring\\\\V2\\\\BaseCodeActionService.cs:line 123\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService`2.<GetAvailableCodeActions>d__9.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Refactoring\\\\V2\\\\BaseCodeActionService.cs:line 80\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.<Handle>d__1.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Refactoring\\\\V2\\\\GetCodeActionsService.cs:line 32\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at OmniSharp.Endpoint.EndpointHandler`2.<GetFirstNotEmptyResponseFromHandlers>d__19.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at OmniSharp.Endpoint.EndpointHandler`2.<HandleRequestForLanguage>d__20.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Host\\\\Endpoint\\\\EndpointHandler.cs:line 230\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at OmniSharp.Endpoint.EndpointHandler`2.<Process>d__16.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Host\\\\Endpoint\\\\EndpointHandler.cs:line 131\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at OmniSharp.Stdio.Host.<HandleRequest>d__14.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Stdio\\\\Host.cs:line 218\"",
  "Body": null,
  "Seq": 322,
  "Type": "response"
}
Received response for /v2/getcodeactions but could not find request.

Not sure what's up with the IOException; I'm certainly not editing the file in other programs. Also, I'm not sure how to debug that ReflectionTypeLoadException further.

FWIW, I believe this started happening a little over a week ago, but it's hard to tell if it started happening due to an OmniSharp change or a change in my project...

Does this happen without the beta OmniSharp - on the current released 1.37.17 that is by default in the extension?
I cloned your project and there are indeed some slow code actions and code check calls.
Did you install Stylecop Analyzers into the project recently? Looks to me like most of the slowness is coming from there.

Does this happen without the beta OmniSharp - on the current released 1.37.17 that is by default in the extension?

Nope. Analysis seems to work fine with the stable version.

Did you install Stylecop Analyzers into the project recently? Looks to me like most of the slowness is coming from there.

No, StyleCop has been there all along. Removing both StyleCop and CsWin32 from the project makes no difference.

Thanks.
@JoeRobich since this happens on the pre-release only, and not on latest stable, the only possible change that could cause a regression is https://github.com/OmniSharp/omnisharp-roslyn/pull/2267  Would you have some time to check the above repro project against this change?

This has been resolved by reverting #2267


Adds validator for downloading file while installing pyQt5

@kmike please check this :)

Codecov Report

Merging #568 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #568   +/-   ##
======================================
  Coverage    87.7%   87.7%
======================================
  Files          42      42
  Lines        5539    5539
  Branches      758     758
======================================
  Hits         4858    4858
  Misses        511     511
  Partials      170     170

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4664679...2aaf374. Read the comment docs.

How to install python on Windows7 pls


Shareable links for languages

Is your feature request related to a problem? Please describe.
E.g. I'm always frustrated when my family member sends me a website link, but it's not in my native language.
Describe the solution you'd like
Shareable link to your language. Either ?lang=lang or maybe /lang? Not sure

Well done @olafwrieden 🔥


Unknown scalar types

Environment

Operating System: Darwin
Node Version:     v18.17.1
Nuxt Version:     3.8.1
CLI Version:      3.9.1
Nitro Version:    2.7.2
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, modules, components, pinia, imports, googleFonts, runtimeConfig, tailwindcss, dayjs, css
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Describe the bug
When turning on Codegen it is complaining about my scalar types: AWSDate & AWSDateTime.
Obviously there is a list of other AWS scalar types for AppSync which I am not using but would cause the same errors.
Could these scalar types be added to the main code base or is there a way I can import them so that your plugin knows about them?

AWS Scalar Types:
https://docs.aws.amazon.com/appsync/latest/devguide/scalars.html

Expected behavior
To have Codegen working
Reproduction
Use AppSync & set some AWS specific scalar types against your fields

Codegen's configuration allows you to map custom scalars to TS types, but I'm not sure how to expose that using nuxt-graphql-client. 😕


Shared workflow: add to project

Create a single workflow for adding issues/prs to projects.

[ ] #22

Closing as completed.


[SPARK-24869][SQL] Fix SaveIntoDataSourceCommand's input Dataset does not use Cached Data

What changes were proposed in this pull request?
This PR fix 2 things:

Fix SaveIntoDataSourceCommand's input Dataset does not use Cached Data.
Fix SaveIntoDataSourceCommands web ui when writing data.

How was this patch tested?
unit tests and  manual tests
Manual test web UI:
val udf1 = udf({ (x: Int, y: Int) => x + y })
val df = spark.range(0, 3).toDF("a").withColumn("b", udf1(col("a"), lit(10)))
df.write.mode(SaveMode.Overwrite).jdbc(jdbcUrl, jdbcTable, new Properties)

Before this PR:

After this PR:

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3388/
Test PASSed.

Test build #96487 has started for PR 22530 at commit 9b1cc1d.

Test build #96487 has finished for PR 22530 at commit 9b1cc1d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96487/
Test FAILed.

Merged build finished. Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3395/
Test PASSed.

Test build #96496 has started for PR 22530 at commit 9b1cc1d.

Test build #96496 has finished for PR 22530 at commit 9b1cc1d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96496/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4580/
Test PASSed.

Test build #98183 has started for PR 22530 at commit 9b1cc1d.

Test build #98183 has finished for PR 22530 at commit 9b1cc1d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98183/
Test FAILed.

retest this please

retest this please

Test build #98394 has finished for PR 22530 at commit d061c69.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98394/
Test FAILed.

Test build #98404 has started for PR 22530 at commit b80b0cd.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4723/
Test PASSed.

Test build #98406 has started for PR 22530 at commit 9f90fa0.

Test build #98404 has finished for PR 22530 at commit b80b0cd.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98404/
Test FAILed.

Test build #98406 has finished for PR 22530 at commit 9f90fa0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98406/
Test FAILed.


doctest fails with ImportError: cannot import name 'Env' from 'gym'

🐛 Bug
It seems like the doctest have been failing due to the following error since last week.
ImportError: cannot import name 'Env' from 'gym' (unknown location)

I have no idea how this error is caused because from gym import Env is (should be) skipped in an environment where gym is not available:
https://github.com/PyTorchLightning/lightning-bolts/blob/75ddb4b96d069378a4c38e75460c8c7eef9f15b7/pl_bolts/datamodules/experience_source.py#L13-L14
To Reproduce
https://github.com/PyTorchLightning/lightning-bolts/runs/3760547205
____________________ ERROR collecting pl_bolts/__init__.py _____________________
pl_bolts/__init__.py:11: in <module>
    from pl_bolts import (  # noqa: E402
pl_bolts/datamodules/__init__.py:7: in <module>
    from pl_bolts.datamodules.experience_source import DiscountedExperienceSource, ExperienceSource, ExperienceSourceDataset
pl_bolts/datamodules/experience_source.py:14: in <module>
    from gym import Env
E   ImportError: cannot import name 'Env' from 'gym' (unknown location)
___________________ ERROR collecting pl_bolts/setup_tools.py ___________________
/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1006: in _gcd_import
    ???
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:953: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1006: in _gcd_import
    ???
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:677: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:728: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
pl_bolts/__init__.py:11: in <module>
    from pl_bolts import (  # noqa: E402
pl_bolts/datamodules/__init__.py:7: in <module>
    from pl_bolts.datamodules.experience_source import DiscountedExperienceSource, ExperienceSource, ExperienceSourceDataset
pl_bolts/datamodules/experience_source.py:14: in <module>
    from gym import Env
E   ImportError: cannot import name 'Env' from 'gym' (unknown location)

try changing it to
try:     if _GYM_AVAILABLE:         from gym import Env     else:  # pragma: no cover         warn_missing_pkg("gym")         Env = object except:     warn_missing_pkg("gym")      Env = object
Can you check if this work?
With best regards,

In my case I was using conda and "gym" appeared in my conda list list, but seemed to be an empty install.
I could import gym but not from gym import Env
I solved it uninstalling and reinstalling gym.
conda install -c conda-forge gym


Sprint 3 release

UAT have finished testing and i have had descussions with Nat, Alex and Moses we are good to push this


update license field in package.json

Hello
According to showdown's license.txt, I think showdown is under the BSD-3-Clause license.

Thanks


Add Code of Conduct

We recommend that every repo has a code of conduct. If you don’t feel comfortable creating your own Code of Conduct from scratch we highly recommend using one of the templates provided by GitHub. If you do use a template, please read through the template and ensure that you can and will abide by the Code of Conduct.
Please follow these instructions on how to add a Code of Conduct.
Sample: https://github.com/Girlscript-WOB/Guidelines/blob/main/Project Admins/Code of conduct.md

hi ! would love to contribute to this issue please assign it to me . thank you

Please assign this task to me as a part of WOB24 @anusha7530 @Ishitagu @AbhiDiva96

hii  @anusha7530
I am assigning it to you to write a fresh code of conduct for the cryptoPurse.
code of conduct should be written in a clean and correct way

@AbhiDiva96 I guess Anusha is a part of WOB management. Can I take up this issue? 🙂

@AbhiDiva96 Please review the PR and share the feedback accordingly. Thank you. Please add WOB24 and Level1 label as a part of WOB campaign. Thanks again :-)

Please add WOB24 and Level1 label as a part of WOB campaign. Thanks again :-) 🙏


prevent auto convert HTML escape characters

For Example:
in parent:
render(){   return (     <div>abc < </div>   ) }
in child
this.$slots.default // we have "abc <"
Is there any way to prevent auto-converting < to < ?

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.


Additional flexibility for custom endpoints

While calling custom endpoints is allowed, it does this at the provider level, which means you need to instantiate multiple providers if you are using multiple endpoints based on the resource
It would be nice to have an optional field that could pass a custom endpoint at the resource level. e.g. we need a fips alb, but the rest of the albs in the environment do not need that level of restrictiveness. Currently we would need to have multiple providers, or create the alb via the cli and import it in.

Hi @rslocum !
I think you are overengineering something if you would want to have this feature. The way most of Terraform modules you see in the public (including terraform-aws-modules) is that they inherit default aws provider and use it.
There is seldom a need to specify it as an argument to a module (using providers { aws = "aws.my-secondary-provider" }) and almost never as an argument to individual resources inside of the module.
If you need to create resources with different AWS provider configurations you need to invoke this module multiple times.
This module will not be extended to support custom provider blocks on a resource level.


Command line option to read query from file (feature request)

A command line option to read queries from an external file might be useful for things you use frequently. Example:
> cat darwin_compatible
result = []
for entry in _.parsers:
  if "darwin" in entry.compatible:
    result.append(entry.name)
result

> jc -a | jello -rl -f darwin_compatible
airport
airport_s
arp
crontab
crontab_u
...

Hi there - this is a good idea, but should already be supported with the -i option. This could be better documented, but can be found under the Advanced Usage section.
The problem is I seem to have broken this functionality while tightening up some things in the query environment.  It should work like this (but does not right now):
% jc -a | jello -i 'darwin_compatible()'

If you have this in your ~/.jelloconf.py file:
def darwin_compatible(data=_):
    result = []
    for entry in data.parsers:
      if "darwin" in entry.compatible:
        result.append(entry.name)
    return result

I'll look into this and add some tests.

I have a little proof of concept working with the -i method. I have to change quite a bit of code since I locked down the scope of the exec call. Still thinking on how best to implement this and then the file method. It was easier before because I was not really limiting what could go into the exec call so the variables in the pyquery function were effectively shared.

I think I have this working pretty well now with -i:
% cat .jelloconf.py
# from jello.lib import opts
# opts.mono = True

def darwin_compatible():
    result = []
    for entry in _.parsers:
      if "darwin" in entry.compatible:
        result.append(entry.name)
    return result
% jc -a | jello -ic 'darwin_compatible()'
["airport","airport_s","arp","asciitable","asciitable_m","bluetoothctl","cbt","cef","cef_s","cksum","clf","clf_s","crontab","crontab_u","csv","csv_s","date","datetime_iso","df","dig","du","email_address","env","file","finger","git_log","git_log_s","git_ls_remote","group","hash","hashsum","history","hosts","id","ifconfig","ini","ini_dup","ip_address","iso_datetime","jar_manifest","jobs","jwt","kv","last","ls","ls_s","lsof","m3u","mount","netstat","openvpn","passwd","pci_ids","pgpass","ping","ping_s","pip_list","pip_show","plist","ps","rsync","rsync_s","semver","shadow","ssh_conf","sshd_conf","stat","stat_s","sysctl","syslog","syslog_s","syslog_bsd","syslog_bsd_s","time","timestamp","toml","traceroute","uname","uptime","url","ver","w","wc","who","x509_cert","xml","xrandr","yaml","zipinfo","zpool_iostat","zpool_status"]

I'll do more testing and add some unit tests before releasing.

For the query, I did this:
diff --git a/jello/cli.py b/jello/cli.py
index 4b07197..da5b41d 100644
--- a/jello/cli.py
+++ b/jello/cli.py
@@ -122,7 +122,12 @@ def main(data=None, query='_'):
     long_options = {}

     for arg in sys.argv[1:]:
-        if arg.startswith('-') and not arg.startswith('--'):
+        if arg.startswith('-f'):
+            _, path = arg[2:].split('=')
+            with open(path, encoding="utf-8") as f:
+                query = f.read()
+
+        elif arg.startswith('-') and not arg.startswith('--'):
             options.extend(arg[1:])

I'm wondering if it makes sense to add file support as JSON input as well. That would make the -f option confusing, though.
$ jello -f file.json

Could maybe use something like -q for query file and -f for file input? Still considering options.

-q query_file seems reasonable.
Maybe -d json_data or -j json_file.

I've added the following features to the dev branch which will be in the 1.6.0 release:

Add the ability to directly use a JSON file or JSON Lines files as data input (-f)
Add the ability to load a query from a file (-q)
Add the empty data option (-e)
Fix user-defined functions in ~/.jelloconf initialization file

Looks good. I'll let you know if I find anything why using it.

released in v1.6.0


More flexible Client-Specific Override options

Part 1: More flexible Client-Specific Override options GUI changes

add individual server overrides for the optional client settings (local routes/gateway, remote routes, DNS, NTP, Netbios...)
add option to override topology when selecting "Remove All Server Options" (push-reset)
add option to set gateways (useful when removing routes)
add option to override Redirect IPv6 Gateway in addition to existing IPv4 option
move all server override options to the "Override Configuration" group
hide override options with a "Select Server Overrides" toggle
disable un-needed overrides when "Remove All Server Options" (push-reset) is selected
when "Redirect IPv4/6 Gateway" is toggled, the Local Routes fields are hidden/shown correspondingly like for the server edit page

Small bug fixes

fix bug when "0" is entered in DNS/Domain... fields (using !empty() discards 0)

fix bug: NTP and DNS options: use javascript instead of toggles class because the latter causes inverted results when repeating clicks too quickly

[x] Redmine Issue: https://redmine.pfsense.org/issues/12522

[x] Ready for review

Changes can be previewed here:
https://philz-cwm6.github.io/pfsense_preview/vpn_openvpn_csc_v1dot3_gui.html

Messed the repo, sorry, I will commit a new one


[build] Use github-checkout-action and github-upload-artifact-action v3

Fixes Node.js 12 deprecation warning.

Joshua-Ashton/gcc-problem-matcher needs to updated too to fully get rid of that deprecation warning

Depends on https://github.com/Joshua-Ashton/gcc-problem-matcher/pull/2

Should finally be good now.


[Android] Implement the zoom APIs and add test case.

This patch is to implement the zoom APIs(zoomBy, zoomIn, zoomOut,
canZoomIn, canZoomOut), add test case.
The implementation of these APIs was to call the related functions
in ContentViewCore.java
BUG=XWALK-4169, XWALK-4170, XWALK-4171
(cherry picked from commit 2b0dba00da4b062bc3171ac4b545b47a185461ff)

@lincsoon Please merge this patch to Crosswalk-14, I have verified it on local device. Thanks.


Node labels and taints UI Issues

What kind of request is this (question/bug/enhancement/feature request): Bug
Steps to reproduce (least amount of steps as possible):

Go to create custom cluster
Give it a name and click on Next
Click on Show Advanced options

Result:

[ ] Buttons for Add label and Add Taint are too close to the text above it.

[ ] Inconsistent spacing when you add a label & taint between first addition and text

[ ] Help text is not helpful.  Either add text that tell what these things do or remove it.

On 2.3.4-rc6

Verified the issues mentioned here - https://github.com/rancher/rancher/issues/24640#issue-539291027
Verified on latest master-head - commit id: 8bd9f3be2, ui tag: latest2

Helpful text for Node Labels have been removed
Spacing is consistent when you add a label & taint between first addition and text


Allow setting null route

Required for GraphQL to set the route to null after the graphql route execution is initiated, but before the corresponding rest API route is executed, to avoid early matching the graphql route.

As discussed with @christyjacob4, we need a feature based approach. The current PR hacks the API and create weakness that might encourage wrong usage.