After converting to WSL2 no longer able to route traffic to other VSwitches on the same host.

Issue
WSL2 on the same system (laptop) as other hyper-V systems and vswitches.  Not able to reach other hyper-v systems from within WSL2 like I am from the host command prompt.  This boils down to a routing issue with no clear way of resolving it.
Issue Details
Windows Version:  1903
Build:  18922.1000
Originally WSL 1 was working along side other Hyper-V VMs.  I had set up a dedicated switch for hyper-v, config details from netsh below for "NAT-Switch".  The WSL 1 was able to connect to the other Hyper-V VMs through various networking protocols like, ssh, ping, etc
After upgrading the WSL instance to WSL 2 the routing from WSL 2 to the other hyper-V VMs appears to be broken.
From within WSL1 instance, pinging a VM in Hyper-V.

ping <IP_ADDRESS>                                                                                PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.512 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=0.391 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=0.407 ms
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.391/0.436/0.512/0.058 ms

After converting to WSL2 instance,

$ ping <IP_ADDRESS>                                                                                PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5193ms
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 3e:b7:bd:be:ba:ca brd ff:ff:ff:ff:ff:ff
3: sit0@NONE:  mtu 1480 qdisc noop state DOWN group default qlen 1000
link/sit <IP_ADDRESS> brd <IP_ADDRESS>
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:13:2d:83 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::215:5dff:fe13:2d83/64 scope link
valid_lft forever preferred_lft forever
$ netstat -arn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
<IP_ADDRESS>         <IP_ADDRESS> <IP_ADDRESS>         UG        0 0          0 eth0
<IP_ADDRESS>   <IP_ADDRESS>         <IP_ADDRESS>   U         0 0          0 eth0

From the host,

ping <IP_ADDRESS>                                                                                Pinging <IP_ADDRESS> with 32 bytes of data:
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=64
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=64
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=64
Ping statistics for <IP_ADDRESS>:
Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

Expected Behavior
I would expect that from within WSL2 network traffic should be routed correctly to other VSwitches within the same physical host.  Maybe additional configuration instructions are required for my above scenario but I suspect since the WSL2 network properties seem to be reconfigured on every reboot it won't help.  Greater control over WSL2 networking would help, like setting static IP or subnet ranges or being able to change the vswitch that WSL2 uses.
Attempted Workarounds
Attempted to switch my Hyper-V VMs over to the WSL vswitch.  This worked however the second problem discovered is every time I reboot my laptop WSL vswitch has a different IP and subnet.  This makes accessing the hyper-V's using a consistent IP impossible and requires configuring IPs and hostnames, etc after every reboot.  Because the subnet changes I am unable to set static IP's for the hyper-v instances.
I also attempted scripting the reconfiguration of the WSL adapter after every reboot so that it always uses the same subnet.  This somewhat worked, if WSL and hyper-V VMs were on the same "WSL" virtual switch they could talk to each other.  The problem with this approach is that the WSL 2 instance and hyper-V VMs are no longer able to reach outside IPs.  So the routing somewhere in the "WSL" VSwitch is broken when I manually configure the "WSL VSwitch".  Rebooting the host restores the routing to external IPs but results in the first problem of constantly changing subnets and IPs.
Additional Details
netsh dump

pushd interface ipv4
reset
set global icmpredirects=enabled
set interface interface="Ethernet (Kernel Debugger)" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Wi-Fi" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Local Area Connection* 1" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Bluetooth Network Connection" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="vSwitch (NAT-Switch)" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Local Area Connection* 11" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Npcap Loopback Adapter" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Ethernet 4" forwarding=enabled advertise=enabled metric=1 nud=enabled ignoredefaultroutes=disabled
set interface interface="Ethernet 5" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Bluetooth Network Connection 2" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Ethernet 2" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Ethernet 3" forwarding=enabled advertise=enabled metric=1 nud=enabled ignoredefaultroutes=disabled
set interface interface="Local Area Connection* 2" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Ethernet" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Ethernet 6" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="vEthernet (NAT-Switch)" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="vEthernet (Default Switch)" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="vEthernet (WSL)" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
add address name="vEthernet (NAT-Switch)" address=<IP_ADDRESS> mask=<IP_ADDRESS>
add address name="vEthernet (Default Switch)" address=<IP_ADDRESS> mask=<IP_ADDRESS>
add address name="vEthernet (WSL)" address=<IP_ADDRESS> mask=<IP_ADDRESS>

i was using bridged adaptor, instead of nat, but it appear to have the same issue.  any news on how to work-around or fix?

I am seeing the exact same issue today, after getting the 19008.1 build.
Unable to ping or ssh through to other hyper-v machines on the same host. In my instance I used the builtin hyper-v "Default Switch" for my other hyperv guests.
This worked for me on the previous flight build 18999. But now it seems to be broken. It works fine if I set the WSL version back to 0. Then I can access other hyperv guests just fine.
Also ... the WSL2 can access other resources on my network and over the internet just fine. As in doing ping, curl and ssh requests. Problem is only to other machines on the same host.

I just discovered this issue today.
Running multiple Hyper-V VM's and not being able to connect in any way from wsl2 to any of them.
Tried various ways of adding routes, changing switches around in hyper-v, bridged mode, static ip's.
Nothing seemed to solve it, other than reverting back to wsl1.
It'd be awfully nice to have either a workaround or a permanent fix.

I've been experiencing this issue. I was playing about with things and noticed that i can ssh in from WSL2 if i go via Powershell. I've got /usr/local/bin/powershell symlinked to the fully qualified path for powershell.exe.
powershell ssh [user]@[guest vm ip]

Bumping. Running minikube on Hyper-V, can't reach it from WSL, even with netsh portfwd.

I don't know if something has changed but I've been able to get this working a bit now. I have an Ubuntu hyperv vm connected to an internal virtual switch I created and I can ssh to it from wsl2. I've set up the switch for NAT as I have virtualbox running on the hyperv vm and I am able to access the various nested vms through that as well. I can't get back to wsl2 from any of those things though. I thought it'd be neat to serve files from wsl2 to them via nfs but that is a non-starter.

@very-random-man that is awesome.
Can you tell us how you did this?
Let's say WSL is <IP_ADDRESS>/20 and the VM is <IP_ADDRESS>/20.
I'm assuming you set up the NAT on the switch of the VM.
How did you write the rules?
And more importantly, what is the target IP when you connect from WSL to the VM?
Thanks!

Thanks. I'm wrapping it all up in a single-command deploy. I'll link the project on here when it's done. I'm using win vagrant to build the vm. I had hoped to keep it all in the WSL2 domain but hyper-v vms need to be built in an elevated powershell.
Basically creating and assigning an internal switch on its own isn't enough and you need to make sure the networking config on the vm is in place. Any nested VMs also need to use the same hyper-v virtual switch.
I'm hoping to get something out there in the next week or two. Will be looking for guinea pigs to test it out. ;-)

Launch Windows Defender Firewall via Control Panel.
Select "Advanced Settings" (on the left)
Right-click "Inbound Rules" and choose "New Rule..."
Choose "Custom" and click "Next"
Choose "All Programs" and click "Next"
Select the "ICMPv4" protocol type, then click "Customize..."
Choose "Specific ICMP types" and check "Echo Request" and click "OK", then "Next"
Choose "Any IP Address" or add specific addresses as you require for Local and Remote (in your case ), and click "Next"
Choose "Allow the connection" and click "Next"
Choose Public, Domain and Private and click "Next"
Give the rule a meaningful name and click "Finish"
https://superuser.com/questions/1449775/windows-wsl-2-cant-ping-host-machine

I was able to work around this by attaching my Hyper-V server VM to the WSL network and adding a static IP with the following.
IP Address: <IP_ADDRESS>/20 (You could use anything on the <IP_ADDRESS>/20 subnet, except (.1 of course))
Gateway: <IP_ADDRESS>
DNS: <IP_ADDRESS>
Double check your WSL subnet by running an ipconfig in a windows CMD prompt.
As always: YYMV

I'm hoping to get something out there in the next week or two. Will be looking for guinea pigs to test it out. ;-)

Guinea pigs still waiting here... Thanks!

I was able to work around this by attaching my Hyper-V server VM to the WSL network and adding a static IP with the following.
IP Address: <IP_ADDRESS>/20 (You could use anything on the <IP_ADDRESS>/20 subnet, except (.1 of course))
Gateway: <IP_ADDRESS>
DNS: <IP_ADDRESS>
Double check your WSL subnet by running an ipconfig in a windows CMD prompt.
As always: YYMV

This is broken now.  I'm trying to figure out why.

Any luck @jshmlr ? Tried upgrading yesterday and all my workflows are totally destroyed by WSL2 and this networking problem.

Having this same issue here. Could only use the Internal Network switch to communicate with my host via networking, all other switches were failing.  Ended up going back to WSLv1, its impossible to do network testing with this WSLv2 error.

This is a must fix in order for many to use WSL2.  Thank you for making rollback to WSL1 easy.

I had a similar issue (Win10 2004 19041.329) - and noticed the forwarding value returned by netsh dump (all enabled) didn't match Forwarding returned via PowerShell with Get-NetIPInterface | select ifIndex,InterfaceAlias,AddressFamily,ConnectionState,Forwarding | Sort-Object -Property IfIndex | Format-Table (all disabled)
After issuing Set-NetIPInterface -ifindex MYvEthernetWSLID -Forwarding Enabled and Set-NetIPInterface  -ifindex MYvEthernetSWITCHID -Forwarding Enabled traffic then passed back-and-forth.
I'm now able  to access Hyper-V VMs via WSL2 tools (ping/ssh/etc).
Strangely, undoing my change via PowerShell disabling of forwarding on the interface seems to then show as disabled via netsh dump. (Some internal state toggled maybe?)
Could be related - hope it helps.

Briljant, I've tested this on my machine (same Windows build number) and it works like a charm

After issuing Set-NetIPInterface -ifindex MYvEthernetWSLID -Forwarding Enabled and Set-NetIPInterface -ifindex MYvEthernetSWITCHID -Forwarding Enabled traffic then passed back-and-forth.

@ivan-section-io Hi, I'm a college student just learning about Hyper-V and I have this same problem, could you elaborate on where can I find "MYvEthernetWSLID" and "MYvEthernetSWITCHID" paramters for my specific case?

Does this look right?
PS C:\Users\anton> Get-NetIPInterface | select ifIndex,InterfaceAlias,AddressFamily,ConnectionState,Forwarding | Sort-Object -Property IfIndex | Format-Table

ifIndex InterfaceAlias               AddressFamily ConnectionState Forwarding
------- --------------               ------------- --------------- ----------
      1 Loopback Pseudo-Interface 1           IPv6       Connected   Disabled
      1 Loopback Pseudo-Interface 1           IPv4       Connected   Disabled
      2 Local Area Connection* 2              IPv4    Disconnected   Disabled
      8 Bluetooth Network Connection          IPv4    Disconnected   Disabled
      9 WiFi                                  IPv4       Connected   Disabled
     15 vEthernet (WiFi)                      IPv4       Connected   Disabled
     15 vEthernet (WiFi)                      IPv6       Connected   Disabled
     21 Local Area Connection* 1              IPv4    Disconnected   Disabled
     30 vEthernet (Default Switch)            IPv6       Connected    Enabled
     30 vEthernet (Default Switch)            IPv4       Connected    Enabled
     53 vEthernet (WSL)                       IPv6       Connected    Enabled
     53 vEthernet (WSL)                       IPv4       Connected    Enabled

If so, is there anything else I should check/do because I still have no access from WSL2 to other VMs (multipass VMs that can only use the Default Switch)? Was I only supposed to enable these and the forwarding should work? Thanks!

@AntonOfTheWoods I only have the 2 vSwitches: "WSL" and "Default". It looks like you've got another - "Wifi".
If that is where your VMs are - it would make sense that you should enable forwarding for that adapter.
I have not tried anything beyond the system installed vSwitches. I did read that "Default Switch" has some special properties (e.g. NAT?) - but I'm not sure how/if they would come into play in a simple routing scenario.
For reference, my (simple) setup:
PS C:\WINDOWS\system32> Get-NetIPInterface | select ifIndex,InterfaceAlias,AddressFamily,ConnectionState,Forwarding | Sort-Object -Property IfIndex | Format-Table

ifIndex InterfaceAlias                  AddressFamily ConnectionState Forwarding
------- --------------                  ------------- --------------- ----------
      1 Loopback Pseudo-Interface 1              IPv4       Connected   Disabled
      1 Loopback Pseudo-Interface 1              IPv6       Connected   Disabled
      2 Wi-Fi                                    IPv6       Connected   Disabled
      2 Wi-Fi                                    IPv4       Connected   Disabled
     10 Ethernet                                 IPv4    Disconnected   Disabled
     10 Ethernet                                 IPv6    Disconnected   Disabled
     55 vEthernet (Default Switch)               IPv6       Connected    Enabled
     55 vEthernet (Default Switch)               IPv4       Connected    Enabled
     94 vEthernet (WSL)                          IPv6       Connected    Enabled
     94 vEthernet (WSL)                          IPv4       Connected    Enabled

@ivan-section-io , I have been using Linux for too long... It was McAfee Firewall blocking the connections. Thanks for your help!

Actually this has a REALLY big hole in it for some users (like me). Hyper-V for some reason that I can't work out changes the IP ranges for both the Default and WSL virtual switches. That means I either have to add a big "allow everything" for <IP_ADDRESS>/12 (and hope it doesn't switch to 192.168, which it used to previously but maybe not anymore) or somehow query to see what has been assigned and then reconfigure the firewall every boot. Wow, that's really annoying.

@AntonOfTheWoods My first guess would be to stick it in a .ps1 script and create a task to run it on login with admin privileges, you can do this really easy with the Windows Task Scheduler. I have a PowerShell Script that runs on my personal laptop that way.
Personally I am testing these commands right now to see if it fixes my issue: I am on Win10 2004 running a CodeReady Containers instance (Hyper-V) and my WSL2 instance is not able to connect to the VM. If it works I would then need to see if the settings persist across reboots, if not I will have to stick it in the Task Scheduler

The commands worked perfectly for my issue, thanks @ivan-section-io !!! Now I have to see if it persists and if it helps my connection when I connect to a VPN on Windows but this is a great start for me

After issuing Set-NetIPInterface -ifindex MYvEthernetWSLID -Forwarding Enabled and Set-NetIPInterface -ifindex MYvEthernetSWITCHID -Forwarding Enabled traffic then passed back-and-forth.

Since the indices seem to change between reboots, I'm now using this command, which gets both the default switch and the WSL one by their alias and enables forwarding:
Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled

I've also tried running this script on every start using Task Scheduler, however this way forwarding is only enabled for (Default Switch), not for (WSL) – I assume the WSL one is added lazily and doesn't exist yet immediately on startup?
Instead, I've now added the script to a function in my PowerShell profile so I only have to run wsl-forward when I need to access host IPs from there.

Set-NetIPInterface -Forwarding Enabled works.
Is there anyway to set the forwarding permanently or at least without the requirement of admin privilege?

After issuing Set-NetIPInterface -ifindex MYvEthernetWSLID -Forwarding Enabled and Set-NetIPInterface -ifindex MYvEthernetSWITCHID -Forwarding Enabled traffic then passed back-and-forth.

PS> Set-NetIPInterface -ifAlias "vEthernet (WSL)" -Forwarding Enabled
PS> Set-NetIPInterface -ifAlias "vEthernet (Default Switch)" -Forwarding Enabled

I tried to use this to setup some communication between a WSL2 Ubuntu 18.04 and a Windows guest VM where the two would need to communicate between each other with through multicast.
However, despite normal pings working after the Forwarding Enabled -setting, multicast communication seemed to still not work (or at least the two apps on either side of the WSL2 <-> Hyper-V VM gap couldn't see each other). Any idea as to whether this is expected or not?

Wow, I've been working on this for like a week now and I've made no progress... Can we just fix this and have it work?

@bennettnw2 this is from July 2019 and hasn't been fixed for 2.5 years, as it pretty much doesn't resonate with MS team that says it's "not a bug but a feature". So don't expect it to be "fixed". Best way to use WSL (1 or 2) is not to use it, and use Hyper-V (or some other hypervisor) with small friendly Linux distro (like Ubuntu, that's pretty much "default" for most of WSL users anyway). It's even worth the small upgrade price from Home to Pro to get proper Hyper-V and proper virtualized networking stack, without hand holding and crutches. I tried WSL 1/2 over and over again, and every time I lose more time trying to make it work, instead just downloading Ubuntu ISO and starting a normal proper VM. I gave up on WSL a year ago, and I'm waiting if WSL 3/4/5 maybe fix the way of thinking in MS team. Hyper-V VM + Ubuntu server works like a charm though, and has been working awesome for me for years, through all the W10 minor/major updates, and from Ubuntu 16.04 till the latest ones, for good 5-6 years now, no flaws, no issues, on hundreds of VMs, tests, production, development, whatever. Takes 10-15 minutes to download, install, and setup, and most of that time is due to download speeds and hard drive speeds (downloading large ISO, waiting for installation, and updates during/after installation).

I love using WSL2, but this bug is annoying (as are the blue screen of death's when opening large database backup files). But everything is annoying at some level if you push far enough and wsl2 + vscode has been a great productivity boon for me and my team overall using a custom wsl2 distribution we've built to match our deployment platform.
For this particular bug I've added a command to our python build framework that looks like:
def wsl_fix_network(ctx):                                                                                #      #this solution is based on a comment from jonaskuske in: https://github.com/microsoft/WSL/issues/4288     provider = VmProvider.load(ctx, default="hyperv")     networks = ["vEthernet (WSL)", f"vEthernet ({provider.switch})", "vEthernet (Default Switch)"]     wheres = " -or ".join([f"$_.InterfaceAlias -eq '{n}'" for n in networks])     cmd = f"Get-NetIPInterface | where {{{wheres}}} | Set-NetIPInterface -Forwarding Enabled"     provider.powershell(cmd, admin=True)
This is using some other utility methods to run powershell commands, but the idea is just that Set-NetIPInterface command can fix things. I run that after a reboot when I'm using a hyper-v vm + wsl2 and realize my connectivity between the two is broken. Thanks to jonaskuske for posting the original script solution.

As of a recent Windows 10 Pro patch I'm no longer able to SSH from WSL 2 into a separate Hyper-V Ubuntu 22.04 VM that I created. This set up was working great for years previously.
I never had to run any PowerShell commands to enable forwarding but as per a few comments in this thread I ran this:
Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled

And now I see this:
PS C:\Users\Nick>  Get-NetIPInterface | select ifIndex,InterfaceAlias,AddressFamily,ConnectionState,Forwarding | Sort-Object -Property IfIndex | Format-Table

ifIndex InterfaceAlias                       AddressFamily ConnectionState Forwarding
------- --------------                       ------------- --------------- ----------
      1 Loopback Pseudo-Interface 1                   IPv4       Connected   Disabled
      1 Loopback Pseudo-Interface 1                   IPv6       Connected   Disabled
      3 vEthernet (External Virtual Network)          IPv6       Connected    Enabled
      3 vEthernet (External Virtual Network)          IPv4       Connected    Enabled
     30 vEthernet (Default Switch)                    IPv4       Connected    Enabled
     30 vEthernet (Default Switch)                    IPv6       Connected    Enabled
     36 vEthernet (WSL)                               IPv6       Connected    Enabled
     36 vEthernet (WSL)                               IPv4       Connected    Enabled

But when I try to SSH into my Hyper-V VM (IP: <IP_ADDRESS> / hostname dtp) from WSL 2 I get:
nick@kitt ~ $ ssh <IP_ADDRESS>
ssh: connect to host <IP_ADDRESS> port 22: No route to host

nick@kitt ~ $ ssh dtp
ssh: connect to host dtp port 22: Network is unreachable

The IP address and hostname are correct. SSH is running on that VM and iptables isn't blocking any ports. I was able to successfully SSH into this VM in the past before whatever Windows patch broke things.
Any suggestions on where to go from here?
My Hyper-V switches look like this:

And my VM is configured like this:

Basically all I did was create an external switch so the VM has public internet access.

After issuing Set-NetIPInterface -ifindex MYvEthernetWSLID -Forwarding Enabled and Set-NetIPInterface -ifindex MYvEthernetSWITCHID -Forwarding Enabled traffic then passed back-and-forth.

No need for IDs, use the alias instead:
PS> Set-NetIPInterface -ifAlias "vEthernet (WSL)" -Forwarding Enabled
PS> Set-NetIPInterface -ifAlias "vEthernet (Default Switch)" -Forwarding Enabled

Note: these can be localized, so this would work on an English (international) system only.

Thanks a lot. You are great. This absolutely fixed the communication issue between Kali on WSL and windows 10 on HyperV. (5tupid virtual switches!!!)

Since I just got bumped on email about this issue, I'd like to point everyone to the fact that vSwitch can now be used to directly connect WSL2 distro, officially, no hacks, using "networkingMode=bridged". You do need W11 Pro, which shouldn't be an issue. I've compiled a nice big tutorial couple of days ago as a comment in main  networking thread:
https://github.com/microsoft/WSL/issues/4150#issuecomment-1288152162
Likewise added it to my GitHub:
https://github.com/luxzg/WSL2-fixes
I went through W10 to W11 upgrade (linked instructions for those with "unsupported" hardware), WSL2 Preview, creation of vSwitch, configuration of a bridge, and as a bonus systemd configuration on Ubuntu with complete systemd based networking setup. It should be doable for both newbies and experienced users. Btw, I can now tear up and setup new WSL2 instance with proper networking and full apt upgrades and all in less than 10 minutes, easy-peasy.

Hello,
How to switch back from the bridged network for WSL2 to Nat network ? I did not have access anymore to the Internet.
I have tried changing vmSwitch to the internal network adapter and networkingMode to "nat" and also tried deleting the config within the .wslconfig file, without success

@ghecko removing config from .wslconfig should revert to default NAT. But here is a more complete "cleanup" procedure.
This is what you need:
# inside WSL distro
sudo nano /etc/wsl.conf
# erase modifications, eg.
[network]
generateResolvConf = false
# save and exit editor
Ctrl + X ; Y
# erase networking config if you've used one like this:
rm /lib/systemd/network/wsl_external.network
# disable networking services if you've used systemd
sudo systemctl disable systemd-networkd
sudo systemctl disable systemd-resolved
# exit WSL
exit
# shutdown all instances in Windows cmd.exe / Terminal / PowerShell window
wsl.exe --shutdown
# edit .wslconfig from eg. PowerShell prompt
cd ~
.\.wslconfig
# remove all lines like
networkingMode= ...
vmSwitch= ...
dhcp= ...
macAddress= ...
ipv6= ...
# save file and exit editor
# then start your distro again
wsl.exe -d <distro name>

This would remove all modifications made by my guides.
But I have to say that following my guide step by step should 100% work for Ubuntu. I have also tried ArchWSL and works fine (with minor modifications due to apt being replaced by yum and package names being slightly different, plus ArchWSL already has systemdenabled so I skipped directly to that.
Are you using some other distro? I'd be happier solving the issue than giving up.
In past 2 days I've had someone with OpenVPN, we solved that easily. Also in process I've tested networking in Ubuntu with NetPlan and NetworkManager. I'd be happy to test your case and solve it with you, it's a learning process for the whole community, if you have time.

@luxzg thank you for your very detailed response !
I'm on kali WSL (Debian based).
I will try to implement your solution to switch back to NAT. It's probably due to the networkd and resolvd systemd services that are still running after the modification of the config. Let me try this ASAP and tell you if your instruction solves my issue :)

After issuing Set-NetIPInterface -ifindex MYvEthernetWSLID -Forwarding Enabled and Set-NetIPInterface -ifindex MYvEthernetSWITCHID -Forwarding Enabled traffic then passed back-and-forth.

No need for IDs, use the alias instead:
PS> Set-NetIPInterface -ifAlias "vEthernet (WSL)" -Forwarding Enabled
PS> Set-NetIPInterface -ifAlias "vEthernet (Default Switch)" -Forwarding Enabled

Note: these can be localized, so this would work on an English (international) system only.

This worked for me 👍


Improve logging

Wow I'm not sure what's going on here - CI seems to just be running the master version of the action?

Doh, totally forgot that I have to build the JS code for it to actually work :|


UseAdaptiveSampling with excludeTypes: Exception doesn't always work

Sometimes uncaught exceptions from a netcore 2.2 WebApi seem to be sampled out. Not all expected error logs can be found in Azure Portal -> Application Insights -> Failed requests.
Using Serilog ApplicationInsights sink, and the following configuration:
In Startup->Configure:
            var appInsightsConfig = app.ApplicationServices.GetService<TelemetryConfiguration>();

            TelemetryProcessorChainBuilder builder = appInsightsConfig.TelemetryProcessorChainBuilder;
            // some custom telemetry processor for Application Insights that filters out synthetic traffic (e.g traffic that comes from Azure to keep the server awake).
            builder.UseAdaptiveSampling(excludedTypes: "Exception");
            builder.Build();

In Startup->ConfigureServices:
            services.AddApplicationInsightsTelemetry(o =>
            {
                o.EnableAdaptiveSampling = false; // Disable adaptive sampling here, so we can configure it in the Configure method
            });

In Program->Main a Serilog sink is configured:
            Log.Logger = new LoggerConfiguration()
                .ReadFrom.Configuration(Configuration)
                .WriteTo.ApplicationInsights(TelemetryConfiguration.Active, TelemetryConverter.Traces)
                .CreateLogger();

Packages:
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.8.2" />
<PackageReference Include="Serilog.Sinks.ApplicationInsights" Version="3.0.4" />

A valid telemetry key is set in application.json.
Can you please advise if the above configuration is correct for enabling adaptive sampling, but never sample out api requests which have an uncaught exception?

This looks like Serilog is configured with TC.Active, but sample Processor is done on the TC retrieved from DI. They are different, hence Serilog logs wont respect.
Either use TC from DI always (recommended approach), or use TC.Active always.
Let us know if this helps

Thank you. It does help. I have a better understanding of the issue now.
However, I am not sure which is the correct approach of using Serilog with ApplicationInsights configured through dependency injection, while also being able to have early logging when application starts.
I have found 2 posts which seem to be related with this problem (configuring Serilog without using TelemetryConfiguration.Active, without losing early logging)
I will follow them to see which is the recommended approach (I haven't had time to try any of the proposed workarounds yet).
Currently they have status Open without a definitive solution.

https://github.com/serilog/serilog-aspnetcore/issues/84 (netcore 2.2)
https://github.com/serilog/serilog-sinks-applicationinsights/issues/121 (similar issue of not using TelemetryConfiguration.Active with Serilog in netcore 3.0)


Support github.com/grampelberg/kty

https://github.com/grampelberg/kty

Thank you.

https://github.com/aquaproj/aqua-registry/pull/27145

v4.225.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.225.0


release: v0.0.54

New release for fuchsia_extractor update

Link to the draft release page per step 9?
https://github.com/kythe/kythe/blob/master/kythe/release/setup_release.sh

https://github.com/kythe/kythe/releases/tag/untagged-faa435f9d29cf25b9f97


Refactor PrecedingFollowingAlignment#aligned_with_line?

Extract #comment_lines and let it store its value in an attribute. This removes a bottleneck that made Style/SpaceBeforeFirstArg slow.
Cuts RuboCop's self-inspection time by around 50% on my computer.

:+1:

:+1: Nice! Profiling for the win! :-)


Add functionality to read, edit, write artifacts

Per request by @pidydx
Add functionality to read, edit, write artifacts

At the moment the artifact server I am working on will leave the editing up to the UI side and just submit a modified JSON object back to the server where it overwrites the previous definition (assuming it validates and does not have conflicts).
I still need to work out proper validation for artifact groups.  When they get imported or the db initialized they get validated properly due to being read out of a file that contains all the other artifacts.  I haven't done anything to ensure that an artifact group will properly validate if submitted alone if the server already has copies of the necessary artifacts.

I am very close to a 0.0.1 API only release (hopefully within the next week) to start sharing for feedback.  Just making sure all the basics of the API are covered as a starting point.

Does not appear this is priority, closing issue


GitHub: Use the bot to comment on issues

Description
We should notice issuers when patch or feature request was implemented not to get them such a question https://github.com/files-community/Files/issues/14521#issuecomment-1906866455. Can use files-community-bot we already added in this org.
In addition to that, when a PR that might fix an issue was linked to the issue

When an issue submitted
Hello @0x5bfa, thank you for sharing your feedback with us!
Our team will send a message to triage :thumbsup:

When a patch has been published in a preview release
Thank you for your feedback! This issued was fixed in v3.2.2 :partying_face:
You can try it out by installing preview version of Files.

fyi, @heftymouse
Made repo for the bot. We can use C# like imgbot and Azure Functions.


better-sqlite3 Error

0|shard  | FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal. 0|shard  |  1: 0xa10730 node::Abort() [/usr/bin/node] 0|shard  |  2: 0xa10b75 node::OnFatalError(char const*, char const*) [/usr/bin/node] 0|shard  |  3: 0xb8579a v8::Utils::ReportApiFailure(char const*, char const*) [/usr/bin/node] 0|shard  |  4: 0x7f89d45b6839 Require(v8::Local<v8::Object>, char const*) [/root/pbot/node_modules/better-sqlite3/build/better_sqlite3.node] 0|shard  |  5: 0x7f89d45b779e Integer::Init(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Object>) [/root/pbot/node_modules/better-sqlite3/build/better_sqlite3.node] 0|shard  |  6: 0x7f89d45b9ec8 RegisterModule(v8::Local<v8::Object>, v8::Local<v8::Object>) [/root/pbot/node_modules/better-sqlite3/build/better_sqlite3.node] 0|shard  |  7: 0x9e7a97  [/usr/bin/node] 0|shard  |  8: 0x9e6cf2 node::binding::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/bin/node] 0|shard  |  9: 0xbf2bbc  [/usr/bin/node] 0|shard  | 10: 0xbf49c7 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/usr/bin/node] 0|shard  | 11: 0x13de1b9  [/usr/bin/node] 0|shard  | Error [SHARDING_READY_DIED]: Shard 0's process exited before its Client became ready. 0|shard  |     at Shard.onDeath (/root/pbot/node_modules/discord.js/src/sharding/Shard.js:155:16) 0|shard  |     at Object.onceWrapper (events.js:422:26) 0|shard  |     at Shard.emit (events.js:315:20) 0|shard  |     at Shard._handleExit (/root/pbot/node_modules/discord.js/src/sharding/Shard.js:371:10) 0|shard  |     at ChildProcess.emit (events.js:315:20) 0|shard  |     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) { 0|shard  |   [Symbol(code)]: 'SHARDING_READY_DIED' 0|shard  | }
Node.JS - v13.11.0

What version of better-sqlite3 are you using? What code did you invoke to cause the error? What operating system are you using? Are you using electron? Are you using pkg? Nobody can help you when you provide such little information.

This has been fixed in v7.0.0


ENH: make qwen_vl support streaming output

Could you add some unit tests? We don't run them in our CI because of resource limitations, but we can use them to check the code during development. https://github.com/xorbitsai/inference/blob/main/xinference/model/llm/tests/test_multimodal.py#L24

Could you add some unit tests? We don't run them in our CI because of resource limitations, but we can use them to check the code during development. https://github.com/xorbitsai/inference/blob/main/xinference/model/llm/tests/test_multimodal.py#L24

Could you add some unit tests? We don't run them in our CI because of resource limitations, but we can use them to check the code during development. https://github.com/xorbitsai/inference/blob/main/xinference/model/llm/tests/test_multimodal.py#L24

how about this⬇ record video？
https://github.com/xorbitsai/inference/assets/918617/5d975b58-cc02-4e27-b5bf-d059be8a4c7f


Edge + Color Vision thought bubbles

@jonathanolson, just in case you wanted another Edge bug:

To reproduce, after opening the sim enable the filter and switch to photon mode. There will be a slight delay while the invisible photons travel, then you will see the above screenshot. This is seen in the LIVE VERSION of Color Vision (1.1.1) but not 1.0.0. Also, Edge 20+, not just Edge 25.
What the sim should look like:

Reproduced in Chrome with rootRenderer=canvas.

@samreid and @pixelzoom (not sure who is in charge of maintenance for this sim), can one of you review the fix?
@ariel-phet, should this fix get wrapped into my maintenance releases?

@pixelzoom has generally been taking care of this sim
@jonathanolson if you think it would be easy to wrap in, seems good.

@ariel-phet I have not been generally taking care of this sim. I have made a few general changes that hit all sims (adding namespace, visibility annotations,...) and I recently pitched in to fix i18n problems for S2015R redeploy.  Do you want me to formally take over maintenance of this sims?
@jonathanolson Unfortunately I don't have an Edge test system, so I'll need to leave verification to @phet-steele.  But I have comments on the changes that were made.
(1) https://github.com/phetsims/scenery/commit/aa91f273d1a7347bc61d85fe5b764b9d73932664 adds an assertion to Color.updateColor. Asserting that each component is isFinite addressed this specific problem. But actually validating that each value is within its range would be more generally useful, and a more appropriate validation of the args. For example:
assert && assert( this.red >= 0 && this.red <= 255 );
assert && assert( this.green >= 0 && this.green <= 255 );
assert && assert( this.blue >= 0 && this.blue <= 255 );
assert && assert( this.alpha >= 0 && this.alpha <= 1 );

(2) https://github.com/phetsims/color-vision/commit/8e0c1faddac0a1e100dfb2171eedc60c91093f49 is a change in sim-specific code. It's identified as a "fix", but it's not a fix - it's a workaround. The root problem is `probability` is NaN. Highly recommended to investigate why that's the case, rather than hiding that issue with this workaround.  Immediate after the computation of `probability` (line 82) this assertion should be added:

```assert && assert( probability >=0 && probability <= 1 );```

@pixelzoom yes, I think for the moment you should formally take over maintenance (this seems to make sense to me since you are listed as one of the original developers so I had assumed you were reasonably familiar with the sim, but of course let me know if that is a bad assumption). And of course, function builder is the main priority, so maintenance work may need to be deferred depending.

But actually validating that each value is within its range would be more generally useful.

Currently, Color just clamps values to the acceptable range. I agree with more specific assertions (will create an issue).

The root problem is that probability is NaN. Highly recommended to investigate why that's the case, rather than hiding that issue with this workaround.

The SingleBulbPhoton's wavelength was not numeric (undefined) from:
      // emit a black photon for resetting the perceived color to black if the flashlight is off
      if ( !this.model.flashlightOn ) {
        this.photons.push( new SingleBulbPhoton( new Vector2( this.beamLength, ColorVisionConstants.BEAM_HEIGHT / 2 ),
          new Vector2( ColorVisionConstants.X_VELOCITY, 0 ), 1, BLACK_ALPHA_0, false ) );
      }

in SingleBulbPhotonBeam.
It almost seems that NaN was being used in the model to cause it to reset to black (yikes).

@pixelzoom can you create a sim specific issue to look into this? Mark low priority, feel free to work on if you need something else, but not a major priority at the moment.

@jonathanolson when you've completed whatever else needs to be done for scenery here, please assign back to me so I remember to create an issue specific to color-vision.

@pixelzoom I could be mistaken, but I believe @jonathanolson thought that some sim investigation was needed first to decide what might need to be done in scenery

(1) notes in https://github.com/phetsims/scenery/issues/529#issuecomment-193299655 is the only thing that was done in common code, and is completed independent of anything in this sim.

(1) noted in https://github.com/phetsims/scenery/issues/529#issuecomment-193299655 is the only thing that was done in scenery, and is completed independent of anything in this sim.

https://github.com/phetsims/scenery/issues/530 will handle the remaining Scenery work (adding better assertions and range checks to Color), reassigning to @pixelzoom for creating the sim-specific issue.

Sim-specific issue moved to https://github.com/phetsims/color-vision/issues/106. Closing.


Docs: Add no-await-in-loop doc

This PR adds a doc for no-await-in-loop. Closes #1
I referred to other rules doc and tried to follow the writing manner, but if I missed something please tell me.
PS.
Generating doc by running cargo docgen is a really good developer experience for me :smiley:
And I looked over what you suggested to me at the issue comment, which allowed me to learn how RSLint works as a whole! Now I'm kind of convinced that RSLint has a lot of advantages over deno_lint - I almost wish we could replace the core of deno_lint with RSLint :laughing:

@RDambrosio016
it's so difficult for me to write grammatically correct sentences as I'm not a native of English :confounded: But anyway, thanks for pointing out!

No worries, i am not a native speaker either so i get the struggle, looks good either ways


Please get onto composer! ;)

Thanks!

https://github.com/onokumus/metisMenu/blob/master/README.md#installation

Beautiful, thanks!


Cursors do not work in Debug terminal using Spyder 4

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
I cannot navigate through statements typed into the terminal when I am in Debug mode. The only way to insert something to the beginning of line is to parts of my command.
What steps reproduce the problem?

Run a script in Debug mode.

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)
No traceback
Versions

Spyder version: 4.0.0b1
Python version: 3.7.3 64 bits
Qt version: 5.9.6
PyQt version: 5.9.2
Operating System name/version: Windows 10 Pro

Dependencies
pyflakes >=0.6.0  :  2.1.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.3.1 (OK)
sphinx >=0.6.6    :  1.8.5 (OK)
rope >=0.9.4      :  0.12.0 (OK)
jedi >=0.11.0     :  0.13.3 (OK)
nbconvert >=4.0   :  5.4.1 (OK)
pandas >=0.13.1   :  0.24.2 (OK)
numpy >=1.7       :  1.16.2 (OK)
sympy >=0.7.3     :  1.3 (OK)
cython >=0.21     :  0.29.6 (OK)
qtconsole >=4.2.0 :  4.4.3 (OK)
IPython >=4.0     :  7.4.0 (OK)
matplotlib >=2.0.0:  3.0.3 (OK)
pylint >=0.25     :  2.3.1 (OK)

@impact27, I think you fixed something related to this problem in qtconsole, right?

https://github.com/jupyter/qtconsole/pull/331

@stfnrpplngr you can downgrade qtconsole if you want this to work.

@impact27, sorry for the delay in reviewing and merging your work (I thought it was merged already, but I'll try to do it as soon as possible).
What qtconsole versions are working correctly?

anything before https://github.com/jupyter/qtconsole/commit/d8a4810f4046e3cde098f0e1e336b447ce2b5b20
4.4.2 or something

Closing because @impact27 already reported this problem in qtconsole, where he also fixed it.


Google Tag

Hi,
could you be a bit more explicit with
# in your environment variable file (.env) PUBLIC_GOOGLE_SITE_VERIFICATION=your-google-site-verification-value
where should be store the .env file at the root folder structure ? it seems it doesn't exist when cloning repository and I did'nt found any reference in the code repo's and files available
thanks
Amaury

Maybe this helps?
The .env file should be created at the root level. Astro Docs
I'll rewrite it a bit more explicitly in the future.

Hi @satnaing
could you provide some sample of what the .env file should contains and where should it be there ?
just build a .env from scratch at the root folder and insert a ligne for Google Site Verification ?
I do not see the enhancement of the readme related to Google Site Verification and where the google tag appears afterwards
Thanks


pacman config (pkgdistcache) and makepkg (multicore and disable compression)

Don't worry. I know what I meant by this...

I forgot that makepkg was already set up...

I won't be setting up pkgdistcache for now.

This means I will only have to enable multilib, color output and verbose package lists.

Actually I don't need multilib

And I have just done that with 5a92ffe1b78c48b2b8882369cf2cf05a876ad114


Fixed cache

Sometimes would throw a collection modified.exception. Fixed by first casting the buffs into an array.

cacheeeeeeeeee?

cacheeeeeeee!


Octokit::NotFound in Communication::Website::DirectObject::SyncWithGitJob@elephant

Error in Osuny
Octokit::NotFound in Communication::Website::DirectObject::SyncWithGitJob@elephant
GET https://api.github.com/repos/osunyorg/demo-site-multilingue/branches/main: 404 - Branch not found // See: https://docs.github.com/rest/branches/branches#get-a-branch
View on Bugsnag
Stacktrace
app/services/git/providers/github.rb:133 - branch_sha
app/services/git/providers/github.rb:156 - tree
app/services/git/providers/github.rb:143 - tree_items_by_path
app/services/git/providers/github.rb:137 - tree_item_at_path
app/services/git/providers/github.rb:103 - git_sha
app/services/git/repository.rb:46 - git_sha
app/services/git/analyzer.rb:68 - exists_on_git?
app/services/git/analyzer.rb:12 - should_create?
app/services/git/repository.rb:86 - block in sync_git_files
app/services/git/repository.rb:84 - each
app/services/git/repository.rb:84 - sync_git_files
app/services/git/repository.rb:26 - sync!
app/models/concerns/with_git.rb:39 - sync_with_git_safely
app/jobs/communication/website/direct_object/sync_with_git_job.rb:4 - execute
app/jobs/communication/website/base_job.rb:29 - perform

View full stacktrace
Created automatically via Bugsnag

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

An error linked to this issue has been marked as fixed in Bugsnag
Octokit::NotFound in Communication::Website::DirectObject::SyncWithGitJob@elephant

An error linked to this issue has been reopened in Bugsnag
Octokit::NotFound in Communication::Website::DirectObject::SyncWithGitJob@elephant

An error linked to this issue has been reopened in Bugsnag
Octokit::NotFound in Communication::Website::SyncWithGitJob@elephant


Why pypi and repo have different versions?

Pypi
https://pypi.org/project/django-soft-delete/
With last release date 2022.04.12

Repo
While repository looks outdated with last update 2021.10.15

@a-edakin thank you! Repo is updated with v0.9.21.


how to extract video with mp4 extension ,not  m3u8

i use youtube-dl to extract "http://www.bcci.tv/videos/id/6136/icc-u19-wc-final-india-thrash-australia"
but give me :

"url": "http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=5725344397001",
"extractor_key": "BrightcoveLegacy",
"vcodec": "H264",

i don't want use m3u8  , how to get the mp4 link?

https://github.com/rg3/youtube-dl#format-selection


Fix typos and add clarification to delivery ack docs

Remove typos and clarify wording
Add instruction on how to resolve a PRECONDITION_FAILED channel exception

@ekatpat Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@pivotal-cla this is a trivial fix

This only updates the 4.0.x version of the docs.

@ekatpat thank you. I will update 4.1 and 3.13 versions of this section on your behalf.

Thank you @michaelklishin


I have developed an Excel add-in for this project

First of all, Thank you guys for offering me such a good SQL Database to use.
I stored some macro economy & finance data in this database, and developed a excel add-in to browser massive data & export it easier.

Thanks very much!
Your add-in is great.
And, yes, we need all kinds of clients and drivers to make it easy to access data in CovenantSQL.
Thanks again for your fabulous work!


⚠ Bofrost.at has degraded performance

In 0c1c87f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2645 ms

Resolved: Bofrost.at performance has improved in 6602b70 after 8 minutes.


Improve error for non-program exercises

Right now, this is what you get when you submit a program in a procedure/function exercise:
Cannot define program "program"
program "program" already defined en:
/tmp/gobstones.20150610-3-1f6ek54.gbs (línea 1, columna 1)

It would be nice to add a default expectation for every non-program exercise that checks that program is not defined.

@flbulgarelli, please comment on this

Yup, agree. It could be a HasProgram, and then negate it Not:HasProgram.
Now that we are working on feedback, we could augment this output adding a feedback on duplicated elements. We could have the following rules:

If elements duplicated are in code and extra: "Please notice we are already providing the program. You just need to define procedure Zaraza. Remove that program declaration"
If elements are duplicated within code: "Please notice that you have defined Zaraza twice. Try by having only one declaration of it".

Another option, instead of having HasProgram, HasFunction, HasProcedure is using HasBinding:Target, which is consistent with other runners


fix: downgrade oxc_resolver to 1.7.0

oxc_resolver 1.8.0 报如下错误

Summary by CodeRabbit

Bug Fixes

由于版本1.8.0中的别名解析问题，将oxc_resolver版本回滚至1.7.0。

Can you send an issue next time? https://github.com/oxc-project/oxc-resolver/issues/195

Sure we will.


[BUG] Not able to get libcamera-hello working on RPi Zero W 1.1 @ current Raspberry Pi OS; raspivid works

Creating separate issue as requested here: https://github.com/raspberrypi/libcamera-apps/issues/208#issuecomment-1012195643
Hardware:

Raspberry Pi Zero W 1.1
HQ camera (IMX477) with mechanical IR modification: https://www.arducam.com/product/arducam-high-quality-ir-cut-camera-for-raspberry-pi-12-3mp-1-2-3-inch-imx477-hq-camera-module-with-6mm-cs-lens-for-pi-4b-3b-2b-3a-pi-zero-and-more/

Software:
https://downloads.raspberrypi.org/raspios_full_armhf/images/raspios_full_armhf-2021-11-08/2021-10-30-raspios-bullseye-armhf-full.zip
plus current updates (apt-get update && apt-get dist-upgrade)
Output from utils/camera-bug-report:
bug-report.txt
Just in case: there are a lot of "Division by zero in kernel" errors in dmesg. Triggered by libcamera-hello inside video-related code.
raspivid is able to work fine with different config.txt (more details in the issue referenced above)
My diff of /boot/config.txt with the original file from 2021-10-30-raspios-bullseye-armhf-full.zip:
 camera_auto_detect=1
+dtoverlay=imx477
+#start_x=1
+#dtoverlay=vc4-fkms-v3d
+#enable_uart=1
+#gpu_mem=128

Full file: config.txt

Thanks for the detailed report!
The div by zero that you are seeing is almost certainly a bug that has been fixed in https://github.com/raspberrypi/linux/commit/19359ba5442ffba6db180eaaeda7472e7377e368.  Are you able to rebuild your kernel with the latest changes and try again.  Alternatively, you should be able to do a rpi-update to get a newer kernel with the fixes.
If you do either of these to update the kernel, you will run into a mismatch with the libcamera userland libraries.  To fix this, you can either update the libcamera libraries (instructions found here), or you can add a parameter to to dtoverlay in config.txt:
dtoverlay=imx477,media-controller=0

This incompatibility will be fixed in an imminent upcoming software release to apt.

Hi, a few things to try:

If you want to use libcamera on a Pi Zero I would recommend undoing any edits to your /boot/config.txt. They may be causing more memory to be consumed which may hamper its ability to run. In particular, adding more GPU memory will only make things worse.
If you're using X Windows and are expecting to see the camera preview in a regular X window, you need to re-enable Glamor. Note that the rate at which a Pi Zero can get camera images through the X WIndows display stack onto the screen will be poor (as indeed will be anything that involves X Windows).
If you're logged in through ssh and want to display the preview using X forwarding there are some additional constraints as the default hardware-accelerated preview implementations don't work with X forwarding. You would have to use the --qt-preview option to get a software rendered preview though as noted earlier, a Pi Zero will struggle.  The hardware-accelerated preview windows also don't work very well with VNC, --qt-preview would probably be better in this case too.
Performance on a Pi Zero will be way better if you don't use X Windows. Installing Raspberry Pi OS Lite would be best, though even quitting or suspending X Windows (Ctrl+Alt+F1 usually) will help massively. Of course, you always have the option to suppress the preview window entirely (the -n option).

@naushir  @davidplowman  thank you for all the info, I'd unlikely manage to find it all by myself!
I did rpi-update, added ,media-controller=0 to dtoverlay=imx477 and enabled Glamor (just in case, it caused no changes in /boot/config.txt)
Current diff with the original /boot/config.txt :
-#hdmi_force_hotplug=1
+hdmi_force_hotplug=1
-#hdmi_group=1
-#hdmi_mode=1
+hdmi_group=2
+hdmi_mode=42
+dtoverlay=imx477,media-controller=0
+enable_uart=1
+dtoverlay=dwc2

Might be important: I connect to RPi with tigervnc on my Linux PC and tigervnc-xorg-extension on RPi.
What I have now:

a) Black window of libcamera-app when launching just libcamera-hello
b) This error from vlc on PC and nothing more when launching libcamera-vid -t 0 --inline --listen -o tcp://<IP_ADDRESS>:6123 on RPi :
$ cvlc tcp/h264://<IP_ADDRESS>:6123
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055d84af64f30] dummy interface: using the dummy interface module...
[00007f0530001110] h26x demux error: this doesn't look like a h264 ES stream, continuing anyway

Console output of libcamera ends with following. Sensor control error might indicate some difference of my camera module from the original HQ camera, but (again, just in case) - raspivid is able to show image from my camera.
As for last buffers error, it has related part in dmesg (see below)
[0:11:36.844093549] [958]  INFO RPI raspberrypi.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected mode: 2028x1520-pgCC
[0:11:36.853795437] [958] ERROR IPARPI raspberrypi.cpp:539 Unable to find sensor control 0x009e0903
[0:11:36.854002435] [958] ERROR IPARPI raspberrypi.cpp:351 Sensor control validation failed.
[0:11:36.854132433] [958] ERROR RPI raspberrypi.cpp:1306 IPA configuration failed!
[0:11:36.854289432] [958] ERROR RPI raspberrypi.cpp:757 Failed to configure the IPA: -32
[0:11:37.540281542] [958] ERROR V4L2 v4l2_videodevice.cpp:1158 /dev/video1[14:cap]: Unable to request 4 buffers: Invalid argument

dmesg has no more "division by zero" errors. The only clear problem there shows following:
WARNING: CPU: 0 PID: 1015 at drivers/media/common/videobuf2/videobuf2-core.c:806 vb2_core_reqbufs+0x180/0x49c [videobuf2_common]
CPU: 0 PID: 1015 Comm: libcamera-hello Tainted: G        WC        5.10.90+ #1512
Backtrace:
[<c0877908>] (dump_backtrace) from [<c0877c88>] (show_stack+0x20/0x24)
 r7:00000326 r6:00000009 r5:bf35e84c r4:c0a7429c
[<c0877c68>] (show_stack) from [<c087af04>] (dump_stack+0x28/0x30)
[<c087aedc>] (dump_stack) from [<c0023210>] (__warn+0xe8/0x110)
 r5:bf35e84c r4:bf361f78
[<c0023128>] (__warn) from [<c08782a0>] (warn_slowpath_fmt+0x68/0xd8)
 r7:00000009 r6:bf35e84c r5:00000326 r4:bf361f78
[<c087823c>] (warn_slowpath_fmt) from [<bf35e84c>] (vb2_core_reqbufs+0x180/0x49c [videobuf2_common])
 r9:bf45147c r8:bf44b648 r7:c3837e3c r6:c0bb9028 r5:c3bc5a2c r4:c3bc59ec
[<bf35e6cc>] (vb2_core_reqbufs [videobuf2_common]) from [<bf389f84>] (vb2_ioctl_reqbufs+0x80/0xa8 [videobuf2_v4l2])
 r10:c0bb9028 r9:bf45147c r8:c3bc5b38 r7:c4ec2300 r6:c3bc5b48 r5:00000000
 r4:c3837e3c
[<bf389f04>] (vb2_ioctl_reqbufs [videobuf2_v4l2]) from [<bf267690>] (v4l_reqbufs+0x50/0x54 [videodev])
 r7:bf45147c r6:c4ddb360 r5:c4ec2300 r4:c3837e3c
[<bf267640>] (v4l_reqbufs [videodev]) from [<bf267e6c>] (__video_do_ioctl+0x234/0x464 [videodev])
 r7:00000003 r6:bf267640 r5:c0145608 r4:c3bc5b48
[<bf267c38>] (__video_do_ioctl [videodev]) from [<bf2688a0>] (video_usercopy+0x118/0x558 [videodev])
 r10:00000000 r9:c0bb9028 r8:c3837e3c r7:00000000 r6:00000000 r5:c0145608
 r4:c0145608
[<bf268788>] (video_usercopy [videodev]) from [<bf268cfc>] (video_ioctl2+0x1c/0x24 [videodev])
 r10:0000000e r9:a86fe3a4 r8:c0bb9028 r7:00000000 r6:c4ec2300 r5:c4ec2301
 r4:bf268ce0
[<bf268ce0>] (video_ioctl2 [videodev]) from [<bf260148>] (v4l2_ioctl+0x4c/0x64 [videodev])
[<bf2600fc>] (v4l2_ioctl [videodev]) from [<c020c1d8>] (sys_ioctl+0x1ac/0x88c)
 r5:c4ec2301 r4:c0145608
[<c020c02c>] (sys_ioctl) from [<c0008240>] (ret_fast_syscall+0x0/0x28)

Might be triggered by this kernel code, if I found correct repo and revision:
/* Check that driver has set sane values */
if (WARN_ON(!num_planes))
    return -EINVAL;

for (i = 0; i < num_planes; i++)
    if (WARN_ON(!plane_sizes[i]))
        return -EINVAL;

https://github.com/raspberrypi/linux/blob/rpi-5.10.y/drivers/media/common/videobuf2/videobuf2-core.c#L806

free memory space seems sufficient:
$ free -m
               total        used        free      shared  buff/cache   available
Mem:             429         182          77           6         169         191
Swap:              0           0           0

Full bug-report.txt
Note: libcamera-hello did not end by itself for some reason, I had to kill it by killall libcamera-hello to get the report.

> [0:11:36.844093549] [958]  INFO RPI raspberrypi.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected mode: 2028x1520-pgCC
> [0:11:36.853795437] [958] ERROR IPARPI raspberrypi.cpp:539 Unable to find sensor control 0x009e0903
> [0:11:36.854002435] [958] ERROR IPARPI raspberrypi.cpp:351 Sensor control validation failed.
> [0:11:36.854132433] [958] ERROR RPI raspberrypi.cpp:1306 IPA configuration failed!
> [0:11:36.854289432] [958] ERROR RPI raspberrypi.cpp:757 Failed to configure the IPA: -32
> [0:11:37.540281542] [958] ERROR V4L2 v4l2_videodevice.cpp:1158 /dev/video1[14:cap]: Unable to request 4 buffers: Invalid argument

The above log suggests there is still a mismatch between the kernel and userland drivers.  Could you remove the camera_auto_detect=1 line from you config.txt, and ensure you only have dtoverlay=imx477,media-controller=0 and try again?

@naushir  thank you, now it works!
This issue can be closed, I think.
Streaming to vlc definitely has problems, there are visual artefacts, big delay and errors from cvlc.
Should not be performance issue, tested w/o xserver (after systemctl isolate multi-user.target) and checked CPU usage, it's not full.
Tested by this on RPi:
libcamera-vid -n --framerate 10 --width 1332 --height 990 --denoise off --profile baseline --flush -t 0 --inline --listen -o tcp://<IP_ADDRESS>:6123
And this on PC (ignore hw decode errors, I disabled it because of this: https://bugzilla.redhat.com/show_bug.cgi?id=1950692):
$ cvlc tcp/h264://<IP_ADDRESS>:6123
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0000555838465a40] dummy interface: using the dummy interface module...
[00007f5f30006320] gl gl: Initialized libplacebo v4.157.0 (API v157)
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
[00007f5f680cc8b0] vaapi generic error: profile(7) is not supported
[00007f5f30006320] gl gl: Initialized libplacebo v4.157.0 (API v157)
[00007f5f480090f0] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
[h264 @ 0x7f5f4805ccc0] Failed setup for format vdpau: hwaccel initialisation returned error.
[00007f5f480090f0] avcodec decoder error: existing hardware acceleration cannot be reused
[00007f5f30006320] gl gl: Initialized libplacebo v4.157.0 (API v157)
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
[00007f5f68160040] vaapi generic error: profile(7) is not supported
[00007f5f30006320] gl gl: Initialized libplacebo v4.157.0 (API v157)
[00007f5f44000c80] main input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 1966 ms)
[00007f5f480090f0] main decoder error: Timestamp conversion failed for 2833320: no reference clock
[00007f5f480090f0] main decoder error: Could not convert timestamp 0 for FFmpeg
[00007f5f44000c80] main input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 3920 ms)
[00007f5f480090f0] main decoder error: Timestamp conversion failed for 4966663: no reference clock
[00007f5f480090f0] main decoder error: Could not convert timestamp 0 for FFmpeg
[h264 @ 0x7f5f480a5b80] get_buffer() failed
[h264 @ 0x7f5f480a5b80] thread_get_buffer() failed
[h264 @ 0x7f5f480a5b80] decode_slice_header error
[h264 @ 0x7f5f480a5b80] no frame!
[00007f5f44000c80] main input error: ES_OUT_SET_(GROUP_)PCR  is called too late (jitter of 6786 ms ignored)
[00007f5f480090f0] main decoder error: Timestamp conversion failed for 10899996: no reference clock
[00007f5f480090f0] main decoder error: Could not get display date for timestamp 0
[00007f5f480090f0] main decoder error: Timestamp conversion failed for 10899996: no reference clock
[00007f5f480090f0] main decoder error: Could not convert timestamp 0 for FFmpeg

ffplay is much better
using example from here: https://www.raspberrypi.com/documentation/accessories/camera.html
Here are no clear errors in kernel log, only this line repeating 20-30 times per second:
[  436.999440] vc_sm_cma_import_dmabuf_internal: Expecting an uncached alias for dma_addr 0x8d000000

(address varies)
Also, libcamera-vid prints this for all cases:
[0:32:39.106154000] [983]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: NoiseReductionMode = 0
[0:32:39.112035000] [979]  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:32:39.685666000] [979]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (6 left)
[0:32:39.776535000] [979]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (5 left)
[0:32:39.875450000] [979]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (4 left)
[0:32:39.974926000] [979]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (3 left)
[0:32:40.074953000] [979]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (2 left)
[0:32:40.186030000] [979]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (1 left)
[0:32:40.282094000] [979]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (0 left)

Thanks for the update. I don't know what's happened to recent versions of vlc. The same problems occur simply saving an h264 file and trying to replay it, when older versions, and other applications like ffplay, have no trouble. But I'll close this issue, please feel free to post again if anything else comes up.


CON-2647 improved tier prices

Coverage increased (+0.03%) to 3.964% when pulling f83f66016e04034ad6622595138b681f81a2f437 on CON-2647-tier-prices into 5630f84736b31e49836b8ad508a845dd60ff863b on master.


Paginator length property set to length of table dataSource.data.length on pageEvent of paginator

Bug, feature request, or proposal:
Bug
What is the expected behavior?
It should not update to length of data of dataSource
What is the current behavior?
Paginator length property is  set to length to dataSource.data.length on pageEvent
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/animations": "5.0.0",
"@angular/cdk": "5.0.0",
"@angular/common": "5.0.0",
"@angular/compiler": "5.0.0",
"@angular/core": "5.0.0",
"@angular/forms": "5.0.0",
"@angular/http": "5.0.0",
"@angular/material": "5.0.0",
"@angular/platform-browser": "5.0.0",
Is there anything else we should know?
This is how i update or set the length for paginator
if(this.totalLength === 0){
  this.totalLength = data.total;
}

<mat-paginator #paginator [length]="totalLength"
               [pageSize]="limit"
               [pageSizeOptions]="pageLimit"
               (page)="changePage($event)">
</mat-paginator>`

limit:number = 10;
skip:number = 0;
totalLength:number = 0;
pageIndex : number = 0;
pageLimit:number[] = [5, 10] ;

changePage(event){
  console.log(event)
  if(this.totalLength > this.dataSource.data.length){
     if(this.pageIndex < event.pageIndex){
      // next page
      this.skip = this.skip + this.limit;
      this.getComplains(true);
    }
  }
}

Can you provide a stackblitz reproduction?  We aren't able to reproduce the issue you are outlining.

@josephperrott I tried but no i am something new.
Here is link app

In your last comment, your data source and paginator are not aware of each other. You are adding data to the data source and so the table renders it. When you react to the page event, you are telling the data source to show more data.
If you can re-open with an issue then we can dive in and figure out what's wrong. It seems like you may want to build your own data source to understand how the table uses it. If you need help troubleshooting your app, please refer to the community at Gitter, Google Groups, or StackOverflow.

@andrewseguin

your data source and paginator are not aware of each other.

Can you please help how it's not?
Because i am not able to find where it's causing that issue resulting in no pagination

this.dataSource.paginator = this.paginator;
I recommend checking out the pagination example in the docs as a good starting point: https://run.stackblitz.com/api/angular/v1?file=app%2Ftable-pagination-example.ts

@andrewseguin , can you please help me , so i can try to reproduce the error i am facing ?

Navigation prevented
This sandbox is configured to only navigate webpages whose origin is https://material-angular-5-pagination-issue.stackblitz.io

@andrewseguin Okay.

@andrewseguin What i find is that , on start or you can say when i bind data to table data source.
I  also set paginator length property to total length return from http call *( if total length is 0 )
Now on page event that's to next page the total length property is having still same value as it's was on first binding. but length property of paginator vary.
What i understand from this ( https://material.angular.io/components/table/overview#pagination )

If you are using the MatTableDataSource for your table's data source, simply provide the MatPaginator to your data source. It will automatically listen for page changes made by the user and send the right paged data to the table.

the above apply to data which is static or all loaded once( via http call ), but if we want to load data on page event then, this below would apply

Otherwise if you are implementing the logic to paginate your data, you will want to listen to the paginator's (page) output and pass the right slice of data to your table.

So i removed this line

// this.dataSource.paginator = this.paginator;

And now it's working as expected.
So if data source is not dynamically changing or loaded all at once then we can simply provide the MatPaginator to your data source
Or else  we don't need to.

@narendrasinghrathore
If I removed this then errors are throwing
this.dataSource.paginator = this.paginator; .
But I use this
this.dataSource = new MatTableDataSource(this.users);  this.dataSource.paginator = this.paginator;  this.dataSource.sort = this.sort;  this.dataSource.paginator._length = this.length;
As a result the value of this.length is replaced after clicking once in paginator but not onload.
Please Help me out..
Thanks in advance :)

@tamalkundu007 Can you please try to reproduce error on stackbliz , also do mention what error you are getting ?

So

So it means that Mat-Paginator can't handle server-side pagination automatically?
I need to 'trick' the user by showing the exactly 'data-pieces' that needs to be seen in the current page?
Also what about the cost of server requests in every page-change and page-size changes?
There is got to be some other way...
Thx in advance!

@GadyTal if data is not more than 100-300 items you can bind it to mat-table  dataSource at once and it will work fine.
You can find examples on material.angular.io
While if items exceed more for.eg 1000 or more we can request data in chunks considering performance.
In my scenario,

the mat-table dataSource receive items real time, so paginator also need to be updated for the same to display exact page or else it will not paginate and the list continues to grow.

Hope you are clear now.
Regards

If I have 20 Records and PageSize is 10.
On second time I call data the next button become disable in Material-Table how to keep material table
next button enable?

Hey all. I've seen this bug for server side pagination.
The problem appears to be that when you are connecting a paginator to the MatTableDataSource, you are providing a way for the paginator to update the length property based on that data source. If you are also providing length as well, that length value will be overwritten when the data source gets updated.
A solution is to not connect the paginator to the MatTableDataSource. You do not need an ngIf*. If you do not connect the paginator to the datasource the only source that the paginator uses to update are the properties you explicitly provide.
So your paginator will look something like this
<mat-paginator
[length]="total$ | async"
[pageSize]="pageSize$ | async"
[pageSizeOptions]="pageSizeOptions"
[pageIndex]="currentPage$ | async"
(page)="onPaginateChange($event)">

And your component will not have any reference to paginator or MatTableDataSource.
Note: In my use case, I'm using paginator without using a MatTable and instead iterating on a custom component. If you are using MatTable then simply don't do this.dataSource.paginator = this.paginator


la-go-live

Docs Build status updates of commit f93f062:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/application-certification.md
:warning:Warning
View
Details

msteams-platform/assets/images/3TierImage.png
:white_check_mark:Succeeded
View

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/overview.md
:white_check_mark:Succeeded
View

msteams-platform/feedback.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/design/tabs.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/application-certification.md

Line 14: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/active-directory/develop/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


find (e.g. ctr+f)  freezes after one use

Lapce Version
Lapce nightly
System information
fedora 39
dell inspiron
Describe the bug
find (e.g. ctr+f)  freezes after one use
needs to be restarted
Additional information
the replace function never works, can't ever add text into it
Other information that can be used to further reproduce or isolate the problem.

workarounds that you used

I just have to close and open it again but it is very frustrating and prone to injecting typos into the code
because I can never tell where the text will appear.
ctr+d is a life-saver and usually works well, main reason why I use Lapce as my main editor.

Reproducing instructions since it took me a bit to get what the issue meant, I'll make a PR for this:

Ctrl + F
type something like "Vec"
Press enter and you can go forward between the different selections
click off the find input, such as into the editor
click back into the find input, enter no longer works to move between entries and you can't type in it


Add 'How To Contribute' section in documentation

Important to make the distinction;

Docs for contributors to Weaviate are on Github.
Docs for users of Weaviate are on the website.

Done


Update project packages

upgrade npm packages
remove extra code blocks

Should update every package step-by-step and test the flow [e2e]


More specific setup instructions would be great

Hi guys,
This is a great plugin and we've been using it for a while, but we can't seem to figure out the way to do personal notifications.
It's not clear how to setup user specific notifications - do we need to create webhooks in slack for each separate user?
We've got all our notifications coming into one slack channel at the moment, but it would be much better to follow only tasks related to the people involved with it.
Thanks in advance!

This issue has been closed automatically by a bot for inactivity. For more information, read the FAQ.


feat(pods): Airtable export v2 to support multiple ids

feat(pods): Airtable export v2 to support multiple IDs

Airtable Export Pod now uses .metadata.json file to keep track of records.
Doctor command to update the existing workspace.
For the time being, the current workspace setup will work fine, eventually, we can update existing notes with Doctor(updateAirtableMetadata) command to use the new workflow.

NOTE: Docs pending
Dendron Extended PR Checklist

NOTE: the links don't work. you'll need to go into the wiki and use lookup to find the note until we fix some issues in the markdown export

Code
Basics

[x] code should follow Code Conventions
[x] circular dependency check: make sure your code is not introducing new circular dependencies in plugin-core.  See Avoiding Circular Dependencies.
[x] sticking to existing conventions instead of creating new ones

eg: if configuration for utilities are already in one module or package, add future utilities there as well

Extended

General

[x] check whether code be simplified
[x] check if similar function already exist in the codebase. if so, can it be re-used?
[ ] check if this change adversely impact performance

Operations

[x] when shipping this change, will it just work or will it introduce additional operational overhead due to complicated interface or known bugs?

Architecture

[ ] check if code is introducing changes on a foundational class or interface. if so, call for design review if needed

eg: making changes to DNode

Instrumentation
Basics

[ ] if you are adding analytics related changes, make sure the Telemetry docs are updated

Extended

[ ] can we track the performance of this change to know if it is successful?

eg: see usage for export pod

Tests
Basics

[ ] Write Tests
[ ] Confirm existing tests pass
[x] Confirm manual testing
[ ] Common cases tested
[ ] 1-2 Edge cases tested
[ ] If your tests changes an existing snapshot, snapshots have been updated

Extended

[ ] If you are adding a new language feature (graphically visible in VS Code/preview/publishing), an example is included in the test workspace
CSS

[ ] display is correct for following dimensions

[ ] sm: screen ≥ 576px, eg. iphonex, (375x812)
[ ] lg: screen ≥ 992px
[ ] xxl: screen ≥ 1600px eg. mac (1600x900)

[ ] display is correct for following browsers (across the various dimensions)

[ ] safari
[ ] firefox
[ ] chrome

Docs

[ ] if your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR
[ ] does this change introduce a new or better way of doing things that others need to be aware of? if so, an async should be created and a process added in Development or Packages

Close the Loop
Extended

[ ]  is this a developer BREAKING change? if another person cloning from this branch will need to adjust their dependencies or mental model of the architecture, then it is. if this is the case, make sure this is communicated according to Close Loop

eg: breaking dev change due to new dependency

the conversation to use a separate file for ids was something we talked about but never formalized. can we have an async about the approach here?

the conversation to use a separate file for ids was something we talked about but never formalized. can we have an async about the approach here?

Added an async to meet.daily


API 14

Is there a specific reason outlining as to why this library is target towards min SDK level 15 and up?  If not, could I push a change for 14 and up instead?  With 14 being the lowest end of Android 4, it would be easier assumption that this would then run on all versions of Android, 4 and up.

As far as I know it's best practise to use 15 instead of 14, there are barely any (if any at all) devices on 14, so there's no real reason to downgrade.

There are quite a few in South Africa.  Majority of device owners don't have access to facilities which allow them to perform updates.  Once they have a phone on a specific version, that's it for the lifetime of the phone.

Google does not even report usage for API 14 since it's so low. Do you have any sources of that information for SA?

Analytic information for apps I've been involved with which unfortunately I can't share.  If there is no disadvantage to reducing the API level from 15 to 14, then why make a deal of it?

Nothing matters less to me. We could probably be API 1. Send a PR?
On Mon, Mar 2, 2015 at 9:56 PM Kevin Woodland<EMAIL_ADDRESS>wrote:

Analytic information for apps I've been involved with which unfortunately
I can't share. If there is no disadvantage to reducing the API level from
15 to 14, then why make a deal of it?
—
Reply to this email directly or view it on GitHub
https://github.com/square/sqlbrite/issues/18#issuecomment-76891588.


How to prevent creating a new _work folder at each stage?

Hi everyone.
I have a problem with the azure pipeline stages.
the problem is azure pipeline stages will create a new folder for each stage and I will lose every source that I checkout before.
For example, I have these stages:

Checkout
Build
Tests
Deploy
etc

the problem is I checkout everything in stage 1 then when I want to build them in stage 2 it's getting the error because stage 1 is in _work\1 and stage 2 is in _work\2 and every resource is in _work\1 that's why I'm getting error in stage 2.
if I move all of them in one stage, everything is ok and every job runs successfully!
my example yml file:

trigger:
- Develop

resources:
  repositories:
  - repository: Libraries
    type: git
    name: Libraries
  - repository: Core2
    type: git
    name: Core2
stages:
  - stage: CheckProject
    displayName: Check out
    jobs:
     - job: Checkout
       steps:
        - checkout: self
          path: Projects/Cores/Core1
        - checkout: Core2
          path: Projects/Cores/Core2
        - checkout: Libraries
          path: Projects/Libraries

        - powershell: |
                      Remove-Item $(Pipeline.Workspace)/Github/SignalGo-full-net -Force -Recurse -ErrorAction SilentlyContinue
                      git clone --branch netstandard https://github.com/SignalGo/SignalGo-full-net.git Github/SignalGo-full-net
          name: PullSignalGo
          workingDirectory: $(Pipeline.Workspace)

        - task: UseDotNet@2
          displayName: Install .NET Core 6.x SDK
          inputs:
            packageType: 'sdk'
            version: '6.x'
            installationPath: $(Agent.ToolsDirectory)/dotnet
        - task: UseDotNet@2
          displayName: Install .NET Core 5.x SDK
          inputs:
            packageType: 'sdk'
            version: '5.x'
            installationPath: $(Agent.ToolsDirectory)/dotnet
  - stage: Build
    dependsOn: CheckProject
    displayName: Build
    jobs:
     - job: Build
       steps:
        - task: DotNetCoreCLI@2
          name: Build
          inputs:
            command: 'build'
            workingDirectory: $(Pipeline.Workspace)/Projects/Cores/Core1
            arguments: 'Core1.sln'
  - stage: Tests
    dependsOn: Build
    displayName: Tests
    jobs:
     - job: Tests
       steps:
        - task: DotNetCoreCLI@2
          name: Test
          inputs:
            command: 'test'
            workingDirectory: $(Pipeline.Workspace)/Projects/Cores/Core1
            arguments: 'Core1.sln --logger "console;verbosity=detailed"'

the main issue comes from:
https://github.com/MicrosoftDocs/azure-devops-docs/issues/11989

Hi, Ali. Thank you for providing information. We will take a look at it soon.

Hello @Ali-YousefiTelori,
Jobs and stages in pipelines are isolated instances, each new started job uses new one agent. Key concepts of pipelines are provided in this article. Only steps in one jobs are allowed to be started on the same agent and have common work directory.
Sometimes they can use the same agent in case it's only available agent, but it's not a rule, it's just a forced measure or a coincidence. And if one or several jobs require results of any previous job, then the results of job must be passed by storing them in available storages/services, e.g. store as Azure Artifact or other package to feed, push updates to repo or save to share or S3 instance.

Hello @denis-tikhomirov Thanks for your reply.
every job in this example happens in the same folder when I make stages every job in each stage will run in a new folder, it's not random happens, is this scenario ok or something is wrong?

@Ali-YousefiTelori Yes, this is expected behavior since the working folder depends on the sources you are going to use in your job (i.e. depends on the checkout steps). Please see this article about source mappings: https://github.com/microsoft/azure-pipelines-agent/blob/master/docs/jobdirectories.md#source-mappings
You could probably resolve your issue by adding  the same checkout steps to Tests and Build jobs. In this case, the jobs will use the same working directory (if you run them on a single agent)
        - checkout: self
          path: Projects/Cores/Core1
        - checkout: Core2
          path: Projects/Cores/Core2
        - checkout: Libraries
          path: Projects/Libraries

More info about multi-repo-checkout: https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops

@Ali-YousefiTelori closing this. Please reopen if you still have any questions.


Git Worktree

Hey, I'm getting this error when deploying to github pages.
/usr/bin/git worktree add --checkout github-pages-deploy-action-temp-deployment-folder origin/gh-pages
Preparing github-pages-deploy-action-temp-deployment-folder (identifier github-pages-deploy-action-temp-deployment-folder)
HEAD is now at 0b4b99a Deploying to gh-pages from  @ 59d1b5aa0c54698bf3976c1b5e2f8451916e17c8 🚀
/usr/bin/rsync -q -av --checksum --progress build/web/. github-pages-deploy-action-temp-deployment-folder --exclude .ssh --exclude .git --exclude .github
/usr/bin/git status --porcelain
M index.pck
/usr/bin/git add --all .
/usr/bin/git checkout -b github-pages-deploy-action/yqcvcm0um
Switched to a new branch 'github-pages-deploy-action/yqcvcm0um'
M	index.pck
/usr/bin/git commit -m Deploying to gh-pages from  @ 9027b690b7b0935ebd6e953cfca476acb0f83308 🚀 --quiet
/usr/bin/git push --force ***github.com/ugdt/zelcrawler.git github-pages-deploy-action/yqcvcm0um:gh-pages
To https://github.com/ugdt/zelcrawler.git
0b4b99a..8119bbc  github-pages-deploy-action/yqcvcm0um -> gh-pages
Changes committed to the gh-pages branch… 📦
/usr/bin/git checkout --progress --force 9027b690b7b0935ebd6e953cfca476acb0f83308
HEAD is now at 9027b69... Update github-pages
Running post deployment cleanup jobs… 🗑
/usr/bin/git worktree remove github-pages-deploy-action-temp-deployment-folder --force
usage: git worktree add []  []
or: git worktree list []
or: git worktree lock []
or: git worktree prune []
or: git worktree unlock
##[error]The process '/usr/bin/git' failed with exit code 129

I think maybe @OverloadedOrama has an idea about working with the github actions config.
Also see if https://github.com/aBARICHELLO/godot-ci/pull/22 has any useful info.

I'm not sure, but it's possible the issue has to do with the fact that you're working in a private repository. #22 uses https://github.com/JamesIves/github-pages-deploy-action, so I suggest to take a look at the README on that repository to see if you need any more steps. You probably have to use a SHH Deploy Key.


Add support for "abs-capture-time" extension.

Currently, it is just passed through from publisher -> subscriber side.
@livekit/sfu-devs : Not going to merge just yet as it is unclear what the support for abs-capture-time is, but have some other minor clean up (mostly moving files and grouping them better). So, want to get 👀 on this. May remove the abs-capture-time bits before merging, but I think the clean up is still useful.

@livekit/sfu-devs Going to merge this. Have the abs-capture-time bits in there, but commenting out registering that extension from media engine. So, it won't be negotiated. We can enable it if/when we need it. Or can delete it if we feel like it will not be used.