Support for tab-indentation

Neat plugin, nice that something like this can be done in ~100 lines.
Could indentation with tabs also be supported?

I would like that too. Tab indentation is what's needed for me to replace indent-blankline (which has many features that I don't use) with indentmini.

Sorry for the late reply. These days I try to do some optimizations to make it faster. Regarding tabs, I usually use the tab option in listchars.

this is my listchar setting   listchars=tab:»·,nbsp:+,trail:·,extends:→,precedes:←, and i think its enough for tab ?

Hey, I know this issue was closed, but I thought it would look coherent to have indent lines with tab indentation, so I tried doing it. The following diff shows the changes I made if you are interested:
@@ -5,7 +5,7 @@ local ffi = require('ffi')
 local opt = {
   config = {
     virt_text_pos = 'overlay',
-    hl_mode = 'combine',
+    hl_mode = 'replace',
     ephemeral = true,
   },
 }
@@ -42,7 +42,7 @@ end
 local function non_or_space(row, col)
   local line = ffi.string(ml_get(row + 1))
   local text = line:sub(col, col)
-  return text and (#text == 0 or text == ' ') or false
+  return text and (#text == 0 or text == ' ' or text == '	') or false
 end

 local function find_in_snapshot(lnum)
@@ -103,6 +103,7 @@ local function on_line(_, _, bufnr, row)
     if row > cache.reg_srow and row < cache.reg_erow and level == cache.cur_inlevel then
       higroup = 'IndentLineCurrent'
     end
+    if not vim.o.expandtab then col = level - 1 end
     if col >= cache.leftcol and non_or_space(row, col) then
       opt.config.virt_text[1][2] = higroup
       if is_empty and col > 0 then
@@ -117,7 +118,7 @@ end
 local function on_win(_, winid, bufnr, toprow, botrow)
   if
     bufnr ~= api.nvim_get_current_buf()
-    or not api.nvim_get_option_value('expandtab', { buf = bufnr })
+    -- or not api.nvim_get_option_value('expandtab', { buf = bufnr })
     or vim.iter(opt.exclude):find(function(v)
       return v == vim.bo[bufnr].ft or v == vim.bo[bufnr].buftype
     end)

how it looks like on tab indent file  then. if looking great this minimal patch it's okay :)

It looks good to me. Here is a screenshot of some code in golang:

Should I make a pull request or will you add it yourself in the next commit ?

PR welcome :)


Allow drag-and-drop insertion of reagents into the ChemMaster

About the PR

Separates out the component from "DrainComponent" that allows one to drag a bucket/any reagent container onto a drain/sink/toilet to empty it and allows other reagent containers to reuse the code effortlessly. Additionally, adds this component to the ChemMaster 4000.
Why / Balance

Because it is something that has annoyed me personally when having to deal with jug-only chemistry and reduces some of the clutter around chemistry if it's not necessary, up to the chemist's discretion of course.
Technical details

Rips out the existing logic for drag dropping things onto drains and replaces it with a new universal component that then handles this for any solution.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

https://github.com/space-wizards/space-station-14/assets/38938720/c7e489bf-9776-4a08-9559-99340fb0d6a2
Changelog

:cl:

tweak: The ChemMaster 4000 has been upgraded to allow drag-and-drop insertion of reagents!

Can ya give me a pointer on where you'd like it?

IMO DumpableSolutionComponent should subscribe to ExaminedEvent and add text saying that you can dump reagent containers into it with drag drop

drag drops are generally unintuitive interactions but thats better than nothing

whatever


[Feature] Support SaveMode on Doris

Purpose of this pull request
This PR add savemode feature on doris

Does this PR introduce any user-facing change?
no

How was this patch tested?
add new test.

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

cc @gnehil @chl-wxp


Using redirect URI: http://undefined:4200

Hello,
I followed your guide and created an new client in Viessmann Developer Portal, set the URI to http://<IP_ADDRESS>:4200/ installed the HB plugin set my config accordingly but it will not work:
[10/12/2024, 7:10:13 PM] [ViCareThermostatPlatform] Opening browser for authentication: https://iam.viessmann.com/idp/v3/authorize?client_id=ac98e6562ec3dcbfe11d24e5544a75a2&redirect_uri=http%3A%2F%2Fundefined%3A4200&scope=IoT%20User%20offline_access&response_type=code&code_challenge_method=S256&code_challenge=fvwAaa75-esvT7W3_hLPbSkVQBlTKw2WWpGKhUqrfBA
[10/12/2024, 7:10:13 PM] [ViCareThermostatPlatform] Server is listening on undefined:4200
[10/12/2024, 7:10:14 PM] [homebridge-samsung-tizen] Launched child bridge with PID 8316```

No matter what i try it does not se my local IP...

Please advise. Thank you,

Please remove the latest / in the Redirect-URL on the Viessmann-Portal

removed the / but the same result

this.hostIp = await internalIpV4();  // Ermittelt die lokale IP-Adresse
I am running homebridge in docker so the code above seems to be the problem for the UNDEFINED, it will not get the local IP

I have the same problem.
[ViCareThermostat] Using redirect URI: http://undefined:4200
Homebridge is in docker on synology. Docker i using host network so it should receive ip.

@azizitom I solved the problem by changing a bit of code from the plugin. Open index.js on line 32 you will find this.hostIp = await internalIpV4(); replace with this.hostIp = `YOUR_IP`;
@vrkttr please allow us to manually set the IP ADDRESS in the config of Homebridge, i think this would be the shortest/easiest way to fix the issue.

@iondarie
My log after change to IP:
this.hostIp = await '<IP_ADDRESS>';  // Ermittelt die lokale IP-Adresse       this.redirectUri = http://${this.hostIp}:4200;
[10/17/2024, 9:18:52 AM] Error: listen EADDRNOTAVAIL: address not available <IP_ADDRESS>:4200
    at Server.setupListenHandle [as _listen2] (node:net:1882:21)
    at listenInCluster (node:net:1961:12)
    at doListen (node:net:2135:7)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

IP is correct.

@azizitom Without “await”
this.hostIp = '<IP_ADDRESS>';

@iondarie thank You.
No link is not working but i'm on vpn so will have to check at home.


chore(internal): update CI -- add TS 4.8 and 4.9 to CI

I updated ci.yml
ran pnpm ci:update - uses https://github.com/NullVoxPopuli/ember-ci-update (needs to be updated to support Changesets -- but that's more involved as a bot needs to be added to the repo as well)
commit

window mock being a regular package would be so clutch for the js ecosystem! 🎉


Gitpod starts with ruby 3.2.2, but bulletrain requires 3.3.0

Steps to reproduce:

Click on gitpod icon on repo homepage
Select default gitpod settings
See errors in terminal

Updating _ruby_version=ruby-3.3.0 in gitpod.Dockerfile seems to help, but I gitpod gets stuck during validation here:
=========================================================================================================================
[2024-04-09 19:31:04] ERROR 19:31:04: Could not load vsce-sign module Cannot find module '@vscode/vsce-sign'
[2024-04-09 19:31:04] ERROR Require stack:
[2024-04-09 19:31:04] ERROR - /ide/out/server-main.js
[2024-04-09 19:31:04] ERROR 19:31:04: Could not load vsce-sign module Cannot find module '@vscode/vsce-sign'
[2024-04-09 19:31:04] ERROR Require stack:
[2024-04-09 19:31:04] ERROR - /ide/out/server-main.js

@PeterMonsson you could also try going the other direction and update your copy of BT to use the version of ruby that gitpod is trying to use. That's controlled by the .ruby-version file.
https://github.com/bullet-train-co/bullet_train/blob/b5cd751aa83f2fb066ee7fef800e390d2612836c/.ruby-version#L1
If you change that to 3.2.2 and then run bundle install that should get everything in agreement.

@PeterMonsson, did you get this working? And if so, is there something that we should do on the BulletTrain side? (Basically I'm trying to figure out if there's anything to do, of if we can close this issue.)


derides, carnifex (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Cannot import img on windows

Thanks for the great work! I was trying to use it on windows, but whenever i import an image, it shows this import error:
Traceback (most recent call last):
File "C:\Users\Zohar\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "C:\Users\Zohar\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "F:\image_manager\reverse-image-search\v2\app.py", line 158, in
main()
File "F:\image_manager\reverse-image-search\v2\app.py", line 154, in main
os.unlink(temp_file_path)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\Zohar\AppData\Local\Temp\tmpjwmoakp0.jpg'

try the new release v0.1.6. and tell me if it works. i do not have windows, i am just hoping this new release would fix it.


[profile | portfolio] Screen flashing and content regressions on Profile & Portfolio pages

Related issues:
#1940
#1063
This PR https://github.com/KlimaDAO/klimadao/pull/1942 was introduced to fix profile bugs in #1940
This appears to have introduced a new set of issues:

[x] When I access another users public profile (for example https://www.carbonmark.com/users/offsetra) the initial screen view flashes the Listings - No active listings page before rendering properly

[x] A new login with no Profile created should still show the temp avatar and wallet and stats / activity components. The figma design for a seller that has logged in but not yet set up their profile is here; assuming the Marketplace navigation item is still active; i.e. start from the marketplace, click login, go through the login modal, end up on this page.

vs

[x] Recent portfolio page content changes that were merged as part of #1063 not longer seem to be there anymore. Currently if you do not have a profile, the Portfolio page is completely blank.

Using social logins, if I've logged in and then log out, if I login again in the same browser session with a different social login (for example google instead of discord) the web3 auth appears to send me to the correct location but I still get connected to carbonmark with the previous user (in this case, my discord user). Basically it appears that within a browser session, if I log out if does not fully release the account I was logged in as.

I think this one should be moved to a separate ticket, I think we can merge michaels PR to resolve the other more pressing issues

I think this one should be moved to a separate ticket, I think we can merge michaels PR to resolve the other more pressing issues

done


Convert the remaining calls from newSVpv to newSVpvn as there is no n…

…eed for the semantics of newSVpv
I saw a crash in staging from your version of this module, so I'm guessing my initial patches didn't cover all the cases.  I've now blanket changed everything as there isn't any code you've got that relies on the rather odd semantics that the newSVpv call has.

merged this but having issues with tests failing on builds on armv7 linux with libsodium 1.0.11, and macOS 10.12.2 with the same version of libsodium.  Succeeds fine on FreeBSD 10.3 on amd64 though.  Going to figure this out before doing another release.

Build and all tests succeed with perl 5.18.2 that came with MacOS 10.12.2, but fails after test 3 on my perlbrew built with default settings 5.24.0 on the same machine.  I find it strange that the linkers have warnings in both cases, but mostly because macOS's compiler options are trying to build fat binary perl modules and homebrew installed a 64-bit only version of libsodium...  I bet it's just how perlbrew is building Perl vs. how Apple built Perl.
perl 5.18.2 (macOS)
/usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp  -typemap /System/Library/Perl/5.18/ExtUtils/typemap  Sodium.xs > Sodium.xsc && mv Sodium.xsc Sodium.c
cc -c  -I/usr/local/include -I. -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os   -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"  "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE"  -Wno-pointer-sign Sodium.c
Running Mkbootstrap for Crypt::Sodium ()
chmod 644 Sodium.bs
rm -f blib/arch/auto/Crypt/Sodium/Sodium.bundle
LD_RUN_PATH="/usr/local/lib" cc -mmacosx-version-min=10.12.2  -arch x86_64 -arch i386 -bundle -undefined dynamic_lookup -fstack-protector Sodium.o  -o blib/arch/auto/Crypt/Sodium/Sodium.bundle    \
       -L/usr/local/lib -lsodium    \

ld: warning: ignoring file /usr/local/lib/libsodium.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libsodium.dylib

[mikeyg@skip:~/projects/Crypt-Sodium] master* ± make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Crypt-Sodium.t .. ok
All tests successful.
Files=1, Tests=16,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.15 cusr  0.03 csys =  0.21 CPU)
Result: PASS

perlbrew 5.24.0
"/Users/mikeyg/perl5/perlbrew/perls/perl-5.24.0/bin/perl" "/Users/mikeyg/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/ExtUtils/xsubpp"  -typemap "/Users/mikeyg/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/ExtUtils/typemap"  Sodium.xs > Sodium.xsc && mv Sodium.xsc Sodium.c
cc -c  -I/usr/local/include -I. -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -O3   -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"  "-I/Users/mikeyg/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/darwin-2level/CORE"  -Wno-pointer-sign Sodium.c
rm -f blib/arch/auto/Crypt/Sodium/Sodium.bundle
LD_RUN_PATH="/usr/local/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong Sodium.o  -o blib/arch/auto/Crypt/Sodium/Sodium.bundle   \
       -L/usr/local/lib -lsodium    \

ld: warning: object file (Sodium.o) was built for newer OSX version (10.12) than being linked (10.4)

[mikeyg@skip:~/projects/Crypt-Sodium] master* ± make test
Running Mkbootstrap for Crypt::Sodium ()
chmod 644 "Sodium.bs"
PERL_DL_NONLAZY=1 "/Users/mikeyg/perl5/perlbrew/perls/perl-5.24.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Crypt-Sodium.t .. All 3 subtests passed

Test Summary Report
-------------------
t/Crypt-Sodium.t (Wstat: 6 Tests: 3 Failed: 0)
  Non-zero wait status: 6
  Parse errors: No plan found in TAP output
Files=1, Tests=3,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.01 cusr  0.00 csys =  0.03 CPU)
Result: FAIL
Failed 1/1 test programs. 0/3 subtests failed.
make: *** [test_dynamic] Error 255

Perhaps run the tests with PERL5OPT=-d:cst.
You'll need Devel::cst installed at the time.

I couldn't even get Devel::cst to install.  I'm re-exploring my build of 5.24.0 seems perlbrew install perl-5.24.0 doesn't cut it on Sierra.

I'm having the exact same problems with Arch Linux's supplied 5.24.0,  and also Armbian's 5.22.1 both on armv7.  Devel::cst also won't build and test on either.  Arch's perl segfaults after successfully completing test 5 (roundtrip of crypto_box), and my perlbrew built perl on MacOS 10.12.2, and Armbian's 5.22.1 both segfault after successfully completing test 3 (roundtrip of '').
Further, this has nothing to do with the switch from newSVpv to newSVpvn, these perls segfault in the same spots using both.  So these problems existed before :(.
I'm more concerned about the segfaults on the native perls on arm than I am about my perlbrew 5.24.0.  I can't even get 5.24.0 to build on sierra with -Dccflags="-mmacosx-version-min=10.12" -Dccdlflags="-mmacosx-version-min=10.12" -Dldflags="-mmacosx-version-min=10.12" -Dlddlflags="-mmacosx-version-min=10.12" specified, which would have eliminated the only compile time warning I was seeing.
I'm going to open issues for the segfaults on armv7 and since this is building fine on all tested amd64 perls except my weird MacOS build, I'll put together a 0.10 release.

Thanks.  I'll try to take a look myself at some point on the raspberry pi end.

FWIW this is all fixed in the latest 0.10 release which should be hitting CPAN presently.  Apparently my use of the assert() macro was disliked on some platforms, probably due to NDEBUG being on or off at their perls' compile time.  TIL don't use assert() in perl modules... or plugins of any sort where you don't control compile time of the entire system (duh!).
On both perlbrew installed perls on macOS 10.12.2 it works as well...
perlbrew exec perl Crypt-Sodium.t
perl-5.22.2
==========
ok 1 - use Crypt::Sodium;
ok 2 - Testing roundtrip of crypto_stream_xor
ok 3 - Testing roundtrip of ''
ok 4 - Testing roundtrip of crypto_secretbox
ok 5 - Testing roundtrip of crypto_box
ok 6 - Testing roundtrip of ''
ok 7 - Testing hash comparison
ok 8 - Testing random bytes output
ok 9 - sanity check crypto_hash_scrypt
ok 10 - test crypto_pwhash_scrypt_str_verify positive
ok 11 - test crypto_pwhash_scrypt_str_verify negative
ok 12 - verifying crypto_sign signed message
ok 13 - verifying crypto_sign_detached signature
ok 14 - derive public key from private key using crypto_scalarmult_base
ok 15 - derive shared secret using crypto_scalarmult
ok 16 - derive shared secret using crypto_scalarmult_safe h(q || client_pub || server_pub)
1..16

perl-5.24.0
==========
ok 1 - use Crypt::Sodium;
ok 2 - Testing roundtrip of crypto_stream_xor
ok 3 - Testing roundtrip of ''
ok 4 - Testing roundtrip of crypto_secretbox
ok 5 - Testing roundtrip of crypto_box
ok 6 - Testing roundtrip of ''
ok 7 - Testing hash comparison
ok 8 - Testing random bytes output
ok 9 - sanity check crypto_hash_scrypt
ok 10 - test crypto_pwhash_scrypt_str_verify positive
ok 11 - test crypto_pwhash_scrypt_str_verify negative
ok 12 - verifying crypto_sign signed message
ok 13 - verifying crypto_sign_detached signature
ok 14 - derive public key from private key using crypto_scalarmult_base
ok 15 - derive shared secret using crypto_scalarmult
ok 16 - derive shared secret using crypto_scalarmult_safe h(q || client_pub || server_pub)
1..16

Thank you again for all your help and patience with this, have a great holiday!

Excellent, thank you, and the same to you.


list_tags: span element & custom class for label

document https://github.com/hexojs/hexo/pull/4578
Check List
Please read and check followings before submitting a PR.

[ ] I want to publish my theme on Hexo official website.

[ ] I have read the theme publishing doc.
[ ] name is unique.
[ ] link URL is correct.
[ ] preview URL is correct.
[ ] preview URL web site is rendered correctly.
[ ] Add a screenshot to source/themes/screenshots.
[ ] Screenshot filename is same as value of name.
[ ] Screenshot size is 800 * 500.
[ ] Screenshot file format is png.

[ ] I want to publish my plugin on Hexo official website.

[ ] I have read the plugin publishing doc.
[ ] name is unique.
[ ] link URL is correct.

[x] Others (Update, fix, translation, etc...)

Languages:
[x] en English
[x] ko Korean
[x] pt-br Brazilian Portuguese
[x] ru Russian
[x] th Thai
[x] zh-cn simplified Chinese
[x] zh-tw traditional Chinese

v5.3.0 is released.
I merge this :)


3 actions

Add pylint to github actions (work dir: backend).

You can use git commit --amend to add something to commit that already exists (then you have to force push)
or you can use git rebase -i to squash commits into one, before merging


refactor: permit emotions other than frustration

Is your feature request related to a problem? Please describe.
I'm always frustrated when I have to be frustrated to fill out the new feature template.
Describe the solution you'd like
Availability of other emotions.
Describe alternatives you've considered
Frustration and nothing else.
Additional context
No.

Did you know that there's a key on your keyboard to can remove text?

Yeah


console.log of objects

A cool logging trick in js is to structure variables into an object before logging. This prints 'map'.
    const pid = await readWord()
    console.log({ pid })

Do we want "" + { pid } to return "[Object]" or "{ pid: 12 }"? (def. not current "map")
I think the second option is better than special-casing console.log().

Imo we should err towards matching v8 behavior , so (1)

From: Michał Moskal @.>
Sent: Saturday, March 25, 2023 9:36:49 AM
To: microsoft/devicescript @.>
Cc: Peli de Halleux @.>; Author @.>
Subject: Re: [microsoft/devicescript] console.log of objects (Issue #275)
Do we want "" + { pid } to return "[Object]" or "{ pid: 12 }"? (def. not current "map")
I think the second option is better than special-casing console.log().
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/devicescript/issues/275#issuecomment-1483865273, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA73QKPVYPX4EIJCR7RGSCDW54NKDANCNFSM6AAAAAAWHI473A.
You are receiving this because you authored the thread.Message ID: @.***>

But console.log({pid}) should expand it

IMHO .toString() returning "[Object]" is one of the most useless "features" of JS. The only reason to support it would be  code like if (x.toString()  == "[Object]") in some legacy libraries, but we do not support legacy libraries anyways and such code is brittle beyond repair in V8 as well (eg. overriding .toString()).

yes, but that's what seasoned web dev expect. Also a large object could accidentally be converted to json, not sure that's wanted.

They expect it - so they won't even try to run .toString() on objects, so they won't be surprised.
It would have limits like util.inspect() in node.
Special-casing console.log() means console.log(`foo: ${x}`) is quite different from console.log("foo:", x), and also you can't do mylog("foo:" + x)

It currently applies to console.log() and template strings but not to "+" unless used in console.log() - I guess we need to clean this up later


Make changelogs more readable

Discussed in https://github.com/vercel/turbo/discussions/6436

Originally posted by jakeleventhal November 13, 2023
The changelog is pretty hard to read/understand when every single commit message is just mashed together. It would be really nice if the changes were at least organized by type and ranked in some sort of relevance, or at least highlight the big things that people should actually care about at the top.
TURBO-1727

Release notes will be organized based on https://github.com/vercel/turbo/blob/main/.github/turborepo-release.yml.

@tknickman this problem exists for all other vercel packages. Hopefully this can be adopted for the entire org


Fix infinite loop in index Writer when a series contains duplicated label names

Due to a Mimir bug, we had a case where we appended to TSDB a series with duplicated label names (in particular, it was the __name__ label). Later, when the TSDB Head has been compacted, the index Writer started an infinite loop when writing postings, because it doesn't handle the case a label name has more values than the actual postings (since it shouldn't happen).
In this PR I fix the infinite loop returning error from the Writer, so that it's more clear and loud what's going on.

Thanks!


sitemap not visible in english pages

in the english language files what should have been "title" is written as "section".

Fixed.


OpenApi Code generation using other tool

Found this interesting library for Kotlin/Java code generation from OpenApi schemas. While we already have support, there are still some issues with the code generation (https://github.com/Kotlin/dataframe/issues?q=is%3Aopen+is%3Aissue+label%3AOpenAPI) that need some attention.
I want to take a look at this library, however, to see if it could replace some of the instable behavior of our OpenApi generation. Probably our implementation works well enough to keep, but at least it should be explored.
Hurdy-Gurdy

OpenApi Generator is another interesting tool for which I made an example project that combines the compiler plugin and this generator: https://github.com/Jolanrensen/df-openapi-generator-plugin-demo. It has promise! Especially in notebooks and with the compiler plugin.


service mode won't work after upgrade to 2.6

Powershell 7.2.1
Pode 2.6
service mode won't work, it is starting and stopped, and repeating again, but it never running.

I downgraded to 2.5.2, it works fine.

Is there any way I can hardcode the response header to accept CORS first, since 2.6 I have tried, and it has bug I roll back to 2.5.2 and add response header to accept CORS to continue my trial?
Thanks
Eric Xin

I think you're interested in the "pre-flight" OPTION request that's made by the browser. Have you tried adding an OPTION route on your Pode server, and append the CORS header there, as a Middleware?
Browser pre-flight check: https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request
Middleware: https://pode.readthedocs.io/en/latest/Tutorials/Middleware/Overview/

Hi @ericxin1982,
As @pcgeek86 points out, in v2.5.2 you'll have to use a combo of an OPTION route with global middleware in Pode.
For you issue with v2.6.0, when you say service mode, are you talking about Windows Services? I've just tested myself and the service starts and runs ok 🤔 If it's another type of service, have you got a sample script that causes the issue, as well as the type of service and how you're configuring it?
You can also send error logs to a file using:
New-PodeLoggingMethod -File -Name 'errors' -Path '/some/path/logs' | Enable-PodeErrorLogging

Or if that doesn't show anything, then you might have to wrap the whole Start-PodeServer in try {} cacth {}:
try {
    Start-PodeServer {
        # logic
    }
}
catch {
    $_.Exception.Message | Out-File -Path '/some/path/file.log' -Append
    $_.Exception.StackTrace | Out-File -Path '/some/path/file.log' -Append
    $_.ScriptStackTrace | Out-File -Path '/some/path/file.log' -Append
}

If those have any errors, that'd be great to see :)

My bad.
I found the reason is I use pwsh to install new module, but where it locates is not in PSmodulepath varaible, and I used to install Pode2.3 before, so the error is 2.3 does not recognize the new cmdlet like set-podesecurity, so I re-installed the pode in powershell and run pode script through pwsh again, it works.

Thanks for debug instruction.


Original copyrights missing

As per the title. The source code doesn't seem to include the original copyright notices.

You can add the original copyright in a PR and i merge it.


Fix isEven method

There is currently a method called isEven that lives in /lib/isEven.js.
It is incomplete and needs to be fixed!
Acceptance Criteria:

Running yarn test isEven results in tests passing.
You have written a skeleton method for someone else to work on.
You have written tests surrounding your skeleton method.
Running yarn lint does not print any errors to the console!

Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request! A pull request will most likely be denied if it does not contain a skeleton method for someone else to work on! For more information, please read the Contributing Guide.
Thank you so much for your contribution!

I would like to be assigned this.

Sure, @nidhihooda give it a try :)

@BlakeGuilloud / @andreasgruenh Could you please provide a reference to a similar issue which has been fixed as per the acceptance criteria?

@nidhihooda Here is the most recently accepted Pull Request: https://github.com/BlakeGuilloud/ganon/pull/207/files

I am going to open this one back up for someone else to work on since it's been over 24 hours.


make selection of accessors more readable

Code cleanup is nice!

@artnim Happy to merge if you can update with master.


Added tutorial for 1008 (en)

Hello. Great work. :apple:
Can you please update the header to "LOJ 1008 -  Fibsieve's Fantabulous Birthday", i.e. mention the problem number too? I'll merge it afterwards.

Hello. Great work. :apple:
Can you please update the header to "LOJ 1008 -  Fibsieve's Fantabulous Birthday", i.e. mention the problem number too? I'll merge it afterwards.

Thank you for the guidance. The header has been corrected.

Thank you for the guidance. The header has been corrected.

Merged. Thank you for your contribution. :candy:

Merged. Thank you for your contribution. :candy:


Errors on lua keywords

Tried restarting both VSCode, Studio and Rojo and nothing helped.
Plugin errors on every single lua keyword. It's up to date. I don't have the other Lua plugin installed.
Error:
attempt to index a nil value
stack traceback:
	...rver/script/method\textDocument\semanticTokens\range.lua:36: in upvalue 'resolveTokens'
	...rver/script/method\textDocument\semanticTokens\range.lua:119: in function <...rver/script/method\textDocument\semanticTokens\range.lua:101>
	[C]: in function 'xpcall'
	...ions/nightrains.robloxlsp-0.15.8/server/script/timer.lua:45: in upvalue 'mWakeup'
	...ions/nightrains.robloxlsp-0.15.8/server/script/timer.lua:86: in upvalue 'onTick'
	...ions/nightrains.robloxlsp-0.15.8/server/script/timer.lua:125: in function 'timer'
	[C]: in function 'xpcall'
	...ns/nightrains.robloxlsp-0.15.8/server/script/service.lua:1094: in method 'listen'
	...e\extensions\nightrains.robloxlsp-0.15.8\server\main.lua:24: in main chunk
	[C]: in ?

Is that the only error it gives to you? Can you copy and paste the entire output?

Is that the only error it gives to you? Can you copy and paste the entire output?

It's the only error I'm receiving, I got like a thousand of these yesterday.


Keep track of plugins which change the target file path

@jgable Relates to #56

Coverage increased (+0.4%) to 93.49% when pulling 015d40449476434adba8c598f6d31fdf77fde3bd on janb87:master into d6086fbb0937a998ea908c79786c05477298b965 on jgable:master.

Looks good to me, thanks for adding the test.
Published as 0.4.4 on npm.

I added you as a collaborator for the repo in case you ever want to get more involved or find more issues.  The only norm we have is that to just put commits up as PR's to give others a chance to see what's going on.


Add meow command

Is your feature request related to a problem? Please describe.
I'm a user from Jenkins-X, which extends chatops command from Prow. The command I like is meow. I have a proposal to add it as a command. ><)
This is just nice to have. If you think it's a waste. Feel free to close the issue. Otherwise, I can find the time to implement it.

Yes.
/priority high


Task Launcher Local misread URI

I am raising this issue but unsure if it is a special case or wider...
My stream create command looks like below:-
dataflow:>stream create foo --definition "rabbit --rabbit.queues=cloud-stream-source --rabbit.requeue=true --spring.rabbitmq.host=localhost --spring.rabbitmq.port=5672 --spring.cloud.stream.bindings.output.contentType='text/plain' | task-processor --uri=maven://com.example:thumbnail-generator:0.0.1-SNAPSHOT | task-launcher-local-rabbit" --deploy

The given maven application thumbnail-generator is installed on my local repo (/Users/apache-maven-3.3.9/.m2/repository/com/example/thumbnail-generator/0.0.1-SNAPSHOT/thumbnail-generator-0.0.1-SNAPSHOT.jar) and should be resolvable, however on every invocation of the task-launcher, below exception appears in the logs:
Caused by: java.lang.ClassNotFoundException: aven://com.example:thumbnail-generator:0.0.1-SNAPSHOT

The key to notice here is the incorrectly read uri with missing m from maven.
I could test and confirmed that the first char is always being skipped in the log message.
Is this an issue with the processor passing incorrect uri in the launch request or something task-launcher-local is misreading?
On top of it, why is the launcher failing to fetch the jar file, when present locally? (I've tried by adding an extra m to the maven:// uri to find out if that helps but didn't)
Any suggestions please.

Duplicates spring-cloud/spring-cloud-task#240.


feat!: add vertical datum in map_projector_info

Description
In order to use map_projector_info in gnss_poser, we also need to define height system for whole Autoware system. Thus, I would like to add "vertical_datum" variable in tier4_map_msgs/msg/map_projector_info msg.
Note that no influence on the system is intended at this moment because the height system is not used in map_loader nor default_ad_api. This PR is for the future PR when gnss_poser will start subscribing map_projector_info.

Related links
https://github.com/tier4/tier4_autoware_msgs/pull/98

Tests performed

Confirmed that logging_simulator works fine with the PR
Build passes with the tier4_autoware_msgs PR (NOTE: BUILD FAIL FOR THE CI IN THIS PR IS INTENDED)
All the test passes in map_projection_loader

Notes for reviewers
Note that I will introduce constant string later on.
This is because I will modify the supported projector_type and vertical_datum in a short period of time. If I introduce constant string now, the modifications will invoke some additional PRs. Thus, I would like to introduce constant string later when the modification on projector_type and vertical_datum are mostly fixed (probably within a month or so)

Interface changes

Topic change: /map/map_projector_info message will have an additional field in it. Also, type field will be renamed to projector_type.
Map file change: The specification of map_projector_info.yaml will change accordingly.

Effects on system behavior
Not expected

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Summary by CodeRabbit

Refactor: Modified the Lanelet2MapLoaderNode::on_map_projector_info function in the Lanelet2MapLoaderNode class to use the msg->projector_type parameter instead of msg->type for loading the map. This may affect the behavior of the code.
Refactor: Renamed the type field to projector_type and added a new field called vertical_datum in the map_projector_info message. Updated the load_info_from_lanelet2_map function, test cases, and YAML file loading functions to handle these changes.
Refactor: Modified the publish_kinematics function in the VehicleNode class to check the projector_type field instead of the type field of the map_projector_info_ object. The logic and functionality remain the same, but the field name has been changed.

@isamu-takagi Would you mind checking this PR? (as a maintainer of default_ad_api)


Speedup FSDv2 via perception range shrinking

FSDv2 with pre-trained Argoverse2 weights seems to get good metrics on our dataset, but it would be great to speedup the detector by factor ~2-3. However, our Lidar has perception range +-100 m. Do I can speedup FSDv2 via perception range shrinking?
Would it be sufficient to set perception range like this:
point_cloud_range = [-102.4, -102.4, -3.2, 102.4, 102.4, 3.2]
virtual_voxel_size=(0.4, 0.4, 0.4) #(512, 512, 16)

Yes, you can directly change the pc_range to this one.
However, since FSDv2 is fully sparse, if there are no points beyond 100m in your dataset, I don't think it will be faster after shrinking the range.
Anyway, you could have a try. If you have any problems after the modification, feel free to post new replies or issues.

Perception range shrinking seems not to speedup the model. Are there other settings in config I can play with in order to speedup FSDv2?

The most straightforward way is to reduce the size of backbone, and the mixer.
For example in this config, we adopt a very lightweight backbone, you could try it on FSDv2.


CNV-41495: Edit minimal disk info after creation

📝 Description
Allow the user to edit anything other than the source in the disk modal.

/cherry-pick release-4.15

/cherry-pick release-4.14


It cause "Extension host terminated unexpectedly"

Issue Type: Bug
After using Extension Bisect it gave me this report.
Extension version: 1.20.0
VS Code version: Code 1.54.3 (2b9aebd5354a3629c3aba0a5f5df49f43d6689f8, 2021-03-15T11:57:12.728Z)
OS version: Darwin x64 20.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
15, 19, 10

Memory (System)
8.00GB (0.31GB free)

Process Argv
--crash-reporter-id 3f12e0b1-128d-4528-9fb3-29fc2b9c754f

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30276682
pythonvsdeb440:30248342
pythonvsded773:30248341
vstes627:30244334
pythonvspyt875:30259475
pythontb:30265425
vscoresta800cf:30276762
vspre833cf:30267465
vsdfh931:30275552
vshan820cf:30276953

Unfortunately there isn't much information in this report for me to work on. Things like which extensions installed and which logs are displayed in Help > Toggle Developer Tools > Console would be helpful.

Do you mean this?
workbench.desktop.main.js:1857 [ms-vsonline.vsonline]: menuBar/webNavigation is not a valid menu identifier
_logMessageInConsole @ workbench.desktop.main.js:1857
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-javac-0.2.37/lib/java.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.go.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/go/syntaxes/go.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/go.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/cpp.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/cpp.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.ruby.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/ruby/syntaxes/ruby.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/ruby.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.rust.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/rust/syntaxes/rust.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/rust.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.ts.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/typescript.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope go.mod.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-0.23.2/syntaxes/go.mod.tmGrammar.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-nightly-2021.3.1813/syntaxes/go.mod.tmGrammar.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope go.sum.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-0.23.2/syntaxes/go.sum.tmGrammar.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-nightly-2021.3.1813/syntaxes/go.sum.tmGrammar.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.macro.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/cpp.embedded.macro.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/cpp.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/cpp.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.c.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/c.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/c.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.objcpp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/objective-c/syntaxes/objective-c%2B%2B.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/objcpp.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.objc.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/objective-c/syntaxes/objective-c.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/objc.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:1870 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-javac-0.2.37/lib/java.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/syntaxes/java.tmLanguage.json
register @ workbench.desktop.main.js:1870
workbench.desktop.main.js:62 [Extension Host] (node:4712) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] Congratulations, your extension "code-gnu-global" is now active!
workbench.desktop.main.js:62 [Extension Host] Activating tree-sitter...
workbench.desktop.main.js:62 [Extension Host] activating extension
workbench.desktop.main.js:62 [Extension Host] starting language server
workbench.desktop.main.js:62 [Extension Host] Command: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp" running...
workbench.desktop.main.js:62 [Extension Host] Looking for parseable documents...
workbench.desktop.main.js:62 [Extension Host] Found all parseable documents.
workbench.desktop.main.js:62 [Extension Host] Parsing documents and looking for CSS class definitions...
workbench.desktop.main.js:1857 Activating extension 'golang.go-nightly' failed: command 'go.workspace.isTrusted.toggle' already exists.
_logMessageInConsole @ workbench.desktop.main.js:1857
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"/bin/sh: global: command not found global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp" (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Summary:
workbench.desktop.main.js:62 [Extension Host]% 1 parseable documents found
workbench.desktop.main.js:62 [Extension Host]% 0 CSS class definitions found
workbench.desktop.main.js:62 [Extension Host]% 0 unique CSS class definitions found
workbench.desktop.main.js:62 [Extension Host]% 0 failed attempts to parse.   (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] [vscode-icons] v11.2.0 activated!
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
5workbench.desktop.main.js:62 [Extension Host] Command: global -x "^#include." running...
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
7workbench.desktop.main.js:62 [Extension Host] Command: global -x "^#include." running...
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host]% Object
3workbench.desktop.main.js:62 [Extension Host] Command: global -x "^#include." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include."  running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^#include."/bin/sh: global: command not found global -x "^#include." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^int." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^int."/bin/sh: global: command not found global -x "^int." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^in." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^in."/bin/sh: global: command not found global -x "^in." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^i." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^i."/bin/sh: global: command not found global -x "^i." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^i." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^i."/bin/sh: global: command not found global -x "^i." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^s." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^s."/bin/sh: global: command not found global -x "^s." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^sys." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^sys."/bin/sh: global: command not found global -x "^sys." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^syst." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^syst."/bin/sh: global: command not found global -x "^syst." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^syste." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^syste."/bin/sh: global: command not found global -x "^syste." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:626 ERR An unknown error occurred. Please consult the log for more details.
workbench.desktop.main.js:62 [Extension Host] Command: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp" running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp"/bin/sh: global: command not found global --encode-path " " -f "/Users/macbookpro/OneDrive/Programs/Program/C++/Numeral_System.cpp" (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:62 [Extension Host]% Object
workbench.desktop.main.js:62 [Extension Host] Command: global -x "^i." running...
workbench.desktop.main.js:62 [Extension Host] Error: Error: Command failed: global -x "^i."/bin/sh: global: command not found global -x "^i." (exited with error code 127)
v @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] undefined
workbench.desktop.main.js:626 ERR Error: No authentication provider 'microsoft' is currently registered.
at A.getSessions (workbench.desktop.main.js:1850)
at async fi.getAccounts (workbench.desktop.main.js:2014)
at async fi.update (workbench.desktop.main.js:2014)
at async fi.initialize (workbench.desktop.main.js:2014)
at async fi.waitAndInitialize (workbench.desktop.main.js:2014)
workbench.desktop.main.js:626 WARN Settings Sync: Accounts are not initialized
workbench.desktop.main.js:626 ERR An unknown error occurred. Please consult the log for more details.
workbench.desktop.main.js:1857 Extension host terminated unexpectedly. Code: 7 Signal: null
_onExtensionHostCrashed @ workbench.desktop.main.js:1857
workbench.desktop.main.js:626 ERR Extension host terminated unexpectedly. The following extensions were running: vscode.microsoft-authentication, austin.code-gnu-global, cschlosser.doxdocgen, georgewfraser.vscode-tree-sitter, mitaki28.vscode-clang, ms-vscode.cpptools, vscode.debug-auto-launch, vscode.git, CoenraadS.bracket-pair-colorizer, CoenraadS.bracket-pair-colorizer-2, donjayamanne.githistory, ecmel.vscode-html-css, EditorConfig.EditorConfig, GitHub.vscode-pull-request-github, mhutchie.git-graph, ms-vsliveshare.vsliveshare, ms-vsonline.vsonline, ritwickdey.LiveServer, streetsidesoftware.code-spell-checker, vscode-icons-team.vscode-icons, Zignd.html-css-class-completion, golang.go, golang.go-nightly, vscode.github-authentication, ms-vscode.js-debug, vscode.emmet, vscode.merge-conflict, vscode.testing-editor-contributions, alefragnani.Bookmarks, dbaeumer.vscode-eslint, eamodio.gitlens, esbenp.prettier-vscode, formulahendry.code-runner, Gruntfuggly.todo-tree, ms-vscode-remote.remote-containers, ms-vscode-remote.remote-wsl, vscode.github, ms-vsliveshare.vsliveshare-audio
workbench.desktop.main.js:731 Extension host terminated unexpectedly.
onDidChangeNotification @ workbench.desktop.main.js:731
bootstrap-window.js:259 [uncaught exception]: Error: This socket has been ended by the other party
g @ bootstrap-window.js:259
bootstrap-window.js:262 Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:2760)
at b._writeNow (workbench.desktop.main.js:76)
at Immediate. (workbench.desktop.main.js:76)
at processImmediate (internal/timers.js:456)
g @ bootstrap-window.js:262
events.js:292 Uncaught Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:2760)
at b._writeNow (workbench.desktop.main.js:76)
at Immediate. (workbench.desktop.main.js:76)
at processImmediate (internal/timers.js:456)
bootstrap-window.js:259 [uncaught exception]: Error: This socket has been ended by the other party
g @ bootstrap-window.js:259
bootstrap-window.js:262 Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:2760)
at b._writeNow (workbench.desktop.main.js:76)
at b.flush (workbench.desktop.main.js:76)
at b.dispose (workbench.desktop.main.js:76)
at Object.S [as dispose] (workbench.desktop.main.js:14)
at i.dispose (workbench.desktop.main.js:76)
at workbench.desktop.main.js:2766
g @ bootstrap-window.js:262
events.js:292 Uncaught Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:2760)
at b._writeNow (workbench.desktop.main.js:76)
at b.flush (workbench.desktop.main.js:76)
at b.dispose (workbench.desktop.main.js:76)
at Object.S [as dispose] (workbench.desktop.main.js:14)
at i.dispose (workbench.desktop.main.js:76)
at workbench.desktop.main.js:2766
workbench.desktop.main.js:2765 Extension Host
workbench.desktop.main.js:2765 /Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/node_modules/web-tree-sitter/tree-sitter.js:1
DevTools failed to load SourceMap: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8/core/vs/workbench/workbench.desktop.main.js.map: Load canceled due to load timeout

Actually, logs from this pane

Are the ones you sent me are from this pane I show in the screenshot? From the format they seem to be from the pane usually at the bottom named Output.

Yeah, that's the way I get these info.
I did it again.
workbench.desktop.main.js:sourcemap:1857 [ms-vsonline.vsonline]: menuBar/webNavigation is not a valid menu identifier
_logMessageInConsole @ workbench.desktop.main.js:sourcemap:1857
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-javac-0.2.37/lib/java.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.go.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/go/syntaxes/go.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/go.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/cpp.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/cpp.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.ruby.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/ruby/syntaxes/ruby.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/ruby.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.rust.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/rust/syntaxes/rust.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/rust.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.ts.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/typescript.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope go.mod.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-0.23.2/syntaxes/go.mod.tmGrammar.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-nightly-2021.3.2221/syntaxes/go.mod.tmGrammar.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope go.sum.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-0.23.2/syntaxes/go.sum.tmGrammar.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/golang.go-nightly-2021.3.2221/syntaxes/go.sum.tmGrammar.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.macro.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/cpp.embedded.macro.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/cpp.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/cpp.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.c.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/c.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/c.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.objcpp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/objective-c/syntaxes/objective-c%2B%2B.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/objcpp.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.objc.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/objective-c/syntaxes/objective-c.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/objc.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Users/macbookpro/.vscode/extensions/georgewfraser.vscode-javac-0.2.37/lib/java.tmLanguage.json.
New grammar file: file:///Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/syntaxes/java.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:62 [Extension Host] (node:7254) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
v @ workbench.desktop.main.js:sourcemap:62
workbench.desktop.main.js:sourcemap:62 [Extension Host] Activating Java
workbench.desktop.main.js:sourcemap:62 [Extension Host] Looking for parseable documents...
workbench.desktop.main.js:sourcemap:62 [Extension Host] Found all parseable documents.
workbench.desktop.main.js:sourcemap:62 [Extension Host] Parsing documents and looking for CSS class definitions...
workbench.desktop.main.js:sourcemap:1857 Activating extension 'golang.go' failed: command 'go.workspace.isTrusted.toggle' already exists.
_logMessageInConsole @ workbench.desktop.main.js:sourcemap:1857
workbench.desktop.main.js:sourcemap:62 [Extension Host] Summary:
workbench.desktop.main.js:sourcemap:62 [Extension Host]% 1 parseable documents found
workbench.desktop.main.js:sourcemap:62 [Extension Host]% 0 CSS class definitions found
workbench.desktop.main.js:sourcemap:62 [Extension Host]% 0 unique CSS class definitions found
workbench.desktop.main.js:sourcemap:62 [Extension Host]% 0 failed attempts to parse. List of the documents:
workbench.desktop.main.js:sourcemap:62 [Extension Host]
workbench.desktop.main.js:sourcemap:62 [Extension Host] VSCode Account: the extension commands already exist.
workbench.desktop.main.js:sourcemap:2765 Extension Host
workbench.desktop.main.js:sourcemap:2765 {  message: 'Starting Java server with: /Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home/bin/java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -jar /Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/server/plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar -configuration /Users/macbookpro/Library/Application Support/Code/User/globalStorage/redhat.java/0.76.0/config_ss_mac -data /Users/macbookpro/Library/Application Support/Code/User/workspaceStorage/f3ad534a3f0b41075f951ee4230d9029/redhat.java/ss_ws',  level: 'info',  timestamp: '2021-03-24 19:53:29.608'}
workbench.desktop.main.js:sourcemap:2765 Extension Host
workbench.desktop.main.js:sourcemap:2765 {  message: 'Starting Java server with: /Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home/bin/java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -jar /Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/server/plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar -configuration /Users/macbookpro/Library/Application Support/Code/User/globalStorage/redhat.java/0.76.0/config_mac -data /Users/macbookpro/Library/Application Support/Code/User/workspaceStorage/f3ad534a3f0b41075f951ee4230d9029/redhat.java/jdt_ws',  level: 'info',  timestamp: '2021-03-24 19:53:29.929'}{  message: 'WARNING: Using incubator modules: jdk.incubator.jpackage, jdk.incubator.foreign\n',  level: 'info',  timestamp: '2021-03-24 19:53:29.977'}
workbench.desktop.main.js:sourcemap:2765 Extension Host
workbench.desktop.main.js:sourcemap:2765 {  message: 'WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.jpackage\n',  level: 'info',  timestamp: '2021-03-24 19:53:30.618'}
workbench.desktop.main.js:sourcemap:62 [Extension Host] variable is not defined in the current theme
v @ workbench.desktop.main.js:sourcemap:62
workbench.desktop.main.js:sourcemap:62 [Extension Host] [vscode-icons] v11.2.0 activated!
workbench.desktop.main.js:sourcemap:626   ERR The request (id: 1, method: 'textDocument/documentSymbol') has been cancelled: Error: The request (id: 1, method: 'textDocument/documentSymbol') has been cancelled
at /Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76464
at /Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76758
at Immediate. (/Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:77117)
at processImmediate (internal/timers.js:456:21)
workbench.desktop.main.js:sourcemap:626   ERR The request (id: 2, method: 'textDocument/documentSymbol') has been cancelled: Error: The request (id: 2, method: 'textDocument/documentSymbol') has been cancelled
at /Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76464
at /Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76758
at Immediate. (/Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:77117)
at processImmediate (internal/timers.js:456:21)
workbench.desktop.main.js:sourcemap:626   ERR The request (id: 3, method: 'textDocument/documentSymbol') has been cancelled: Error: The request (id: 3, method: 'textDocument/documentSymbol') has been cancelled
at /Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76464
at /Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76758
at Immediate. (/Users/macbookpro/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:77117)
at processImmediate (internal/timers.js:456:21)

Another Mac with same issue.
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/georgewfraser.vscode-javac-0.2.37/lib/java.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.go.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/go/syntaxes/go.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/go.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/cpp.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/cpp.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.ruby.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/ruby/syntaxes/ruby.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/ruby.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.rust.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/rust/syntaxes/rust.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/rust.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.ts.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/typescript.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope go.mod.
Old grammar file: file:///Users/macminim1/.vscode/extensions/golang.go-0.23.2/syntaxes/go.mod.tmGrammar.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/golang.go-nightly-2021.3.2221/syntaxes/go.mod.tmGrammar.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope go.sum.
Old grammar file: file:///Users/macminim1/.vscode/extensions/golang.go-0.23.2/syntaxes/go.sum.tmGrammar.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/golang.go-nightly-2021.3.2221/syntaxes/go.sum.tmGrammar.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.macro.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/cpp.embedded.macro.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///Users/macminim1/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/textmate/cpp.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/cpp.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.c.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/c.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/c.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.objcpp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/objective-c/syntaxes/objective-c%2B%2B.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/objcpp.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.objc.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/objective-c/syntaxes/objective-c.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.15.5/syntaxes/objc.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:1870 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Users/macminim1/.vscode/extensions/georgewfraser.vscode-javac-0.2.37/lib/java.tmLanguage.json.
New grammar file: file:///Users/macminim1/.vscode/extensions/redhat.java-0.76.0/syntaxes/java.tmLanguage.json
register @ workbench.desktop.main.js:sourcemap:1870
workbench.desktop.main.js:sourcemap:62 [Extension Host] (node:812) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
v @ workbench.desktop.main.js:sourcemap:62
workbench.desktop.main.js:sourcemap:62 [Extension Host] Activating Java
workbench.desktop.main.js:sourcemap:2765 Extension Host
workbench.desktop.main.js:sourcemap:2765 {  message: 'Starting Java server with: /Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/Contents/Home/bin/java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -noverify -jar /Users/macminim1/.vscode/extensions/redhat.java-0.76.0/server/plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar -configuration /Users/macminim1/Library/Application Support/Code/User/globalStorage/redhat.java/0.76.0/config_ss_mac -data /Users/macminim1/Library/Application Support/Code/User/workspaceStorage/f7ea88d54c119858c362e9ade43720d4/redhat.java/ss_ws',  level: 'info',  timestamp: '2021-03-24 20:29:21.315'}{  message: 'Starting Java server with: /Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/Contents/Home/bin/java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -noverify -jar /Users/macminim1/.vscode/extensions/redhat.java-0.76.0/server/plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar -configuration /Users/macminim1/Library/Application Support/Code/User/globalStorage/redhat.java/0.76.0/config_mac -data /Users/macminim1/Library/Application Support/Code/User/workspaceStorage/f7ea88d54c119858c362e9ade43720d4/redhat.java/jdt_ws',  level: 'info',  timestamp: '2021-03-24 20:29:21.389'}
workbench.desktop.main.js:sourcemap:1857 Activating extension 'golang.go' failed: command 'go.workspace.isTrusted.toggle' already exists.
_logMessageInConsole @ workbench.desktop.main.js:sourcemap:1857
workbench.desktop.main.js:sourcemap:62 [Extension Host] No semantic colors for file:///Users/macminim1/OneDrive/Programs/Program/java/grade.java
v @ workbench.desktop.main.js:sourcemap:62
workbench.desktop.main.js:sourcemap:62 [Extension Host] rejected promise not handled within 1 second: Error: Extension vscode.git is not known or not activated
v @ workbench.desktop.main.js:sourcemap:62
workbench.desktop.main.js:sourcemap:62 [Extension Host] stack trace: Error: Extension vscode.git is not known or not activated	at f.getActivatedExtension (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:87:79383)	at l.getExtensionExports (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:91:9626)	at Qe.get exports [as exports] (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:95:46961)	at new Da (/Users/macminim1/.vscode/extensions/github.vscode-pull-request-github-0.24.0/dist/extension.js:1008:18605)	at Function.createProvider (/Users/macminim1/.vscode/extensions/github.vscode-pull-request-github-0.24.0/dist/extension.js:1008:19195)	at Dp (/Users/macminim1/.vscode/extensions/github.vscode-pull-request-github-0.24.0/dist/extension.js:1008:25145)	at Eg (/Users/macminim1/.vscode/extensions/github.vscode-pull-request-github-0.24.0/dist/extension.js:1020:23211)	at processTicksAndRejections (internal/process/task_queues.js:97:5)
v @ workbench.desktop.main.js:sourcemap:62
workbench.desktop.main.js:sourcemap:2084 [[object Object]]Extension vscode.git is not known or not activated
$onExtensionRuntimeError @ workbench.desktop.main.js:sourcemap:2084
workbench.desktop.main.js:sourcemap:2084 Error: Extension vscode.git is not known or not activated
at f.getActivatedExtension (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:87)
at l.getExtensionExports (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:91)
at Qe.get exports [as exports] (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:95)
at new Da (/Users/macminim1/.vscode/extensions/github.vscode-pull-request-github-0.24.0/dist/extension.js:1008)
at Function.createProvider (/Users/macminim1/.vscode/extensions/github.vscode-pull-request-github-0.24.0/dist/extension.js:1008)
at Dp (/Users/macminim1/.vscode/extensions/github.vscode-pull-request-github-0.24.0/dist/extension.js:1008)
at Eg (/Users/macminim1/.vscode/extensions/github.vscode-pull-request-github-0.24.0/dist/extension.js:1020)
at processTicksAndRejections (internal/process/task_queues.js:97)
$onExtensionRuntimeError @ workbench.desktop.main.js:sourcemap:2084
workbench.desktop.main.js:sourcemap:62 [Extension Host] [vscode-icons] v11.2.0 activated!
workbench.desktop.main.js:sourcemap:2084 [[object Object]]Cannot invoke loadWASM more than once.
$onExtensionRuntimeError @ workbench.desktop.main.js:sourcemap:2084
workbench.desktop.main.js:sourcemap:2084 Error: Cannot invoke loadWASM more than once.
at Object.t.loadWASM (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-oniguruma/release/main.js:1)
at TextMateLoader.loadOniguruma (/Users/macminim1/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.2.0/out/src/textMateLoader.js:115)
at new TextMateLoader (/Users/macminim1/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.2.0/out/src/textMateLoader.js:19)
at new Settings (/Users/macminim1/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.2.0/out/src/settings.js:10)
at new DocumentDecorationManager (/Users/macminim1/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.2.0/out/src/documentDecorationManager.js:9)
at restart (/Users/macminim1/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.2.0/out/src/extension.js:42)
at /Users/macminim1/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.2.0/out/src/extension.js:7
at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:57)
at C.deltaExtensions (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:87)
at l.$deltaExtensions (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:91)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97)
$onExtensionRuntimeError @ workbench.desktop.main.js:sourcemap:2084
workbench.desktop.main.js:sourcemap:62 [Extension Host] Looking for parseable documents...
workbench.desktop.main.js:sourcemap:62 [Extension Host] Found all parseable documents.
workbench.desktop.main.js:sourcemap:62 [Extension Host] Parsing documents and looking for CSS class definitions...
workbench.desktop.main.js:sourcemap:62 [Extension Host] Summary:
workbench.desktop.main.js:sourcemap:62 [Extension Host]% 1 parseable documents found
workbench.desktop.main.js:sourcemap:62 [Extension Host]% 0 CSS class definitions found
workbench.desktop.main.js:sourcemap:62 [Extension Host]% 0 unique CSS class definitions found
workbench.desktop.main.js:sourcemap:62 [Extension Host]% 0 failed attempts to parse. List of the documents:
workbench.desktop.main.js:sourcemap:62 [Extension Host]
workbench.desktop.main.js:sourcemap:626   ERR The request (id: 1, method: 'textDocument/documentSymbol') has been cancelled: Error: The request (id: 1, method: 'textDocument/documentSymbol') has been cancelled
at /Users/macminim1/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76464
at /Users/macminim1/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76758
at Immediate. (/Users/macminim1/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:77117)
at processImmediate (internal/timers.js:456:21)
workbench.desktop.main.js:sourcemap:626   ERR The request (id: 3, method: 'textDocument/hover') has been cancelled: Error: The request (id: 3, method: 'textDocument/hover') has been cancelled
at /Users/macminim1/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76464
at /Users/macminim1/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76758
at Immediate. (/Users/macminim1/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:77117)
at processImmediate (internal/timers.js:456:21)
workbench.desktop.main.js:sourcemap:626   ERR The request (id: 4, method: 'textDocument/hover') has been cancelled: Error: The request (id: 4, method: 'textDocument/hover') has been cancelled
at /Users/macminim1/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76464
at /Users/macminim1/.vscode/extensions/redhat.java-0.76.0/dist/extension.js:1:76758
at Immediate.   Code:  7  Signal:  null
_onExtensionHostCrashed @ workbench.desktop.main.js:sourcemap:1857
workbench.desktop.main.js:sourcemap:626   ERR Extension host terminated unexpectedly. The following extensions were running: vscode.microsoft-authentication, georgewfraser.vscode-javac, redhat.java, vscode.typescript-language-features, VisualStudioExptTeam.vscodeintellicode, vscjava.vscode-java-debug, vscjava.vscode-java-pack, vscode.debug-auto-launch, vscode.git, CoenraadS.bracket-pair-colorizer, CoenraadS.bracket-pair-colorizer-2, donjayamanne.githistory, ecmel.vscode-html-css, EditorConfig.EditorConfig, GitHub.vscode-pull-request-github, mhutchie.git-graph, ms-vsliveshare.vsliveshare, ritwickdey.LiveServer, streetsidesoftware.code-spell-checker, vscode-icons-team.vscode-icons, golang.go-nightly, golang.go, vscode.github-authentication, ms-vscode.js-debug, vscode.configuration-editing, vscode.json-language-features, Zignd.html-css-class-completion, vscode.emmet, vscode.merge-conflict, vscode.testing-editor-contributions, alefragnani.Bookmarks, dbaeumer.vscode-eslint, eamodio.gitlens, esbenp.prettier-vscode, formulahendry.code-runner, Gruntfuggly.todo-tree, ms-vscode-remote.remote-containers, ms-vscode-remote.remote-wsl, vscode.github, ms-vsliveshare.vsliveshare-audio, SonarSource.sonarlint-vscode, vscjava.vscode-java-test, austin.code-gnu-global, cschlosser.doxdocgen, georgewfraser.vscode-tree-sitter, mitaki28.vscode-clang, ms-vscode.cpptools
workbench.desktop.main.js:sourcemap:731 Extension host terminated unexpectedly.
onDidChangeNotification @ workbench.desktop.main.js:sourcemap:731
bootstrap-window.js:259 [uncaught exception]: Error: This socket has been ended by the other party
g @ bootstrap-window.js:259
bootstrap-window.js:262 Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:sourcemap:2760)
at b._writeNow (workbench.desktop.main.js:sourcemap:76)
at Immediate. (workbench.desktop.main.js:sourcemap:76)
at processImmediate (internal/timers.js:456)
g @ bootstrap-window.js:262
events.js:292 Uncaught Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:sourcemap:2760)
at b._writeNow (workbench.desktop.main.js:sourcemap:76)
at Immediate. (workbench.desktop.main.js:sourcemap:76)
at processImmediate (internal/timers.js:456)
bootstrap-window.js:259 [uncaught exception]: Error: This socket has been ended by the other party
g @ bootstrap-window.js:259
bootstrap-window.js:262 Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:sourcemap:2760)
at b._writeNow (workbench.desktop.main.js:sourcemap:76)
at b.flush (workbench.desktop.main.js:sourcemap:76)
at b.dispose (workbench.desktop.main.js:sourcemap:76)
at Object.S [as dispose] (workbench.desktop.main.js:sourcemap:14)
at i.dispose (workbench.desktop.main.js:sourcemap:76)
at workbench.desktop.main.js:sourcemap:2766
g @ bootstrap-window.js:262
events.js:292 Uncaught Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:455)
at b.write (workbench.desktop.main.js:sourcemap:2760)
at b._writeNow (workbench.desktop.main.js:sourcemap:76)
at b.flush (workbench.desktop.main.js:sourcemap:76)
at b.dispose (workbench.desktop.main.js:sourcemap:76)
at Object.S [as dispose] (workbench.desktop.main.js:sourcemap:14)
at i.dispose (workbench.desktop.main.js:sourcemap:76)
at workbench.desktop.main.js:sourcemap:2766
workbench.desktop.main.js:sourcemap:2765 Extension Host
workbench.desktop.main.js:sourcemap:2765 /Users/macminim1/.vscode/extensions/georgewfraser.vscode-tree-sitter-0.1.26/node_modules/web-tree-sitter/tree-sitter.js:1

Sorry for my misunderstanding at first, the second log you provided already had logs from this extension. But I've noticed that it doesn't seem to have any errors related to this extension. Have you tried disabling all the other extensions and enabling only this one? Do errors occur?

Did the Extension Bisect did this for me?
I got the result by using Extension Bisect, so it should try it in a lot of ways?
Should I do it manualy?

It might be an issue with this Extension Bisect or any other you might have installed, I would recommend disabling all of the other ones and restarting the VS Code to check if the errors occur. Then you proceed on re-enabling one by one until the error pops up. You might be able to identify the causing extension following these steps.

I will close this issue for now, let me know if anything comes up


Display filename only during live_grep

I'd like to only display the filename in the search results for live_grep, and exclude the matched text in the list of files. I'm able to do this with this code:
vim.keymap.set("n", "gF", function() fzf_lua.live_grep({ cmd = "rg2() { export LANG=en_US.UTF-8; rg  --column --no-ignore --line-number --no-heading --color=always --smart-case --max-columns=4096 -e  \"$@\" | cut -d':' -f1-2; }; rg2" }) end)
But the issue is in the preview, the cursor doesn't move to the matched word, just the matched line. Is there a way to restore the default functionality of getting the cursor to move to the matched position, but only display the filenames without all the matched text? Thanks!

I fixed it with this
vim.keymap.set("n", "gF", function() fzf_lua.live_grep({ cmd = "rg2() { export LANG=en_US.UTF-8; rg  --column --no-ignore --line-number --no-heading --color=always --smart-case --max-columns=4096 -e  \"$@\" | cut -d':' -f1-3; }; rg2" }) end)

IMHO, this is better solved with --with-nth (search the issues to see how to use), you can hide whichever part of the string you want without extra commands and without potentially  affecting anything else.


Stuck at deletion - finalizers:  voyager.appscode.com

Images
appscode/voyager:7.1.1
appscode/haproxy:1.8.9-7.1.1-alpine
Half of my attempts to delete a voyager ingress get stuck.
finalizers:

voyager.appscode.com
foregroundDeletion

I am using Azure. Is Voyager waiting for the LB IP to be released, but Azure fails to respond?
Thanks

I've been investigating the same symptoms in AWS. We run integration tests where we create an ingress, wait for the LB and service to be available, and tear it down. Even after waiting multiple hours the ingress pod is stuck in the terminating state. The only way to delete the pod is with --force --grace-period=0
Operator: appscode/voyager:7.2.0
Haproxy: 1.8.9-7.2.0-alpine
Kubernetes: v1.10.3
I can repro this manually with a simple ingress+service (maybe the service isn't even necessary): https://gist.github.com/tshak/e410fc5bad89b1d0b7371dfca4a681b6
I went through the operator logs and filtered out the lines around the deletion:
I1001 12:45:37.189304       1 ingress_crds.go:87] Delete for engress default/repro
I1001 12:45:37.235876       1 delete.go:10] [64af04bf-3c0f-4073-8ac9-7664718460c8] Deleting ConfigMap default/voyager-repro
I1001 12:45:37.258428       1 endpoints.go:36] Sync/Add/Update for Endpoints default/voyager-repro
I1001 12:45:37.261592       1 rbac.go:181] [64af04bf-3c0f-4073-8ac9-7664718460c8] Deleting RoleBinding default/voyager-repro
W1001 12:45:37.264684       1 configmaps.go:24] ConfigMap default/voyager-repro does not exist anymore
I1001 12:45:37.285410       1 rbac.go:188] [64af04bf-3c0f-4073-8ac9-7664718460c8] Deleting Role default/voyager-repro
I1001 12:45:37.289462       1 endpoints.go:36] Sync/Add/Update for Endpoints default/voyager-repro
I1001 12:45:37.300468       1 rbac.go:195] [64af04bf-3c0f-4073-8ac9-7664718460c8] Deleting ServiceAccount default/voyager-repro
I1001 12:45:37.319050       1 delete.go:19] [64af04bf-3c0f-4073-8ac9-7664718460c8] Deleting Service default/voyager-repro
W1001 12:45:37.347753       1 services.go:29] Service default/voyager-repro does not exist anymore
E1001 12:45:37.412368       1 loadbalancer.go:242] [64af04bf-3c0f-4073-8ac9-7664718460c8] [failed to get stat service voyager-repro-stats, reason: services "voyager-repro-stats" not found]
I1001 12:45:37.412399       1 delete.go:28] [64af04bf-3c0f-4073-8ac9-7664718460c8] Deleting Stats Service default/voyager-repro-stats
I1001 12:45:37.415114       1 ingress.go:56] Patching Ingress default/repro with {"metadata":{"finalizers":null}}.
I1001 12:45:37.419835       1 wrap.go:42] POST /apis/admission.voyager.appscode.com/v1beta1/admissionreviews: (786.768µs) 201 [[Go-http-client/2.0] <IP_ADDRESS>:30414]

Please let me know if you need additional help debugging.

For NodePort type Ingresses, Voyager can open firewall ports. To make sure that those Firewalls to closed when Ingress in deleted, we use finalizer on the ingress.
https://github.com/appscode/voyager/blob/master/pkg/ingress/nodeport.go#L292
Now, this means that when an Ingress object is removed, the voyager operator must be running, as it will peform the finalizer actions. From the log above, we can see that  the finalizer was removed by the operator,
I1001 12:45:37.415114       1 ingress.go:56] Patching Ingress default/repro with {"metadata":{"finalizers":null}}.

So, Kubernetes should be able to collect that Ingress object.
Can you show me the output of kubectl describe command for Ingress pods? Those should be deleted when the Deployment for Ingress objects is deleted.

In our case the ingress used as an isolated repro is in the aforementioned gist (https://gist.github.com/tshak/e410fc5bad89b1d0b7371dfca4a681b6). The operator was running and we are able to successfully create other ingresses just fine.
I went through a quick repro again, and I noticed something strange with the pods. Note that this is a single replica (default) deployment:
After kubectl apply -f repro.yml
voyager-repro-5c65d99685-r2j5p   1/1       Running   0          5s

After kubectl delete -f repro.yml
voyager-repro-5c65d99685-f84xr   0/1       ContainerCreating   0          2s
voyager-repro-5c65d99685-r2j5p   0/1       Terminating         0          13s

After 5 minutes... (verified ELB is deleted in AWS)
voyager-repro-5c65d99685-f84xr   0/1       Terminating   0          5m

Note the ID of the stuck pod - is not the original pod, but one that was created after attempting to delete the ingress. Here's the description of the stuck pod: https://gist.github.com/tshak/2bda042e2705e7f1fc43719eb306da08

list of unattached volumes=[voyager-certdir voyager-repro-token-4bgsz] .
From the log, the volumes could not unmounted and so pods were not deleted? Can you check the kube-controller-manager log and kubelet log on the node where this pod is running to see what the log says?

Also, why does it try to recreate pod when Ingress is deleted?

Also, why does it try to recreate pod when Ingress is deleted?
No idea :). This is the first time I noticed this and thought it was quite strange.

I will have to repro again in order to get logs, will hopefully get that to you by EOD

I repro'd again and did not see anything out of the ordinary in either log during the repro timeframe.

Maybe this is something: Orphaned pod "5ae84375-b5cf-11e8-9d29-0664d33a443a" found, but volume paths are still present on disk : There were a total of 1 errors similar to this. Turn up verbosity to see them.

https://github.com/appscode/voyager/pull/1315 should improve this.

Please reopen if you are still having this issue.