WSL stopped working after latest windows update

Version
Microsoft Windows 11 Pro [10.0.22000 Build 22000]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 20.04
Other Software
Docker Desktop Windows version 4.5.1 (74721)
Visual Studio Code 1.65.1 with Remote WSL extension 0.64.2
Repro Steps
After installing latest update, WSL is totally broken.
When opening ubuntu 16.04 that was already installed after restart, It was again getting installed.
Remote wsl is not working in vscode.
Docker desktop is not working.
Expected Behavior
wsl should work.
Remote wsl should work
Docker desktop should work
Actual Behavior
After installing latest update, WSL is totally broken.
When opening ubuntu 16.04 that was already installed after restart, It was again getting installed.
Remote wsl is not working in vscode.
Docker desktop is not working.
Diagnostic Logs
an error occurred mounting one of your file systems. Please run 'dmesg' for more details.
sam@SAM:~$ dmesg
[    0.000000] Linux version <IP_ADDRESS>-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) <IP_ADDRESS>00220) #1 SMP Wed Aug 25 23:20:18 UTC 2021
[    0.000000] Command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000002001fffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] Hypervisor detected: Microsoft Hyper-V
[    0.000000] Hyper-V: privilege flags low 0x2e7f, high 0x3b8030, hints 0xa4e24, misc 0xe0bed7b2
[    0.000000] Hyper-V Host Build:22000-10.0-0-0.527
[    0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[    0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[    0.000000] Hyper-V: Using hypercall for remote TLB flush
[    0.000000] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns:<PHONE_NUMBER>20 ns
[    0.000001] tsc: Detected 2592.007 MHz processor
[    0.000008] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000010] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000012] last_pfn = 0x200200 max_arch_pfn = 0x400000000
[    0.000026] MTRR default type: uncachable
[    0.000027] MTRR fixed ranges enabled:
[    0.000027]   00000-3FFFF write-back
[    0.000028]   40000-7FFFF uncachable
[    0.000028]   80000-8FFFF write-back
[    0.000029]   90000-FFFFF uncachable
[    0.000029] MTRR variable ranges enabled:
[    0.000030]   0 base<PHONE_NUMBER> mask 7F00000000 write-back
[    0.000031]   1 base<PHONE_NUMBER> mask<PHONE_NUMBER> write-back
[    0.000031]   2 disabled
[    0.000032]   3 disabled
[    0.000032]   4 disabled
[    0.000032]   5 disabled
[    0.000033]   6 disabled
[    0.000033]   7 disabled
[    0.000038] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT
[    0.000046] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[    0.000055] Using GB pages for direct mapping
[    0.000369] RAMDISK: [mem 0x03235000-0x03243fff]
[    0.000370] ACPI: Early table checksum verification disabled
[    0.000380] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[    0.000383] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000387] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000391] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01   00000001 MSFT 05000000)
[    0.000393] ACPI: FACS 0x0000000000101114 000040
[    0.000395] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000398] ACPI: SRAT 0x000000000011F33C 000370 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000400] ACPI: APIC 0x000000000011F6AC 0000A8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000402] ACPI: Reserving FACP table memory at [mem 0x101000-0x101113]
[    0.000403] ACPI: Reserving DSDT table memory at [mem 0x1011b8-0x11f33b]
[    0.000404] ACPI: Reserving FACS table memory at [mem 0x101114-0x101153]
[    0.000404] ACPI: Reserving OEM0 table memory at [mem 0x101154-0x1011b7]
[    0.000405] ACPI: Reserving SRAT table memory at [mem 0x11f33c-0x11f6ab]
[    0.000405] ACPI: Reserving APIC table memory at [mem 0x11f6ac-0x11f753]
[    0.000412] ACPI: Local APIC address 0xfee00000
[    0.000622] Zone ranges:
[    0.000623]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000624]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000625]   Normal   [mem 0x0000000100000000-0x00000002001fffff]
[    0.000626]   Device   empty
[    0.000626] Movable zone start for each node
[    0.000627] Early memory node ranges
[    0.000627]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000628]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000629]   node   0: [mem 0x0000000100000000-0x00000002001fffff]
[    0.000630] Initmem setup node 0 [mem 0x0000000000001000-0x00000002001fffff]
[    0.000631] On node 0 totalpages: 2064543
[    0.000631]   DMA zone: 59 pages used for memmap
[    0.000632]   DMA zone: 22 pages reserved
[    0.000633]   DMA zone: 3743 pages, LIFO batch:0
[    0.000633]   DMA32 zone: 16320 pages used for memmap
[    0.000634]   DMA32 zone: 1011712 pages, LIFO batch:63
[    0.000634]   Normal zone: 16392 pages used for memmap
[    0.000635]   Normal zone: 1049088 pages, LIFO batch:63
[    0.000785] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.000814] On node 0, zone DMA: 352 pages in unavailable ranges
[    0.015247] On node 0, zone Normal: 32256 pages in unavailable ranges
[    0.015275] ACPI: Local APIC address 0xfee00000
[    0.015281] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.015456] IOAPIC[0]: apic_id 12, version 17, address 0xfec00000, GSI 0-23
[    0.015458] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.015460] ACPI: IRQ9 used by override.
[    0.015461] Using ACPI (MADT) for SMP configuration information
[    0.015462] smpboot: Allowing 12 CPUs, 0 hotplug CPUs
[    0.015471] [mem 0xf8000000-0xffffffff] available for PCI devices
[    0.015471] Booting paravirtualized kernel on Hyper-V
[    0.015473] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
[    0.020770] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:12 nr_node_ids:1
[    0.021332] percpu: Embedded 52 pages/cpu s173464 r8192 d31336 u262144
[    0.021336] pcpu-alloc: s173464 r8192 d31336 u262144 alloc=1*2097152
[    0.021337] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 -- -- -- --
[    0.021351] Hyper-V: PV spinlocks enabled
[    0.021353] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.021354] Built 1 zonelists, mobility grouping on.  Total pages: 2031750
[    0.021355] Kernel command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0
[    0.022326] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.022771] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.022860] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.041312] Memory: 4092084K/8258172K available (16404K kernel code, 2538K rwdata, 3648K rodata, 1564K init, 2828K bss, 246852K reserved, 0K cma-reserved)
[    0.041344] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1
[    0.041350] ftrace: allocating 51335 entries in 201 pages
[    0.052909] ftrace: allocated 201 pages with 4 groups
[    0.053184] rcu: Hierarchical RCU implementation.
[    0.053185] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=12.
[    0.053186]  Rude variant of Tasks RCU enabled.
[    0.053186]  Tracing variant of Tasks RCU enabled.
[    0.053187] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.053188] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=12
[    0.055902] Using NULL legacy PIC
[    0.055903] NR_IRQS: 16640, nr_irqs: 520, preallocated irqs: 0
[    0.056137] random: crng done (trusting CPU's manufacturer)
[    0.056154] Console: colour dummy device 80x25
[    0.056160] printk: console [tty0] enabled
[    0.056164] ACPI: Core revision 20200925
[    0.056244] Failed to register legacy timer interrupt
[    0.056244] APIC: Switch to symmetric I/O mode setup
[    0.057436] x2apic: IRQ remapping doesn't support X2APIC mode
[    0.058613] Switched APIC routing to physical flat.
[    0.058626] Hyper-V: Using IPI hypercalls
[    0.058654] Calibrating delay loop (skipped), value calculated using timer frequency.. 5184.01 BogoMIPS (lpj=25920070)
[    0.058656] pid_max: default: 32768 minimum: 301
[    0.058666] LSM: Security Framework initializing
[    0.058679] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.058690] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.058840] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[    0.058840] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.058842] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.058843] Spectre V2 : Mitigation: Enhanced IBRS
[    0.058843] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.058844] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.058845] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.058943] Freeing SMP alternatives memory: 52K
[    0.059788] smpboot: CPU0: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (family: 0x6, model: 0xa5, stepping: 0x2)
[    0.059840] Performance Events: unsupported p6 CPU model 165 no PMU driver, software events only.
[    0.059854] rcu: Hierarchical SRCU implementation.
[    0.060129] smp: Bringing up secondary CPUs ...
[    0.060166] x86: Booting SMP configuration:
[    0.060167] .... node  #0, CPUs:        #1  #2  #3  #4  #5  #6  #7  #8  #9 #10 #11
[    0.060377] smp: Brought up 1 node, 12 CPUs
[    0.060377] smpboot: Max logical packages: 1
[    0.060377] smpboot: Total of 12 processors activated (62208.16 BogoMIPS)
[    0.071579] node 0 deferred pages initialised in 10ms
[    0.071910] devtmpfs: initialized
[    0.071910] x86/mm: Memory block size: 128MB
[    0.071910] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
[    0.071910] futex hash table entries: 4096 (order: 6, 262144 bytes, linear)
[    0.071910] NET: Registered protocol family 16
[    0.071910] thermal_sys: Registered thermal governor 'step_wise'
[    0.071910] cpuidle: using governor menu
[    0.071910] ACPI: bus type PCI registered
[    0.071910] PCI: Fatal: No config space access function found
[    0.071910] Kprobes globally optimized
[    0.071910] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.071910] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.078886] raid6: skip pq benchmark and using algorithm avx2x4
[    0.078886] raid6: using avx2x2 recovery algorithm
[    0.078886] ACPI: Added _OSI(Module Device)
[    0.078886] ACPI: Added _OSI(Processor Device)
[    0.078886] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.078886] ACPI: Added _OSI(Processor Aggregator Device)
[    0.078886] ACPI: Added _OSI(Linux-Dell-Video)
[    0.078886] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.078886] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.082312] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.082920] ACPI: Interpreter enabled
[    0.082922] ACPI: (supports S0 S5)
[    0.082923] ACPI: Using IOAPIC for interrupt routing
[    0.082928] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.083029] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.088750] iommu: Default domain type: Translated
[    0.088793] SCSI subsystem initialized
[    0.088795] ACPI: bus type USB registered
[    0.088800] usbcore: registered new interface driver usbfs
[    0.088803] usbcore: registered new interface driver hub
[    0.088808] usbcore: registered new device driver usb
[    0.088831] hv_vmbus: Vmbus version:5.2
[    0.088831] PCI: Using ACPI for IRQ routing
[    0.088831] PCI: System does not support PCI
[    0.088898] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[    0.088851] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[    0.088893] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[    0.088901] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177
[    0.195375] VFS: Disk quotas dquot_6.6.0
[    0.195383] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.195395] FS-Cache: Loaded
[    0.195414] pnp: PnP ACPI init
[    0.195528] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.195556] pnp: PnP ACPI: found 1 devices
[    0.201384] NET: Registered protocol family 2
[    0.201598] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.202285] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.202291] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.202330] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.202587] TCP: Hash tables configured (established 65536 bind 65536)
[    0.202610] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.202626] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.202660] NET: Registered protocol family 1
[    0.203178] RPC: Registered named UNIX socket transport module.
[    0.203179] RPC: Registered udp transport module.
[    0.203179] RPC: Registered tcp transport module.
[    0.203180] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.203182] PCI: CLS 0 bytes, default 64
[    0.203204] Trying to unpack rootfs image as initramfs...
[    0.203347] Freeing initrd memory: 60K
[    0.203349] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.203351] software IO TLB: mapped [mem 0x00000000f4000000-0x00000000f8000000] (64MB)
[    0.203389] KVM: vmx: using Hyper-V Enlightened VMCS
[    0.207413] kvm: already loaded the other module
[    0.212274] Initialise system trusted keyrings
[    0.212480] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    0.213099] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.213333] NFS: Registering the id_resolver key type
[    0.213336] Key type id_resolver registered
[    0.213336] Key type id_legacy registered
[    0.213338] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.213339] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.213339] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.214378] Key type cifs.idmap registered
[    0.214532] fuse: init (API version 7.32)
[    0.214875] SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled
[    0.215416] 9p: Installing v9fs 9p2000 file system support
[    0.215422] FS-Cache: Netfs '9p' registered for caching
[    0.215454] FS-Cache: Netfs 'ceph' registered for caching
[    0.215456] ceph: loaded (mds proto 32)
[    0.221077] NET: Registered protocol family 38
[    0.221078] xor: automatically using best checksumming function   avx
[    0.221079] Key type asymmetric registered
[    0.221080] Asymmetric key parser 'x509' registered
[    0.221085] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.222214] hv_vmbus: registering driver hv_pci
[    0.222723] hv_pci 62c50c66-7cb5-49b9-a0a9-1a6362da2556: PCI VMBus probing: Using version 0x10003
[    0.223528] hv_pci 62c50c66-7cb5-49b9-a0a9-1a6362da2556: PCI host bridge to bus 7cb5:00
[    0.223757] pci 7cb5:00:00.0: [1414:008e] type 00 class 0x030200
[    0.226509] ACPI: AC Adapter [AC1] (off-line)
[    0.226990] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.227159] battery: ACPI: Battery Slot [BAT1] (battery present)
[    0.227586] Non-volatile memory driver v1.3
[    0.230897] brd: module loaded
[    0.231974] loop: module loaded
[    0.232005] hv_vmbus: registering driver hv_storvsc
[    0.232731] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    0.232732] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld<EMAIL_ADDRESS>All Rights Reserved.
[    0.232743] tun: Universal TUN/TAP device driver, 1.6
[    0.232918] PPP generic driver version 2.4.2
[    0.233041] PPP BSD Compression module registered
[    0.233042] PPP Deflate Compression module registered
[    0.233045] PPP MPPE Compression module registered
[    0.233046] NET: Registered protocol family 24
[    0.233057] hv_vmbus: registering driver hv_netvsc
[    0.233273] VFIO - User Level meta-driver version: 0.3
[    0.233478] usbcore: registered new interface driver cdc_acm
[    0.233478] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.233485] usbcore: registered new interface driver ftdi_sio
[    0.233502] usbserial: USB Serial support registered for FTDI USB Serial Device
[    0.233773] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[    0.233775] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 1
[    0.233780] vhci_hcd: created sysfs vhci_hcd.0
[    0.233813] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    0.233814] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.233815] usb usb1: Product: USB/IP Virtual Host Controller
[    0.233816] usb usb1: Manufacturer: Linux <IP_ADDRESS>-microsoft-standard-WSL2 vhci_hcd
[    0.233816] usb usb1: SerialNumber: vhci_hcd.0
[    0.234000] hub 1-0:1.0: USB hub found
[    0.234003] hub 1-0:1.0: 8 ports detected
[    0.234066] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[    0.234067] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 2
[    0.234101] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.234111] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    0.234112] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.234113] usb usb2: Product: USB/IP Virtual Host Controller
[    0.234114] usb usb2: Manufacturer: Linux <IP_ADDRESS>-microsoft-standard-WSL2 vhci_hcd
[    0.234114] usb usb2: SerialNumber: vhci_hcd.0
[    0.234311] hub 2-0:1.0: USB hub found
[    0.234314] hub 2-0:1.0: 8 ports detected
[    0.234396] hv_vmbus: registering driver hyperv_keyboard
[    0.234458] scsi host0: storvsc_host_t
[    0.234610] rtc_cmos 00:00: RTC can wake from S4
[    0.235536] rtc_cmos 00:00: registered as rtc0
[    0.235949] rtc_cmos 00:00: setting system clock to 2022-03-10T03:25:50 UTC<PHONE_NUMBER>)
[    0.235957] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[    0.236542] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised<EMAIL_ADDRESS>[    0.236789] device-mapper: raid: Loading target version 1.15.1
[    0.236838] usbcore: registered new interface driver usbhid
[    0.236910] usbhid: USB HID core driver
[    0.237101] hv_utils: Registering HyperV Utility Driver
[    0.237102] hv_vmbus: registering driver hv_utils
[    0.237185] hv_utils: cannot register PTP clock: 0
[    0.237239] hv_vmbus: registering driver hv_balloon
[    0.237302] hv_vmbus: registering driver dxgkrnl
[    0.237308] (NULL device *): dxgk: dxg_drv_init  Version: 2108
[    0.237820] hv_utils: TimeSync IC version 4.0
[    0.237872] hv_balloon: Using Dynamic Memory protocol version 2.0
[    0.237951] drop_monitor: Initializing network drop monitor service
[    0.237973] Mirror/redirect action on
[    0.238499] Free page reporting enabled
[    0.238500] hv_balloon: Cold memory discard hint enabled
[    0.238553] IPVS: Registered protocols (TCP, UDP)
[    0.238566] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    0.238597] IPVS: ipvs loaded.
[    0.238599] IPVS: [rr] scheduler registered.
[    0.238599] IPVS: [wrr] scheduler registered.
[    0.238600] IPVS: [sh] scheduler registered.
[    0.238636] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    0.238851] (NULL device *): dxgk: mmio allocated 9ffe00000  200000000 9ffe00000 bffdfffff
[    0.240625] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    0.241329] Initializing XFRM netlink socket
[    0.241390] NET: Registered protocol family 10
[    0.241715] Segment Routing with IPv6
[    0.243750] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.243858] NET: Registered protocol family 17
[    0.243871] Bridge firewalling registered
[    0.243877] 8021q: 802.1Q VLAN Support v1.8
[    0.243891] sctp: Hash tables configured (bind 256/256)
[    0.243926] 9pnet: Installing 9P2000 support
[    0.243936] Key type dns_resolver registered
[    0.243939] Key type ceph registered
[    0.244041] libceph: loaded (mon/osd proto 15/24)
[    0.244131] NET: Registered protocol family 40
[    0.244132] hv_vmbus: registering driver hv_sock
[    0.244156] IPI shorthand broadcast: enabled
[    0.244218] registered taskstats version 1
[    0.244224] Loading compiled-in X.509 certificates
[    0.244387] Btrfs loaded, crc32c=crc32c-generic
[    0.244533] Unstable clock detected, switching default tracing clock to "global"
If you want to keep using the local clock, then add:
"trace_clock=local"
on the kernel command line
[    0.245528] Freeing unused kernel image (initmem) memory: 1564K
[    0.328814] Write protecting the kernel read-only data: 22528k
[    0.329679] Freeing unused kernel image (text/rodata gap) memory: 2024K
[    0.330009] Freeing unused kernel image (rodata/data gap) memory: 448K
[    0.330012] Run /init as init process
[    0.330012]   with arguments:
[    0.330012]     /init
[    0.330013]   with environment:
[    0.330013]     HOME=/
[    0.330014]     TERM=linux
[    0.965258] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[    0.965538] hv_pci bec831d0-9f1b-43f9-ac98-a33bc00609b0: PCI VMBus probing: Using version 0x10003
[    0.966772] hv_pci bec831d0-9f1b-43f9-ac98-a33bc00609b0: PCI host bridge to bus 9f1b:00
[    0.967124] pci 9f1b:00:00.0: [1414:008e] type 00 class 0x030200
[    1.229966] scsi 0:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    1.230600] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.232136] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    1.232137] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.232470] sd 0:0:0:0: [sda] Write Protect is off
[    1.232492] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[    1.233153] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.238754] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    1.258483] hv_pci d24b4029-b5d4-406b-bf08-1f2413f6c949: PCI VMBus probing: Using version 0x10003
[    1.260098] hv_pci d24b4029-b5d4-406b-bf08-1f2413f6c949: PCI host bridge to bus b5d4:00
[    1.260100] pci_bus b5d4:00: root bus resource [mem 0xc00000000-0xe00001fff window]
[    1.260846] pci b5d4:00:00.0: [1af4:105a] type 00 class 0x088000
[    1.262372] pci b5d4:00:00.0: reg 0x10: [mem 0xe00000000-0xe00000fff 64bit]
[    1.263711] pci b5d4:00:00.0: reg 0x18: [mem 0xe00001000-0xe00001fff 64bit]
[    1.265046] pci b5d4:00:00.0: reg 0x20: [mem 0xc00000000-0xdffffffff 64bit]
[    1.268296] pci b5d4:00:00.0: BAR 4: assigned [mem 0xc00000000-0xdffffffff 64bit]
[    1.270072] pci b5d4:00:00.0: BAR 0: assigned [mem 0xe00000000-0xe00000fff 64bit]
[    1.271484] pci b5d4:00:00.0: BAR 2: assigned [mem 0xe00001000-0xe00001fff 64bit]
[    1.284492] virtiofs virtio0: Cache len: 0x200000000 @ 0xc00000000
[    1.352827] memmap_init_zone_device initialised 2097152 pages in 20ms
[    1.679740] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.725047] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[    2.528878] Adding 2097152k swap on /swap/file.  Priority:-2 extents:3 across:2113536k
[    3.199651] scsi 0:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    3.201770] sd 0:0:0:1: Attached scsi generic sg1 type 0
[    3.202652] scsi 0:0:0:2: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    3.204592] sd 0:0:0:2: Attached scsi generic sg2 type 0
[    3.205098] sd 0:0:0:1: [sdb] 695784 512-byte logical blocks: (356 MB/340 MiB)
[    3.205540] sd 0:0:0:1: [sdb] Write Protect is on
[    3.205546] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 80 00
[    3.206068] sd 0:0:0:1: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.208296] sd 0:0:0:2: [sdc] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    3.208302] sd 0:0:0:2: [sdc] 4096-byte physical blocks
[    3.208707] sd 0:0:0:2: [sdc] Write Protect is off
[    3.208714] sd 0:0:0:2: [sdc] Mode Sense: 0f 00 00 00
[    3.209873] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.216413] EXT4-fs (sdb): mounted filesystem without journal. Opts: (null)
[    3.217588] sd 0:0:0:1: [sdb] Attached SCSI disk
[    3.221949] sd 0:0:0:2: [sdc] Attached SCSI disk
[    3.238410] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    9.482149] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    9.512763] hv_pci e1eb67e2-abc0-4399-9b9e-b4e92f2b7dee: PCI VMBus probing: Using version 0x10003
[    9.558873] hv_pci e1eb67e2-abc0-4399-9b9e-b4e92f2b7dee: PCI host bridge to bus abc0:00
[    9.558874] pci_bus abc0:00: root bus resource [mem 0xbffe00000-0xbffe02fff window]
[    9.559526] pci abc0:00:00.0: [1af4:1049] type 00 class 0x010000
[    9.560259] pci abc0:00:00.0: reg 0x10: [mem 0xbffe00000-0xbffe00fff 64bit]
[    9.560680] pci abc0:00:00.0: reg 0x18: [mem 0xbffe01000-0xbffe01fff 64bit]
[    9.561103] pci abc0:00:00.0: reg 0x20: [mem 0xbffe02000-0xbffe02fff 64bit]
[    9.563554] pci abc0:00:00.0: BAR 0: assigned [mem 0xbffe00000-0xbffe00fff 64bit]
[    9.563847] pci abc0:00:00.0: BAR 2: assigned [mem 0xbffe01000-0xbffe01fff 64bit]
[    9.564137] pci abc0:00:00.0: BAR 4: assigned [mem 0xbffe02000-0xbffe02fff 64bit]
[    9.581193] FS-Cache: Duplicate cookie detected
[    9.581194] FS-Cache: O-cookie c=0000000067d6054c [p=00000000b445dce8 fl=222 nc=0 na=1]
[    9.581195] FS-Cache: O-cookie d=000000006d4dab79 n=00000000f44a482a
[    9.581195] FS-Cache: O-key=[10] '34323934393338323439'
[    9.581199] FS-Cache: N-cookie c=000000002ffa15a6 [p=00000000b445dce8 fl=2 nc=0 na=1]
[    9.581200] FS-Cache: N-cookie d=000000006d4dab79 n=0000000066bbb32c
[    9.581200] FS-Cache: N-key=[10] '34323934393338323439'
[    9.851274] 9pnet_virtio: no channels available for device drvfs
[    9.851278] WARNING: mount: waiting for virtio device...
[    9.951520] 9pnet_virtio: no channels available for device drvfs
[   10.052061] 9pnet_virtio: no channels available for device drvfs
[   10.152612] 9pnet_virtio: no channels available for device drvfs
[   10.252929] 9pnet_virtio: no channels available for device drvfs
[   10.353484] 9pnet_virtio: no channels available for device drvfs
[   10.454043] 9pnet_virtio: no channels available for device drvfs
[   10.554546] 9pnet_virtio: no channels available for device drvfs
[   10.655119] 9pnet_virtio: no channels available for device drvfs
[   10.755676] 9pnet_virtio: no channels available for device drvfs
[   10.856135] 9pnet_virtio: no channels available for device drvfs
[   10.956322] 9pnet_virtio: no channels available for device drvfs
[   11.056599] 9pnet_virtio: no channels available for device drvfs
[   11.157140] 9pnet_virtio: no channels available for device drvfs
[   11.257602] 9pnet_virtio: no channels available for device drvfs
[   11.357973] 9pnet_virtio: no channels available for device drvfs
[   11.458156] 9pnet_virtio: no channels available for device drvfs
[   11.558356] 9pnet_virtio: no channels available for device drvfs
[   11.658701] 9pnet_virtio: no channels available for device drvfs
[   11.759131] 9pnet_virtio: no channels available for device drvfs
[   11.759142] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/c (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=C:;uid=0;gid=0;symlinkroot=/mnt/
[   11.759143] ) failed: 2
[   11.772305] FS-Cache: Duplicate cookie detected
[   11.772307] FS-Cache: O-cookie c=00000000a072c3a7 [p=00000000b445dce8 fl=222 nc=0 na=1]
[   11.772308] FS-Cache: O-cookie d=000000006d4dab79 n=0000000092e119d2
[   11.772309] FS-Cache: O-key=[10] '34323934393338343638'
[   11.772313] FS-Cache: N-cookie c=00000000e4b3f0d0 [p=00000000b445dce8 fl=2 nc=0 na=1]
[   11.772314] FS-Cache: N-cookie d=000000006d4dab79 n=0000000046cc9116
[   11.772314] FS-Cache: N-key=[10] '34323934393338343638'
[   12.126399] 9pnet_virtio: no channels available for device drvfs
[   12.126404] WARNING: mount: waiting for virtio device...
[   12.226547] 9pnet_virtio: no channels available for device drvfs
[   12.326699] 9pnet_virtio: no channels available for device drvfs
[   12.426893] 9pnet_virtio: no channels available for device drvfs
[   12.527061] 9pnet_virtio: no channels available for device drvfs
[   12.627186] 9pnet_virtio: no channels available for device drvfs
[   12.727272] 9pnet_virtio: no channels available for device drvfs
[   12.827434] 9pnet_virtio: no channels available for device drvfs
[   12.927560] 9pnet_virtio: no channels available for device drvfs
[   13.027714] 9pnet_virtio: no channels available for device drvfs
[   13.127845] 9pnet_virtio: no channels available for device drvfs
[   13.227966] 9pnet_virtio: no channels available for device drvfs
[   13.328052] 9pnet_virtio: no channels available for device drvfs
[   13.428197] 9pnet_virtio: no channels available for device drvfs
[   13.528335] 9pnet_virtio: no channels available for device drvfs
[   13.628475] 9pnet_virtio: no channels available for device drvfs
[   13.728569] 9pnet_virtio: no channels available for device drvfs
[   13.828754] 9pnet_virtio: no channels available for device drvfs
[   13.928842] 9pnet_virtio: no channels available for device drvfs
[   14.028933] 9pnet_virtio: no channels available for device drvfs
[   14.028941] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/c (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=C:;uid=0;gid=0;symlinkroot=/mnt/
[   14.028942] ) failed: 2
[   14.050419] init: (9) ERROR: CreateProcessParseCommon:818: Failed to translate C:\WINDOWS\system32
[   14.050517] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\WINDOWS\system32
[   14.050589] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\WINDOWS
[   14.050693] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\WINDOWS\System32\Wbem
[   14.050736] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0\
[   14.050801] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\WINDOWS\System32\OpenSSH\
.................................. Lots of UtilTranslatePathList Errors

[  124.339936] scsi 0:0:0:3: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[  124.340252] sd 0:0:0:3: Attached scsi generic sg3 type 0
[  124.340745] sd 0:0:0:3: [sdd] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[  124.340747] sd 0:0:0:3: [sdd] 4096-byte physical blocks
[  124.340820] sd 0:0:0:3: [sdd] Write Protect is off
[  124.340823] sd 0:0:0:3: [sdd] Mode Sense: 0f 00 00 00
[  124.341015] sd 0:0:0:3: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  124.344231] sd 0:0:0:3: [sdd] Attached SCSI disk
[  124.356464] EXT4-fs (sdd): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[  124.365238] FS-Cache: Duplicate cookie detected
[  124.365241] FS-Cache: O-cookie c=00000000e4b3f0d0 [p=00000000b445dce8 fl=222 nc=0 na=1]
[  124.365241] FS-Cache: O-cookie d=000000006d4dab79 n=00000000e094abe1
[  124.365242] FS-Cache: O-key=[10] '34323934393439373237'
[  124.365247] FS-Cache: N-cookie c=0000000054c8f448 [p=00000000b445dce8 fl=2 nc=0 na=1]
[  124.365247] FS-Cache: N-cookie d=000000006d4dab79 n=00000000480e4d1e
[  124.365248] FS-Cache: N-key=[10] '34323934393439373237'
[  124.504742] 9pnet_virtio: no channels available for device drvfs
[  124.504746] WARNING: mount: waiting for virtio device...
[  124.604845] 9pnet_virtio: no channels available for device drvfs
[  124.705064] 9pnet_virtio: no channels available for device drvfs
[  124.805279] 9pnet_virtio: no channels available for device drvfs
[  124.905530] 9pnet_virtio: no channels available for device drvfs
[  125.005697] 9pnet_virtio: no channels available for device drvfs
[  125.105904] 9pnet_virtio: no channels available for device drvfs
[  125.206038] 9pnet_virtio: no channels available for device drvfs
[  125.306185] 9pnet_virtio: no channels available for device drvfs
[  125.406315] 9pnet_virtio: no channels available for device drvfs
[  125.506414] 9pnet_virtio: no channels available for device drvfs
[  125.606551] 9pnet_virtio: no channels available for device drvfs
[  125.706673] 9pnet_virtio: no channels available for device drvfs
[  125.806812] 9pnet_virtio: no channels available for device drvfs
[  125.906948] 9pnet_virtio: no channels available for device drvfs
[  126.007054] 9pnet_virtio: no channels available for device drvfs
[  126.107192] 9pnet_virtio: no channels available for device drvfs
[  126.207290] 9pnet_virtio: no channels available for device drvfs
[  126.307427] 9pnet_virtio: no channels available for device drvfs
[  126.407558] 9pnet_virtio: no channels available for device drvfs
[  126.407566] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/c (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=C:;uid=0;gid=0;symlinkroot=/mnt/
[  126.407567] ) failed: 2
[  126.424278] FS-Cache: Duplicate cookie detected
[  126.424280] FS-Cache: O-cookie c=000000008b13f0e0 [p=00000000b445dce8 fl=222 nc=0 na=1]
[  126.424281] FS-Cache: O-cookie d=000000006d4dab79 n=000000003cad55af
[  126.424282] FS-Cache: O-key=[10] '34323934393439393333'
[  126.424286] FS-Cache: N-cookie c=00000000f0fac731 [p=00000000b445dce8 fl=2 nc=0 na=1]
[  126.424287] FS-Cache: N-cookie d=000000006d4dab79 n=000000009f966c39
[  126.424287] FS-Cache: N-key=[10] '34323934393439393333'
[  126.959912] 9pnet_virtio: no channels available for device drvfs
[  126.959916] WARNING: mount: waiting for virtio device...
[  127.060059] 9pnet_virtio: no channels available for device drvfs
[  127.160198] 9pnet_virtio: no channels available for device drvfs
[  127.260334] 9pnet_virtio: no channels available for device drvfs
[  127.360490] 9pnet_virtio: no channels available for device drvfs
[  127.460604] 9pnet_virtio: no channels available for device drvfs
[  127.560818] 9pnet_virtio: no channels available for device drvfs
[  127.660940] 9pnet_virtio: no channels available for device drvfs
[  127.761045] 9pnet_virtio: no channels available for device drvfs
[  127.861167] 9pnet_virtio: no channels available for device drvfs
[  127.961299] 9pnet_virtio: no channels available for device drvfs
[  128.061489] 9pnet_virtio: no channels available for device drvfs
[  128.161626] 9pnet_virtio: no channels available for device drvfs
[  128.261749] 9pnet_virtio: no channels available for device drvfs
[  128.361896] 9pnet_virtio: no channels available for device drvfs
[  128.462046] 9pnet_virtio: no channels available for device drvfs
[  128.562218] 9pnet_virtio: no channels available for device drvfs
[  128.662347] 9pnet_virtio: no channels available for device drvfs
[  128.762477] 9pnet_virtio: no channels available for device drvfs
[  128.862666] 9pnet_virtio: no channels available for device drvfs
[  128.862674] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/c (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=C:;uid=1000;gid=1000;symlinkroot=/mnt/
[  128.862675] ) failed: 2
[  128.893283] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\WINDOWS\system32
[  128.893343] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\WINDOWS
[  128.893410] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\WINDOWS\System32\Wbem
[  128.893477] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0\
[  128.893543] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\WINDOWS\System32\OpenSSH\
[  128.893589] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files\dotnet\
[  128.893634] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
[  128.893680] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
[  128.893741] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files\Git\cmd
[  128.893807] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\ProgramData\chocolatey\bin
[  128.893877] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files\Microsoft VS Code\bin
This is Remote WSL logs
[2022-03-10 03:27:21.021] Resolving wsl+ubuntu-20.04, resolveAttempt: 1
[2022-03-10 03:27:21.108] Starting VS Code Server inside WSL (wsl2)
[2022-03-10 03:27:21.108] Extension version: 0.64.2
[2022-03-10 03:27:21.108] Windows build: 22000. Multi distro support: available. WSL path support: enabled
[2022-03-10 03:27:21.108] No shell environment set or found for current distro.
[2022-03-10 03:27:21.213] WSL daemon log file:
[2022-03-10 03:27:21.214] Probing if server is already installed: C:\WINDOWS\System32\wsl.exe -d Ubuntu-20.04 -e sh -c "[ -d ~/.vscode-server/bin/8908a9ca0f221f36507231afb39d2d8d1e182702 ] && printf found || ([ -f /etc/alpine-release ] && printf alpine-; uname -m)"
[2022-03-10 03:27:21.304] Probing result: x86_64
[2022-03-10 03:27:21.304] No server install found in WSL, needs linux-x64
[2022-03-10 03:27:21.305] Launching C:\WINDOWS\System32\wsl.exe -d Ubuntu-20.04 sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 8908a9ca0f221f36507231afb39d2d8d1e182702 stable code-server .vscode-server --host=<IP_ADDRESS> --port=0 --connection-token=3434306862-2525811537 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms'
[2022-03-10 03:27:21.396] sh: 1: /scripts/wslServer.sh: not found
[2022-03-10 03:27:21.396] VS Code Server for WSL closed unexpectedly.
[2022-03-10 03:27:21.396] For help with startup problems, go to
[2022-03-10 03:27:21.396] https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
[2022-03-10 03:27:21.406] WSL Daemon exited with code 0

/logs


feat: create files with options take the content

Types

[ ] 🎉 New Features

Changelog

放开功能，创建文件时，可以携带可选的内容

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: samy:x: samyzhsamy seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Allow to set LM and RM per module on constructors and forward func

This PR allows to set LM and RM per module on their constructors or dynamically when calling them.
Note that I removed the query_only=True parameter on the existent with dsp.settings.context in the predictor forward because I checked and that parameter is only used on dsp.TemplateV2 but dspy is using dsp.TemplateV3.

Thank you so much @Neoxelox !
btw @KarelDO is this what you have in mind too?

Pinging @KarelDO also to check if this is how he'd do it

I'm closing this PR because I have seen that a lot of places (outside of the predictor) the code is relying on the global set dsp.settings.lm, ex.: ChainOfThought / ChainOfThoughtWithHint / compile() /  majority_vote() / bootstrap /  the history itself...
So I'm not feeling confident enough to make that change myself and risking library stability. I will wait until the big refactor is done, maybe you even add this feature yourselves.


Bad import of the VQE class when importing from algorithms

Environment

Qiskit Terra version:
Python version:
Operating system:

What is happening?
If you import VQE from qiskit.algorithms, it returns the deprecated version, found in minimum_eigen_solvers
How can we reproduce the issue?
from qiskit.algorithms import VQE
What should happen?
The import should get the VQE class found in minimum_eigensolvers, not minimum_eigen_solvers
Any suggestions?
No response

This is as intended since if the import was switched it would break a lot of existing code that used the older VQE that is based on using Quantum Instance. Also at the moment that VQE is pending deprecated, not yet deprecated, which should happen in this upcoming release. There is a migration guide, in progress, that covers this #9557 To use the new VQE, based on the new Estimator primitives, it has to be imported explicitly from the new location. At some future point we can consider having the import from qiskit.algorithms point to the new VQE, but its way to soon to do that.

Hi! Maybe it would be useful to have a warning when importing from minimum_eigen_solvers stating that it is deprecated and that the VQE from minimum_eigensolvers should be used instead?


quality bars

What's are "quality bars"?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2056993d-a700-fba6-8982-e645b182eeea
Version Independent ID: fb38a86a-cdf6-6fc2-8eb6-fd54f1599f55
Content: Deploy updates using Windows Update for Business (Windows 10)
Content Source: windows/deployment/update/waas-manage-updates-wufb.md
Product: w10
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

@jaimeo, can you take a look at this one?

For the order of "methods" to ascribe updates..
Shouldn't it be, Intune first, SCCM second, GPO last?
I mean Satya said Cloud first, right?  I think to align with that value, the article should be changed.   Logically it also does not make sense to put Intune last, because the future of Microsoft is Service based updates, and that's not done by GPO, or SCCM, unless MDM connected to Intune, which still makes SCCM second, because it does connect to Intune for the Win10 MDM device updates.

@officedocsbot assign @mypil

Dear @mypil , this issue was fixed in PR https://github.com/MicrosoftDocs/windows-itpro-docs/pull/1329
please check.

@alphanimal - Thank you for submitting this feedback.
From our understanding, the issue has been resolved. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


BROKER_URL update

@nathanathan I followed your suggestions and refactored the env vars to the compose file. Please take another look at this PR when you have the time.

👍 The changes here look good. I think the Dockerfile needs to be updated so the default value environment variables written to source-vars.sh don't override the docker environment variables. I did that for BROKER_URL but it looks like my changes were reverted for some reason.

@nathanathan Applied your suggestions to the dockerfile here:
https://github.com/ecohealthalliance/infrastructure/pull/48


Add an option to include profile in JWT

for better interoperability.

Thank you @arsdragonfly! Your contribution is available on<EMAIL_ADDRESS>


feat: Windows guard

do these PRs depend on other PRs? they seem to share lots of commits?

Yes, they are sequential. We should do then one by one.

Merge #65 before this.

I have rebased the branch, ready for merge.


Create Kodiak config.yaml

Create Kodiak auto-ticketing config for MWPW-143712 and MWPW-143708

Resolves:

MWPW-143712
MWPW-143708

Test URLs:

Before: https://main--cc--adobecom.hlx.page/?martech=off
After: https://thedoc31-patch-1--cc--adobecom.hlx.page/?martech=off

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.68%. Comparing base (4ce8ddc) to head (3342a89).

Additional details and impacted files
@@           Coverage Diff           @@
##            stage     #244   +/-   ##
=======================================
  Coverage   87.68%   87.68%
=======================================
  Files           9        9
  Lines         934      934
=======================================
  Hits          819      819
  Misses        115      115

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Show/link to proper PR on kanban board ref (#15004)

Backport #15004
the issue was that PR references in kanban boards were being generated
using .ID instead of .Index, which led to constructing incorrect
links to possibly non-existent {PR,issue}s and following that to showing
nonsensical values in the boards.
kudos also go to @zeripath for pointing at the file to fix.
Signed-off-by: wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf<EMAIL_ADDRESS>Co-authored-by: zeripath<EMAIL_ADDRESS>

Going to close this per discussion in Discord. This diff points out that a bug never existed in 1.13 (because this template change itself doesn't exist in 1.13)

Appears that this feature wasn't present in 1.13 after all. Therefore this backport is not necessary. Sorry @wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf !

was fun, though 🚀 😆
thanks for help @zeripath @jolheiser


Ability for a non-repeatable input to loose focus after a single value is selected and field is blurred

This got refactored out of the InputLookupQA component but is needed in order for the input to loose focus after a value is selected:
https://github.com/LD4P/sinopia_editor/pull/1738/files#diff-93b04186261f1a6fa9e8f243d588ef94L107
The problem with this original approach is that react complains about calling a function from within a render. Find a different way to make the input blur after a single selection is made.
This needs to be fixed in both InputLookup and InputListLOC.
Note: leave the multiple prop as true because this is required for proper tokenization using the typeahead component.

In the original PR for this functionality I could not find a good way to test whether the input was blurred, only that it was disabled. This deficiency should probably be addressed this time around. Maybe there is a better way to test it using Puppeteer.

Original PR: https://github.com/LD4P/sinopia_editor/pull/1647

Currently the input looks like this:

After a solution is implemented, the input field should no longer have the blue highlighting.

Why would we want it to loose focus? Won't this be a problem for accessability as you would have lost any visual cue as to where in the page you will navigate to next?

Even if you actually change focus away from that field, it still visually looks like it has focus.

I see, this is only for the lookup components.  I was looking at a literal component.

Moving back to the backlog:
Currently we can make the input blur and disabled on a single selection change, but we cannot easily make a single selection and retain the input focus until a key action or click is made. Either the input always keeps focus or always is blurred.
Note: this is a visual function, not necessarily an accessibility function. Accessibility will depend on the particular tool that is used to make the components and inputs accessible. For example, the Mac screen reader still is able to call out the currently selected elements as they are navigated, regardless of the visual highlighting cue of focus/blur, but it has other problems. Suggestion: need a more comprehensive review of accessibility for all components.

is this still an issue?

@jgreben can we close this?

Yes. When and if it comes up again as an accessibility issue we can create a new ticket for that.


Filtering out sub sub results

I am trying to get results for "name" as highlighted below, but it's pulling back all results for subcategories with the word name, I only want that specific one... is that possible?
{
    "objects": [
        {
            "source_created": null,
            "circles": [
                {
                    "id": xx,
                    "name": "NOT ME"
                }
            ],
            "feed_id": xx,
            "workgroups": [],
            "aliases": [
                {
                    "name": "xx"
                }
            ],
            "is_email": null,
            "published_ts": "xx",
            "id": xx,
            "source_modified": null,
            "type": [],
            "start_date": null,
            "status": null,
            "publication_status": "xx",
            "end_date": null,
            "tags": [
                {
                    "id": "1",
                    "name": "NOT ME"
                },
                {
                    "id": "2",
                    "name": "NOT ME"
                },
                {
                    "id": "3",
                    "name": "NOT ME"
                },
                {
                    "id": "4",
                    "name": "NOT ME"
                },
                {
                    "id": "5",
                    "name": "NOT ME"
                },
                {
                    "id": "6",
                    "name": "NOT ME"
                },
                {
                    "id": "7",
                    "name": "NOT ME"
                },
                {
                    "id": "8",
                    "name": "NOT ME"
                }
            ],
            "tlp": "amber",
            "name": "THIS IS THE ONLY ONE I AM AFTER",
            "model_type": "xx",

Try this:
=IMPORTJSONAPI(URL, "$.objects[*]", "name")

aha! that worked thanks.


Add cc-by-nc-2.0 to list of licenses

This PR adds the cc-by-nc-2.0 to the list of licenses because it is required by scifact dataset: https://github.com/allenai/scifact/blob/master/LICENSE.md

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

this list needs to be kept in sync with the ones in moon-landing and hub-docs :)

@julien-c don't you think it might be better to a have a single file (source of truth) in one of the repos and then use it in every other repo, instead of having 3 copies of the same file that must be kept in sync?
Also note that the licenses we are adding were all already present in our previous license.json file: are we regenerating it, step by step? Why don't we use a file with ALL the licenses we previously had in the list?
Licenses added:

#4887
#4930

Previous license.json file:

https://github.com/huggingface/datasets/blob/b7612754928e0fd43b9e3c3becb906ec280ff5d4/src/datasets/utils/resources/licenses.json

Let me know what you think and I can take care of this.

Let me know what you think and I can take care of this.

What I think is that we shouldn't add licenses that are just used in a couple of datasets, and just use license_details for this.

don't you think it might be better to a have a single file (source of truth) in one of the repos and then use it in every other repo, instead of having 3 copies of the same file that must be kept in sync?

Yes, in my opinion we can just delete this file from datasets, the validation is happening hub-side anyways now?

Feel free to delete the license list in datasets @albertvillanova ;)
Also FYI in #4926 I also removed all the validation steps anyway (language, license, types etc.)


Where has install gone?

When I looked the dockerfile of mssql, I could not find install script in this repository.
https://github.com/Microsoft/mssql-docker/blob/1efc4cf9b78fa5fccea682f26067189660af85c8/linux/mssql-server-linux/Dockerfile#L12
Where has the file gone?

./install is a directory on our build drop server not a file.  This line in the Dockerfile is used to copy all the contents of the ./install directory on the build drop server into the root of the container.

I couldnt find ‘install’ directory in this repository. can i build sql server with the  Dockerfile? or is there any doc for it?

Yes, you can build it by following an example more like this:
https://github.com/Microsoft/mssql-docker/blob/master/linux/preview/examples/mssql-agent-fts-ha-tools/Dockerfile


Automatically turn off after x minutes

does this work differently from how the ds3 did?
DS3 would completely turn off and i would have to press the home button and wait for it to come back on.
But on DS4 it seems to be in like a sleep mode instead of being turned off where touching the controller wakes it up.

i just checked to be sure... and confirmed to myself that yes it's like the first one you described, have to reconnect by pressing home button... pressing any other button does not wake it up... i have to reconnect again when it times out.
one related problem i have though is that if my DS4 times out when playing gta V online, i am able to reconnect but then only the touchpad mouse works, no other buttons work and the only fix is to restart the game

guess mines not working right.
the lightbar will turn off, but pressing anything on the controller will turn it back on.

also seems to be hit or miss whether it works at all.
i haven't been using the controller for over an hour now and it still never went off.


Implement range command and enhancements

Details on additions and enhancements

[X] Implement display of day of week (improved implementation based on the comments from @ErvinK123 in #109)
[X] Implement range command (variation one)
[X] Add tests for classes relevant to range command (variation one)
[X] Implement range command (variation two)
[X] Add tests for classes relevant to range command (variation two)
[X] Improve tests for Date
[X] Enhance date validation to accept a wider range of input formats
[X] Add tests for the relevant classes created for date validation
[X] Update ExerciseList.java to sort by Name.fullName as a second field (in addition to the existing Date.date)
[X] Enhance exception handling for range command
[X] Update error messages for range command

Additional Notes

range command (variation one) has the format

:range d/START_DATE e/END_DATE

range command (variation two) has the format

:range last/DAYS

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4d55d64). Click here to learn what that means.
Patch coverage: 64.88% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #119   +/-   ##
=========================================
  Coverage          ?   66.75%
  Complexity        ?      451
=========================================
  Files             ?       80
  Lines             ?     1540
  Branches          ?      153
=========================================
  Hits              ?     1028
  Misses            ?      461
  Partials          ?       51

Impacted Files
Coverage Δ

src/main/java/gim/commons/core/Messages.java
0.00% <ø> (ø)

...c/main/java/gim/logic/parser/AddCommandParser.java
86.66% <ø> (ø)

...n/java/gim/logic/parser/ExerciseTrackerParser.java
80.00% <0.00%> (ø)

src/main/java/gim/storage/JsonAdaptedExercise.java
90.00% <0.00%> (ø)

src/main/java/gim/ui/ExerciseCard.java
0.00% <0.00%> (ø)

src/main/java/gim/logic/commands/RangeCommand.java
25.00% <25.00%> (ø)

src/main/java/gim/logic/parser/ParserUtil.java
76.92% <33.33%> (ø)

...main/java/gim/logic/parser/RangeCommandParser.java
47.82% <47.82%> (ø)

...a/gim/model/exercise/DateWithinRangePredicate.java
66.66% <66.66%> (ø)

src/main/java/gim/model/date/Date.java
73.33% <70.00%> (ø)

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix InputLookQA for new QA result format.

closes #1965

@justinlittman does this mean we  have to synchronize our deploys with when QA is deployed to stage & prod?

Yes, we currently do that.


Two times the same gradient

CochitiLake and CleanMirror are both the same gradients. issued by Gradients 👻 by @flocked

The same with 106 Party Bliss and 109 River City where the CSS in both cases is
background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%);


DCE removes OrderedMap fields

Due to unsafe casts in Schema compiler does remove fields it can not deduce as used if instructed to use DCE with dce=full. Simple solution would be to add @:keep meta to all classes that are used internally and have unsafe casting. Complex and more adequate solution would be to use haxe's type system and avoid cast and Dynamic as much as possible.

I think we can close this one, as PR is merged.


Thanos Receiver: Error logs "try lock file: open <>.tmp-for-creation/index_tmp_po: no such file or directory"

Thanos, Prometheus and Golang version used:
Thanos 0.35.1

Object Storage Provider:
IBM S3
What happened:
I am facing errors in the Thanos receiver when I am using S3 Storage for mounting PV/PVC for Thanos Receiver TSDB directory. But I do not see this error If I use the local node storage. In my setup I am using same S3 Storage across all the Pods like Compactor, Receiver, Storagegateway etc. but each service has their own Folder inside the S3 mounted storage.
In addition to this error, Thanos is not able to upload the metrics to the S3 storage for long term support.
ts=2024-09-12T01:43:13.164952074Z caller=db.go:1014 level=error component=receive component=multi-tsdb tenant=default-tenant msg="compaction failed" err="try lock file: open /data/receiver-0/default-tenant/01J7HYBVS79NPA7JJ6292NXCEJ.tmp-for-creation/index_tmp_po: no such file or directory"
ts=2024-09-12T01:44:23.166065172Z caller=db.go:1014 level=error component=receive component=multi-tsdb tenant=default-tenant msg="compaction failed" err="try lock file: open /data/receiver-0/default-tenant/01J7HYE0KDYBKFX92ZACZ2FZ01.tmp-for-creation/index_tmp_po: no such file or directory"

Similar error also logged in the Storage gateway:
  ts=2024-09-12T01:37:49.186686337Z caller=binary_reader.go:569 level=debug msg="failed to read index-header from disk; recreating" path=/data/storegw/01J7HXTB9PM6MJPYHCJ4AC3DY1/index-header err="try lock file: open /data/storegw/01J7HXTB9PM6MJPYHCJ4AC3DY1/index-header: no such file or directory"

What you expected to happen:
No errors in receiver and metrics are uploaded to S3
How to reproduce it (as minimally and precisely as possible):
Attach/Mount S3 storage to IKS POD for Thanos Receiver's TSDB
Full logs to relevant components:

Anything else we need to know:

It seems like --sync.delay=10m is not valid for Thanos Receiver. Its valid for Compactor.

Does your filesystem support hardlinks? Or perhaps the filesystem reports success but no hardlinks are actually created?

Its S3 storage mounted as filesystem. It seems like hard link are not supported:
bash-4.4$ ln test1 test2
ln: failed to create hard link 'test2' => 'test1': Operation not supported

I am using S3 storage as I am running Thanos in a multi zone Cluster and S3 storage is supported regionally. NFS/Block storage is only supported zone wise.
Do you have any suggestion in this case?

No, all Prometheus TSDB based projects need mmap. Changing that would be a huge endeavor. You probably need to fill this issue in the Prometheus project


Update junit-jupiter-engine to 5.0.3

Updates org.junit.jupiter:junit-jupiter-engine from 5.0.0 to 5.0.3.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.junit.jupiter", artifactId = "junit-jupiter-engine" } ]

labels: semver-patch

Codecov Report

Merging #319 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #319      +/-   ##
==========================================
- Coverage    80.5%   80.44%   -0.06%
==========================================
  Files         128      128
  Lines        3334     3334
  Branches      136      136
==========================================
- Hits         2684     2682       -2
- Misses        650      652       +2

Impacted Files
Coverage Δ

...rotomappings/SensoryEventStatusMappingHelper.scala
76.92% <0%> (-15.39%)
:arrow_down:

Continue to review full report at Codecov.

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


logarithmic time performance

Dear,
I am comparing Blog with my language, and I noticed a logarithmic behavior of the time performance of BLOG.
For example, if I use 1000 samples it takes 0.6 s, if I use 10000 samples it takes 1.5 s (instead of 0.6x10=6), if I use 100000 samples it takes 5.7 s (instead of 1.5x10=15). (excluding parsing time.)
I would aspect that the time is linear with respect to the number of samples.
do you use parallelization? If so, is there a way to avoid this and use only 1 thread?
is there another reason for this behavior?

Hi,
What model are you using?
davidenitti<EMAIL_ADDRESS>
Dear,
I am comparing Blog with my language, and I noticed a logarithmic behavior
of the time performance of BLOG.
For example, if I use 1000 samples it takes 0.6 s, if I use 10000 samples
it takes 1.5 s (instead of 0.6x10=6), if I use 100000 samples it takes 5.7
s (instead of 1.5x10=15). (excluding parsing time.)
I would aspect that the time is linear with respect to the number of
samples. It also seems that there is no parallelization (initialization
excluded). Am I right?
can you give an explanation of this?
—
Reply to this email directly or view it on GitHub
https://github.com/BayesianLogic/blog/issues/337.

id-uncert-det.blog

The time given the number of samples is logarithmic below 20000 samples then becomes linear. this is really strange.
this happens also for other models, e.g., burglary.blog
for DBLOG I noticed that there is multi-threading, for BLOG there is no multi-threading as far as I can see

You're right that the runtime should be linear in the number of samples. I suspect the non-linear runtime you're seeing with small number of samples is because of data structure / JIT overhead. When you run with more samples, this overhead becomes less pronounced, and you see linear runtime.
We don't do explicit parallelism / multithreading in either BLOG or DBLOG. You may see multiple cores being used, but that's because of parallelism in the JVM, not in our code.


Update glossary.md

please check my suggested update, seems clearer to me

I like Alex's change, but I still prefer dropping the definitions entirely.

Reece stated: We don't use "hypermorphic" or "hypomorphic" anywhere in the text, so my preference is to drop them.
I am mixed here. Specific HGVS definitions are provided at the specific pages, like deletion, duplication, etc. The Glossary is not a "HGVS definition's page", it is a page explaining what is meant with terms around the topic of "variants". Since I received questions about "variants", like "what is a hypomorphic variant" I added them to the Gloossary. Maybe a good we mention this specifically on the Glossary page and in addition clearly mark/highlight HGVS definitions.


[Bug Report] Offline keys

Describe the bug
keys given to offline players are never received.
Versions (please complete the following information):

Minecraft Server Version: 1.18.2
Plugin Version: CrazyCrates version 1.10.3

*Do NOT say Latest, Use /version crazycrates in the console.
Pastebin any errors in console
N/A
Issue
I give a key to a player that is offline, when they come online they never get the key.
Screenshots
N/A

when will the plugin be built with the fix?

You are on 1.10.3, You need to update to 1.10.4.

@mitchngwen This has been fixed in v1.10.4. I have just tested it on that version and the latest Jenkins build and it is working fine now. Check out the download here.
https://github.com/Crazy-Crew/Crazy-Crates/releases/tag/v1.10.4


Fatal Exception: NSInternalInconsistencyException

Hi @AndreiMisiukevich ,
I'm getting this in my crashlytics report for my iOS app (450+ times).. all crashes are from devices running iOS 13 OS (iOS 13.1.3, 13.3.0, 13.3.1).. Looks similar to this issue - https://github.com/AndreiMisiukevich/CardView/issues/295
I've also recently built my app with iOS 13SDK to comply with the latest apple guidelines.
Did you try in a iOS device having iOS 13?
Looks like a fatal crash error
Logs :
Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x19bd9096c __exceptionPreprocess
1  libobjc.A.dylib                0x19baa9028 objc_exception_throw
2  Foundation                     0x19c27c5e0 -[NSISEngine tryToOptimizeReturningMutuallyExclusiveConstraints]
3  Foundation                     0x19c0758c4 -[NSISEngine _optimizeWithoutRebuilding]
4  Foundation                     0x19c0757d8 -[NSISEngine optimize]
5  Foundation                     0x19c075448 -[NSISEngine performPendingChangeNotifications]
6  UIKitCore                      0x1a031e824 -[UIView(Hierarchy) layoutSubviews]
7  UIKitCore                      0x1a0331b1c -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
8  libobjc.A.dylib                0x19baa4a4c -[NSObject performSelector:withObject:]
9  QuartzCore                     0x1a2947a9c -[CALayer layoutSublayers]
10 QuartzCore                     0x1a2947eec CA::Layer::layout_if_needed(CA::Transaction*)
11 QuartzCore                     0x1a295a614 CA::Layer::layout_and_display_if_needed(CA::Transaction*)
12 QuartzCore                     0x1a289f1c4 CA::Context::commit_transaction(CA::Transaction*, double)
13 QuartzCore                     0x1a28c9fd0 CA::Transaction::commit()
14 QuartzCore                     0x1a28caba4 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*)
15 CoreFoundation                 0x19bd0b524 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
16 CoreFoundation                 0x19bd061c4 __CFRunLoopDoObservers
17 CoreFoundation                 0x19bd05f60 CFRunLoopRunSpecific
18 WebCore                        0x1a3ecc8f0 RunWebThread(void*)
19 libsystem_pthread.dylib        0x19ba99840 _pthread_start
20 libsystem_pthread.dylib        0x19baa19f4 thread_start

Error details :
Fatal Exception: NSInternalInconsistencyException
Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.
-[NSISEngine tryToOptimizeReturningMutuallyExclusiveConstraints]
Hope I have given some helpful details about this issue. Sorry, I can't send my project files as they're confidential.

Referencing #295

Referencing #295

what version of CardsView does your app have?

@PaulsonMac can you reproduce this issue on your device/simulator? (or it's only stack-trace from crashlytics)

@PaulsonMac can you reproduce this issue on your device/simulator? (or it's only stack-trace from crashlytics)

We didn't check in a device yet.. It's a stack-trace from crashlytics as of now

I'm using 2.1.3

Was this issue already addressed in any of the recent releases?

Was this issue already addressed in any of the recent releases?

2.1.3 ??? :)) It's toooooooooo old, man
2.6.1 is the current one. Yes, I fixed such issues ~ 2 months ago

ok, I'll try updating it.. Thanks


Changes to fit better with react frontend

Some changes for easier work in the frontend
Additional catches for some errors that were getting through
Changes some messages that were not quite clear when error came up

LGTM :shipit:


How to use DynamicLight?

I didn't find examples how to use avalon::graphics::DynamicLight and I created empty project with HelloWorld::init method like this.
So, I don't see dynamic lighting and/or shadows from sprite baba.png
bool HelloWorld::init()
{
  if ( !Layer::init() )
  {
    return false;
  }
  Size visibleSize = Director::getInstance()->getVisibleSize();
  Vec2 origin = Director::getInstance()->getVisibleOrigin();

  auto bg = Sprite::create("HelloWorld.png");

  // position the sprite on the center of the screen
  bg->setPosition(Vec2(visibleSize.width/2 + origin.x, visibleSize.height/2 + origin.y));
  bg->setScale(2, 2);

  // add the sprite as a child to this layer
  this->addChild(bg);

  auto baba = Sprite::create("baba.png");
  baba->cocos2d::Node::setPosition({visibleSize.width/2, visibleSize.height/2});
  this->addChild(baba);

  auto dynamicLight = avalon::graphics::DynamicLight::create();
  dynamicLight->debugDrawEnabled = true;
  dynamicLight->setShadowCasters(*baba);
  dynamicLight->setPosition({visibleSize.width/2 + 40, visibleSize.height/2});
  this->addChild(dynamicLight);

  return true;
}

Main question is. What do I wrong?
And another ones about signature of method:
void DynamicLight::setShadowCasters(Node& casters)

Why casters is reference? Do we really need in copying here? And why casters are plural (may be list of Nodes expected here)?

as i see many guys want to get this source so i create new repository. Check it out at here : https://github.com/namkazt/NewDynamicLight.

Getting openGL errors when running your test with cocos2d-x 3.4


hive upgrade to 1.1.6 is expecting CRD API version to be v1beta instead of v1

Hi,
I am experiencing an issue upgrading hive operator from version 1.1.5 to 1.1.6 because the expected CRD version should be v1beta instead of v1.
time="2022-08-08T10:41:33Z" level=info msg="Version: openshift/hive v1.1.5-0-g356f6bf"
time="2022-08-08T10:41:33Z" level=info msg="Starting /healthz and /readyz endpoints"
time="2022-08-08T10:41:33Z" level=info msg="generated leader election ID" id=9902aaa9-f507-4422-a798-3bf6154213a2
I0808 10:41:33.694686       1 leaderelection.go:243] attempting to acquire leader lease hive/hive-operator-leader...
I0808 10:41:33.719960       1 leaderelection.go:253] successfully acquired lease hive/hive-operator-leader
time="2022-08-08T10:41:33Z" level=info msg="became leader" id=9902aaa9-f507-4422-a798-3bf6154213a2
I0808 10:41:35.570230       1 request.go:655] Throttling request took 1.048162031s, request: GET:[https://<IP_ADDRESS>:443/apis/batch/v1?timeout=32s](https://<IP_ADDRESS>/apis/batch/v1?timeout=32s)
time="2022-08-08T10:41:36Z" level=info msg="Registering Components."
time="2022-08-08T10:41:39Z" level=info msg="hive operator NS: hive"
time="2022-08-08T10:41:39Z" level=info msg="Starting the Cmd."
time="2022-08-08T10:41:39Z" level=info msg="started metrics calculator goroutine"
time="2022-08-08T10:41:39Z" level=info msg="calculating metrics for all Hive" controller=metrics
time="2022-08-08T10:41:39Z" level=info msg="reconcile complete" controller=metrics elapsedMillis=0 elapsedMillisGT=0 outcome=unspecified
time="2022-08-08T10:41:42Z" level=error msg="error running manager" error="no matches for kind \"CustomResourceDefinition\" in version \"apiextensions.k8s.io/v1beta1\""
time="2022-08-08T10:41:42Z" level=error msg="error received after stop sequence was engaged" error="context canceled"
time="2022-08-08T10:41:42Z" level=info msg="leader lost" id=9902aaa9-f507-4422-a798-3bf6154213a2

Cluster CRD API versions:
kubectl get crd |grep hive |grep -v NAME |cut -f1 -d " " |while read mycrd ; do echo ; echo $mycrd ; k get crd $mycrd -o yaml |grep 'kind: CustomResourceDefinition' -B1 ; echo ; done

checkpoints.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

clusterclaims.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

clusterdeployments.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

clusterdeprovisions.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

clusterimagesets.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

clusterpools.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

clusterprovisions.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

clusterrelocates.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

clusterstates.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

clustersyncleases.hiveinternal.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

clustersyncs.hiveinternal.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

dnszones.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

fakeclusterinstalls.hiveinternal.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

hiveconfigs.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

machinepoolnameleases.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

machinepools.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

selectorsyncidentityproviders.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

selectorsyncsets.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

syncidentityproviders.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

syncsets.hive.openshift.io
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

When version 1.1.6 was published I saw a PR for upgrading the CRD API versions to v1.
Are there any issues with version 1.1.6? Is it safe to upgrade the operator to a higher version without breaking the current setup?
I have a few cluster deployments which I cannot delete.
Regards,

Looks like you may be trying to run a really old (>1y) version of hive on a cluster with a newer (>=1.22) version of k8s. Are you getting this from OperatorHub? That's the only place I can imagine 1.1.x to be available.
I would suggest upgrading to a more recent version. If you're using OLM and it's not letting you skip versions, you should be able to uninstall hive entirely (the CRDs and therefore CRs like your ClusterDeployments ought to remain unaffected) and reinstall it e.g. from the tip of the alpha channel in OperatorHub.

Hi,
I forgot to ask you one thing.
The ClusterDeployment now is showing FailedToStart in the Power state because it cannot validate the AWS credentials.
What would be the impact if I leave the status like that for a while?
The AWS credentials are only used to provision resources in AWS, it won't impact hive to manage or apply configurations on the clusters?
Regards,

I thought at first that if I delete the sub and the CSV would delete the CRD as well. It didn't do that, which is really good :)

Agree. There was at one point a feature request in OLM to support (optional) removal of CRs and CRDs, but I don't think it ever took off.

now is showing FailedToStart in the Power state because it cannot validate the AWS credentials.

Hive supports hibernation/resume by stopping/starting cloud instances. I'm not sure exactly when this feature was introduced, but I wouldn't be surprised if it was waaay after 1.1.5. So what's happening right now is the controller responsible for the cluster's power state is trying to figure out what that state is for the first time, and since it can't connect to the cloud, it's assuming the instances are down. If they're really not, and you're able to access the console/API and do work, then you should be fine to leave it as is. However, it would probably behoove you to fix those creds so you can take advantage of this feature.

Hi,
I am in the process of migrating all the clusterDeployments from EKS to a new Openshift cluster, and because of this migration, I rather not fix the AWS creds now and just do it when the CD is migrated over.
I can access the console and API fine, the clusters are operating without any issues.
Once again, thanks for your input. I will close this issue for now.
Regards,


A issue with the message counter

The message counter doesnt seem to work correctly
Image | https://triro.ga/images/2021/10M/21D/nhcLP3Hae7o0UOd.png

I solved this problem temporarily by changing the forum.js file, but I show a negative number here, you can try to see if it helps you.

In the comments is the original code, which you can quickly locate by searching for keywords.


Sort alphabetically methods in outline explorer

From<EMAIL_ADDRESS>on 2011-12-08T07:51:22Z
Feature request
---------------
Is it possible to add an option to sort the methods/properties alphabetically in outline explorer?
If you write a class with lots of methods, the sorting with order of appearance is not always convenient.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=874

From<EMAIL_ADDRESS>on 2011-12-09T06:53:15Z
It is possible, but I am not yet proficient enough at writing Qt widgets to fix it myself. The relevant code is in OutlineExplorerWidget class at the end https://code.google.com/p/spyderlib/source/browse/spyderlib/widgets/editortools.py
Status: Duplicate
Mergedinto: 766


Release changes for OLM validation

Please specify the area for this PR
registry operator
What does does this PR do / why we need it:
Changes to fix failing OLM validation test cases, required for OperatorHub publication (devfile/api#1211).
Additionally, contains the removal of CHANGELOG in favor of using the built-in GitHub release pages that can generate this content.
Which issue(s) this PR fixes:
Fixes #?
fixes devfile/api#1251
PR acceptance criteria:

[ ] ~Change Log~

~Are all your changes documented under the upcoming release entry?~

[x] Test Coverage

Are your changes sufficiently tested, and are any applicable test cases added or updated to cover your changes?

[x] Gosec scans

Fix all MEDIUM and higher findings and/or annotate a finding per gosec instructions: https://github.com/securego/gosec#annotating-code to address why a finding is not a security issue

Documentation

[x] Does the registry operator documentation need to be updated with your changes?

How to test changes / Special notes to the reviewer:

/retest

The registry operator also requires its own cert-manager which is not supported by OLM due to it having its own cert management: https://olm.operatorframework.io/docs/advanced-tasks/adding-admission-and-conversion-webhooks/#certificate-authority-requirements
Currently investigating a workaround to https://github.com/operator-framework/operator-lifecycle-manager/issues/1805.

The registry operator also requires its own cert-manager which is not supported by OLM due to it having its own cert management: https://olm.operatorframework.io/docs/advanced-tasks/adding-admission-and-conversion-webhooks/#certificate-authority-requirements
Currently investigating a workaround to operator-framework/operator-lifecycle-manager#1805.

Update: It seems after reviewing this more that issue here is that if we were doing any of the following it would not work with OLM's cert management:

Need to provide our own certifications
Mounting the location to store the certifications to a different location from the defaults

We are not currently doing these, only using cert-manager outside OLM. The setup for using OLM's cert manager should be the same as we currently have for cert-manager.


Converter run overrides end nodes

With each converter run each dialogue file is created anew, removing every previous change to the file.
This makes the end nodes of a dialogue not very usable.
The Fix:
Put the dialogue end nodes in a seperate rpy file and don't override it if it exists

Realized with e1efa9e69a0c058f7ae7ac0a218809419b7ac5a4


New interface and Gibbs sampling

I've made some progress for the new interface and Gibbs sampler. But it's current buggy and I guess it's better for us to look into the design and code together.
Here is a summary of what I've done:

pass sampler, varInfo and data locally in stead of using global variables

global variables are still supported now because I haven't completed this change to PG

step-ize HMC and PG

so that in the Gibbs sampler I can call them step by step

redesign VarInfo

rename: GradientInfo -> VarInfo and VarInfo -> Var
rotated array is removed because with the new naming schema it's unnecessary

replace @assume and @observe with ~
update @model to support new synatx

deal with default sampler, varInfo and data
locally assignment of data
@predict is removed by automatically convert the return value of model (e.g. return(m,s)) to @predict statement by @model.

add a Gibbs sampler which can be used to compose samplers

I finally decided to implement a separate Gibbs sampler first as it's clear for both users and developers
PG and HMC now have a new filed named space to indicates which variables they need to deal with
two examples for Gibbs are in test/gibbs.jl and test/gibbs2.jl

Here are points need to be discussed:

we need a consistent output of model (i.e. return) and storage of predicts
we need to discuss the consistent way of using task.storage

Here are knowing issues I haven't solved :

the naming issue of x[i,j,k] and x[i,j][k]

this is easy to solve recursively if all the variables are global but need some thoughts in compiler level

different steps for each sampler in Gibbs sampling
how to deal with rejected HMC step
allow user to step how many steps each sampler in Gibbs sampling is run
the correctness of Gibbs sampler seems doubtable - I only did two tests, of which the mixture of gaussian one doesn't seems to work well (another one is Gaussian with conjugate prior which works fine)
the current implementation has a bad performance (speed)

BTW the test for 32-bit windows machine is always broken.

Bugs

[ ] the correctness of Gibbs sampler seems doubtable
[ ] correct way to deal with rejected HMC step

Discussion

[ ] we need a consistent output of model (i.e. return) and storage of predicts
[ ] we need to discuss the consistent way of using task.storage

Enhancement

[ ] the naming issue of x[i,j,k] and x[i,j][k]
[ ] allow user to step how many steps each sampler in Gibbs sampling is run
[ ] the current implementation has a bad performance (speed)

I found and fix the bug which caused the correctness error before. The bug is due to the fact that the way HMC and PG store result is different (HMC directly stores results in VarInfo but PG produces the predicts directly). Previously I didn't deal with it in the right manner but it seems to be OK now (e.g. for test/gibbs.jl and test/beta_binomial.jl).

I found and fix the bug which caused the correctness error before. The bug is due to the fact that the way HMC and PG store result is different (HMC directly stores results in VarInfo but PG produces the predicts directly). Previously I didn't deal with it in the right manner but it seems to be OK now (e.g. for test/gibbs.jl and test/beta_binomial.jl).

Nice work : )


How to get relativeTo option working with CSS files in different paths

Imagine the following folder structure for a project inside the static_files folder:
|-- css
|---- style1.css
|---- plugins
|------ plugin1.css
|------ plugin2.css
|------ plugin3.css
|---- whatever_styles
|------ stylesheet1.css
|------ stylesheet2.css
|------ stylesheet3.css
|-- js
|---- libs
|------ jquery_plugin
|-------- jquery_plugin.css
|-------- jquery_plugin.js
|-- images
|---- image1.jpg
|---- image2.jpg
|---- image3.jpg
As you can see there are many css files distributed on many folders.
Let's suppose that each stylesheet above refers to one of the images in the "images" folder as a background-image for the body or whatever you want.
The path to the image should be different depending of the file where this code is.
Everything ok at this point but... you don't want to have a lot of files so you want to compress them in only one file with clean-css
How should I use the relativeTo option if I want to put my compressed .css file inside a "dist" folder that will be a sibling of the "css", "images" and "js" folders?
I've tried to do it but without good results and I got confused.
Thanks for your support

Please reopen if needed.

And what if you have CSS files in multiple locations, lets say, in different bower components for example?
Can you specify multiple relative paths?
Lets say I have them in :
bower_components/bootstrap/demo.css
bower_components/jqueryui/demo.css
css/myFile.css

Did anyone ever get this working? I am having the EXACT same issue. WRO4J works perfectly. I cannot find a single Gulp or CLI solution that can fix the relative URL's from a subdirectory in which there are multiple sub-directories, each with their own set of CSS files which use relative URL's to themselves. This is frustrating.

Exact same problem than @afinnell here. I'm ending up with absolute path with drive letters when using the rootoption, which is frustrating as is seems to be the only way clean-css sets the full target path.
Any pointers?

I had to give up on this module and use the similarly named module called gulp-clean-css. It worked perfectly.

@afinnell, could you please share your configuration for plugin gulp-clean-css ? I'm facing the same issue using {root: 'src'} options.
Thank you!

@bryce I used the relative patting but I'll get you the configuration anyways. Getting power back up after Hurricane.
I did have to split my configuration into two different cleanCSS pipes though. One set of css files had an absolute path in them. For those I didn't use ANY options and it worked perfectly.
For the set with relative paths I made sure to use relativeTo and target for cleanCSS and base for the gulp.src(). Even without using root I could never get the module this board is we're talking on. As for the other one, gulp-clean-css, as I was saying the trick was not to mix files with relative and ones with absolute. None of the modules could handle that.
The issue seems to be that the root, target and relativeTo works by accident because POSIX paths are similar to URL paths. Which is why no one thought to check on Windows. The root should produce rebased URL paths based on the root directory of the filesystem. Instead, it makes actual filesystem paths, which works on Linux but only accidently. Using path.join when configuring these modules is the telling sign that they're broke when it comes to pathing. All the options ought to be URL paths.
I'll see about posting my specifics and an example as I spent more time on this then I wanted. if I can save someone else time that'd be great. Sadly, wro4j and lesscss maven plugins work beautifully. I was hoping the gulp world would too.

A good solution would be to run clean-css twice, once before concatenation just to fix the relative urls problem, and once after concatenation to perform the minification.
An example is here:
var gulp = require('gulp'),
    gutil = require('gulp-util');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var cleanCss = require('gulp-clean-css');
gulp.task('concat:tree_ro.css', function() {
  return gulp.src(
        [
                './bootstrap/dist/css/bootstrap.min.css',
                './nlstree/nlstree.css',
                './nlstree/nlsctxmenu.css',
                './styles.css',
                './css/tree_ro.css'
        ],
        {base:"."})
  **.pipe(cleanCss({
        target:"./css",
        keepBreaks:true,
        advanced:false,
        aggressiveMerging:false,
        mediaMerging:false,
        processImport:false,
        shorthandCompacting:false
        }))**
  .pipe(concat('tree_ro_concat.css'))
  **.pipe(cleanCss())**
  .pipe(rename('tree_ro.X.X.X.css'))
  .pipe(gulp.dest('./css'));
});

Notice that cleanCss(..) is called twice, the first call disables all minification and only handles the URL problem. The second call performs the real minification without worrying about relative urls since it has been fixed.


chore(deps): bump protoc from 3.19.0 to 27.0

Summary
See: https://github.com/protocolbuffers/protobuf/releases/´

Does anyone know that do we even need this? Or is the bump safe?

This is only for getting the .proto files so that it can be used by grpc plugins and tools. I would suggest to keep it unupgraded.

This is only for getting the .proto files so that it can be used by grpc plugins and tools. I would suggest to keep it unupgraded.

@fffonion is there reason we want to use old version?


Added glowing-animated-button in Buttons directory

What is the change?
Added glowing-animated-button folder in Buttons directory. It contains the files: index.html, index.css and readme.md.
Related issue?
closes: #56
How was it tested?
Tested using VS Code Live Server Preview and Chrome and Firefox web browsers.
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] Have you followed the Contribution Guidelineswhile contributing.
[x] Have you checked there aren't other open Pull Requests for the same update/change?
[x] Have you made corresponding changes to the documentation?
[x] Have you tested the code before submission?
[x] Have you formatted your code ? (You can use any html,css beautifier)
[x] My changes generates no new warnings.
[x] I'm Hacktoberfest'21 contributor.
[x] I have commented my code, particularly in hard-to-understand areas.

GIF/video of the working of component you created:

@siddhi-244 I have created a new pull request as told. I have also made entry for the component in the main readme file. Thank you!


Forge

Changes
Basically s/Neue/Forge/g. Forge is a mutant from the Marvel universe who is renowned as an inventor. This brings the pattern library into our superhero pantheon.
Next Steps
I'm going to publish this as a scoped NPM package @dosomething/forge, and then deprecate the old package. Old versions will continue to work, but will point to the new package when someone tries to install it.
For review: @DoSomething/front-end

:+1:


cmd/compile: shorter slicing instruction sequence on x86/amd64

Compiling on tip:
func Slice(x []int, y int) []int {
    return x[y:]
}

and cutting out the function prologue on amd64 we get:
CMPQ    BX, DI
JCS     panicpath
SUBQ    DI, CX
SUBQ    DI, BX
MOVQ    CX, DX
NEGQ    CX
SHLQ    $3, DI
SARQ    $63, CX
ANDQ    CX, DI
ADDQ    DI, AX
MOVQ    DX, CX

We should be able to slim that down to (not tested):
CMPQ    BX, DI
JCS     panicpath
SUBQ    DI, CX
SUBQ    DI, BX
SHLQ    $3, DI
TESTQ   CX, CX
CMOVZ   CX, DI
ADDQ    DI, AX

by pulling the AND and OpSlicemask operation in the ssa generation phase into a single new OpSlicedelta operation:
before:
mask := s.newValue1(ssa.OpSlicemask, types.Types[types.TINT], rcap)
delta = s.newValue2(andOp, types.Types[types.TINT], delta, mask)

after:
delta = s.newValue2(ssa.OpSlicedelta, types.Types[types.TINT], delta, rcap)

By either making the compiler SSA optimizations smarter or pulling even more operations into a special SSA Op we could save the TESTQ and be able to get to:
CMPQ    BX, DI
JCS     panicpath
SUBQ    DI, BX
SUBQ    DI, CX
CMOVE   CX, DI
SHLQ    $3, DI
ADDQ    DI, AX

However it is unclear if this will be any faster (or worth the complexity) without benchmarking when the scaling of the index for the delta happens after the CMOV.
A further reduction in instructions is possible by moving the panic jumps to be dependent on the SUB instructions:
SUBQ    DI, BX
JS      panicpath
SUBQ    DI, CX
CMOVE   CX, DI
SHLQ    $3, DI
ADDQ    DI, AX

That then will need extra handling in recovering the original slice len/cap in the panicpath.
At last for this specific case the SHL and ADD can be folded into a LEA:
SUBQ    DI, BX
JS      panicpath
SUBQ    DI, CX
CMOVE   CX, DI
LEAQ    [AX+DI*8], AX

/cc @randall77 @josharian @mdempsky

Is this a duplicate of #17638?


Fix use local storage

Addresses #785
Description
Basically a total rewrite of useLocalStorage to ensure updates to the keyed value are picked up by all components watching for it.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as before)

I don't believe this will cause any breaking changes. But I did end up tearing out almost all the old code and fundamentally changed how this hook works. 🤷♂
Checklist

[x] Read the Contributing Guide

[ ] better commit message
[ ] squash?

[x] Perform a code self-review
[x] Comment the code, particularly in hard-to-understand areas
[x] Add documentation

no changes

[x] Add hook's story at Storybook

no changes

[x] Cover changes with tests
[x] Ensure the test suite passes (yarn test)
[x] Provide 100% tests coverage
[x] Make sure code lints (yarn lint). Fix it with yarn lint:fix in case of failure.
[x] Make sure types are fine (yarn lint:types).

Could use more input for proper types, like raw=true implies value=string

Hihi,
Although I only filed the one bug (#785) I was also running into other issues while trying to use this, like it over-serializing values ("foo" ==> '"\\"foo\\""') and some funkiness around initial state.
Running my test suite over the original hook gave these results:

Not sure why so many of the earlier ones are ❌, perhaps as a consequence of useEffect and many of those tests not rerendering (just checking the initial value). Those two :x: in the middle though are the catalyst for this PR - Over-stringifying and hooks falling out of sync.
I'm more than happy to take a couple days to work with you to tighten the bolts on this one and get it ready to go! Let me know what else you'd like to see from me.
I also previously handled #557 so I'm a little oversensitive to the react-hooks/rules-of-hooks eslint rules, thus the tests.

IMO because reading from local storage is expensive, we should not be reading it on every rerender.  I think since we want to keep it in sync we should cache the keys in an redux-like object shared by all instances of the hook rather than local state.

Most of the way through updating this locally. I had added a bunch of tests cases back in November and some of the new Serializer stuff is missing the marks (feeding me back [object Object] instead of just... the string) and I've already spent a couple hours on a Saturday trying to resolve merge conflicts.
I'll circle back on this tomorrow and try to finish updating it.

@TylerR909 One test case you can add that I think your diff fixes is that setting local storage works if it is called after unmount.

it('should properly update the localStorageOnChange when component unmounts', () => {
  const key = 'some_key';
  const updatedValue = { b: 'a' };
  const expectedValue = '{"b":"a"}';

  const { result, unmount } = renderHook(() => useLocalStorage(key));

  unmount();

  act(() => {
    result.current[1](updatedValue);
  });

  expect(localStorage.__STORE__[key]).toBe(expectedValue);
});

Okie doke. Think this is mostly updated for now.

The exception is one test, which arguably is the crux of this PR, to test that two hooks stay in sync as one updates. The reason is, because I could not understand the sync logic. As I understood it, the useLocalStorage hooks would somehow re-render and every time pick the latest value from localStorage—that would keep them in sync. I'm not sure that would work in general case, I would expect that useLocalStorage use some pub/sub or event emitter mechanism under the hood to notify all instances that some key has changed.

My concern is that someone is going to have the bright idea to come in here and "Optimize" useLocalStorage, all the tests are going to pass, and we're going to see a regression for something we specifically fixed in this PR. That is the test that is supposed to prevent this.
I disagree with commenting that test out. Even if someone changes the implementation to pub/sub, that test as written should still pass.

I'm not sure that would work in general case

Based on what? I did some research when someone else brought up the same concern and was seeing localStorage reads take 0.0004-0.0010ms which is basically negligible if you're targeting 60fps. If you have 20,000 components reading localStorage and it's going slow, your problem is not the speed of localStorage.

I could not understand the sync logic

Yeah, not my best code in the world. Basically it used to use const [state, setState] = useState(...);, but now it manually calculates const state = useMemo(...) and const setState = useCallback(...) with a useEffectOnce to call setState if the value in localStorage has never been set before.
Once you break it down into calc state and calc setState it's a little easier to reason around.
I don't recall what I was trying to use this hook on back in November when I made these updates but it rendered the hook entirely useless to me because one component was setting localStorage when a query string changed (or something) and some View component absolutely refused to see the change until remounting.
So yes this is an important test to include. Even if the implementation changes.

:tada: This PR is included in version 15.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: