id
int64
393k
2.82B
repo
stringclasses
68 values
title
stringlengths
1
936
body
stringlengths
0
256k
labels
stringlengths
2
508
priority
stringclasses
3 values
severity
stringclasses
3 values
2,765,998,670
go
net: TestDialWithNonZeroDeadline failures
``` #!watchflakes default <- pkg == "net" && test == "TestDialWithNonZeroDeadline" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8726880560451781425)): === RUN TestDialWithNonZeroDeadline dial_test.go:1106: dial tcp :63997: connect: connection refused --- FAIL: TestDialWithNonZeroDeadline (0.00s) — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation
low
Critical
2,766,066,541
flutter
Intermittent crash on ios18 on raster
### Steps to reproduce No Specific Repro steps, but app crashes randomly on ios18. ### Expected results there should be no crash on ios18 too. ### Actual results while running the app on IOS18, the app crash Intermittently. i got around 27 crashes from 12 mobile in last 2 weeks ### Code sample <details open><summary>Code sample</summary> ```dart [Paste your code here] ``` </details> ### Screenshots or Video ``` # Crashlytics - Stack trace # Application: com.kucoin.kuwallet # Platform: apple # Version: 5.2.5 (525) # Issue: 6d417ba28f86a045c42fa874db80c11c # Session: 9f96942c11d14752ac8da5beae83ae23_DNE_0_v2 # Date: Thu Jan 02 2025 20:35:26 GMT+0800 (中国标准时间) com.apple.main-thread 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 CoreFoundation 0x767f4 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x75ea0 __CFRunLoopRun + 1212 6 CoreFoundation 0xc8274 CFRunLoopRunSpecific + 588 7 GraphicsServices 0x14c0 GSEventRunModal + 164 8 UIKitCore 0x3ee77c -[UIApplication _run] + 816 9 UIKitCore 0x14e64 UIApplicationMain + 340 10 Runner 0x9f24 main + 13 (AppDelegate.swift:13) 11 ??? 0x1a95e0de8 (缺少) com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 CoreFoundation 0x767f4 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x75ea0 __CFRunLoopRun + 1212 6 CoreFoundation 0xc8274 CFRunLoopRunSpecific + 588 7 Foundation 0x29b48 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 8 Foundation 0x1866f4 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 9 UIKitCore 0x481b80 -[UIEventFetcher threadMain] + 420 10 Foundation 0x115a54 __NSThread__start__ + 724 11 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 12 libsystem_pthread.dylib 0x1480 thread_start + 8 io.flutter.1.ui 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 CoreFoundation 0x767f4 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x75ea0 __CFRunLoopRun + 1212 6 CoreFoundation 0xc8274 CFRunLoopRunSpecific + 588 7 Flutter 0x2eeae0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 8 Flutter 0x2ee728 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 9 Flutter 0x2ee438 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 10 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 11 libsystem_pthread.dylib 0x1480 thread_start + 8 Crashed: io.flutter.1.raster 0 libsystem_kernel.dylib 0xc2d4 __pthread_kill + 8 1 libsystem_pthread.dylib 0x859c pthread_kill + 268 2 libsystem_c.dylib 0x77b08 abort + 128 3 Flutter 0x2e9e44 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 4 Flutter 0x3487b0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 5 Flutter 0x4aefcc (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 6 Flutter 0x4b11d0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 7 Flutter 0x4b43a8 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 8 Flutter 0x4aa6d4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 9 Flutter 0x4a8e58 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 10 Flutter 0x4aa6d4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 11 Flutter 0x4b4c50 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 12 Flutter 0x4aa6d4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 13 Flutter 0x4a8494 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 14 Flutter 0x4aa6d4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 15 Flutter 0x4b4c50 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 16 Flutter 0x4aa6d4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 17 Flutter 0x4b4c50 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 18 Flutter 0x4aa6d4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 19 Flutter 0x4b4c50 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 20 Flutter 0x4aa6d4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 21 Flutter 0x4b4c50 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 22 Flutter 0x4aa6d4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 23 Flutter 0x4b1748 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 24 Flutter 0x4a5bc4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 25 Flutter 0x3f2500 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 26 Flutter 0x3f2ba8 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 27 Flutter 0x2ecec0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 28 Flutter 0x3f1df4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 29 Flutter 0x3f3a28 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 30 Flutter 0x3f3244 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 31 Flutter 0x40c948 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 32 Flutter 0x2eb47c (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 33 Flutter 0x2ee9f4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 34 CoreFoundation 0xf028c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32 35 CoreFoundation 0xeff30 __CFRunLoopDoTimer + 1012 36 CoreFoundation 0xefa84 __CFRunLoopDoTimers + 288 37 CoreFoundation 0x76124 __CFRunLoopRun + 1856 38 CoreFoundation 0xc8274 CFRunLoopRunSpecific + 588 39 Flutter 0x2eeae0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 40 Flutter 0x2ee728 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 41 Flutter 0x2ee438 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 42 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 43 libsystem_pthread.dylib 0x1480 thread_start + 8 io.flutter.1.io 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 CoreFoundation 0x767f4 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x75ea0 __CFRunLoopRun + 1212 6 CoreFoundation 0xc8274 CFRunLoopRunSpecific + 588 7 Flutter 0x2eeae0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 8 Flutter 0x2ee728 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 9 Flutter 0x2ee438 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 10 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 11 libsystem_pthread.dylib 0x1480 thread_start + 8 io.worker.1 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 Flutter 0x58df4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 3 Flutter 0x2e84d0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 4 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 5 libsystem_pthread.dylib 0x1480 thread_start + 8 io.worker.2 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 Flutter 0x58df4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 3 Flutter 0x2e84d0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 4 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 5 libsystem_pthread.dylib 0x1480 thread_start + 8 io.worker.3 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 Flutter 0x58df4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 3 Flutter 0x2e84d0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 4 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 5 libsystem_pthread.dylib 0x1480 thread_start + 8 io.worker.4 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 Flutter 0x58df4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 3 Flutter 0x2e84d0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 4 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 5 libsystem_pthread.dylib 0x1480 thread_start + 8 io.worker.5 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 Flutter 0x58df4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 3 Flutter 0x2e84d0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 4 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 5 libsystem_pthread.dylib 0x1480 thread_start + 8 io.worker.6 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 Flutter 0x58df4 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 3 Flutter 0x2e84d0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 4 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 5 libsystem_pthread.dylib 0x1480 thread_start + 8 dart:io EventHandler 0 libsystem_kernel.dylib 0x84cc kevent + 8 1 Flutter 0x57de98 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 2 Flutter 0x5a92f0 (缺少 UUID 4c4c44dc55553144a1b8f18f0c0ee878) 3 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 4 libsystem_pthread.dylib 0x1480 thread_start + 8 com.google.firebase.crashlytics.MachExceptionServer 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 FirebaseCrashlytics 0x174f8 FIRCLSMachExceptionServer + 104 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 com.Metal.DeviceDispatchQueue 0 IOKit 0x1100 iokit_user_client_trap + 8 1 IOGPU 0x2ee4 IOGPUResourceSetPurgeable + 60 2 IOGPU 0x2e80 -[IOGPUMetalResource setPurgeableState:] + 212 3 IOGPU 0xa648 -[IOGPUMetalResourcePool updateResourcePurgeability] + 136 4 IOGPU 0xa52c -[IOGPUMetalDevice periodicUpdateResourcePoolPurgeability] + 124 5 libdispatch.dylib 0x3fa8 _dispatch_client_callout + 20 6 libdispatch.dylib 0x745c _dispatch_continuation_pop + 596 7 libdispatch.dylib 0x1b620 _dispatch_source_latch_and_call + 420 8 libdispatch.dylib 0x1a1e8 _dispatch_source_invoke + 836 9 libdispatch.dylib 0xb42c _dispatch_lane_serial_drain + 352 10 libdispatch.dylib 0xc124 _dispatch_lane_invoke + 380 11 libdispatch.dylib 0x1738c _dispatch_root_queue_drain_deferred_wlh + 288 12 libdispatch.dylib 0x16bd8 _dispatch_workloop_worker_thread + 540 13 libsystem_pthread.dylib 0x3680 _pthread_wqthread + 288 14 libsystem_pthread.dylib 0x1474 start_wqthread + 8 Realm notification listener 0 libsystem_kernel.dylib 0x84cc kevent + 8 1 realm_dart 0x5ae44 realm::_impl::ExternalCommitHelper::listen() + 156 2 realm_dart 0x5afa0 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&)::$_0>>(void*) + 52 3 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 4 libsystem_pthread.dylib 0x1480 thread_start + 8 com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 CoreFoundation 0x767f4 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x75ea0 __CFRunLoopRun + 1212 6 CoreFoundation 0xc8274 CFRunLoopRunSpecific + 588 7 CFNetwork 0xf2020 +[__CFN_CoreSchedulingSetRunnable _run:] + 416 8 Foundation 0x115a54 __NSThread__start__ + 724 9 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 10 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x60bf9c InternalFlutterGpu_Texture_AsImage + 287628 4 Flutter 0x6acce0 InternalFlutterGpu_Texture_AsImage + 946384 5 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 6 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 7 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x60bf9c InternalFlutterGpu_Texture_AsImage + 287628 4 Flutter 0x6acce0 InternalFlutterGpu_Texture_AsImage + 946384 5 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 6 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 7 libsystem_pthread.dylib 0x1480 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x1510 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x36cc _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1474 start_wqthread + 8 Thread 0 libsystem_pthread.dylib 0x146c start_wqthread + 10 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x60bf9c InternalFlutterGpu_Texture_AsImage + 287628 4 Flutter 0x6acce0 InternalFlutterGpu_Texture_AsImage + 946384 5 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 6 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 7 libsystem_pthread.dylib 0x1480 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x1510 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x36cc _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1474 start_wqthread + 8 JavaScriptCore libpas scavenger 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 JavaScriptCore 0xfd034 scavenger_thread_main + 1524 3 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 4 libsystem_pthread.dylib 0x1480 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x1510 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x36cc _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1474 start_wqthread + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x1510 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x36cc _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1474 start_wqthread + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3fc4 _pthread_cond_wait + 1248 2 Flutter 0x67121c InternalFlutterGpu_Texture_AsImage + 701964 3 Flutter 0x6accac InternalFlutterGpu_Texture_AsImage + 946332 4 Flutter 0x670be8 InternalFlutterGpu_Texture_AsImage + 700376 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8 ``` ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output ``` [✓] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-arm64, locale zh-Hans-CN) • Flutter version 3.22.3 on channel stable at /Users/dale/fvm/versions/3.22.3 • Upstream repository https://github.com/flutter/flutter.git • Framework revision b0850beeb2 (6 months ago), 2024-07-16 21:43:41 -0700 • Engine revision 235db911ba • Dart version 3.4.4 • DevTools version 2.34.3 [!] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/dale/Library/Android/sdk ✗ cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 15.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15F31d • CocoaPods version 1.16.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) [✓] IntelliJ IDEA Community Edition (version 2024.1.4) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart [✓] VS Code (version 1.95.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [!] Proxy Configuration • HTTP_PROXY is set ! NO_PROXY is not set [✓] Connected device (5 available) • dale (mobile) • 00008110-000938921100401E • ios • iOS 18.1 22B83 • iPhone 15 Pro (mobile) • 3E562CAF-A8B0-4958-A866-A39CC16C2F61 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.205 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 2 categories. ```
waiting for customer response,in triage
low
Critical
2,766,084,562
TypeScript
Import path autocomplete regression: No classic resolution autocomplete when package does not have any "exports" but resolves fine
### 🔎 Search Terms "resolvePackageJsonExports", "no file autocomplete when importing internal package files with moduleResolution node16" ### 🕗 Version & Regression Information This changed between versions [5.7.0-dev.20241031](https://www.npmjs.com/package/typescript/v/5.7.0-dev.20241031) and [5.7.0-dev.20241101](https://www.npmjs.com/package/typescript/v/5.7.0-dev.20241101) Confirmed the issue exists on `typescript@next` ### ⏯ Playground Link https://codesandbox.io/p/devbox/qpxkh5?file=%2Findex.ts%3A13%2C1 ### 💻 Code ```ts // This resolves correctly but it doesn't autocomplete the /internal path even // though the package @my/base (inside the folder base-package) does NOT have "exports" inside the package.json import { INTERNAL_CONSTANT } from "@my/base/internal"; // try to update the import below to include the "/internal" at the end and see that it does not autocomplete import { INTERNAL_CONSTANT as INTERNAL_CONSTANT2 } from "@my/base"; // try to set resolvePackageJsonExports to false inside tsconfig.json and try to update the import above again. // Autocomplete works AS EXPECTED. ``` ### 🙁 Actual behavior Autocomplete of internal folders of packages without "exports" does not work when `"resolvePackageJsonExports": true` ### 🙂 Expected behavior Autocomplete of internal folders of packages without "exports" inside the package.json should be the same whether the `resolvePackageJsonExports` flag is enabled or not ### Additional information about the issue Regression must have happened between 2024/10/31 and 2024/11/1 based on my testing of the nightly builds. Could not provide a non-VM sandbox of the issue because it requires 2 npm packages to show the issue ( monorepo style )
Bug,Help Wanted
low
Minor
2,766,090,670
svelte
Suggestions to Improve Clarity in the Example of Passing State into Functions
Hi there! I found the example of passing state into functions a bit complicated and unclear. It might help to simplify the explanation or break it down into smaller steps. I'd really appreciate it! now: https://svelte.dev/docs/svelte/$state#Passing-state-into-functions ```ts function add(getA: () => number, getB: () => number) { return () => getA() + getB(); } let a = 1; let b = 2; let total = add(() => a, () => b); console.log(total()); // 3 a = 3; b = 4; console.log(total()); // 7 ``` suggested: ```ts function add(a: number, b: number) { return a + b; } let a = 1; let b = 2; function total() { return add(a, b); } console.log(total()); // 3 a = 3; b = 4; console.log(total()); // 7 ``` or even : ```ts <script lang="ts"> const add = (a: number, b: number) => a + b; let a = 1; let b = 2; const total = () => add(a, b); console.log(total()); // 3 a = 3; b = 4; console.log(total()); // 7 </script> ``` For the 3 versions i see the same result !
documentation
low
Minor
2,766,110,351
rust
Tracking Issue for amdgpu target
This issue tracks the implementation of the amdgpu target. - [x] MCP: https://github.com/rust-lang/compiler-team/issues/823 Old, closed tracking issue: #51575 Current work-in-progress branch: https://github.com/Flakebi/rust/tree/amdgpu ### Implementation - [ ] Add amdgpu target: #134740 - [x] Disable `f128` in `compiler-builtins`: https://github.com/rust-lang/compiler-builtins/pull/737 - [ ] Cast `alloca`s to default address space: #135025 - [ ] Cast global vars to default address space: #135026 - [ ] Add triple to `cc` crate (once target is in nightly) - [ ] Add test compiling `core` and `alloc` (depends on `cc` crate) - [x] Add `gpu-kernel` calling convention: #135047 - [ ] Export `<kernel>.kd` kernel descriptor symbol: #135909 - [ ] Require explicit `-C target-cpu=`: #135030 - [ ] Fix requiring lto automatically - [x] Remove range-metadata amdgpu workaround: #135027 ### Bugs - Debug compilation fails due to a bug in LLVM’s `AMDGPUResourceUsageAnalysis`. This is fixed in llvm `main`, so will be fixed with the update to LLVM 20
A-LLVM,T-compiler,C-tracking-issue,O-amdgpu
low
Critical
2,766,136,896
ant-design
Support for `Arrays` as the `value` of the `Option` used for `CheckboxGroup`
### What problem does this feature solve? The interface `Option` is defined currently as : ``` interface Option { label: string; value: string; disabled?: boolean; } ``` where `value` is meant to be a `string` only, although it looks like passing `array` can work. The requested feature is to officially support `arrays` and test if they work without causing any issues. ### What does the proposed API look like? The proposed API would add support for arrays to the `value` prop, something like : ``` interface Option { label: string; value: string | string[]; disabled?: boolean; } ``` An example usage of this could be : ``` import React, { useState } from "react"; import { Checkbox, Divider } from "antd"; const options = [ { label: "Good Fruits", value: ["Banana", "Apple", "Strawberry"], }, { label: "Bad Fruits", value: ["Kiwi", "Apricot", "Guava"], }, ]; const App = () => { const [value, setValue] = useState([["Banana", "Apple", "Strawberry"]]); const handleChange = (checkedValues) => setValue(checkedValues); return ( <> <Checkbox.Group options={options} defaultValue={[["Banana", "Apple", "Strawberry"]]} onChange={console.log} /> <Divider /> <Checkbox.Group options={options} value={value} onChange={handleChange} /> </> ); }; export default App; ``` <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
unconfirmed
low
Minor
2,766,145,164
opencv
Adding new functionality to cv::warpPolar
### Describe the feature and motivation `cv::warpPolar` pays too much attention to the central region and ignores information about the edges of the image when mapping the image from Cartesian space to polar coordinate space. I introduced a new radial non-uniform sampling method, i.e., I introduced new macro definitions WARP_POLAR_EXP and WARP_POLAR_SQUARE to compensate for the loss of edge information. A [pull request](https://github.com/opencv/opencv/pull/26681) has been submitted, please merge the contents. For case examples, see [example](https://github.com/shuaikaishi/RRE). ### Additional context _No response_
feature
low
Minor
2,766,153,872
create-react-app
Create react issue(script problem from my system) ho
I having an issue creating a react app due to running script disabled on my system... How do I solve it ![1735828948749787895579439052525](https://github.com/user-attachments/assets/ad4c47d7-f47d-4660-ab81-693fe57623e2)
needs triage
low
Minor
2,766,163,156
godot
RayCast3D collision detection issue in simple demo scene
### Tested versions Reproducible in Godot 4.3.stable.official, 77dcf97d8 ### System information Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated Quadro T2000 - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 Threads) ### Issue description This simple scene demonstrates using a RayCast3D on a "turret" to test for obstructions/line-of-sight to players (entire script and scene pictured below + attached) . Ray casting fails after the player's position has been modified, despite the player position and raycast target_position matching. If this is expected behavior, it will at least be nice to document and explain why this is happening, so that others can learn from it (possible related issue [here](https://github.com/godotengine/godot/issues/95359))... ![Image](https://github.com/user-attachments/assets/19246781-f076-4caf-9103-7ae36cac1d03) ### Steps to reproduce Run the scene, look at the console output and confirm collision detection failures in part (B). ### Minimal reproduction project (MRP) Project attached (simple 1-script demo scene started from a blank project). [raycasttest.zip](https://github.com/user-attachments/files/18291688/raycasttest.zip)
documentation,topic:physics,topic:3d
low
Critical
2,766,206,142
ant-design
'Alert.ErrorBoundary' cannot be used as a JSX component.
### Reproduction link [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-jyh2k9) ### Steps to reproduce 使用最新的vite react-ts模板(node 22.12.0) 安装antd,放入<Alert.ErrorBoundary/>组件 运行tsc -b ### What is expected? 返回0 ### What is actually happening? ``` src/App.tsx:7:8 - error TS2786: 'Alert.ErrorBoundary' cannot be used as a JSX component. Its type 'typeof ErrorBoundary' is not a valid JSX element type. Type 'typeof ErrorBoundary' is not assignable to type 'new (props: any, deprecatedLegacyContext?: any) => Component<any, any, any>'. Construct signature return types 'ErrorBoundary' and 'Component<any, any, any>' are incompatible. The types returned by 'render()' are incompatible between these types. Type 'string | number | bigint | boolean | Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | Iterable<ReactNode> | ReactElement<...> | null | undefined> | null | undefined' is not assignable to type 'ReactNode'. Type 'bigint' is not assignable to type 'ReactNode'. 7 <Alert.ErrorBoundary/> ~~~~~~~~~~~~~~~~~~~ Found 1 error. ``` | Environment | Info | | --- | --- | | antd | 5.22.7 | | React | 18.3.1 | | System | Windows 11 | | Browser | 无 | --- package.json ``` "dependencies": { "antd": "^5.22.7", "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@eslint/js": "^9.17.0", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", "@vitejs/plugin-react": "^4.3.4", "eslint": "^9.17.0", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.16", "globals": "^15.14.0", "typescript": "~5.6.2", "typescript-eslint": "^8.18.2", "vite": "^6.0.5" } ``` <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
help wanted
low
Critical
2,766,228,076
yt-dlp
Unable to download VIP content from Youku.com
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm reporting that yt-dlp is broken on a **supported** site - [ ] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command) - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [x] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Region Mainland China ### Provide a description that is worded well enough to be understood I successfully logged into my account on the website, and everything functions as expected; videos are playing without issues. However, I am unable to download VIP content on Youku.com. An error message keeps popping up in Chinese, indicating I'm not logged in. (观看此节目,请先登录!- Please log in to watch this program!) I'm using Microsoft Edge, and I have tried manually exporting cookies and automatically extracting them from the browser. I can download non-paid content without any problems. ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell [debug] Command-line config: ['-vU', '-F', '--cookies', 'C:\\Users\\Username\\Downloads\\v.youku.com_cookies.txt', 'https://v.youku.com/v_show/id_XMzAxNjE3NTQ4.html?s=fd5c21fc61ad11e0bea1&spm=a2hje.13141534.1_4.d_2_3&scm=20140719.apircmd.239064.video_XMzAxNjE3NTQ4'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [65cf46cdd] (win_exe) [debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.26100-SP0 (OpenSSL 1.1.1t 7 Feb 2023) [debug] exe versions: ffmpeg 2024-12-04-git-2f95bc3cb3-essentials_build-www.gyan.dev (setts), ffprobe 2024-12-04-git-2f95bc3cb3-essentials_build-www.gyan.dev [debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.12.14, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.3.0, websockets-14.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1837 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest ERROR: Unable to obtain version info (('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))); Please try again later or visit https://github.com/yt-dlp/yt-dlp/releases/latest [youku] Extracting URL: https://v.youku.com/v_show/id_XMzAxNjE3NTQ4.html?s=fd5c21fc61ad11e0bea1&spm=a2hje.13141534.1_4.d_2_3&scm=20140719.apircmd.239064.video_XMzAxNjE3NTQ4 [youku] XMzAxNjE3NTQ4: Retrieving cna info [youku] XMzAxNjE3NTQ4: Downloading JSON metadata ERROR: [youku] XMzAxNjE3NTQ4: Youku server reported error -3007: 观看此节目,请先登录!; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U File "yt_dlp\extractor\common.py", line 742, in extract File "yt_dlp\extractor\youku.py", line 171, in _real_extract ```
account-needed,geo-blocked,site-bug,triage,can-share-account
medium
Critical
2,766,231,810
pytorch
Inconsistent `padding_value` rounding decision when using `torch.nn.utils.rnn.pad_sequence` under torch.compile and eager
### 🐛 Describe the bug I think this is caused by the inconsistent type casting between torch.compile and eager. When `sequences` is a mixed of complex and integer tensors, pad_sequence under torch.compile mode will directly round `padding_value` to 0 but eager mode will keep `padding_value` as -0.7. See below code for details: ```python import torch class RNNPadSequence(torch.nn.Module): def forward(self, sequences, padding_value=0.): return torch.nn.utils.rnn.pad_sequence(sequences, padding_value=padding_value) model = RNNPadSequence() compiled = torch.compile(model) sequences = [torch.tensor([0, 0.4+0.j]), torch.tensor([0], dtype=torch.int32)] padding_value = -0.7 print(model(sequences,padding_value=padding_value)) ''' tensor([[ 0.0000+0.j, 0.0000+0.j], [ 0.4000+0.j, -0.7000+0.j]]) ''' print(compiled(sequences,padding_value=padding_value)) ''' tensor([[0.0000+0.j, 0.0000+0.j], [0.4000+0.j, 0.0000+0.j]]) ''' ``` Here are two interesting details: 1. If I set the sequences to `[torch.tensor([0.4+0.j]), torch.tensor([0], dtype=torch.int32)]`, both mode will round the padding_value to 0 and output: ``` tensor([[0.4000+0.j, 0.0000+0.j]]) ``` 2. If I set the first tensor of `sequences` to `float` instead of `complex` (for example, set the sequence to `[torch.tensor([0.4]), torch.tensor([0], dtype=torch.int32)]`), eager mode will work as normal but torch.compile mode will raises the following error: ``` raise BackendCompilerFailed(self.compiler_fn, e) from e torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised: LoweringException: AssertionError: target: aten.select_scatter.default args[0]: TensorBox(StorageBox( Pointwise( 'cpu', torch.float32, def inner_fn(index): i0, i1 = index tmp0 = ops.index_expr(i1, torch.int32) tmp1 = ops.index_expr(0, torch.int32) tmp2 = tmp0 == tmp1 tmp3 = ops.load(arg0_1, i0) tmp4 = ops.constant(-0.7, torch.float32) tmp5 = ops.where(tmp2, tmp3, tmp4) return tmp5 , ranges=[2, 2], origin_node=select_scatter_default, origins=OrderedSet([select_scatter_default, full_default]) ) )) args[1]: TensorBox(StorageBox( Pointwise( 'cpu', torch.int32, def inner_fn(index): i0 = index tmp0 = ops.index_expr(i0, torch.int64) tmp1 = ops.index_expr(1, torch.int64) tmp2 = tmp0 < tmp1 tmp3 = ops.load(arg1_1, 0) tmp4 = ops.masked(tmp2, tmp3, 0) return tmp4 , ranges=[2], origin_node=constant_pad_nd_1, origins=OrderedSet([constant_pad_nd_1]) ) )) args[2]: 1 args[3]: 1 Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information ``` ### Versions [pip3] numpy==1.26.2 [pip3] nvidia-cublas-cu12==12.4.5.8 [pip3] nvidia-cuda-cupti-cu12==12.4.127 [pip3] nvidia-cuda-nvrtc-cu12==12.4.127 [pip3] nvidia-cuda-runtime-cu12==12.4.127 [pip3] nvidia-cudnn-cu12==9.1.0.70 [pip3] nvidia-cufft-cu12==11.2.1.3 [pip3] nvidia-curand-cu12==10.3.5.147 [pip3] nvidia-cusolver-cu12==11.6.1.9 [pip3] nvidia-cusparse-cu12==12.3.1.170 [pip3] nvidia-nccl-cu12==2.21.5 [pip3] nvidia-nvjitlink-cu12==12.4.127 [pip3] nvidia-nvtx-cu12==12.4.127 [pip3] optree==0.13.1 [pip3] torch==2.5.1 [pip3] triton==3.1.0 [conda] numpy 1.26.2 pypi_0 pypi [conda] nvidia-cublas-cu12 12.4.5.8 pypi_0 pypi [conda] nvidia-cuda-cupti-cu12 12.4.127 pypi_0 pypi [conda] nvidia-cuda-nvrtc-cu12 12.4.127 pypi_0 pypi [conda] nvidia-cuda-runtime-cu12 12.4.127 pypi_0 pypi [conda] nvidia-cudnn-cu12 9.1.0.70 pypi_0 pypi [conda] nvidia-cufft-cu12 11.2.1.3 pypi_0 pypi [conda] nvidia-curand-cu12 10.3.5.147 pypi_0 pypi [conda] nvidia-cusolver-cu12 11.6.1.9 pypi_0 pypi [conda] nvidia-cusparse-cu12 12.3.1.170 pypi_0 pypi [conda] nvidia-nccl-cu12 2.21.5 pypi_0 pypi [conda] nvidia-nvjitlink-cu12 12.4.127 pypi_0 pypi [conda] nvidia-nvtx-cu12 12.4.127 pypi_0 pypi [conda] optree 0.13.1 pypi_0 pypi [conda] torch 2.5.1 pypi_0 pypi [conda] triton 3.1.0 pypi_0 pypi cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @nairbv @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov @ezyang @anjali411 @dylanbespalko @nikitaved
module: nn,triaged,module: type promotion,oncall: pt2,module: inductor
low
Critical
2,766,239,323
PowerToys
Workspaces - slack fails to launch
### Microsoft PowerToys version 0.87.1 ### Installation method PowerToys auto-update ### Running as admin None ### Area(s) with issue? Workspaces ### Steps to reproduce slack doesn't launch Create/edit a workspace. In my case, I have 3 apps split evenly in the screen (gmail running as a PWA app, onenote, and slack). When I launch the workspace, slack fails to launch. I have tried running powertoys as admin. i have tried running the shortcut as admin. no change in behavior ### ✔️ Expected Behavior Expecting slack to be launched and placed correctly, as captured by the workspaces layout editor. ### ❌ Actual Behavior 2 apps correctly launch and are layed out. the slack app does not launch at all. ![Image](https://github.com/user-attachments/assets/756de052-9648-4bcb-aaa6-2fe79fed8a30) ### Other Software _No response_
Issue-Bug,Needs-Triage,Needs-Team-Response,Product-Workspaces
low
Major
2,766,250,320
go
proposal: crypto/webauthn: webauthn signature verification API
### Proposal Details Passkey Authentication is seeing wide-spread industry adoption for authenticating users on websites and is implemented through the https://w3c.github.io/webauthn specification. It would be great if Golang would support this authentication mechanism out of the box. As a first step towards this path, I would like to propose introducing WebAuthn signature verification to Golang. The verification algorithm should follow the steps outlined in https://w3c.github.io/webauthn/#sctn-verifying-assertion WebAuthn registration is a lot more specific to people's usecases (e.g. need to think about attestation and whatnot) so I would leave it out of scope for the first draft. Related proposals: WebAuthn is also used for the `ecdsa-sk` keytype in SSH and somebody asked for support for that here: https://github.com/golang/go/issues/69999 . In order to implement that we need this proposal. ## Initial design ### Interface ```golang type CoseAlgorithmIdentifier int64 const ( EdDSA CoseAlgorithmIdentifier = -8 ES256 CoseAlgorithmIdentifier = -7 ES384 CoseAlgorithmIdentifier = -35 ES512 CoseAlgorithmIdentifier = -36 PS256 CoseAlgorithmIdentifier = -37 RS256 CoseAlgorithmIdentifier = -257 ) type OriginInfo struct { Origin string CrossOrigin bool TopOrigin string } type OriginPolicy func(OriginInfo) error func OriginWhitelist(origins ...string) OriginPolicy type AuthenticatorFlags uint8 const ( FlagUserPresent AuthenticatorFlags = 1 << iota _ FlagUserVerified FlagBackupEligibility FlagBackupState _ FlagAttestedCredentialData FlagExtensionData ) type AuthenticatorAssertionResponse struct { ClientDataJson []byte AuthenticatorData []byte Signature []byte } type AuthenticatorData struct { RpIdHash [32]byte Flags AuthenticatorFlags Count uint32 // NOTE: Contains variable length AttestedCredentialData if FlagAttestedCredentialData is set // Because we only do assertion, this field is currently always nil AttestedCredentialData []byte // NOTE: Contains variable length ExtensionData if FlagExtensionData is set ExtensionData []byte } type VerifyOptions struct { RpId string OriginPolicy OriginPolicy UserVerificationRequired bool UserPresenceRequired bool } // Verify verifies the signature of the assertion response and returns the // parsed authenticator data which can be processed further by the caller. func (r *AuthenticatorAssertionResponse) Verify(challenge []byte, key crypto.PublicKey, alg CoseAlgorithmIdentifier, opts VerifyOptions) (*AuthenticatorData, error) ``` ### Example implementation https://github.com/golang/crypto/compare/master...arianvp:crypto:webauthn
Proposal,Proposal-Crypto
low
Critical
2,766,250,655
tauri
[bug] open app from deep link will break accessory activation policy
### Describe the bug I am building a tray app and use `set_activation_policy(tauri::ActivationPolicy::Accessory)` to hide icon from dock. Recently I am adding deep link feature to my app, and I found that open app from deep link will make dock icon show again. I also have a tray menu item to toggle window show/hide and it works just fine. Only when accessing from deep link will cause dock icon appear. rust: ```rust #[tauri::command] fn show_window(app_handle: tauri::AppHandle) { let window = app_handle.get_webview_window("main"); if window.is_none() { return; } let w = window.unwrap(); if !w.is_visible().expect("get is_visible error") { let _ = w.show(); let _ = w.set_focus(); } } ``` js: ```js onOpenUrl((urls) => { invoke("show_window"); }); ``` Currently, my workaround is call `set_activation_policy` again when open url is triggered. But it won't prevent dock icon showing but only hide it quickly after it reappears, so there still is a moment that the icon showing. ### Reproduction _No response_ ### Expected behavior Dock icon won't show. ### Full `tauri info` output ```text [✔] Environment - OS: Mac OS 15.1.1 arm64 (X64) ✔ Xcode Command Line Tools: installed ✔ rustc: 1.83.0 (90b35a623 2024-11-26) ✔ cargo: 1.83.0 (5ffbef321 2024-10-29) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: stable-aarch64-apple-darwin (default) - node: 22.11.0 - npm: 10.9.0 - bun: 1.1.36 [-] Packages - tauri 🦀: 2.1.1 - tauri-build 🦀: 2.0.3 - wry 🦀: 0.47.2 - tao 🦀: 0.30.8 - @tauri-apps/api : 2.1.1 - @tauri-apps/cli : 2.1.0 [-] Plugins - tauri-plugin-shell 🦀: 2.2.0 - @tauri-apps/plugin-shell : 2.2.0 - tauri-plugin-updater 🦀: 2.3.0 - @tauri-apps/plugin-updater : 2.3.0 - tauri-plugin-autostart 🦀: 2.2.0 - @tauri-apps/plugin-autostart : 2.2.0 - tauri-plugin-single-instance 🦀: 2.2.0 - @tauri-apps/plugin-single-instance : not installed! - tauri-plugin-os 🦀: 2.2.0 - @tauri-apps/plugin-os : 2.2.0 - tauri-plugin-log 🦀: 2.2.0 - @tauri-apps/plugin-log : 2.2.0 - tauri-plugin-deep-link 🦀: 2.2.0 - @tauri-apps/plugin-deep-link : 2.2.0 - tauri-plugin-store 🦀: 2.2.0 - @tauri-apps/plugin-store : 2.2.0 - tauri-plugin-window-state 🦀: 2.2.0 - @tauri-apps/plugin-window-state : 2.2.0 [-] App - build-type: bundle - CSP: unset - frontendDist: ../build - devUrl: http://localhost:1420/ - framework: Svelte - bundler: Rollup ``` ### Stack trace _No response_ ### Additional context _No response_
type: bug,platform: macOS,status: needs triage
low
Critical
2,766,305,042
PowerToys
Keyboard inputs are ingored or lathced randomly when in games.
### Microsoft PowerToys version 0.83.0 ### Installation method Microsoft Store ### Running as admin Yes ### Area(s) with issue? General ### Steps to reproduce When in games, especially Source 2 games (cs 2, Deadlock) key inputs are sometimes ignored or latched, needing another press to unlatch. For ex in cs2 jumpping (space) is frequently ignored while in Deadlock i am getting WASD keys latched forcing movement in other direction. I tried different keyboards and disabled all the overlays. Only when powerToys is fully closed inputs are picked up correctly, also seems to not be related to Keyboard Manager as i tried with it off and also had the same behaviour[PowerToysReport_2025-01-02-18-13-16.zip](https://github.com/user-attachments/files/18292444/PowerToysReport_2025-01-02-18-13-16.zip) ### ✔️ Expected Behavior Correct inputs are picked up in game ### ❌ Actual Behavior Sometimes keys are ignored, sometimes they latch. Probably somehow the key press (when ingored) or unpress (when it remains latched) event is picked up by PowerToys and consumed but not forwarded. ### Other Software Counter Strike 2 Deadlock
Issue-Bug,Needs-Triage
low
Minor
2,766,310,549
godot
.ghsaderinc files with filenames that match included macro name cause macro argument errors
### Tested versions - Reproducible in 4.1, 4.2.1, 4.3, new build based on master dated 2025/01/02 - Other versions not tested ### System information Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Ti (NVIDIA; 32.0.15.6614) - 11th Gen Intel(R) Core(TM) i7-11700F @ 2.50GHz (16 Threads) ### Issue description This is a weird one, didn't quite believe it was an issue myself at first, but taken all else away the issue persists. Here goes: If you have a .gdshaderinc file that defines a macro with the same name as the file, the line below in `#include` directive will throw a "Invalid macro argument" error. My guess would be it somehow tries to parse the macro name in the filename as invoking the macro. ### Steps to reproduce 1. Create a testmacro.gdshaderinc, and define a macro function with the same name: ```glsl #define testmacro(value) clamp(value, 0.0, 1.0) ``` 2. Create a shader file, that includes the shaderinclude mentioned above:```glsl shader_type spatial; ```glsl #include "testmacro.gdshaderinc" void fragment() { ALBEDO = vec3(1.0, 0.5, testmacro(2.0)); } ``` ![Image](https://github.com/user-attachments/assets/13073a35-f8ec-4604-aac6-eb460d9a09b5) ### Minimal reproduction project (MRP) (Note the project below uses `saturate.gdshaderinc` instead of `testmacro`, as I initially thought `saturate` would be some reserved term. Any term works, though). [shaderinctest.zip](https://github.com/user-attachments/files/18292493/shaderinctest.zip)
bug,topic:shaders
low
Critical
2,766,327,358
PowerToys
The PowerToys Run interface is black, and the content is not visible clearly.
### Microsoft PowerToys version 0.87.1 ### Installation method WinGet ### Running as admin Yes ### Area(s) with issue? PowerToys Run ### Steps to reproduce The PowerToys Run interface is black, and the content is not visible clearly. ![Image](https://github.com/user-attachments/assets/fa6456b6-f245-4287-bdb9-66da7a1d483a) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_ ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,766,330,305
neovim
`pyfile` fails on `unittest.main()` and breaks python provider
### Problem An attempt to execute a python file via `pyfile`/`py3file` leads to a cryptic error and breaks python provider. The problem happens on latest master and stable realease. ``` line 1: return v:lua.vim.provider.python.call(a:method, a:args) Error detected while processing function provider#python3#Call: line 1: E5108: Error executing lua Vim:E stack traceback: [C]: at 0x006427a0 ``` -------------------- version ``` :version NVIM v0.10.3 Build type: Release LuaJIT 2.1.1713484068 ``` Health check: ``` provider.python: require("provider.python.health").check() Python 3 provider (optional) ~ - `g:python3_host_prog` is not set. Searching for python3 in the environment. - Executable: /home/user/tmp/venv311/bin/python3 - Python version: 3.11.10 - pynvim version: 0.5.2 - OK Latest pynvim is installed. Python virtualenv ~ - $VIRTUAL_ENV is set to: /home/user/tmp/venv311 - Python version: 3.11.10 - OK $VIRTUAL_ENV provides :!python. ``` ### Steps to reproduce **Steps to reproduce** 0. create a new python venv, install pynvim via pip, activate it, run `nvim -u NONE` and/or /nvim --clean, check health, etc (see below) 1. In the beginning running simple commands works: ``` :py3 print('hello') hello ``` 2. An attempt to execute a file via `pyf %` or `pyf script.py` fail. With `verbose` set to 15 the error still looks very unhelpful ``` :py3file script.py calling provider#python3#Call('execute_file', ['/home/user/tmp/script.py', 2, 2]) line 1: return v:lua.vim.provider.python.call(a:method, a:args) Error detected while processing function provider#python3#Call: line 1: E5108: Error executing lua Vim:E stack traceback: [C]: at 0x006427a0 ``` 3. After all subsequent calls to python provider fail ``` :py3 print('hello') Error detected while processing function provider#python3#Call: line 1: E5108: Error executing lua Vim:Error invoking 'python_execute' on channel 9: Invalid channel: 9 stack traceback: [C]: at 0x006427a0 ``` ### Expected behavior python script executes and results are shown in messages (same as in vim) ### Nvim version (nvim -v) 0.10.3 ### Vim (not Nvim) behaves the same? no, vim 9.1 works as expected ### Operating system/version FreeBSD ### Terminal name/version foot ### $TERM environment variable xterm-256color ### Installation built manually from tagged release
bug,provider
low
Critical
2,766,343,794
godot
Animation Editor Filter Of Showing Tracks From Selected Node In Tree Focus Problem When Starting To Edit A Key
### Tested versions Reproducible in Godot v4.4.dev7.official [46c8f8c5c] ### System information Godot v4.4.dev7 - Ubuntu 24.04.1 LTS 24.04 on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4060 Laptop GPU - 13th Gen Intel(R) Core(TM) i7-13700H (20 threads) ### Issue description As you can see in attached video, in Animation editor when enabling filter icon that shows tracks from selected node In tree and when clicking on a key to work on it, the tracks disappearing and forcing me again disable filtering command and working within all tracks showing in editor. [See This Video Of This Issue](https://github.com/user-attachments/assets/9a61a08c-98fb-486e-b088-7c85a7c73782) ### Steps to reproduce As you can see in attached video, in the attached project: 1- select animation editor 2- click on filter icon 3- select one on sprites in the scene tree 4- in the animation editor click on a key 5- the track on animation disappears ### Minimal reproduction project (MRP) [animationfilterissue.zip](https://github.com/user-attachments/files/18292711/animationfilterissue.zip)
bug,topic:editor,topic:animation
low
Minor
2,766,357,370
rust
run-make-support: `assert_dirs_are_equal` traverses symlinks
`assert_dirs_are_equal` will try to read the file content behind symlinks, which is not necessarily the desired behavior. Either we should make it configurable, or avoid traversing symlinks.
T-compiler,T-bootstrap,C-bug,A-run-make
low
Minor
2,766,368,217
rust
cleanup: use full `strip` cli args in cg_ssa
> Suggestion [DISCARD-ALL 1/2]: can we spell out the full flag for this as well? `llvm-objcopy` docs say that `-x` is > > > --discard-all, -x > > > > Remove most local symbols from the output. Different file formats may limit this to a subset of the local symbols. For example, file and section symbols in ELF objects will not be discarded. Additionally, remove all debug sections. > > This happens to align with `llvm-strip`, unlike `-S` or no-flag. > > - https://llvm.org/docs/CommandGuide/llvm-strip.html#cmdoption-llvm-strip-discard-all > - https://llvm.org/docs/CommandGuide/llvm-objcopy.html#cmdoption-llvm-objcopy-discard-all _Originally posted by @jieyouxu in https://github.com/rust-lang/rust/pull/135034#discussion_r1901062326_
C-cleanup,T-compiler
low
Critical
2,766,371,314
rust
ICE in mir_drops_elaborated_and_const_checked
<!-- Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for how to create smaller examples. http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/ --> ### Code ```Rust pub type UserId<Backend> = <<Backend as AuthnBackend>::User as AuthUser>::Id; pub trait AuthUser { type Id; } pub trait AuthnBackend { type User: AuthUser; } pub struct AuthSession<Backend: AuthnBackend> { user: Option<Backend::User>, data: Option<UserId<Backend>>, } pub trait Authz: Sized { type AuthnBackend: AuthnBackend<User = Self>; } pub trait Query<User: Authz> { type Output; async fn run(&self) -> Result<Self::Output, ()>; } pub async fn run_query<User: Authz, Q: Query<User> + 'static>( auth: AuthSession<User::AuthnBackend>, query: Q, ) -> Result<Q::Output, ()> { let user = auth.user; query.run().await } ``` (this is my best attempt at minimizing -- it includes some modified pieces from axum_login) ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` rustc 1.83.0 (90b35a623 2024-11-26) binary: rustc commit-hash: 90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf commit-date: 2024-11-26 host: x86_64-unknown-linux-gnu release: 1.83.0 LLVM version: 19.1.1 ``` The error appears to persist in the latest nightly (2025-01-01) ### Error output ``` error: internal compiler error: compiler/rustc_middle/src/ty/normalize_erasing_regions.rs:169:90: Failed to normalize std::option::Option<Alias(Projection, AliasTy { args: [Alias(Projection, AliasTy { args: [Alias(Projection, AliasTy { args: [User/#0], def_id: DefId(0:14 ~ lib[8f96]::Authz::AuthnBackend), .. })], def_id: DefId(0:8 ~ lib[8f96]::AuthnBackend::User), .. })], def_id: DefId(0:6 ~ lib[8f96]::AuthUser::Id), .. })>, maybe try to call `try_normalize_erasing_regions` instead thread 'rustc' panicked at compiler/rustc_middle/src/ty/normalize_erasing_regions.rs:169:90: Box<dyn Any> ``` <!-- Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your environment. E.g. `RUST_BACKTRACE=1 cargo build`. --> <details><summary><strong>Backtrace</strong></summary> <p> ``` stack backtrace: 0: 0x79bade44012a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b6bd5631a6d1f6b 1: 0x79badec218f8 - core::fmt::write::h7550c97b06c86515 2: 0x79badfe58b91 - std::io::Write::write_fmt::h7b09c64fe0be9c84 3: 0x79bade43ff82 - std::sys::backtrace::BacktraceLock::print::h2395ccd2c84ba3aa 4: 0x79bade442456 - std::panicking::default_hook::{{closure}}::he19d4c7230e07961 5: 0x79bade4422a0 - std::panicking::default_hook::hf614597d3c67bbdb 6: 0x79badd504556 - std[c6eb78587944e35c]::panicking::update_hook::<alloc[148a978a4a62f5d]::boxed::Box<rustc_driver_impl[4c2d2ad79fb810ac]::install_ice_hook::{closure#0}>>::{closure#0} 7: 0x79bade442b68 - std::panicking::rust_panic_with_hook::h8942133a8b252070 8: 0x79badd53b371 - std[c6eb78587944e35c]::panicking::begin_panic::<rustc_errors[7f4c80274b6ccf5]::ExplicitBug>::{closure#0} 9: 0x79badd52e976 - std[c6eb78587944e35c]::sys::backtrace::__rust_end_short_backtrace::<std[c6eb78587944e35c]::panicking::begin_panic<rustc_errors[7f4c80274b6ccf5]::ExplicitBug>::{closure#0}, !> 10: 0x79badd52e933 - std[c6eb78587944e35c]::panicking::begin_panic::<rustc_errors[7f4c80274b6ccf5]::ExplicitBug> 11: 0x79badd544a31 - <rustc_errors[7f4c80274b6ccf5]::diagnostic::BugAbort as rustc_errors[7f4c80274b6ccf5]::diagnostic::EmissionGuarantee>::emit_producing_guarantee 12: 0x79baddb6ee74 - rustc_middle[a886f61dbc61428a]::util::bug::opt_span_bug_fmt::<rustc_span[3e5cf3424d44936d]::span_encoding::Span>::{closure#0} 13: 0x79baddb54f6a - rustc_middle[a886f61dbc61428a]::ty::context::tls::with_opt::<rustc_middle[a886f61dbc61428a]::util::bug::opt_span_bug_fmt<rustc_span[3e5cf3424d44936d]::span_encoding::Span>::{closure#0}, !>::{closure#0} 14: 0x79baddb54dfb - rustc_middle[a886f61dbc61428a]::ty::context::tls::with_context_opt::<rustc_middle[a886f61dbc61428a]::ty::context::tls::with_opt<rustc_middle[a886f61dbc61428a]::util::bug::opt_span_bug_fmt<rustc_span[3e5cf3424d44936d]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !> 15: 0x79badc4839a0 - rustc_middle[a886f61dbc61428a]::util::bug::bug_fmt 16: 0x79badf2e7f70 - <rustc_middle[a886f61dbc61428a]::ty::normalize_erasing_regions::NormalizeAfterErasingRegionsFolder as rustc_type_ir[953d4871ec2d6eb6]::fold::TypeFolder<rustc_middle[a886f61dbc61428a]::ty::context::TyCtxt>>::fold_ty 17: 0x79badf4fe25d - <rustc_mir_dataflow[9c27b51dffa9535c]::elaborate_drops::DropCtxt<rustc_mir_transform[b36c87ceb4bb9a8e]::elaborate_drops::ElaborateDropsCtxt>>::elaborate_drop 18: 0x79badbc5ea22 - <rustc_mir_transform[b36c87ceb4bb9a8e]::elaborate_drops::ElaborateDrops as rustc_mir_transform[b36c87ceb4bb9a8e]::pass_manager::MirPass>::run_pass 19: 0x79badec066b9 - rustc_mir_transform[b36c87ceb4bb9a8e]::run_analysis_to_runtime_passes 20: 0x79badedf62de - rustc_mir_transform[b36c87ceb4bb9a8e]::mir_drops_elaborated_and_const_checked 21: 0x79badedf5cfd - rustc_query_impl[db795c774d495014]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[db795c774d495014]::query_impl::mir_drops_elaborated_and_const_checked::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 8usize]>> 22: 0x79badeef3e68 - rustc_query_system[b2bb6e43dd6b7fda]::query::plumbing::try_execute_query::<rustc_query_impl[db795c774d495014]::DynamicConfig<rustc_query_system[b2bb6e43dd6b7fda]::query::caches::VecCache<rustc_span[3e5cf3424d44936d]::def_id::LocalDefId, rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[db795c774d495014]::plumbing::QueryCtxt, false> 23: 0x79badeef36cd - rustc_query_impl[db795c774d495014]::query_impl::mir_drops_elaborated_and_const_checked::get_query_non_incr::__rust_end_short_backtrace 24: 0x79badf10af19 - rustc_mir_transform[b36c87ceb4bb9a8e]::optimized_mir 25: 0x79badf108369 - rustc_query_impl[db795c774d495014]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[db795c774d495014]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 8usize]>> 26: 0x79badec24b2d - rustc_query_system[b2bb6e43dd6b7fda]::query::plumbing::try_execute_query::<rustc_query_impl[db795c774d495014]::DynamicConfig<rustc_query_system[b2bb6e43dd6b7fda]::query::caches::DefIdCache<rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[db795c774d495014]::plumbing::QueryCtxt, false> 27: 0x79badec241b3 - rustc_query_impl[db795c774d495014]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace 28: 0x79badf6ce39f - rustc_middle[a886f61dbc61428a]::query::plumbing::query_get_at::<rustc_query_system[b2bb6e43dd6b7fda]::query::caches::DefIdCache<rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 8usize]>>> 29: 0x79baddb6e8b5 - <rustc_middle[a886f61dbc61428a]::ty::context::TyCtxt>::coroutine_layout 30: 0x79badf273c28 - rustc_ty_utils[45bf0f8bee683616]::layout::layout_of_uncached 31: 0x79badf264a46 - rustc_ty_utils[45bf0f8bee683616]::layout::layout_of 32: 0x79badf2649d1 - rustc_query_impl[db795c774d495014]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[db795c774d495014]::query_impl::layout_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 16usize]>> 33: 0x79badf2640b2 - rustc_query_system[b2bb6e43dd6b7fda]::query::plumbing::try_execute_query::<rustc_query_impl[db795c774d495014]::DynamicConfig<rustc_query_system[b2bb6e43dd6b7fda]::query::caches::DefaultCache<rustc_middle[a886f61dbc61428a]::ty::ParamEnvAnd<rustc_middle[a886f61dbc61428a]::ty::Ty>, rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[db795c774d495014]::plumbing::QueryCtxt, false> 34: 0x79badf263da9 - rustc_query_impl[db795c774d495014]::query_impl::layout_of::get_query_non_incr::__rust_end_short_backtrace 35: 0x79badc2130da - <rustc_mir_transform[b36c87ceb4bb9a8e]::known_panics_lint::KnownPanicsLint as rustc_mir_transform[b36c87ceb4bb9a8e]::pass_manager::MirLint>::run_lint 36: 0x79badec066b9 - rustc_mir_transform[b36c87ceb4bb9a8e]::run_analysis_to_runtime_passes 37: 0x79badedf62de - rustc_mir_transform[b36c87ceb4bb9a8e]::mir_drops_elaborated_and_const_checked 38: 0x79badedf5cfd - rustc_query_impl[db795c774d495014]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[db795c774d495014]::query_impl::mir_drops_elaborated_and_const_checked::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 8usize]>> 39: 0x79badeef3e68 - rustc_query_system[b2bb6e43dd6b7fda]::query::plumbing::try_execute_query::<rustc_query_impl[db795c774d495014]::DynamicConfig<rustc_query_system[b2bb6e43dd6b7fda]::query::caches::VecCache<rustc_span[3e5cf3424d44936d]::def_id::LocalDefId, rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[db795c774d495014]::plumbing::QueryCtxt, false> 40: 0x79badeef36cd - rustc_query_impl[db795c774d495014]::query_impl::mir_drops_elaborated_and_const_checked::get_query_non_incr::__rust_end_short_backtrace 41: 0x79badf4f0705 - rustc_interface[88a02114bbdb2383]::passes::run_required_analyses 42: 0x79badf4e72e5 - rustc_interface[88a02114bbdb2383]::passes::analysis 43: 0x79badf4e72c9 - rustc_query_impl[db795c774d495014]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[db795c774d495014]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 1usize]>> 44: 0x79badf9f2662 - rustc_query_system[b2bb6e43dd6b7fda]::query::plumbing::try_execute_query::<rustc_query_impl[db795c774d495014]::DynamicConfig<rustc_query_system[b2bb6e43dd6b7fda]::query::caches::SingleCache<rustc_middle[a886f61dbc61428a]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[db795c774d495014]::plumbing::QueryCtxt, false> 45: 0x79badf9f238f - rustc_query_impl[db795c774d495014]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace 46: 0x79badf9620bb - rustc_interface[88a02114bbdb2383]::interface::run_compiler::<core[c06ff78fa456ca03]::result::Result<(), rustc_span[3e5cf3424d44936d]::ErrorGuaranteed>, rustc_driver_impl[4c2d2ad79fb810ac]::run_compiler::{closure#0}>::{closure#1} 47: 0x79badf9533d9 - std[c6eb78587944e35c]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[88a02114bbdb2383]::util::run_in_thread_with_globals<rustc_interface[88a02114bbdb2383]::interface::run_compiler<core[c06ff78fa456ca03]::result::Result<(), rustc_span[3e5cf3424d44936d]::ErrorGuaranteed>, rustc_driver_impl[4c2d2ad79fb810ac]::run_compiler::{closure#0}>::{closure#1}, core[c06ff78fa456ca03]::result::Result<(), rustc_span[3e5cf3424d44936d]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[c06ff78fa456ca03]::result::Result<(), rustc_span[3e5cf3424d44936d]::ErrorGuaranteed>> 48: 0x79badfa22fac - <<std[c6eb78587944e35c]::thread::Builder>::spawn_unchecked_<rustc_interface[88a02114bbdb2383]::util::run_in_thread_with_globals<rustc_interface[88a02114bbdb2383]::interface::run_compiler<core[c06ff78fa456ca03]::result::Result<(), rustc_span[3e5cf3424d44936d]::ErrorGuaranteed>, rustc_driver_impl[4c2d2ad79fb810ac]::run_compiler::{closure#0}>::{closure#1}, core[c06ff78fa456ca03]::result::Result<(), rustc_span[3e5cf3424d44936d]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[c06ff78fa456ca03]::result::Result<(), rustc_span[3e5cf3424d44936d]::ErrorGuaranteed>>::{closure#1} as core[c06ff78fa456ca03]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 49: 0x79badfa23a6b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc78f3943333fa94 50: 0x79bad9ea339d - <unknown> 51: 0x79bad9f2849c - <unknown> 52: 0x0 - <unknown> ``` </p> </details>
I-ICE,T-compiler,C-bug,S-bug-has-test
low
Critical
2,766,371,771
kubernetes
Support for ignoring bad response from mutating admissions webhook
### What would you like to be added? Currently, you can configure the kubernetes control plane to ignore errors when calling a mutating admission webhook > webhooks.failurePolicy (string) > > FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. > Defaults to Fail. ~ https://kubernetes.io/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1/ This is great, as some webhooks are 'nice to have' rather than critical and I do not want their failure to block resource creation. However, it seems as though `failurePolicy` only applies to errors calling the webhook, and not from handeling the response. For example, I created an (intentionally faulty) webhook that returns an invalid patch under certain conditions (specifically it tries to add an entry to `/metadata/annotations` even if it does not exist). When I tried to create an appropriate pod, I got an error response, even though I had set this webhook to have an `Ignore` failure policy. e.g. ``` % kubectl create -f dummy-pod.yaml Error from server (InternalError): error when creating "dummy-pod.yaml": Internal error occurred: add operation does not apply: doc is missing path: "/metadata/annotations/webhook-test": missing value ``` I had a look through the source and I *think* this might be where the decision is being made about which errors to fail open for. https://github.com/kubernetes/kubernetes/blob/35f584187a6d1250191aa24b0dcf735350f57508/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go#L204-L214 --- It would be great if there was some way to tell kubernetes to ignore invalid responses (as well as errors calling the webhook). Of course, if there is already a way to do this, please do let me know! ### Why is this needed? This would increase the safety of using a webhook.
sig/api-machinery,kind/feature,needs-triage
low
Critical
2,766,382,789
electron
Registering globalShortcut F14 fails on Linux on X11
### Preflight Checklist - [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success. ### Electron Version 33.2.1 ### What operating system(s) are you using? Other Linux ### Operating System Version TUXEDO OS (Ubuntu 24.04 based) ### What arch are you using? x64 ### Last Known Working Electron version _No response_ ### Expected Behavior Using the minimal example for registering a globalShortcut https://www.electronjs.org/docs/latest/api/global-shortcut/ one can register the whole range of shortcuts listed in "accelerator -> Available key codes" https://www.electronjs.org/docs/latest/api/accelerator#available-key-codes. ### Actual Behavior Running Linux with the X11 display server registering F14 as a shortcut fails. In the example above the `console.log('registration failed')` message is triggered. In Wayland everything works as expected. ### Testcase Gist URL _No response_ ### Additional Information I have a Notebook at hand with an extra key that is actually just a physical F14 key. By default on Linux F13-F24 are not actually bound to F13-F24, but (from /usr/share/X11/xkb/symbols/inet): ``` key <FK13> { [ XF86Tools ] }; key <FK14> { [ XF86Launch5 ] }; key <FK15> { [ XF86Launch6 ] }; key <FK16> { [ XF86Launch7 ] }; key <FK17> { [ XF86Launch8 ] }; key <FK18> { [ XF86Launch9 ] }; key <FK20> { [ XF86AudioMicMute ] }; key <FK21> { [ XF86TouchpadToggle ] }; key <FK22> { [ XF86TouchpadOn ] }; key <FK23> { [ XF86TouchpadOff ] }; ``` And F19 and F24 not bound at all. I suspect the issues affects the whole range of F13-F24. There is this older issue where overwriting the default X11 config fixed the issue, but this can not be contained in an electron package: https://github.com/electron/electron/issues/40086
platform/linux,bug :beetle:,component/globalShortcut,x11,33-x-y
low
Critical
2,766,387,891
storybook
[Bug]: Importing from `@storybook/test` breaks stories using args to pass children to lit component
### Describe the bug I have a simple `lit` component that can accept children to render, everything is working fine whether I pass the children as an array or ``html`...` `` like so: ```Buttons.js // Buttons.js import { html } from 'lit'; export const Buttons = ({ buttons }) => { return html` <div class="buttons">${buttons}</div> ` }; ``` ``` import { html } from 'lit'; import { Button } from './Button'; import { Buttons } from './Buttons'; export default { title: 'Buttons/Array Args', render: (args) => Buttons(args), args: { buttons: [ Button({ label: 'With Args - One' }), Button({ label: 'With Args - Primary', primary: true }) ] } }; export const Primary = {}; ``` The second I import `import { userEvent, within } from '@storybook/test';` into any story that gets run I start getting this error: ``` Internal Error: expected template strings to be an array ``` **Note:** *I do not get this error* if the `buttons` are passed to the `Buttons` component outside of `args`. If I open this story in storybook and make an edit in the code then the story works fine, until I go to another story that has the imports from `@storybook/test` and return and the story is broken until I make more changes (or reload the browser). ### Reproduction link https://stackblitz.com/edit/github-hcwvxam5 ### Reproduction steps 1. Go to https://stackblitz.com/edit/github-hcwvxam5 and run the storybook 2. Open "Buttons > Array Args > Primary" story (note it renders) 3. Open Buttons > Any other story 4. Return to "Buttons > Array Args > Primary" story, get: ![Image](https://github.com/user-attachments/assets/2ca1ef17-0adf-4e3c-8009-c12efd774db0) ### System ```bash Storybook Environment Info: System: OS: macOS 15.2 CPU: (8) arm64 Apple M1 Shell: 5.9 - /bin/zsh Binaries: Node: 20.15.0 - ~/.volta/tools/image/node/20.15.0/bin/node Yarn: 4.5.0 - ~/.volta/tools/image/yarn/4.5.0/bin/yarn <----- active npm: 10.7.0 - ~/.volta/tools/image/node/20.15.0/bin/npm Browsers: Chrome: 131.0.6778.205 Safari: 18.2 npmPackages: @storybook/addon-essentials: ^8.4.7 => 8.4.7 @storybook/blocks: ^8.4.7 => 8.4.7 @storybook/test: ^8.4.7 => 8.4.7 @storybook/web-components: ^8.4.7 => 8.4.7 @storybook/web-components-vite: ^8.4.7 => 8.4.7 storybook: ^8.4.7 => 8.4.7 ``` ### Additional context _No response_
bug,needs triage
low
Critical
2,766,393,336
godot
Godot 2.1 - Engine compilation errors on macOS 15/Xcode 16
### Tested versions - Reproducible in 2.1.7.rc.custom_build [0919ee6], 2.1.7.rc.custom_build [7cef81b] ### System information macOS 15/Xcode 16 - Mac Mini (Intel i7), MacBook Air (M1) ### Issue description When compiling Godot 2.1 using macOS 15/Xcode 16, the 'Byte' type is not found by FreeType 1.8.1's included gzip. The issue is not present on macOS 12/Xcode 14. ``` In file included from thirdparty/freetype/src/gzip/ftgzip.c:77: In file included from thirdparty/freetype/src/gzip/zlib.h:34: thirdparty/freetype/src/gzip/ftzconf.h:228:12: error: unknown type name 'Byte' 228 | typedef Byte FAR Bytef; | ^ In file included from thirdparty/freetype/src/gzip/ftgzip.c:95: thirdparty/freetype/src/gzip/inftrees.h:22:7: error: unknown type name 'Byte' 22 | Byte Exop; /* number of extra bits or operation */ | ^ thirdparty/freetype/src/gzip/inftrees.h:23:7: error: unknown type name 'Byte' 23 | Byte Bits; /* number of bits in this code or subcode */ | ^ In file included from thirdparty/freetype/src/gzip/ftgzip.c:103: thirdparty/freetype/src/gzip/inftrees.c:247:21: error: use of undeclared identifier 'Byte' 247 | r.bits = (Byte)l; /* bits to dump before this table */ | ^ thirdparty/freetype/src/gzip/inftrees.c:248:21: error: use of undeclared identifier 'Byte' 248 | r.exop = (Byte)j; /* bits in this table */ | ^ thirdparty/freetype/src/gzip/inftrees.c:258:17: error: use of undeclared identifier 'Byte' 258 | r.bits = (Byte)(k - w); | ^ thirdparty/freetype/src/gzip/inftrees.c:263:19: error: use of undeclared identifier 'Byte' 263 | r.exop = (Byte)(*p < 256 ? 0 : 32 + 64); /* 256 is end-of-block */ | ^ thirdparty/freetype/src/gzip/inftrees.c:268:19: error: use of undeclared identifier 'Byte' 268 | r.exop = (Byte)(e[*p - s] + 16 + 64);/* non-simple--look up in lists */ | ^ In file included from thirdparty/freetype/src/gzip/ftgzip.c:105: thirdparty/freetype/src/gzip/infcodes.c:50:3: error: unknown type name 'Byte' 50 | Byte lbits; /* ltree bits decoded per branch */ | ^ thirdparty/freetype/src/gzip/infcodes.c:51:3: error: unknown type name 'Byte' 51 | Byte dbits; /* dtree bits decoder per branch */ | ^ thirdparty/freetype/src/gzip/infcodes.c:70:17: error: use of undeclared identifier 'Byte' 70 | c->lbits = (Byte)bl; | ^ thirdparty/freetype/src/gzip/infcodes.c:71:17: error: use of undeclared identifier 'Byte' 71 | c->dbits = (Byte)bd; | ^ thirdparty/freetype/src/gzip/infcodes.c:204:9: error: use of undeclared identifier 'Byte' 204 | OUTBYTE(*f++) | ^ thirdparty/freetype/src/gzip/infutil.h:83:27: note: expanded from macro 'OUTBYTE' 83 | #define OUTBYTE(a) {*q++=(Byte)(a);m--;} | ^ In file included from thirdparty/freetype/src/gzip/ftgzip.c:105: thirdparty/freetype/src/gzip/infcodes.c:213:7: error: use of undeclared identifier 'Byte' 213 | OUTBYTE(c->sub.lit) | ^ thirdparty/freetype/src/gzip/infutil.h:83:27: note: expanded from macro 'OUTBYTE' 83 | #define OUTBYTE(a) {*q++=(Byte)(a);m--;} | ^ 14 errors generated. scons: *** [thirdparty/freetype/src/gzip/ftgzip.osx.opt.tools.64.o] Error 1 ``` ### Steps to reproduce Compile the Godot Engine (2.1.x) on macOS 15/Xcode 16. ``` scons platform=osx tools=yes target=release_debug ``` ### Minimal reproduction project (MRP) Godot 2.1.x source: https://github.com/godotengine/godot/tree/2.1
bug,platform:macos,topic:buildsystem
low
Critical
2,766,411,644
flutter
Video does not work with ShaderMask
### Steps to reproduce Checkout https://github.com/willsmanley/video_shader ### Expected results Video should be masked to only be visible through the text, just like in the working image shader example. Here is a working example in JS of using a video as a text background: https://video-background-b9b.pages.dev/ The flutter widget of the week video from 2020 actually shows a video mask working with flames at the very end, but does not provide source code for it: https://www.youtube.com/watch?v=7sUL66pTQ7Q ### Actual results Video overflows the text and is not masked. ### Code sample https://github.com/willsmanley/video_shader ### Screenshots or Video _No response_ ### Logs _No response_ ### Flutter Doctor output [✓] Flutter (Channel stable, 3.24.4, on macOS 15.1 24B83 darwin-arm64, locale en-US) • Flutter version 3.24.4 on channel stable at /Users/admin/flutter/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 603104015d (2 months ago), 2024-10-24 08:01:25 -0700 • Engine revision db49896cf2 • Dart version 3.5.4 • DevTools version 2.37.3 [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/to/macos-android-setup for detailed instructions). If the Android SDK has been installed to a custom location, please use `flutter config --android-sdk` to update to that location. [✓] Xcode - develop for iOS and macOS (Xcode 16.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16B40 • CocoaPods version 1.16.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/to/macos-android-setup for detailed instructions). [✓] Connected device (3 available) • macOS (desktop) • macos • darwin-arm64 • macOS 15.1 24B83 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.1 24B83 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.205 [✓] Network resources • All expected network resources are available.
framework,has reproducible steps,P3,team-framework,triaged-framework,found in release: 3.27,found in release: 3.28
low
Major
2,766,481,107
angular
Zoneless SSR: usage of forkJoin to get multiple responses prevents server rendering
### Which @angular/* package(s) are the source of the bug? Don't known / other ### Is this a regression? No ### Description Using `forkJoin` to load multiple data using the HttpClient prevents the component to be rendered on the server. Using `combineLatest` instead works as expected. ### Please provide a link to a minimal reproduction of the bug https://stackblitz.com/edit/stackblitz-starters-fud9dwup?file=demo%2Fsrc%2Fapp%2Fapp.component.ts ### Please provide the exception or error you saw ```true NA ``` ### Please provide the environment you discovered this bug in (run `ng version`) ```true Angular CLI: 19.0.6 Node: 18.20.3 Package Manager: npm 10.2.3 OS: linux x64 Angular: 19.0.5 ... animations, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, platform-server ... router Package Version --------------------------------------------------------- @angular-devkit/architect 0.1900.6 @angular-devkit/build-angular 19.0.6 @angular-devkit/core 19.0.6 @angular-devkit/schematics 19.0.6 @angular/cli 19.0.6 @angular/ssr 19.0.6 @schematics/angular 19.0.6 rxjs 7.8.1 typescript 5.6.3 zone.js 0.15.0 ``` ### Anything else? To reproduce, using the provided stackblitz: - `cd demo` - `npm i` - `ng serve` Then open the network dev tools, clear the requests, and refresh the stackblitz demo page. Inspect the HTML returned by the server. It contains an empty `app-root` element, and it also contains the transfer state for the http response: ```html <app-root _nghost-ng-c1660245559="" ng-version="19.0.5" ngh="0" ng-server-context="ssr"><!--container--></app-root> <script id="ng-state" type="application/json">{"3838178545":{"b":{"message":"hello"},"h":{},"s":200,"st":"OK","u":"/foo.json","rt":"json"},"__nghData__":[{"t":{"0":"t0"},"c":{"0":[]}}]}</script></body></html> ``` Then comment the code of the app component loading the data using `forkJoin`, and replace it with the commented code using `combineLatest`. Then refresh the stackblitz demo page. Inspect the HTML returned by the server. It now contains a filled `app-root` element, as expected: ```html <app-root _nghost-ng-c1660245559="" ng-version="19.0.5" ngh="0" ng-server-context="ssr"><h1 _ngcontent-ng-c1660245559="">Hello from app</h1><!--container--></app-root> ```
area: core,area: server,area: common/http,core: zoneless
low
Critical
2,766,484,562
pytorch
[profiler][python 3.13] profiler with_stack=True failing on python 3.13
### 🐛 Describe the bug Repro: ```python import torch class ModuleA(torch.nn.Module): def __init__(self): super().__init__() self.linear = torch.nn.Linear(4, 4) def forward(self, x): return self.linear(x) class ModuleB(torch.nn.Module): def __init__(self): super().__init__() self.a = ModuleA() def forward(self, x): return self.a(x).relu() mod = ModuleB() torch.jit.script(mod) with torch.profiler.profile(with_stack=True, schedule=torch.profiler.schedule(warmup=2, wait=2, active=3, repeat=1)) as prof: for _ in range(10): x = torch.rand(4, 4) mod(x) prof.step() prof.export_chrome_trace("torchscript_stack.json") ``` Result: segfault. ### Versions pytorch commit: f7e621c3ce623996510b87901e729be2138679b2 (dec 11) A100 build. cc @robieta @chaekit @guotuofeng @guyang3532 @dzhulgakov @briancoutinho @sraikund16 @sanrise
oncall: profiler
low
Critical
2,766,494,156
terminal
Feature Request: Logging Input and Output for Each Terminal Tab Automatically
Description: I would like to request a feature that allows logging of input and output for each terminal tab in Windows Terminal automatically (Not export text manually, Because I often remember to review the terminal output only after I close the tab or the entire terminal program). This feature would be similar to the logging functionality available in mintty, where logs can be configured in the configuration file (e.g., ~/.minttyrc with Log=/var/log/mintty/%Y%m%d@%H:%M:%S_log%d.txt). Use Case: This feature would be extremely useful for users who need to keep a record of their terminal sessions for auditing, debugging, or documentation purposes. It would be beneficial for various types of terminals, including PowerShell, CMD, WSL, and MSYS2. Proposed Solution: Implement a logging feature that can be configured in the Windows Terminal settings, allowing users to specify the log file path and format. The logs should include both input and output for each terminal tab. Additional Context: Currently, users have to rely on external tools and scripts to achieve this functionality. Having this feature built into Windows Terminal would greatly enhance its usability and convenience.
Needs-Triage,Needs-Tag-Fix
low
Critical
2,766,501,141
pytorch
activation memory budget partitioner can fail with unbacked symints
internal xref: https://fb.workplace.com/groups/1075192433118967/posts/1567692087202330/?comment_id=1572673046704234&reply_comment_id=1577244289580443 Stacktrace below. Still working on a minimal repro, but a few things that become apparent from looking at the [tlparse](https://manifold.edge.x2p.facebook.net/v0/read/tree/logs/aps-ig_v4_4t_4_brian_fix_more_log-1f26ffb451/attempt_0/version_0/rank_0/1_0_0/aot_joint_graph_7.txt?bucketName=tlparse_reports&apiKey=tlparse_reports-key&withPayload=1&timeoutMsec=100&fbclid=IwZXh0bgNhZW0CMTEAAR3PXnExS6X2RbGJVZA4YDlJxOplWmMtBCqTDDkB1F4nLGu1N3aML9CZ-kM_aem_XfnDO_Q9FfE_kYaJbP3IHw): (1) The partitioner runs some ops in the graph under the FlopCounter during mem budget partitioning, but errors inside one of the meta functions (2) surprisingly, these meta functions didn't error previously during dynamo / AOT tracing - they only fail later when they are re-run in the partitioner. Still working on a min repro ``` Traceback (most recent call last): File "/.../torch/_dynamo/convert_frame.py", line 986, in _compile guarded_code = compile_inner(code, one_graph, hooks, transform) File "/.../torch/_dynamo/convert_frame.py", line 715, in compile_inner return _compile_inner(code, one_graph, hooks, transform) File "/.../torch/_utils_internal.py", line 310, in wrapper_function return func(*args, **kwargs) File "/.../torch/_dynamo/convert_frame.py", line 750, in _compile_inner out_code = transform_code_object(code, transform) File "/.../torch/_dynamo/bytecode_transformation.py", line 1361, in transform_code_object transformations(instructions, code_options) File "/.../torch/_dynamo/convert_frame.py", line 231, in _fn return fn(*args, **kwargs) File "/.../torch/_dynamo/convert_frame.py", line 662, in transform tracer.run() File "/.../torch/_dynamo/symbolic_convert.py", line 2870, in run super().run() File "/.../torch/_dynamo/symbolic_convert.py", line 1053, in run while self.step(): File "/.../torch/_dynamo/symbolic_convert.py", line 963, in step self.dispatch_table[inst.opcode](self, inst) File "/.../torch/_dynamo/symbolic_convert.py", line 3050, in RETURN_VALUE self._return(inst) File "/.../torch/_dynamo/symbolic_convert.py", line 3035, in _return self.output.compile_subgraph( File "/.../torch/_dynamo/output_graph.py", line 1136, in compile_subgraph self.compile_and_call_fx_graph( File "/.../torch/_dynamo/output_graph.py", line 1382, in compile_and_call_fx_graph compiled_fn = self.call_user_compiler(gm) File "/.../torch/_dynamo/output_graph.py", line 1432, in call_user_compiler return self._call_user_compiler(gm) File "/.../torch/_dynamo/output_graph.py", line 1483, in _call_user_compiler raise BackendCompilerFailed(self.compiler_fn, e).with_traceback( File "/.../torch/_dynamo/output_graph.py", line 1462, in _call_user_compiler compiled_fn = compiler_fn(gm, self.example_inputs()) File "/.../torch/_dynamo/repro/after_dynamo.py", line 130, in __call__ compiled_gm = compiler_fn(gm, example_inputs) File "/.../torch/__init__.py", line 2314, in __call__ return compile_fx(model_, inputs_, config_patches=self.config) File "/.../torch/_inductor/compile_fx.py", line 1880, in compile_fx return aot_autograd( File "/.../torch/_dynamo/backends/common.py", line 83, in __call__ cg = aot_module_simplified(gm, example_inputs, **self.kwargs) File "/.../torch/_functorch/aot_autograd.py", line 1155, in aot_module_simplified compiled_fn = dispatch_and_compile() File "/.../torch/_functorch/aot_autograd.py", line 1131, in dispatch_and_compile compiled_fn, _ = create_aot_dispatcher_function( File "/.../torch/_functorch/aot_autograd.py", line 580, in create_aot_dispatcher_function return _create_aot_dispatcher_function( File "/.../torch/_functorch/aot_autograd.py", line 830, in _create_aot_dispatcher_function compiled_fn, fw_metadata = compiler_fn( File "/.../torch/_functorch/_aot_autograd/jit_compile_runtime_wrappers.py", line 447, in aot_dispatch_autograd fw_module, bw_module = aot_config.partition_fn( File "/.../torch/_inductor/compile_fx.py", line 1797, in partition_fn return min_cut_rematerialization_partition( File "/.../torch/_functorch/partitioners.py", line 1823, in min_cut_rematerialization_partition saved_values = choose_saved_values_set( File "/.../torch/_functorch/partitioners.py", line 1573, in choose_saved_values_set runtimes_banned_nodes = [ File "/.../torch/_functorch/partitioners.py", line 1574, in <listcomp> estimate_runtime(node) for node in all_recomputable_banned_nodes File "/.../torch/_functorch/partitioners.py", line 1458, in estimate_runtime node.target(*args, **kwargs) File "/.../torch/_ops.py", line 722, in __call__ return self._op(*args, **kwargs) File "/.../torch/utils/flop_counter.py", line 772, in __torch_dispatch__ out = func(*args, **kwargs) File "/.../torch/_ops.py", line 722, in __call__ return self._op(*args, **kwargs) File "/.../torch/utils/_stats.py", line 21, in wrapper return fn(*args, **kwargs) File "/.../torch/_subclasses/fake_tensor.py", line 1276, in __torch_dispatch__ return self.dispatch(func, types, args, kwargs) File "/.../torch/_subclasses/fake_tensor.py", line 1817, in dispatch return self._cached_dispatch_impl(func, types, args, kwargs) File "/.../torch/_subclasses/fake_tensor.py", line 1387, in _cached_dispatch_impl output = self._dispatch_impl(func, types, args, kwargs) File "/.../torch/_subclasses/fake_tensor.py", line 2385, in _dispatch_impl r = func(*args, **kwargs) File "/.../torch/_ops.py", line 722, in __call__ return self._op(*args, **kwargs) torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised: RuntimeError: Exception raised from <custom_op_meta> ``` cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @chauhang @penguinwu @bobrenjc93 @yf225
high priority,triaged,oncall: pt2,module: dynamic shapes,module: aotdispatch,module: pt2-dispatcher
low
Critical
2,766,513,621
godot
lag when choosing a scene super class and in all full screen floating windows
### Tested versions 4.4 dev 7 and 4.3 stable ### System information Godot v4.4.dev7 - Nobara Linux 40 (GNOME Edition) on Wayland - X11 display driver, Multi-window, 2 monitors - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (TGL GT2) - 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 threads) this is only an issue on wayland ### Issue description when i click create scene then choose a node to inherit from, there is a huge amount of lag on that popup window. Also, when i make a section floating and them maximise that popup, there is also a huge amount of lag on that popup window. ### Steps to reproduce - create new project - right click file system - click create new - scene - click the tree icon to get the choose node popup window - lag - click make floating on any section - maximise that window - lag ### Minimal reproduction project (MRP) n/a
bug,topic:editor,needs testing,performance
low
Minor
2,766,520,298
go
x/tools/go/packages: overlay does not cause ExportFile to be cleared
In the `x/tools/go/pacakges` there is a comment, mentioning that overlay might invalidate export data, see: https://github.com/golang/tools/blob/b93274bf6492f1e1ab72ee5def8da5dfbc9e0e43/go/packages/packages.go#L800-L802 It was introduced in [CL 151999](https://go.dev./cl/151999). If that is still true, then we should probably also clear the `ExportFile` field, this is currently not being done. But looking at the exported file, it seems to include the `Test2` symbol defined in the overlay, so it seems to work. The comment mentions that it ***can*** so maybe this might happen only in some other corner-cases (that i am not aware of), if so we should probably clear that `ExportFile`. Reproducer (using the `x/tools/go/packages` testing API): ```go func TestReproducer(t *testing.T) { log.SetFlags(log.Lshortfile) exported := packagestest.Export(t, packagestest.Modules, []packagestest.Module{ { Name: "test", Files: map[string]any{ "test.go": `package test; import "test/other"; func test() { other.Test2() }`, "other/file.go": `package other; func Test() {}`, }, Overlay: map[string][]byte{ `other/file.go`: []byte(`package other; func Test2() {}`), }, }, }) t.Cleanup(exported.Cleanup) exported.Config.Mode = packages.LoadSyntax | packages.NeedExportFile pkgs, err := packages.Load(exported.Config, "test") if err != nil { t.Error(err) } packages.PrintErrors(pkgs) ef := pkgs[0].Imports["test/other"].ExportFile if ef != "" { t.Error("ExportFile for package text/other is not empty") // fails } f, err := os.Open(ef) if err != nil { t.Fatal(err) } r, err := gcexportdata.NewReader(f) if err != nil { t.Fatal(err) } fset := token.NewFileSet() pkg, err := gcexportdata.Read(r, fset, make(map[string]*types.Package), "test/other") if err != nil { t.Fatal(err) } t.Log(pkg.Scope().Lookup("Test2") != nil) // true } ``` CC @matloob @adonovan
NeedsInvestigation,Tools,BugReport
low
Critical
2,766,523,766
TypeScript
Cache Declarations Directory
### 🔍 Search Terms cache declarations cached tsserver tsc ### ✅ Viability Checklist - [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code - [x] This wouldn't change the runtime behavior of existing JavaScript code - [x] This could be implemented without emitting different JS based on the types of the expressions - [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.) - [x] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types - [x] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals ### ⭐ Suggestion A cache directory for declaration files that can be used both for normal type declaration and for tsserver. This would be a shared folder to use for type definitions in development and possibly for build steps. A separate folder could mean you have one service that could have it's own optimizations running in parallel or for some part of the project and emitting the declaration files, while the rest is worked normally or even tsserver rely only those declarations. ### 📃 Motivating Example https://github.com/trpc/trpc/discussions/2448#discussioncomment-11151754 ### 💻 Use Cases With tools that relies heavily on TS, some projects see inference times of seconds and have to rely on splitting code into a monorepo or some indirect compilation step and then depending on those types. 1. What do you want to use this for? Faster inference in large projects with tooling with complex, nested types. 2. What shortcomings exist with current approaches? Some relies on splitting code into a monorepo, others you need multiple tsconfigs so you can generate the types in one place and then reference them in the actual code, making indirections on the type system to keep the inference speed. 3. What workarounds are you using in the meantime? Have a parallel config to generate types and change a critical entrypoint to use the generated types instead of the normally inferred one.
Suggestion,Needs Proposal
low
Minor
2,766,538,791
TypeScript
Compilation option: `stricterPropertyInitialization`
### 🔍 Search Terms Keywords: "stricter property initiazliation" ### ✅ Viability Checklist - [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code - [x] This wouldn't change the runtime behavior of existing JavaScript code - [x] This could be implemented without emitting different JS based on the types of the expressions - [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.) - [x] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types - [x] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals ### ⭐ Suggestion So, TypeScript offers the `strictPropertyInitialization` compiler option, which is helpful, but it has this behavior: ```ts class UserAccount { name: string; // not an error, initialized in constructor accountType = "user"; // initialized email: string; // this is an error address: string | undefined; // NOT an error but ALSO not technically initialized! constructor(name: string) { this.name = name; } } ``` This is great except for one thing: performance. Uninitialized properties in the class (specifically: `address`) will, at least in V8, potentially switch the class to dictionary mode vs struct mode when the property eventually gets assigned, leading to slower read/writes. This was confirmed by a V8 developer in [this StackOverflow thread](https://stackoverflow.com/questions/24987896/how-does-bluebirds-util-tofastproperties-function-make-an-objects-properties). So the suggestion is that `stricterPropertyInitialization` sets `strictPropertyInitialization` to `true` AND throws an error if the author has added `| undefined` to the type to implicity define the type. In other words, "strict property initialization" would mean what it says: strict property initialization. If it is not initialized, it is an error. In the above example, from the tsconfig docs, the `address` is not initialized. It's too late to change that as default behavior, hence the additional flag. _Note: maybe `stricterPropertyInitialization` is too awkward? Something like `disallowImplicitUndefinedClassFields`? 🤷‍♂_ ### 📃 Motivating Example Most devs probably won't need to worry about the performance implications of internal dictionary vs. struct. In my case, in the library I'm maintaining / working on, every millisecond / fraction of a millisecond counts, so I'm trying to determine the fastest path in every scenario. I expected `strictPropertyInitialization` to mean what it says to prevent properties from not being initialized and avoid any accidental performance pitfalls from non-initialization, but it doesn't. 🤷‍♂ Meaning, in the above example: ```ts class UserAccount { name: string; // not an error, initialized in constructor accountType = "user"; // initialized email: string; // this is an error address: string | undefined; // NOT an error but ALSO not technically initialized! constructor(name: string) { this.name = name; } someMethod() { // The class will now possible de-optimize its performance to Dictionary mode, since V8 // thinks that the object needs to have arbitrary properties added. It doesn't know about `address` this.address = '123 fake street' } } ``` So, most simply, `stricterPropertyInitialization` would throw a compilation error if `| undefined` is added to a property and the property is not explicitly initialized with a field initializer or in the constructor. If the code author wishes to _actually_ initialize the field, to undefined, it must be something like: ```ts class UserAccount { // ... address: string | undefined = undefined; constructor(name: string) { this.name = name; } } ``` ### 💻 Use Cases 1. What do you want to use this for? A high-performance TS/JS library 2. What shortcomings exist with current approaches? There are no workarounds as far as I know. You simply have to let all devs on your team know to not write this and hope people catch it. 3. What workarounds are you using in the meantime? Vigilance
Suggestion,Awaiting More Feedback
low
Critical
2,766,578,790
godot
Triangulating fails on a single invalid triangle.
### Tested versions Reproducible in: versions 4.0+ and probably below but didn't really test ### System information All platforms ### Issue description When triangulating a 2d polygon, triangulate_polygon() fails and returns an empty array while the underlaying triangulate() function generates a mostly usable (though maybe incomplete) triangularisation. Longer description of the situation where this problem arises: I'm creating a small drawing app where the user can draw filled polygons with the mouse. This easily generates some invalid points which causes the complete fill to disappear. This is because in geometry_2d.h the triangulate_polygon() function discards the generated triangularisation if the triangulate() returns false. a possible fix is to just ignore the error status returned by the triangulate function and always return the result: ``` diff --git a/core/math/geometry_2d.h b/core/math/geometry_2d.h index abd395d8df..946a57ab42 100644 --- a/core/math/geometry_2d.h +++ b/core/math/geometry_2d.h @@ -345,7 +345,8 @@ public: static Vector<int> triangulate_polygon(const Vector<Vector2> &p_polygon) { Vector<int> triangles; if (!Triangulate::triangulate(p_polygon, triangles)) { - return Vector<int>(); //fail + //return Vector<int>(); //fail + // maybe somehow report a warning? } return triangles; } ``` This leads to much more stable triangularisations, but I'm not sure if we'd want to maybe generate a warning that some invalid triangles/points were detected? And how to do that. ### Steps to reproduce In the supplied project start it and draw with the mouse. As soon as the resulting polygon is invalid it completely disappears. With the above patch it behaves much more like other drawing apps. I'm not sure if this is the 'correct' way to solve this, but it seems a shame to just throw away the (mostly valid) triangularisation. ### Minimal reproduction project (MRP) [drawpolygon.zip](https://github.com/user-attachments/files/18294061/drawpolygon.zip)
discussion,topic:core,breaks compat,topic:2d
low
Critical
2,766,580,966
tauri
[feat] Allow macOS plugins to be written in Swift
### Describe the problem Swift support is not available for macOS plugins. It is only [available](https://tauri.app/develop/plugins/develop-mobile/) for iOS plugins. ### Describe the solution you'd like Since there are no production-ready Rust bindings for the macOS SDK, Swift support is needed for access to native APIs. While [Cacao](https://github.com/ryanmcgrath/cacao) is available for beta use, it is not exhaustive nor actively maintained e.g. Compared with `windows-rs` which is [actively supported](https://github.com/microsoft/windows-rs) by contributors from Microsoft. ### Alternatives considered N/A ### Additional context See related [discussion](https://github.com/tauri-apps/tauri/discussions/9594).
type: feature request,platform: macOS
low
Minor
2,766,598,517
pytorch
allow_in_graph footgun: nested user functions
https://github.com/pytorch/pytorch/blob/bb5e439f2d8a46172b8b7d2fdb7609822b9a97b1/torch/_dynamo/decorators.py#L138-L153 allow_in_graph recognizes functions by their Python id. A nested user function might get deallocated and the id reused. This may lead to nondeterministic behavior. These dicts should be weakkeydictionaries. cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
triaged,oncall: pt2,module: dynamo
low
Minor
2,766,627,302
pytorch
Update TorchInductor to support removed AttrsDescriptor in upstream Triton
https://github.com/triton-lang/triton/pull/5512 removed `AttrsDescriptor` which TorchInductor generates in its output code. To support Triton versions after that PR we will need to update the code we generate. cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov
high priority,triaged,oncall: pt2,module: inductor
low
Major
2,766,639,365
TypeScript
Mechanism for late inferred types in control flow analysis
### 🔍 Search Terms "control flow analysis" with variations of array, widening, callbacks, etc ### ✅ Viability Checklist - [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code - [x] This wouldn't change the runtime behavior of existing JavaScript code - [x] This could be implemented without emitting different JS based on the types of the expressions - [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.) - [x] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types - [x] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals ### ⭐ Suggestion I have an issue where I want to capture a type defined in a scope that is inaccessible from my current scope. For example, I want to create a wrapper for some OpenAI function. [Playground](https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAcgmApgOwIbAQbjgenzgCkBXAZ3hgjgHMUqALFOGAT1XNZoBsIMAJgCgh7VHACyGWsADGcALxw0KAG4ooOIYTg8GcFAA8wGNAOBpaAQShQMbAFxwbdtgB4pM2QD5FcANoAuiJ68EYmZhbWtvZ+QSKiHCwAwjzA6PBKAJJolKayKAAqSW5iKBAAZnCgkLAAFEiomNgAlAB0APJNVlneIrIQufDI6Fh+AN4AvnAYXKnpaDBaieJdMMCDXErjQnB7cIMSKOTk0igASseQuShOdSDHp2dOZZUGxqbmli72-mikIAARhpAnAWopfKoIMBhJN+pt4AIIABlGCkCpVJR1ZDrTZONYbXLghS+Hb7A5NLBtWSMDAwakQcChQnkalQFB0lB1Mnk-YgCACFA8JwIGl02hgGAAWgALBApTxOZQEAAaXa8vYPE5nchOeLkybtGDMNB1dnka7kFgkuA8jUDIa2qAQPQquBtD3mmDTJTmy0oamMaEFcj+AAMgTaWtO9BEGr2OgAEhoUAguAB3ZjsuBZOAVCwYHg8Nhwc0u9RwIPpnNwdOmJgsci08TUXQQCAAa10wA7KHVGvCnyiPzYbTAFEYdX78b24w9bS9brKIpAbClsgo1BAUrKCBmXAdlDhM5a0-JZTgAHF2wI-K8qoPIt8Ymw-gDgVBAngdNeBdUuGUt4DLYKCyDAxZwICpDwHwsiFtwrCMMAXDkAMqBxvGOIsm0hyPGclwWpsXKPl80SuOGgTgjohRIShQakDwt7AqwSRwKcFQsJ8ygQPAABWm7KGoGjToaQhwiIF4AEKCHeSRvCRw4vjgQA) ```ts import 'openai'; // Just to get the types to load type Magic = never; // let expandingArray: Array<Magic> = [] let expandingArray = [] type Client = InstanceType<typeof import('openai').OpenAI> const openai = {} as Client; type Options = { onMessageResponse: (message: typeof expandingArray[number]) => void } const doStuff = (options: Options) => { openai.chat.completions.create({ model: 'chatgpt-4o-latest', messages: [] }).then(response => { const {role, ...rest} = response.choices[0].message // Here's where I finally resolve how I want the shape to look like expandingArray.push( {...rest, type: 'my-custom-type' as const} ) type Good = typeof expandingArray[number]; // Good is typed correctly but local to this scope options.onMessageResponse(expandingArray[0]) // This should be type-safe and not just never }) } type Bad = typeof expandingArray; ``` As you can see, the goal is to have an auto-widening type based on usage later on (within the same file). This somewhat already works with control flow analysis for arrays, as you can see in the `type Good = ...` type above. Realistically, when this situation occurs, application authors will type `onMessageResponse` as `(message: any) => void`, which is unfortunate because all the type information is there and just needs a way to be bubbled up to the higher scope. It would be nice if there was an escape hatch to tell the type system that I care about the typeof a value declared somewhere inaccessible to the current type scope within the file. Obviously, this wouldn't actually use an untyped array with some annotation on the type; this would probably be a special new named type like LateInferredType or something similar, e.g.: ```ts type Message = LateInferredType; type Options = { onMessageResponse: (message: Message) => void } /// ... .then(response => { const {role, ...rest} = response.choices[0].message // Here's where I finally resolve how I want the shape to look like const message = {...rest, type: 'my-custom-type' as const} options.onMessageResponse(message as Message) // Perhaps casting signals to the type system to recognize it }) ``` Or perhaps there's a non-breaking way of declaring this syntax that I'm not thinking of. ### 📃 Motivating Example This allows smarter inference without needing to chase down every derived property. Sometime the specific types aren't even exported by the upstream libraries and there's no good way to mention them without recreating a large complex type which is fragile and error prone. ### 💻 Use Cases 1. What do you want to use this for? This is useful for writing type safe code where you want to expose a complex type that doesn't have a concrete definition and is more tied to the specific shape of a single step in a complex application 2. What shortcomings exist with current approaches? There's no way to signal later in a program or without a callback that a type should be widened, but sometimes that exact functionality is needed 3. What workarounds are you using in the meantime? None
Suggestion,Awaiting More Feedback
low
Critical
2,766,647,046
transformers
Instructions to raise PR for addition of shared library files(.so) and .cpp files
### Feature request Hello @ArthurZucker @zucchini-nlp @Rocketknight1 @gante, I have an proposal for improvement of Mamba model for which I wanted to raise PR. **Method:** The code changes are made in c++ file. I use cython to integrate c++ code to python. For this I will be generating an shared library file (.so) which will have the code. I will import it as library in transformers python code(Ex: import library) and call API's (Ex: library.api_name() ) from it. I have **queries on how to raise a PR** for the above scenario: 1. In which folder path should I keep the cython c++ binding codes ? 2. How to provide the share library file (.so) file in the PR, In which location should I keep? ### Motivation I will be detailing the motivation when I raise the PR for it. Now I need to instructions to raise the PR ### Your contribution I will be submitting a PR.
Feature request
low
Minor
2,766,647,524
tauri
[bug] `@tauri-apps/cli` NPM package contains unnecessary files
### Describe the bug The following path in `packages/cli/Cargo.toml` is incorrect in [NPM package](https://www.npmjs.com/package/@tauri-apps/cli?activeTab=code): ```toml [dependencies] # Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix napi = { version = "2.16", default-features = false, features = ["napi4"] } napi-derive = "2.16" tauri-cli = { path = "../../crates/tauri-cli", default-features = false } # INCORRECT PATH log = "0.4.21" ``` ### Reproduction Install `@tauri-apps/cli` NPM package and check `Cargo.toml` file. ### Expected behavior The path should be either correct or file should be excluded from the package. ### Full `tauri info` output ```text Irrelevant ``` ### Stack trace _No response_ ### Additional context _No response_
type: bug,good first issue,scope: cli.js,status: needs triage
low
Critical
2,766,672,134
godot
CharacterBody2D (only in Floating Motion Mode) accelerated by slides
### Tested versions v4.3.stable.official [77dcf97d8] ### System information Godot v4.3.stable - Linux Mint 22 (Wilma) - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (nvidia; 535.183.01) - AMD Ryzen 5 5600X 6-Core Processor (12 Threads) ### Issue description ## with Floating Motion Mode As you can see here, the CharacterBody2D velocity on the x axis is increased as soon as it touches the StaticBody2D. However each frame, the velocity is set to `speed` (a variable that is equal to `Vector2(50, 100)`) so it should never speed up like that (I guess). https://github.com/user-attachments/assets/2615740b-8145-4acd-af8f-a6b9d1320f57 the script of the CharacterBody2D is as following: ```gdscript extends CharacterBody2D ## the vector wich will be assigned to velocity @export var speed: Vector2 = Vector2(50, 100) func _physics_process(delta: float) -> void: velocity = speed var is_collinding = move_and_slide() print(" is_colliding = ", is_collinding) print("x --> real_vel : ", get_real_velocity().x) print("y --> real_vel : ", get_real_velocity().y) print("x --> velocity : ", velocity.x) print("y --> velocity : ", velocity.y) print() # print a blank line to easyly distinguish frames in the output ``` I know thanks to these prints that the x real velocity is around 109 during the slide (instead of 50). I can also say that this depends on the value of the velocity y coordinate: The higher `velocity.y` is , the higher `get_real_velocity().x` will be during th slide. the fact that `velocity` is not updated during `move_and_slide()` is another issue already reported (https://github.com/godotengine/godot/issues/60447) ## with Grounded Motion Mode (expected behavior) https://github.com/user-attachments/assets/cda63e37-6558-46f6-b766-44a8ada58f30 ### Steps to reproduce 1. create a new 2D scene 2. add a CharacterBody2D in **Floating Motion Mode** and with a collision shape as child 3. add a StaticBody2D with a collision shape as child 4. for the StaticBody2D's collision shape, select a rectangle shape in order to have no slop 5. add a script to the CharacterBody2D and set its content as following : ```gdscript extends CharacterBody2D ## the vector wich will be assigned to velocity @export var speed: Vector2 = Vector2(50, 100) func _physics_process(delta: float) -> void: velocity = speed var is_collinding = move_and_slide() print(" is_colliding = ", is_collinding) print("x --> real_vel : ", get_real_velocity().x) print("y --> real_vel : ", get_real_velocity().y) print("x --> velocity : ", velocity.x) print("y --> velocity : ", velocity.y) print() # print a blank line to easyly distinguish frames in the output ``` 6. place the nodes so the CharacterBody2D slides over the StaticBody2D's upper side when yon run the scene 7. run the scene ### Minimal reproduction project (MRP) [issue_demo.zip](https://github.com/user-attachments/files/18294596/issue_demo.zip)
bug,topic:physics,topic:2d
low
Minor
2,766,672,828
tauri
[feat] Add Window API support to Android
### Describe the problem [Window](https://v2.tauri.app/reference/javascript/api/namespacewindow/) API support is not available for Android. ### Describe the solution you'd like Android provides support for a [presentation](https://developer.android.com/reference/android/app/Presentation) since API 17 which is a special kind of dialog whose purpose is to present content on a secondary display. This capability could be leveraged to present an additional WebView on a secondary display. ### Alternatives considered N/A ### Additional context [WRY #21](https://github.com/tauri-apps/wry/issues/21)
type: feature request,platform: Android
low
Minor
2,766,682,566
tauri
[feat] Add Window API support to iOS
### Describe the problem [Window](https://v2.tauri.app/reference/javascript/api/namespacewindow/) API support is not available for iOS. ### Describe the solution you'd like iOS provides support for [Scenes](https://developer.apple.com/documentation/uikit/scenes) which manage multiple instances of an app's UI simultaneously, and directs resources to the appropriate UI instance. This capability could be leveraged to present an additional WebView on a secondary display. ### Alternatives considered N/A ### Additional context #12140 See article: ["Supporting multiple windows on iPad"](https://developer.apple.com/documentation/uikit/supporting-multiple-windows-on-ipad).
type: feature request,platform: iOS
low
Minor
2,766,683,733
PowerToys
Adding the option to turn on and off modules with keybinds
### Description of the new feature / enhancement Basically be able to assign the toggle option of a module to a keybind. ### Scenario when this would be used? For example, if i need to remap keys with the keyboard manager for a specific game but i need to turn it off for something else, instead of having to open powertoys and toggleing the option, i can just hit a set of keys and it would toggle without having to do all that. If there was a way to make that happen even when the app isnt open that would be awesome. ### Supporting information dont have any just an idea i came up with idk if someone else has brought this up or it is an option and i just never noticed
Needs-Triage
low
Minor
2,766,732,042
TypeScript
Unexpected "'Type' is declared but its value is never read." error with jsdoc @import syntax
### 🔎 Search Terms jsdoc `@import` "is declared but its value is never read" ### 🕗 Version & Regression Information I have seen this error since the introduction of `@import` in jsdoc comments (TS 5.5 if i recall correctly) ### ⏯ Playground Link _No response_ ### 💻 Code I made a testcase repo https://github.com/DavidBruant/jsdoc-import-unused-testcase It is as reduced as a managed to make it The code : ```js /** @import {ImportedType} from './types.d.ts' */ function id() { return undefined } /** @type {Set<ImportedType>} */ export const phases = new Set(['a', 'b']) ``` The types.d.ts file: ```ts export type ImportedType = 'a' | 'b' ``` ### 🙁 Actual behavior `tsc` and VSCodium both say: ``` code.js:1:5 - error TS6133: 'ImportedType' is declared but its value is never read. 1 /** @import {ImportedType} from './types.d.ts' */ ``` ### 🙂 Expected behavior There shouldn't be an error because of the line using the type : `/** @type {Set<ImportedType>} */` We've had this error in plently of places. It also seems like it occurs more regulary when the type is used within a generics ### Additional information about the issue For some reason, removing `function id() { return undefined }` from the code solves the problem while it seems completely unrelated to the problem
Bug,Help Wanted,Fix Available
low
Critical
2,766,767,809
material-ui
[system] Remove prefix
### Summary As far as I know, prefixes are no longer needed for the last 12+ months. I don't know any of https://mui.com/material-ui/getting-started/supported-platforms/#browser that requires it. Now, considering that those are pure pain from a DX perspective. e.g. `-webkit-box-pack` 🤡 <img width="1242" alt="SCR-20250103-bamg" src="https://github.com/user-attachments/assets/e52e0915-8f0a-4f3c-b290-bfee5bf76e05" /> https://mui.com/material-ui/react-button/ and bundle size. https://pkg-size.dev/stylis <img width="352" alt="SCR-20250103-bbjb" src="https://github.com/user-attachments/assets/daad3858-0e6b-453e-85ac-bffb65b10f6a" /> I think it's time we remove them. - https://github.com/thysultan/stylis/issues/334 - https://github.com/thysultan/stylis/issues/338 Now, to test whether this is true or not. If we can't do it right now, to move to v7. cc @brijeshb42 ### Examples https://github.com/emotion-js/emotion/pull/3296 ### Motivation Stay relevant. **Search keywords**: -
performance,external dependency,priority: important,package: system,dx
low
Minor
2,766,774,566
pytorch
Uneven Sharding in DTensor Leads to unexpected tensor resolution with `full_tensor`
### 🐛 Describe the bug Appears related at least to #143372. tl;dr: DTensor `full_tensor` operations are incorrect if sharding is not even AND if sharding isn't implicitly matching the uneven sharding that DTensor expects. I've recently hit this issue - uneven sharding of `DTensor` leads to unexpected results. As a toy example, a 1D device mesh of size 4 with the following shapes: - [2,2] on device 0 - [2,3] on device 1 - [2,4] on device 2 - [2,5] on device 3 Each tensor is created with torch.arange(5+rank) + 0.1*rank (to give uneven sizes and to make the decimal place match the rank). This would have a global shape of (2, 14) when sharding with `placements=Shard(1)`, and strides as (14,1). It's possible to pass the shape and stride to `DTensor.from_local` without any complaints from pytorch (even with `run_check=True`). Visualizing the tensor gives ``` Col 0-3 Col 4-7 Col 8-11 Col 12-13 ------- --------- --------- ---------- ----------- Row 0-1 cuda:0 cuda:1 cuda:2 cuda:3 ``` Whereas the correct placement (without any data movement) would be ``` Col 0-1 Col 2-5 Col 6-9 Col 10-14 ------- --------- ---------- ----------- ----------- Row 0-1 cuda:0 cuda:1 cuda:2 cuda:3 ``` When I call `dtensor.full_tensor()`, it comes together with incorrect results: ``` Rank 0 has global tensor: tensor([[0.0000, 1.0000, 0.0000, 0.0000, 0.1000, 1.1000, 2.1000, 0.0000, 0.2000, 1.2000, 2.2000, 3.2000, 0.3000, 1.3000], [2.0000, 3.0000, 0.0000, 0.0000, 3.1000, 4.1000, 5.1000, 0.0000, 4.2000, 5.2000, 6.2000, 7.2000, 5.3000, 6.3000]], device='cuda:0') of shape torch.Size([2, 14]) ``` To my best estimate, this is using the size that dtensor _expects_ for sharding based on dividing the sharded axis (14) by the number of shards (4): sizes (on axis 1) come out to 4, 4, 4, 2. Looks like the operation that happens is creating zero tensors, writing the incoming buffers into the right locations from the right start point, and truncating extra input. Instead, I would expect (if the global size is correct) the output to be correctly concatenated across dimensions. Similar to this operation (which works below): ``` # Correct implementation: size_list = [0,]*domain_size # Gather the sizes: dist.all_gather_object(size_list, local_chunk.shape) # Create buffers: output_tensor = [torch.empty(s, device=local_chunk.device) for s in size_list] # Gather up: dist.all_gather(output_tensor, local_chunk, group = domain_group) #Concat: output_tensor = torch.cat(output_tensor, dim=1) if rank == 0: print(f"Correct output tensor: {output_tensor}") ``` Coming to the point of all of this: - BUG: The DTensor implementation should raise an error if using `from_local` with `run_check=True`, if the local sharding does not match the sharding DTensor is expecting. - Feature request: For uneven shardings, `full_tensor` should properly gather and concatenate tensor shards based on actual shapes and not DTensor's implicit shapes. **Why does this matter / What's the use case?** I'm exploring techniques to use DTensor for domain parallelism on very very very large input data, which relatively small models. Sharding can start even for regular data (images, volumes) or uneven for irregular (graphs) but some operations - even on regular data - will produce output that does not distribute evenly. Even convolutions, with a reasonable choice of kernel and stride and padding, will do this on reasonably shaped images. Full Reproducer is here: ``` import torch torch.manual_seed(1234) import torch.distributed as dist from torch.distributed import tensor as dist_tensor from torch.distributed.tensor import debug if __name__ == "__main__": mesh_shape = [4,] mesh_dim_names = ["domain"] mesh = dist.device_mesh.init_device_mesh( "cuda", mesh_shape, mesh_dim_names=mesh_dim_names, ) # Access the rank easily through the manager: rank = dist.get_rank() # Make the chunks uneven and with different but predictable values: local_chunk = torch.arange(2*(2 + rank), dtype=torch.float32) + 0.1*rank # To make this example not complelely trivial, we have 2D tensors split along one axis local_chunk = local_chunk.reshape((2,-1)).cuda().contiguous() local_chunk = local_chunk.to(f"cuda:{rank}") # Create the mesh, per usual: domain_mesh = mesh["domain"] # First, slice the local input based on domain mesh rank: domain_group = domain_mesh.get_group() domain_rank = dist.get_group_rank(domain_group, rank) domain_size = len(dist.get_process_group_ranks(domain_group)) shape = (2, 14) stride = (14, 1) # Now, we can create the dtensor properly: dtensor = dist_tensor.DTensor.from_local( local_chunk, device_mesh = domain_mesh, placements = (dist_tensor.Shard(1),), run_check=True, shape=shape, stride=stride ) print(dist_tensor.Shard._local_shard_size_on_dim(26, 4, 0)) print(f"Rank {rank} has {dtensor}\n") debug.visualize_sharding(dtensor) full = dtensor.full_tensor() if rank == 0: print(f"Rank {rank} has global tensor: {full} of shape {full.shape}\n") # Correct implementation: size_list = [0,]*domain_size # Gather the sizes: dist.all_gather_object(size_list, local_chunk.shape) # Create buffers: output_tensor = [torch.empty(s, device=local_chunk.device) for s in size_list] # Gather up: dist.all_gather(output_tensor, local_chunk, group = domain_group) #Concat: output_tensor = torch.cat(output_tensor, dim=1) if rank == 0: print(f"Correct output tensor: {output_tensor}") ``` ### Versions Collecting environment information... PyTorch version: 2.5.1 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Ubuntu 20.04.5 LTS (x86_64) GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 Clang version: Could not collect CMake version: Could not collect Libc version: glibc-2.31 Python version: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:27:36) [GCC 11.2.0] (64-bit runtime) Python platform: Linux-5.15.0-1032-oracle-x86_64-with-glibc2.31 Is CUDA available: True CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA A100-SXM4-80GB GPU 1: NVIDIA A100-SXM4-80GB GPU 2: NVIDIA A100-SXM4-80GB GPU 3: NVIDIA A100-SXM4-80GB Nvidia driver version: 535.129.03 cuDNN version: Could not collect HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 48 bits physical, 48 bits virtual CPU(s): 256 On-line CPU(s) list: 0-254 Off-line CPU(s) list: 255 Thread(s) per core: 1 Core(s) per socket: 64 Socket(s): 2 NUMA node(s): 8 Vendor ID: AuthenticAMD CPU family: 25 Model: 1 Model name: AMD EPYC 7J13 64-Core Processor Stepping: 1 Frequency boost: enabled CPU MHz: 2550.000 CPU max MHz: 3673.0950 CPU min MHz: 1500.0000 BogoMIPS: 4900.16 Virtualization: AMD-V L1d cache: 2 MiB L1i cache: 2 MiB L2 cache: 32 MiB L3 cache: 256 MiB NUMA node0 CPU(s): 0-15,128-143 NUMA node1 CPU(s): 16-31,144-159 NUMA node2 CPU(s): 32-47,160-175 NUMA node3 CPU(s): 48-63,176-191 NUMA node4 CPU(s): 64-79,192-207 NUMA node5 CPU(s): 80-95,208-223 NUMA node6 CPU(s): 96-111,224-239 NUMA node7 CPU(s): 112-127,240-254 Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec store bypass: Vulnerable Vulnerability Spectre v1: Vulnerable: __user pointer sanitization and usercopy barriers only; no swapgs barriers Vulnerability Spectre v2: Vulnerable, IBPB: disabled, STIBP: disabled, PBRSB-eIBRS: Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 invpcid_single hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm Versions of relevant libraries: [pip3] numpy==2.0.1 [pip3] nvtx==0.2.10 [pip3] onnx==1.17.0 [pip3] torch==2.5.1 [pip3] torchaudio==2.5.1 [pip3] torchdata==0.10.0 [pip3] torchvision==0.20.1 [pip3] triton==3.1.0 [conda] blas 1.0 mkl [conda] cuda-cudart 12.4.127 0 nvidia [conda] cuda-cupti 12.4.127 0 nvidia [conda] cuda-libraries 12.4.1 0 nvidia [conda] cuda-nvrtc 12.4.127 0 nvidia [conda] cuda-nvtx 12.4.127 0 nvidia [conda] cuda-opencl 12.6.77 0 nvidia [conda] cuda-runtime 12.4.1 0 nvidia [conda] ffmpeg 4.3 hf484d3e_0 pytorch [conda] libcublas 12.4.5.8 0 nvidia [conda] libcufft 11.2.1.3 0 nvidia [conda] libcurand 10.3.7.77 0 nvidia [conda] libcusolver 11.6.1.9 0 nvidia [conda] libcusparse 12.3.1.170 0 nvidia [conda] libjpeg-turbo 2.0.0 h9bf148f_0 pytorch [conda] libnvjitlink 12.4.127 0 nvidia [conda] mkl 2023.1.0 h213fc3f_46344 [conda] mkl-service 2.4.0 py312h5eee18b_1 [conda] mkl_fft 1.3.11 py312h5eee18b_0 [conda] mkl_random 1.2.8 py312h526ad5a_0 [conda] numpy 2.0.1 py312hc5e2394_1 [conda] numpy-base 2.0.1 py312h0da6c21_1 [conda] nvtx 0.2.10 pypi_0 pypi [conda] pytorch 2.5.1 py3.12_cuda12.4_cudnn9.1.0_0 pytorch [conda] pytorch-cuda 12.4 hc786d27_7 pytorch [conda] pytorch-mutex 1.0 cuda pytorch [conda] torchaudio 2.5.1 py312_cu124 pytorch [conda] torchdata 0.10.0 pypi_0 pypi [conda] torchtriton 3.1.0 py312 pytorch [conda] torchvision 0.20.1 py312_cu124 pytorch cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @tianyu-l @XilunWu
oncall: distributed,triaged,actionable,module: dtensor
low
Critical
2,766,791,758
flutter
[cross_file] XFile.name should use defaultTargetPlatform path separator, not Platform
The implementation of `XFile.name` (for `dart:io`) splits on `Platform.pathSeparator`: ```dart @override String get name => _file.path.split(Platform.pathSeparator).last; ``` This is fine in production, but can give the wrong answer in tests: `Platform` identifies the host platform the test is actually running on, but the data in the test will reflect the target platform the test is simulating, i.e. `defaultTargetPlatform`. In particular this means that if a developer using a Windows machine runs the tests of an app that targets Android or any other non-Windows platform, `XFile.name` will typically just return the entire path: the paths in the test will use `/` as the separator because that's what actually appears in paths on Android etc., and there will typically be no `\` to split on. Typically this means tests which exercise that code will [break](https://chat.zulip.org/#narrow/channel/516-mobile-dev-help/topic/failing.20composebox.20test.20while.20running.20check.20script/near/1999593). Instead of `Platform.pathSeparator`, the `name` getter should use the path separator for the platform identified by `defaultTargetPlatform`. That's `r'\'` for `TargetPlatform.windows`, and `'/'` for I think all other values (I'm not certain about `TargetPlatform.fuchsia`).
package,team-ecosystem,P2,p: cross_file,triaged-ecosystem
low
Major
2,766,793,104
langchain
an attempt to use DeterministicFakeEmbedding with pinecone vectorstore fails with PineconeApiTypeError
### Checked other resources - [X] I added a very descriptive title to this issue. - [X] I searched the LangChain documentation with the integrated search. - [X] I used the GitHub search to find a similar question and didn't find it. - [X] I am sure that this is a bug in LangChain rather than my code. - [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package). ### Example Code ``` import time from pinecone import Pinecone, ServerlessSpec pinecone_api_key = "mykey" pc = Pinecone(api_key=pinecone_api_key) index_name = "langchain-test-index" existing_indexes = [index_info["name"] for index_info in pc.list_indexes()] if index_name not in existing_indexes: pc.create_index( name=index_name, dimension=4096, metric="cosine", spec=ServerlessSpec(cloud="aws", region="us-east-1"), ) while not pc.describe_index(index_name).status["ready"]: time.sleep(1) from langchain_core.embeddings import DeterministicFakeEmbedding embeddings = DeterministicFakeEmbedding(size=4096) from langchain_pinecone import PineconeVectorStore index = pc.Index(index_name) vector_store = PineconeVectorStore(index=index, embedding=embeddings) from uuid import uuid4 from langchain_core.documents import Document document_1 = Document( page_content="I had chocalate chip pancakes and scrambled eggs for breakfast this morning.", metadata={"source": "tweet"}, ) documents = [ document_1 ] uuids = [str(uuid4()) for _ in range(len(documents))] vector_store.add_documents(documents=documents, ids=uuids) ``` ### Error Message and Stack Trace (if applicable) ``` PineconeApiTypeError Traceback (most recent call last) Cell In[9], line 15 10 documents = [ 11 document_1 12 ] 13 uuids = [str(uuid4()) for _ in range(len(documents))] ---> 15 vector_store.add_documents(documents=documents, ids=uuids) File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_core/vectorstores/base.py:287, in VectorStore.add_documents(self, documents, **kwargs) 285 texts = [doc.page_content for doc in documents] 286 metadatas = [doc.metadata for doc in documents] --> 287 return self.add_texts(texts, metadatas, **kwargs) 288 msg = ( 289 f"`add_documents` and `add_texts` has not been implemented " 290 f"for {self.__class__.__name__} " 291 ) 292 raise NotImplementedError(msg) File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_pinecone/vectorstores.py:283, in PineconeVectorStore.add_texts(self, texts, metadatas, ids, namespace, batch_size, embedding_chunk_size, async_req, id_prefix, **kwargs) 280 vector_tuples = zip(chunk_ids, embeddings, chunk_metadatas) 281 if async_req: 282 # Runs the pinecone upsert asynchronously. --> 283 async_res = [ 284 self._index.upsert( 285 vectors=batch_vector_tuples, 286 namespace=namespace, 287 async_req=async_req, 288 **kwargs, 289 ) 290 for batch_vector_tuples in batch_iterate(batch_size, vector_tuples) 291 ] 292 [res.get() for res in async_res] 293 else: File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_pinecone/vectorstores.py:284, in <listcomp>(.0) 280 vector_tuples = zip(chunk_ids, embeddings, chunk_metadatas) 281 if async_req: 282 # Runs the pinecone upsert asynchronously. 283 async_res = [ --> 284 self._index.upsert( 285 vectors=batch_vector_tuples, 286 namespace=namespace, 287 async_req=async_req, 288 **kwargs, 289 ) 290 for batch_vector_tuples in batch_iterate(batch_size, vector_tuples) 291 ] 292 [res.get() for res in async_res] 293 else: File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/utils/error_handling.py:11, in validate_and_convert_errors.<locals>.inner_func(*args, **kwargs) 8 @wraps(func) 9 def inner_func(*args, **kwargs): 10 try: ---> 11 return func(*args, **kwargs) 12 except MaxRetryError as e: 13 if isinstance(e.reason, ProtocolError): File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/data/index.py:175, in Index.upsert(self, vectors, namespace, batch_size, show_progress, **kwargs) 168 raise ValueError( 169 "async_req is not supported when batch_size is provided." 170 "To upsert in parallel, please follow: " 171 "https://docs.pinecone.io/docs/insert-data#sending-upserts-in-parallel" 172 ) 174 if batch_size is None: --> 175 return self._upsert_batch(vectors, namespace, _check_type, **kwargs) 177 if not isinstance(batch_size, int) or batch_size <= 0: 178 raise ValueError("batch_size must be a positive integer") File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/data/index.py:206, in Index._upsert_batch(self, vectors, namespace, _check_type, **kwargs) 201 args_dict = self._parse_non_empty_args([("namespace", namespace)]) 202 vec_builder = lambda v: VectorFactory.build(v, check_type=_check_type) 204 return self._vector_api.upsert( 205 UpsertRequest( --> 206 vectors=list(map(vec_builder, vectors)), 207 **args_dict, 208 _check_type=_check_type, 209 **{k: v for k, v in kwargs.items() if k not in _OPENAPI_ENDPOINT_PARAMS}, 210 ), 211 **{k: v for k, v in kwargs.items() if k in _OPENAPI_ENDPOINT_PARAMS}, 212 ) File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/data/index.py:202, in Index._upsert_batch.<locals>.<lambda>(v) 194 def _upsert_batch( 195 self, 196 vectors: Union[List[Vector], List[tuple], List[dict]], (...) 199 **kwargs, 200 ) -> UpsertResponse: 201 args_dict = self._parse_non_empty_args([("namespace", namespace)]) --> 202 vec_builder = lambda v: VectorFactory.build(v, check_type=_check_type) 204 return self._vector_api.upsert( 205 UpsertRequest( 206 vectors=list(map(vec_builder, vectors)), (...) 211 **{k: v for k, v in kwargs.items() if k in _OPENAPI_ENDPOINT_PARAMS}, 212 ) File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/data/vector_factory.py:26, in VectorFactory.build(item, check_type) 24 return item 25 elif isinstance(item, tuple): ---> 26 return VectorFactory._tuple_to_vector(item, check_type) 27 elif isinstance(item, Mapping): 28 return VectorFactory._dict_to_vector(item, check_type) File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/data/vector_factory.py:42, in VectorFactory._tuple_to_vector(item, check_type) 38 raise ValueError( 39 "Sparse values are not supported in tuples. Please use either dicts or Vector objects as inputs." 40 ) 41 else: ---> 42 return Vector( 43 id=id, 44 values=convert_to_list(values), 45 metadata=metadata or {}, 46 _check_type=check_type, 47 ) File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/core/openapi/shared/model_utils.py:33, in convert_js_args_to_python_args.<locals>.wrapped_init(_self, *args, **kwargs) 31 if spec_property_naming: 32 kwargs = change_keys_js_to_python(kwargs, _self if isinstance(_self, type) else _self.__class__) ---> 33 return fn(_self, *args, **kwargs) File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/core/openapi/data/model/vector.py:289, in Vector.__init__(self, id, values, *args, **kwargs) 286 self._visited_composed_classes = _visited_composed_classes + (self.__class__,) 288 self.id = id --> 289 self.values = values 290 for var_name, var_value in kwargs.items(): 291 if ( 292 var_name not in self.attribute_map 293 and self._configuration is not None (...) 296 ): 297 # discard variable. File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/core/openapi/shared/model_utils.py:156, in OpenApiModel.__setattr__(self, attr, value) 154 def __setattr__(self, attr, value): 155 """set the value of an attribute using dot notation: `instance.attr = val`""" --> 156 self[attr] = value File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/core/openapi/shared/model_utils.py:432, in ModelNormal.__setitem__(self, name, value) 429 self.__dict__[name] = value 430 return --> 432 self.set_attribute(name, value) File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/core/openapi/shared/model_utils.py:132, in OpenApiModel.set_attribute(self, name, value) 129 raise PineconeApiTypeError(error_msg, path_to_item=path_to_item, valid_classes=(str,), key_type=True) 131 if self._check_type: --> 132 value = validate_and_convert_types( 133 value, 134 required_types_mixed, 135 path_to_item, 136 self._spec_property_naming, 137 self._check_type, 138 configuration=self._configuration, 139 ) 140 if (name,) in self.allowed_values: 141 check_allowed_values(self.allowed_values, (name,), value) File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/core/openapi/shared/model_utils.py:1489, in validate_and_convert_types(input_value, required_types_mixed, path_to_item, spec_property_naming, _check_type, configuration) 1487 inner_path = list(path_to_item) 1488 inner_path.append(index) -> 1489 input_value[index] = validate_and_convert_types( 1490 inner_value, 1491 inner_required_types, 1492 inner_path, 1493 spec_property_naming, 1494 _check_type, 1495 configuration=configuration, 1496 ) 1497 elif isinstance(input_value, dict): 1498 if input_value == {}: 1499 # allow an empty dict File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/pinecone/core/openapi/shared/model_utils.py:1453, in validate_and_convert_types(input_value, required_types_mixed, path_to_item, spec_property_naming, _check_type, configuration) 1451 return converted_instance 1452 else: -> 1453 raise get_type_error(input_value, path_to_item, valid_classes, key_type=False) 1455 # input_value's type is in valid_classes 1456 if len(valid_classes) > 1 and configuration: 1457 # there are valid classes which are not the current class PineconeApiTypeError: Invalid type for variable '0'. Required value type is float and passed type was float64 at ['values'][0] ``` ### Description the error is unexpected. the code is identical to the example in https://python.langchain.com/docs/integrations/vectorstores/pinecone/ same code works if using OllamaEmbeddings ### System Info ``` System Information ------------------ > OS: Linux > OS Version: #1 SMP Mon Dec 2 06:32:20 EST 2024 > Python Version: 3.9.18 | packaged by conda-forge | (main, Dec 23 2023, 16:33:10) [GCC 12.3.0] Package Information ------------------- > langchain_core: 0.3.28 > langchain: 0.3.13 > langchain_community: 0.3.13 > langsmith: 0.1.147 > langchain_chroma: 0.1.4 > langchain_milvus: 0.1.7 > langchain_ollama: 0.2.2 > langchain_pinecone: 0.2.0 > langchain_text_splitters: 0.3.4 Optional packages not installed ------------------------------- > langserve Other Dependencies ------------------ > aiohttp: 3.10.11 > async-timeout: 4.0.3 > chromadb: 0.5.23 > dataclasses-json: 0.6.7 > fastapi: 0.115.6 > httpx: 0.27.2 > httpx-sse: 0.4.0 > jsonpatch: 1.33 > langsmith-pyo3: Installed. No version info available. > numpy: 1.26.4 > ollama: 0.4.5 > orjson: 3.10.12 > packaging: 24.0 > pinecone-client: 5.0.1 > pydantic: 2.10.4 > pydantic-settings: 2.7.0 > pymilvus: 2.5.3 > PyYAML: 6.0.2 > requests: 2.32.3 > requests-toolbelt: 1.0.0 > SQLAlchemy: 1.4.54 > tenacity: 8.5.0 > typing-extensions: 4.12.2 ```
Ɑ: vector store
low
Critical
2,766,803,435
rust
`Cargo Build` gets stuck compiling my code
While writing some code I wanted to see if it compiled, and instead cargo build just hung, either forever or longer than I was willing to late. It's a bug either way. I think I got it stuck in an infinite loop resolving traits Code is here. I was editing `mask.rs` when I encountered the issue. I think the problem code is ```rust pub trait Maskable<T>: Copy { type Mask: Mask; fn set_masked<R: Splat<Self>>(&mut self, mask: Self::Mask, value: R); } impl<T, const N: usize> Maskable<T> for Col<T, N> where T: Copy, { type Mask = Col<bool, N>; fn set_masked<R: Splat<Self>>(&mut self, mask: Self::Mask, value: R) { let value: Self = value.splat(); for (i, &m) in mask.iter().enumerate() { if m { self[i] = value[i] } } } } impl<S: Copy, T: Copy, const H: usize, const W: usize> Maskable<T> for Mat<S, W, H> where Col<S, W>: Copy + Maskable<T>, { type Mask = Col<Col<S, W>::Mask, H>; fn set_masked<R: Splat<Self>>(&mut self, mask: Self::Mask, value: R) { let value: Self = value.splat(); for (i, &m) in mask.iter().enumerate() { self[i].set_masked(m, value[i]); } } } ``` (this code is bad and wrong but it probably shouldn't do this) I cant include a backtrace because Cargo never terminates
C-bug,I-hang,S-needs-repro
low
Critical
2,766,805,208
kubernetes
kubelet could reject pods with NodeAffinity error due to incomplete informer cache on the node object
### What happened? In our end (AKS), we observed that there is a case that kubelet could reject pods with NodeAffinty status if the node watch call got closed due to unknown reason during kubelet start up. An illustrated procedure is (using `Tx` to indicate time): - T1: kubelet starts, spawns the processes for registering node (create node) and node informer for syncing the node object in parallel - T2: the node informer successfully listed empty nodes list from kube-apiserver , proceeding to watch call https://github.com/kubernetes/kubernetes/blob/6746df77f2376c6bc1fd0de767d2a94e6bd6cec1/staging/src/k8s.io/client-go/tools/cache/reflector.go#L401-L409 - T3: the watch call stopped due to unknown issue, for instance network closed. In this case, the watch call would exit with error like: > very short watch: k8s.io/client-go/informers/factory.go:160: Unexpected watch close - watch lasted less than a second and no items received In this case, the node informer will back-off and retry with new list-watch steps: https://github.com/kubernetes/kubernetes/blob/6746df77f2376c6bc1fd0de767d2a94e6bd6cec1/staging/src/k8s.io/client-go/tools/cache/reflector.go#L336-L340 - T4: kubelet successfully created the node object in kube-apiserver side. Kube-scheduler kicks in and assigns pods to the node - T5: because in T3 the list call was succeeded with empty results, the node informer had been marked as synced: https://github.com/kubernetes/kubernetes/blob/6746df77f2376c6bc1fd0de767d2a94e6bd6cec1/pkg/kubelet/kubelet.go#L442-L444 https://github.com/kubernetes/kubernetes/blob/6746df77f2376c6bc1fd0de767d2a94e6bd6cec1/staging/src/k8s.io/client-go/tools/cache/delta_fifo.go#L308-L316 In this case, kubelet starts syncing pods and attempts to run. If these pods are set with affinity settings, the kubelet node admission check will fail the pods with "NodeAffinity" status because the node informer cache is empty. Kubelet uses a minimal node object without expected node labels for performing admission check: https://github.com/kubernetes/kubernetes/blob/6746df77f2376c6bc1fd0de767d2a94e6bd6cec1/pkg/kubelet/kubelet_getters.go#L291-L298 - T6: kubelet node informer retry kicks in, this time it successfully synced the node object from remote. Now retried pods scheduling on this node would succeed as the node labels are expected In our reproduction, we captured the following logs: ``` T1: kubelet[3538]: I1225 01:02:59.216231 3538 kubelet.go:2346] "Starting kubelet main sync loop" T2: kubelet[3538]: I1225 01:04:04.030571 3538 reflector.go:359] Caches populated for *v1.Node from k8s.io/client-go/informers/factory.go:160 T3: kubelet[3538]: W1225 01:04:04.170608 3538 reflector.go:470] k8s.io/client-go/informers/factory.go:160: watch of *v1.Node ended with: very short watch: k8s.io/client-go/informers/factory.go:160: Unexpected watch close - watch lasted less than a second and no items received T4: kubelet[3538]: I1225 01:04:08.309280 3538 kubelet_node_status.go:76] "Successfully registered node" node="<node-name>" T5 (1): kubelet[3538]: I1225 01:04:29.348027 3538 predicate.go:164] "Predicate failed on Pod" pod="<namespace>/<pod>" err="Predicate NodeAffinity failed" T5 (2): kubelet[3538]: E1225 01:04:29.351153 3538 kubelet_node_status.go:462] "Error getting the current node from lister" err="node \"<node-name>\" not found" T6: kubelet[3538]: I1225 01:04:56.591752 3538 reflector.go:359] Caches populated for *v1.Node from k8s.io/client-go/informers/factory.go:160 ``` In the normal case, the retry back off (between T6 and T5) should be short and kubelet should not leave many pods failed. However, in rare scenarios that the node lister might be failing for some other reasons before the first successful call (waiting for TLS bootstrapping for example), and increased the back-off (max out to 30s), then in theory, the gap of `T6-T5` could be as long as 30s + jitter, which aligns with the logs timestamps we observed in above. ### What did you expect to happen? Kubelet should back off the node list-watch calls until the node object has been populated in the node informer cache. Or, we should invalidate the node informer cache after successfully registering the node from kubelet to maintain the correct version of node object in memory. ### How can we reproduce it (as minimally and precisely as possible)? Simulate the watch closed call like mentioned above. ### Anything else we need to know? Related issues/PRs: - https://github.com/kubernetes/kubernetes/pull/99336 - https://github.com/kubernetes/kubernetes/pull/94087 ### Kubernetes version <details> 1.30 - but we believe this behavior is reproducible in all verisons. </details> ### Cloud provider <details> AKS </details> ### OS version <details> ```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ``` </details> ### Install tools <details> </details> ### Container runtime (CRI) and version (if applicable) <details> </details> ### Related plugins (CNI, CSI, ...) and versions (if applicable) <details> </details>
kind/bug,priority/backlog,sig/node,triage/accepted
low
Critical
2,766,807,043
go
x/oscar/internal/commentfix: TestFixGitHubIssue/fix-run-concurrent failures
``` #!watchflakes default <- pkg == "golang.org/x/oscar/internal/commentfix" && test == "TestFixGitHubIssue/fix-run-concurrent" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8726812130181378417)): === RUN TestFixGitHubIssue/fix-run-concurrent testutil.go:23: time=2025-01-02T15:44:46.814-08:00 level=INFO msg="fixer run issue" dbtime=1735861486814317000 issue=20 testutil.go:23: time=2025-01-02T15:44:46.814-08:00 level=INFO msg="fixer run issue" dbtime=1735861486814103000 issue=18 testutil.go:23: time=2025-01-02T15:44:46.814-08:00 level=INFO msg="fixer run issue" dbtime=1735861486814103000 issue=18 testutil.go:23: time=2025-01-02T15:44:46.815-08:00 level=INFO msg="logged action" key="(\"https://api.github.com/repos/rsc/tmp/issues/18\")" testutil.go:23: time=2025-01-02T15:44:46.815-08:00 level=INFO msg="fixer run comment" dbtime=1735861486814241000 url=https://api.github.com/repos/rsc/tmp/issues/comments/10000000001 testutil.go:23: time=2025-01-02T15:44:46.816-08:00 level=INFO msg="logged action" key="(\"https://api.github.com/repos/rsc/tmp/issues/comments/10000000001\")" testutil.go:23: time=2025-01-02T15:44:46.816-08:00 level=INFO msg="fixer run comment" dbtime=1735861486814276000 url=https://api.github.com/repos/rsc/tmp/issues/comments/10000000002 testutil.go:23: time=2025-01-02T15:44:46.816-08:00 level=INFO msg="fixer already added action" key="(\"https://api.github.com/repos/rsc/tmp/issues/18\")" testutil.go:23: time=2025-01-02T15:44:46.816-08:00 level=INFO msg="action log: running" kind=commentfix.Fixer:TestFixGitHubIssue/fix-run-concurrent key="(\"https://api.github.com/repos/rsc/tmp/issues/18\")" ... +++ new @@ -1,1 +1,1 @@ -Contexts are cancelled. +Contexts are canceled. testutil.go:23: time=2025-01-02T15:44:46.818-08:00 level=INFO msg="commentfix editing github" url=https://api.github.com/repos/rsc/tmp/issues/20 testutil.go:23: time=2025-01-02T15:44:46.819-08:00 level=ERROR msg="action failed" key="(\"commentfix.Fixer:TestFixGitHubIssue/fix-run-concurrent\", \"https://api.github.com/repos/rsc/tmp/issues/20\")" err="done action (\"commentfix.Fixer:TestFixGitHubIssue/fix-run-concurrent\", \"https://api.github.com/repos/rsc/tmp/issues/20\") on pending list" testutil.go:23: time=2025-01-02T15:44:46.819-08:00 level=INFO msg="fixer already added action" key="(\"https://api.github.com/repos/rsc/tmp/issues/20\")" fix_test.go:350: action log results missing for these substrings: ["issues/18"] --- FAIL: TestFixGitHubIssue/fix-run-concurrent (0.01s) — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation
low
Critical
2,766,817,482
yt-dlp
ReadMe/Documentation addition
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm requesting a feature unrelated to a specific site - [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme) - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) ### Provide a description that is worded well enough to be understood I have recently had to assist a lot of friends who are not familiar with Command Prompt in any capacity on how to use yt-dlp (ie, regular users who just want to download a playlist from youtube without the limitations of free to use websites). The readme does not seem to supply an easy to understand guide for this scenario. An easy to understand quickstart guide would be useful for cases like this that I - and others - can point people to instead of copy-pasting instructions to. From my experience working in IT support outside of helping friends, people will be driven away from using the tool if the supplied instructions only provide complex in depth documentation and no simple quick-start guides that help users who have never had to operate similar programs/tools. Most resources I have found online only half-explain how to use the tool and not in enough depth for completely fresh eyes to use. This is an example of what I have told one friend before on how to use the tool: _"To make it easier to use the yt-dlp.exe once you have downloaded the files, put the .exe in the folder you want to save the videos to, open command prompt, ensure you are on the drive you want to save to (type ``cd..`` to go to the "start" of your drive, then enter the letter of the drive you need if you aren't on it already) Get to the folder you need by typing ``cd``, hitting space, then use tab to navigate the folder choices and ``/`` to select that folder (and repeat the tab/``/`` until you are where you need to be. Alternatively, you can also copy the folder directory from the top bar in the file explorer and paste that after the ``cd`` to get where you need to be. Hit enter and it sends you to the folder within the command prompt. type ``yt-dlp {insert the link to the video/playlist you want to download}`` and it'll download everything to the folder you have inserted the /exe to"_ I do have experience with making end-user guides that are a little prettier and more understandable than the text above (it was written quickly) that have helped even the most tech-illiterate person in my office at work use command prompt so I would be willing to help with this as I believe it is something that would be of value. ### Provide verbose output that clearly demonstrates the problem - [ ] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [ ] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell No verbose output. Requesting additional documentation ```
docs/meta/cleanup,triage,wiki
low
Critical
2,766,819,123
pytorch
RNN batch_first argument only works on the input not h_0 when if should work on both
### 🚀 The feature, motivation and pitch Hi, the RNN batch_first argument only works on the input not h_0 when if should work on both. This applies to all 3 RNN implementations ([RNN](https://pytorch.org/docs/stable/generated/torch.nn.RNN.html), [GRU](https://pytorch.org/docs/stable/generated/torch.nn.GRU.html#torch.nn.GRU), [LSTM](https://pytorch.org/docs/stable/generated/torch.nn.LSTM.html#torch.nn.LSTM)) ![화면 캡처 2025-01-03 091036](https://github.com/user-attachments/assets/5291a6e4-c12d-44c3-a588-bad8bd14f5ce) [Currently] input shape: (L, H_in) for unbatched input (L, N, H_in) when `batch_first=False` for batched input (N, L, H_in) when `batch_first=False` for batched input h_0 shape: (D*num_layers, H_out) for unbatched input (D*num_layers, N, H_out) regardless of `batch_first` argument [Desired] input shape: (L, H_in) for unbatched input (L, N, H_in) when `batch_first=False` for batched input (N, L, H_in) when `batch_first=False` for batched input h_0 shape: (D*num_layers, H_out) for unbatched input (D*num_layers, N, H_out) when `batch_first=False` for batched input (N, D*num_layers, H_out) when `batch_first=True` for batched input Thank you. ### Alternatives _No response_ ### Additional context _No response_ cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
module: nn,module: rnn,triaged
low
Minor
2,766,834,394
godot
Godot 4.3 Doesn't Fully Maximise on Larger Monitors.
### Tested versions System Info: - Windows 10 - Display resolution: 1080x720 (Primary Monitor), 1920x1080 (Secondary Monitor) - Integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; 30.0.100.9864) - 11th Gen Intel(R) Core(TM) i7-1195G7 @ 2.90GHz (8 Threads) Tested Versions: - Godot 4.3 - Godot 4.2 ### System information Godot v4.3.stable (77dcf97d8) - Windows 10.0.26100 - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; 30.0.100.9864) - 11th Gen Intel(R) Core(TM) i7-1195G7 @ 2.90GHz (8 Threads) ### Issue description This happens when the resolution is more than or the same as 1920x1080. When maximising, the top bar fully fills the area horizontally, but not vertically (a few pixels short that can't be seen). However, the window doesn't fill up horizontally, as seen in the image below. ![Image](https://github.com/user-attachments/assets/52ba3d7b-3ec9-4cf0-9a44-c7b983d378c6) https://github.com/user-attachments/assets/ba033c17-4980-4049-936e-37f8e91190c7 ### Steps to reproduce Maximise the Godot window on a screen resolution higher or equal to 1920x1080. ### Minimal reproduction project (MRP) Any project can be used to reproduce this issue.
topic:editor,needs testing
low
Minor
2,766,835,492
vscode
[Accessibility, a11y] Color contrast ratio of keyboard focus while navigating quick picks is 1.28:1 which is less than 3:1
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.97.0-insider - OS Version: macOS Sequoia 15.2 - Color Theme: Dark+ (Default Dark+) This issue is being escalated from here: https://github.com/microsoft/vscode-azurefunctions/issues/4331 ## Steps to Reproduce: 1. Open command palette and observe keyboard focus on any quick pick. Example: ![Image](https://github.com/user-attachments/assets/2341f188-cf61-4ca7-9ab6-91b80fd93646) ## Actual Color contrast ratio of keyboard focus is 1.28:1 which is less than 3:1 ## Expected Color contrast ratio of keyboard focus should be greater than or equal to 3:1
bug,themes,accessibility,quick-pick
low
Critical
2,766,845,007
PowerToys
The shortcut guide cannot display other languages and only shows English.
### Microsoft PowerToys version 0.87.1 ### Utility with translation issue Shortcut Guide ### 🌐 Language affected chinese ### ❌ Actual phrase(s) I have already set both the system and application language options to Chinese, but when I press Shift + Win + /, the interface still displays in English. Please improve this so that the language description corresponds to the set language. The second request is to add a feature to adjust the font size or enable zooming in the interface. The default font size is a bit small. ### ✔️ Expected phrase(s) Please improve this so that the language description corresponds to the set language. ### ℹ Why is the current translation wrong This is very inconvenient.
Issue-Bug,Area-Localization,Needs-Triage,Issue-Translation
low
Minor
2,766,849,370
transformers
Loss.. should be specified as either training loss or validation loss
### System Info Doesn't apply.. using runpod ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproduction As you fine tune a new model, it shows a loss curve and numbers as it runs.. is that training loss or validation loss? Should be labelled If training loss.. how can I view validation loss? I set 'val size', it should exist somewhere ### Expected behavior Should be labeled more clearly
bug
low
Minor
2,766,858,707
vscode
Add Inline View option for multi-file diff view
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> In the source control panel there is a great option to open diffs for multiple files in one tab which we can then scroll through. ![Image](https://github.com/user-attachments/assets/50b03301-9612-44c6-b710-ae30e81c13cc) However the context menu for this editor is more limited than the single file diff, and does not include options like the Inline View. Here is the context menu for multi-file diff ![Image](https://github.com/user-attachments/assets/d8ae5262-f55c-446e-97ff-1e1dec4d2837) But for single-file diff view it is much more extensive ![Image](https://github.com/user-attachments/assets/43177680-fee9-47b8-bf76-46f9a8ea4a3e) A workaround is possible to toggle between inline view and side-by-side view for the multi-file diff. You must open the diff for a single file, select the **Inline View** option you want, then open the multi-file diff view. It will remember the option selected for the single file. I'd like to be able to toggle between inline view and side-by-side view for multi-file diffs.
polish,multi-diff-editor
low
Minor
2,766,884,013
ui
[bug]: Tooltip with overflow causes scroller to be shown for a brief moment.
### Describe the bug This seems an issue with Radix itself, but I am going to report here as well. There are 4 conditions for this issue to occur: 1. Tooltip with Arrow 2. Animate 3. Overflow-auto 4. Tooltip gets display on top of anchor When this condition is met, you will see a scroller being displayed while animation is in progress. Then the scroller disappears when animation is complete. ### Affected component/components Tooltip ### How to reproduce 1. Go to https://v0.dev/chat/WeFCqApwjid?b=b_v8qvEjewqG9 2. Hover your mouse on "Hover" text for a second. If above link doesn't work, copy paste following to reproduce the issue. ``` import * as TooltipPrimitive from "@radix-ui/react-tooltip" import { cn } from "@/lib/utils" const TooltipProvider = TooltipPrimitive.Provider const Tooltip = TooltipPrimitive.Root const TooltipTrigger = TooltipPrimitive.Trigger const TooltipContent = React.forwardRef< React.ElementRef<typeof TooltipPrimitive.Content>, React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> >(({ className, sideOffset = 4, ...props }, ref) => ( <TooltipPrimitive.Content ref={ref} sideOffset={sideOffset} className={cn( "z-50 overflow-auto rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", className )} {...props} /> )) export function TooltipDemo() { return ( <TooltipProvider> <Tooltip> <TooltipTrigger>Hover</TooltipTrigger> <TooltipContent> <p>Add to library</p> <TooltipPrimitive.Arrow /> </TooltipContent> </Tooltip> </TooltipProvider> ) } ``` Basically, I just added `overflow-auto` to TooltipContent and added `TooltipPrimitive.Arrow` in the demo code. https://github.com/user-attachments/assets/7fe5bb21-039f-4f67-9787-b35c1860aad0 ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash Used MacOS Chrome and Safari ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,766,886,159
Python
Project Euler prohibits sharing answers to problems 101 and after
### What would you like to share? > I learned so much solving problem XXX, so is it okay to publish my solution elsewhere? > > It appears that you have answered your own question. There is nothing quite like that "Aha!" moment when you finally beat a problem which you have been working on for some time. It is often through the best of intentions in wishing to share our insights so that others can enjoy that moment too. Sadly, that will rarely be the case for your readers. Real learning is an active process and seeing how it is done is a long way from experiencing that epiphany of discovery. Please do not deny others what you have so richly valued yourself. > > However, the rule about sharing solutions outside of Project Euler does not apply to the first one-hundred problems, as long as any discussion clearly aims to instruct methods, not just provide answers, and does not directly threaten to undermine the enjoyment of solving later problems. Problems 1 to 100 provide a wealth of helpful introductory teaching material and if you are able to respect our requirements, then we give permission for those problems and their solutions to be discussed elsewhere. https://projecteuler.net/about Therefore, the code to problem 101 and after should be deleted. ### Additional information _No response_
awaiting triage
medium
Minor
2,766,887,178
godot
low_processor_usage_mode increases CPU usage on empty scene
### Tested versions 4.4dev7 ### System information Godot v4.4.dev7 - Windows 10 (build 19045) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - AMD Radeon RX 6800 (Advanced Micro Devices, Inc.; 32.0.12033.1030) - AMD Ryzen 5 7600X 6-Core Processor (12 threads) ### Issue description Turning "Low Processor Mode" on in the project settings increases the CPU usage of an empty scene. Before enabling: ![Image](https://github.com/user-attachments/assets/c3e2e497-4a83-4830-b973-946aedb9e995) After enabling: ![Image](https://github.com/user-attachments/assets/1e3f6afe-ad3f-4b3e-a9e6-e8d2ed47c024) In case it affects anything, I have a 240hz monitor. ### Steps to reproduce Test an empty scene with and without low processor mode enabled, check process CPU usage. ### Minimal reproduction project (MRP) N/A
bug,topic:editor,needs testing
low
Minor
2,766,900,404
vscode
Problem with anchor $ in the search-replace menu on a corner case
Hi, Sorry in advance it's a corner case but I ran into this problem when I wanted to make a "trim" of all my files in my working directory. Does this issue occur when all extensions are disabled?: Yes - VS Code Version: 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, x64) - OS Version: Ubuntu 22.04.5 LTS ## Steps to Reproduce In my `/tmp/test/` directory, I have this: ```sh $ cd /tmp/test/ $ ls -la total 52 drwxrwxr-x 2 flaf flaf 4096 Jan 3 03:09 ./ drwxrwxrwt 18 root root 40960 Jan 3 03:11 ../ -rw-rw-r-- 1 flaf flaf 4 Jan 3 03:13 f # f is a file which contains the characters 1, a, a, a and that's all. No \n character at the end of file. $ echo -n 1aaa > f $ od -c f 0000000 1 a a a 0000004 # Just in case. $ sha1sum f a2cf0d12061ff31135c431770b3c78b73a1586f6 f ``` ### 1. The normal case (to me) I open the file `f` like this: ```sh $ code --disable-extensions f ``` Then I make this search/replace: * pattern: `$(?!\n)` with regex enabled. <= to me it's the anchor "end of file". * replace all by `REPLACE\n`. * I save and quit vscode. Here is the result: ```sh $ cat f 1aaaREPLACE $ od -c f 0000000 1 a a a R E P L A C E \n 0000014 $ sha1sum f e519a419f0563b6206c7cfb923a48a3b339857f6 f ``` To me it's OK. `REPLACE\n` has been added at the end of the file `f`. ### 2. Now, the strange case (to me) First I rewrite the file `f` to its initial state: ```sh $ echo -n 1aaa > f $ od -c f 0000000 1 a a a 0000004 $ sha1sum f a2cf0d12061ff31135c431770b3c78b73a1586f6 f ``` Then I do exactly the same process, except I launch vscode like this: ```sh # The argument is "." (not f), ie my working directory /tmp/test/ which just contains f. $ code --disable-extensions . ``` Then I make exactly the same search/replace: * pattern: `$(?!\n)` with regex enabled. <= to me it's the anchor "end of file". * replace all by `REPLACE\n`. * I save and quit vscode. And here is the result: ```sh $ cat f REPLACE aaa $ od -c f 0000000 R E P L A C E \n a a a \n 0000014 $ sha1sum f a6a80a922d25d514684489409a3269ca62becaf4 f ``` Voilà. Hope it's clear. I admit that the bug (if it is) isn't huge, but it's strange. :)
bug,search
low
Critical
2,766,904,218
ui
[bug]: something went wrong while using this : npx shadcn@latest add calendar
### Describe the bug link-to-any@192 aakkaa-main % npx shadcn@latest add calendar ✔ Checking registry. ⠧ Installing dependencies. Something went wrong. Please check the error below for more details. If the problem persists, please open an issue on GitHub. Command failed with exit code 1: npm install [email protected] date-fns @radix-ui/react-slot npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: [email protected] npm error node_modules/date-fns npm error date-fns@"^4.1.0" from the root project npm error npm error Could not resolve dependency: npm error peer date-fns@"^2.28.0 || ^3.0.0" from [email protected] npm error node_modules/react-day-picker npm error react-day-picker@"8.10.1" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /Users/link-to-any/.npm/_logs/2025-01-03T02_52_59_360Z-eresolve-report.txt npm error A complete log of this run can be found in: /Users/link-to-any/.npm/_logs/2025-01-03T02_52_59_360Z-debug-0.log ### Affected component/components calender ### How to reproduce i dont know ### Codesandbox/StackBlitz link ok ### Logs _No response_ ### System Info ```bash macbook ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,766,904,813
godot
Saving a plugin while the game is running and the await keyword was used causes a plethora of engine errors.
### Tested versions Tested in 4.3.stable ### System information Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 SUPER (NVIDIA; 32.0.15.6636) - 13th Gen Intel(R) Core(TM) i5-13600KF (20 Threads) ### Issue description Whenever I edit a autoload script loaded by a plugin (like adding a print statement) while the game is running and I hit ctrl+s, the engine seems to break. This only happens if I create an await for a timer to timeout (see script below) and the script is an autoload. Here are a few of the errors that have happened: - Internal script error! Opcode: 0 (please report) - Stack Underflow (Engine Bug) - Game just crashes with no debug after a few seconds. - Bad address index (stack frames show one frame with this broken text: "0 - :21 - at function: "). - Invalid assignment of property or key " with value of type 'Node2D (script.gd)' on a base object of type 'Node2D (script.gd)'. Yes I know this bug is extremely specific but it's still weird, plus one of the errors says please report. ### Steps to reproduce 1. Create a plugin. 2. Create a new script in the plugins folder (the autoload) and put this script in there: ``` extends Node2D func _ready() -> void: while true: await get_tree().create_timer(0.1).timeout func test() -> void: print("hello!") pass ``` 3. In the plugin script put this code in: ``` @tool extends EditorPlugin func _enter_tree() -> void: # Initialization of the plugin goes here. pass func _enable_plugin() -> void: add_autoload_singleton("test", "path-to-autoload") func _disable_plugin() -> void: remove_autoload_singleton("test") func _exit_tree() -> void: # Clean-up of the plugin goes here. pass ``` 4. Run the game (with a basic scene with just a Node2D or something in it) 5. Delete the print statement and save the script. 6. Something bad will probably happen. ### Minimal reproduction project (MRP) N/A
bug,topic:gdscript,topic:editor
low
Critical
2,766,906,966
tensorflow
The test case label_image .py of tensorflow2.4.1 source code fails to be execued.
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version 2.4.1 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version 3.7.12 ### Bazel version 3.7 ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? The test case label_image.py fails to be executed,and the message "module 'tensorfle' has no attribute 'GrapDef'" is displayed. ![image](https://github.com/user-attachments/assets/e4b7b56d-2589-41fe-8395-1743c941dd49) ### Standalone code to reproduce the issue ```shell import tensorflow as tf graph_def = tf.GraphDef() ``` ### Relevant log output _No response_
type:bug,TF 2.4
low
Critical
2,766,937,652
godot
WorldEnvironment `Glow > Bloom` effects Editor Gizmo/Origin
### Tested versions v4.3.stable.official [77dcf97d8] ### System information Godot v4.3.stable - Android - GLES3 (Compatibility) - Adreno (TM) 610 - (8 Threads) ### Issue description WorldEnvironment `Glow > Bloom` also effect the Editor Gizmo/Origin. It glows like neon lite. ![Image](https://github.com/user-attachments/assets/3be83514-b98a-47ba-9adc-352be3fb7a9e) ### Steps to reproduce In Compatibility Renderer - And WorldEnvironment - Turn On Glow - Set Intensity to 8 - Set the Bloom to 1 ### Minimal reproduction project (MRP) (Updateded) [glow-test.zip](https://github.com/user-attachments/files/18297565/glow-test.zip)
topic:rendering,topic:editor,topic:3d
low
Minor
2,766,955,202
opencv
imgcodecs: (5.x) drop bundled OpenEXR
### Describe the feature and motivation (I'm sorry if new road map to drop bundled OpenEXR had been ready ) Currently OpenEXR supports CMake building system. It is very easy to install in user system. I think now is good timing to drop OpenEXR from 3rdparty source from 5.x branch. (At 4.x branch, I hope it is better to keep bundled OpenEXR continuously. ) After drop bundled OpenEXR, we can run OpenEXR test on CI without any environment settings for building and executing runtime. https://github.com/opencv/opencv/pull/21324#issuecomment-1305925279 > OpenEXR becomes a large third party library. > We are going to drop it from 3rdparty source directory (still no roadmap yet). > > Consider building OpenEXR separately and use it in OpenCV like any other generic external library. OpenEXR 3.0+ is supported through find_package(OpenEXR), older version through include/libs directories. ### Additional context _No response_
category: imgcodecs,category: 3rdparty,cleanup
low
Minor
2,766,958,796
PowerToys
Virtual Desktop Improvements: 2D movement, separate per-monitor virt desktops
### Description of the new feature / enhancement The built-in virtual desktops in Win 10+ function well enough, but lack some features that make them useful. I say this with Linux virtual desktops in mind where I could have a "grid" arrangement of 9 virtual desktops, which is unwieldy when you can only access them left-to-right. ### Scenario when this would be used? Not having two-dimensional arrangement is almost unforgivable-- for me, it's a make or break. It's not that I have nine desktops worth of things going on, it's that each desktop can contain windows related just to a particular thing, which helps me a lot with distraction. For example, desktop 5 (number the 3x3 grid from top left across), which is in the middle, allows me to be one keypress away from Quick Lookup, Task Management, Reference Docs, and Chat Apps, and two keypresses from anything else. With the existing Windows style, it doesn't even make sense to try and organize these unnamed, sequential desktops. The other option is a feature in another program that started to make sense-- separate virtual desktops *per monitor*. Even without the 2D arrangement, having functions limited by monitor could mean that I only have, say, two v. desktops for each monitor, in which case they wouldn't need better arrangement or identification. ### Supporting information Hopefully, y'all know what I'm talking about already...
Needs-Triage
low
Minor
2,766,989,898
flutter
Suffix in TextFormField affect the vertical alignment of the text.
### Steps to reproduce ```dart class InputPage extends StatefulWidget { const InputPage({super.key}); @override State<InputPage> createState() => _InputPageState(); } class _InputPageState extends State<InputPage> { @override Widget build(BuildContext context) { return Scaffold( body: Container( child: SingleChildScrollView( child: Column( children: <Widget>[ Row( children: [ SizedBox( width: 30, ), SizedBox( width: 100, height: 50, child: TextFormField( decoration: InputDecoration(suffix: Icon(Icons.abc)), ), ), SizedBox( width: 10, ), SizedBox( width: 100, height: 50, child: TextFormField( decoration: InputDecoration(), ), ), ], ), ], ), ), ), ); } } ``` ### Expected results I hope only icons drawn with suffix will be drawn. ### Actual results TextFormField with suffix changes the height of the text. ### Code sample <details open><summary>Code sample</summary> ```dart [Paste your code here] ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> [Upload media here] <img width="239" alt="스크린샷 2025-01-03 오후 2 12 41" src="https://github.com/user-attachments/assets/3da0325c-3401-45e5-a046-e8aa29ae873e" /> </details> ### Logs <details open><summary>Logs</summary> ```console none ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.24.3, on macOS 15.2 24C101 darwin-arm64, locale ko-KR) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 16.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2024.2) [✓] IntelliJ IDEA Ultimate Edition (version 2024.2.3) [✓] Connected device (4 available) ! Error: Browsing on the local area network for 김민진의 iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources ``` </details>
a: text input,framework,has reproducible steps,P2,team-text-input,triaged-text-input,found in release: 3.27,found in release: 3.28
low
Critical
2,766,992,956
tauri
[bug] window outer size is not correct since v2.1.1
### Describe the bug While creating the main WebviewWindow with the following snippet, it works well on Windows. ``` let main_window = tauri::WebviewWindowBuilder::new( app_handle, "main", tauri::WebviewUrl::default(), ) .fullscreen(false) .maximizable(false) .resizable(false) .visible(false) .title(app_handle.package_info().name.as_str()) .position(0., 0.) .inner_size(330., 620.) .build()?; let window_size = main_window.outer_size()?; ``` But on Linux(ubuntu 22.04), `main_window.outer_size()` returns (0,0). After some debug, it shows to be releted with `visible` config. It seems not to be able to get the window outer size before the window shows. It used to work before tauri v2.1.1. On MacOS, the WebviewWindow initial inner_size of 620 would include with the height of title bar. ### Reproduction Please refer to the description section. ### Expected behavior _No response_ ### Full `tauri info` output ```text Linux: [✔] Environment - OS: Ubuntu 22.4.0 x86_64 (X64) (ubuntu on x11) ✔ webkit2gtk-4.1: 2.46.4 ✔ rsvg2: 2.52.5 ✔ rustc: 1.80.1 (3f5fd8dd4 2024-08-06) ✔ cargo: 1.80.1 (376290515 2024-07-16) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default) - node: 20.10.0 - yarn: 1.22.21 - npm: 10.2.3 [-] Packages - tauri 🦀: 2.2.0 - tauri-build 🦀: 2.0.4 - wry 🦀: 0.48.0 - tao 🦀: 0.31.0 - tauri-cli 🦀: 1.3.1 - @tauri-apps/api : 2.2.0 - @tauri-apps/cli : 2.2.0 [-] Plugins - tauri-plugin-autostart 🦀: 2.2.0 - @tauri-apps/plugin-autostart : 2.2.0 - tauri-plugin-log 🦀: 2.2.0 - @tauri-apps/plugin-log : 2.2.0 - tauri-plugin-shell 🦀: 2.2.0 - @tauri-apps/plugin-shell : 2.2.0 - tauri-plugin-os 🦀: 2.2.0 - @tauri-apps/plugin-os : 2.2.0 - tauri-plugin-cli 🦀: 2.2.0 - @tauri-apps/plugin-cli : not installed! - tauri-plugin-fs 🦀: 2.2.0 - @tauri-apps/plugin-fs : 2.2.0 - tauri-plugin-http 🦀: 1.0.0 - @tauri-apps/plugin-http : not installed! - tauri-plugin-single-instance 🦀: 2.2.0 - @tauri-apps/plugin-single-instance : not installed! [-] App - build-type: bundle - CSP: unset - frontendDist: ../dist - devUrl: http://localhost:5173/ - framework: Vue.js - bundler: Vite ``` MacOS: ``` [✔] Environment - OS: Mac OS 10.15.7 x86_64 (X64) ✔ Xcode Command Line Tools: installed ✔ rustc: 1.78.0 (9b00956e5 2024-04-29) ✔ cargo: 1.78.0 (54d8815d0 2024-03-26) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: stable-x86_64-apple-darwin (default) - node: 20.10.0 - yarn: 1.22.4 - npm: 10.2.3 ``` ``` ### Stack trace _No response_ ### Additional context _No response_
type: bug,status: needs triage
low
Critical
2,767,021,349
tauri
[feat] allow to emit events on android MainActivity
### Describe the problem I wanna to make my app reponsible to the config change. ### Describe the solution you'd like As per https://tauri.app/develop/plugins/develop-mobile/#plugin-events, the `trigger` function only works in plugins. But the config change handler should be defined in `MainActivity`. ``` <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"> </activity> class MainActivity : TauriActivity() { override fun onConfigurationChanged(newConfig: Configuration) { ... } } ``` Can we support `trigger` function in `MainActivity` as well? ### Alternatives considered _No response_ ### Additional context _No response_
type: feature request
low
Minor
2,767,021,904
kubernetes
[Feature-Request] : Need a more explicit node drain tracking mechanism.
Currently I noticed there is no dedicated drain API which could indicate a node is being drained. While there is an eviction API present, the drain operation is done through series of operations which blend with the regular cluster lifecycle events making it inaccurate to decide when a node is being actually drained. In our case, the unschedulable taint is not enough to guarantee that a node is drained. Watching for node events would not be the optimal solution at scale. It would be a good to have feature where a label is added to the nodes being drained. Thank you for considering the suggestion and would be happy to add any more information needed.
needs-sig,needs-triage
low
Minor
2,767,038,374
node
Provide a file system clock API (or platform specific clock API)
### What is the problem this feature will solve? Sometimes comparing file system timestamp with "current time" is necessary. An example would be doing something like `make`. To make it reliable, this ""current time" should be get from a clock source that is compatible with file system. - Windows has explicit APIs for file system time, for example: https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsystemtimepreciseasfiletime https://learn.microsoft.com/en-us/windows/win32/sysinfo/file-times - On Posix, I assume it is roughly `CLOCK_REALTIME`, and possibly around `CLOCK_REALTIME_COARSE` for linux. Currently, node doesn't seem to have such API. - `process.hrtime()` is a monotonic clock, which can drift from real time clock. (so it should be used even if the origin is synced with utc) - `Date.now()` goes through a series of indrects and ends up with `v8/src/base/platform/time.cc: Time::Now()`, which becomes `gettimeofday(timezone=null)` on linux, and an interpolated value between `(rebased) QueryPerformanceCounter()` and `GetSystemTimeAsFileTime()` on windows. ### What is the feature you are proposing to solve the problem? Add an API: `fs.hrtime()`, which uses: - `clock_gettime(CLOCK_REALTIME_COARSE)` on linux. - Use accurate file system clock if possible, on other platforms. - Fallback to libuv `uv_clock_gettime(UV_CLOCK_REALTIME)` otherwise, which ends up with `clock_gettime(CLOCK_REALTIME)` on posix, and `GetSystemTimePreciseAsFileTime()` on windows. ### What alternatives have you considered? Add a explicit clock API, maybe under `process`, which doesn't imply that it is a file system clock. Expose the relevant platform specific clock sources under it: - Posix `clock_gettime(CLOCK_REALTIME)` - Linux `clock_gettime(CLOCK_REALTIME_COARSE)` - Windows `GetSystemTimePreciseAsFileTime()`
feature request
low
Major
2,767,042,074
vscode
Terminal Bug: Race condition looses terminal data in shell integration (AsyncIterable consumer with POC)
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> # Terminal Shell Integration Race Condition ## Overview There is a race condition in VSCode's terminal shell integration where the command finished barrier is released before AsyncIterable consumers receive the sequence data. The sequence of events causing this race is: 1. Process data arrives containing OSC 633 ; D 2. Data is written to xterm.js 3. xterm.js parser immediately processes the sequence 4. Command finished handler is called which releases the barrier 5. Write callback completes and fires onData event 6. AsyncIterable consumers receive the data The key issue is that steps 3-4 happen before step 5-6. This means: - The barrier is released in step 4 - But consumers don't receive the data until step 6 - There is no guarantee consumers will see the sequence data before the barrier releases The "633;D found" case explained below (correct behavior) only occurs when the write callback happens to complete before the barrier releases, which is not guaranteed by the current implementation. ### Does this issue occur when all extensions are disabled? This is a bug related to an extension API so at least the bug-test plugin below is needed to inspect. **See proof of concept bug test below.** ## Proposed Solution The race condition can be fixed by delaying the barrier release: - Wait for write callback completion before releasing the barrier - Add a promise to track write completion - Only release after both parse and write are done This ensures consumers will always see the sequence before the barrier releases, making the behavior deterministic rather than depending on timing. ## Environment - VS Code Version: Tested on both stable 1.96.2 and insiders 1.97.0 ``` Version: 1.97.0-insider Commit: 89f808979a5151bd91324e65d4f7ab1b62896983 Date: 2024-12-20T05:04:19.167Z Electron: 32.2.6 ElectronBuildId: 10629634 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Linux x64 6.6.67 ``` - OS Version: Oracle Linux 9 - Extensions: This issue requires an extension to test, as it relates to the terminal shell integration API ## Steps to Reproduce 1. Clone and run the test extension: https://github.com/KJ7LNW/vsce-test-terminal-integration 2. Load the folder in VSCode and press F5 3. Press "Run Command" repeatedly and quickly to watch the counts change 4. Observe the counts - in a correct implementation, only the "found" count should increment ## Test Results Running the test extension shows: ``` OSC ] 633;D found: 3 // GOOD: Consumer saw sequence before barrier released (expected behavior) not found: 12 // BUG: Barrier released before consumer saw sequence (race condition) neither: 1 // Test error or timeout (Run 15) ``` Example of a "found" case (GOOD - expected behavior where consumer sees sequence before barrier, **contains `\x1B]633;D`**): ``` 'echo a\r\n' + '\x1B[?2004l\r\x1B]777;preexec\x1B\\\x1B]633;E;echo a;23d6ea60-059f-428c-9424-a497b533ee7a\x07\x1B]633;C\x07a\r\n' + '\x1B]777;notify;Command completed;echo a\x1B\\\x1B]777;precmd\x1B\\\x1B]0;ewheeler@edesktop:~\x1B\\\x1B]7;file://edesktop.ewi/home/ewheeler\x1B\\\x1B]633;D;0\x07\x1B]633;P;Cwd=/home/ewheeler\x07' ``` Example of a "not found" case (BUG - race condition where barrier releases too early, **does NOT contain `\x1B]633;D`**): ``` 'echo a\r\n' + '\x1B[?2004l\r\x1B]777;preexec\x1B\\\x1B]633;E;echo a;8680055d-1545-4c64-859d-3c4ff3a0c412\x07\x1B]633;C\x07a\r\n' ``` ## Expected Behavior The barrier should only be released after AsyncIterable consumers have received and processed the command finished sequence. The "found" count should increment consistently, indicating consumers reliably see the sequence before the barrier releases. The "not found" count should always be zero in a correct implementation. ## Actual Behavior The barrier is frequently released before consumers receive the sequence data: - Only 20% of runs (3/15) had the correct behavior (found case) - 80% of runs (12/15) exhibited the race condition (not found case) - The high rate of "not found" cases demonstrates this is a real race condition affecting most command executions ## Technical Details The race condition can also be verified by: 1. Adding logging to the write callback in TerminalInstance._writeProcessData 2. Adding logging to the command finished handler in ShellIntegrationAddon 3. Observing that the command finished handler logs appear before write callback logs This confirms the sequence is parsed and handled before the write completes and reaches consumers. ## Alternative Solutions Event Ordering: - Modify xterm.js to guarantee write callback executes before parser - Would require changes to xterm.js event handling architecture - Most invasive but provides strongest guarantees However, the delay barrier release approach is simpler and more robust, especially given the empirical evidence showing the high frequency of the race condition in practice. See the full technical analysis at: https://github.com/KJ7LNW/vsce-test-terminal-integration
bug,api,terminal-shell-integration
low
Critical
2,767,052,672
godot
CodeEdit (TextEdit?) linewrap indentation is wrong if font hinting is set to "Normal"
### Tested versions 4.4dev7 ### System information Godot v4.4.dev7 - Windows 10 (build 19045) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - AMD Radeon RX 6800 (Advanced Micro Devices, Inc.; 32.0.12033.1030) - AMD Ryzen 5 7600X 6-Core Processor (12 threads) ### Issue description If font hinting is "normal" then the artificially indented wrapped text of a wrapping, wrap-indenting CodeEdit is misaligned with its parent line's indentation level. ![Image](https://github.com/user-attachments/assets/a2bfb666-1c33-4db9-b8ab-1330f57f85f9) The issue goes away if subpixel positioning and rounding-remainders are both disabled. ![Image](https://github.com/user-attachments/assets/4f09b22a-fc3c-401f-a5bc-3e455b35c245) Something similar happens regardless of hinting level if Subpixel Positioning is disabled but rounding-remainders is left enabled, but the version with rounding-remainders applies to unindented/unwrapped text too, but is probably not noticeable with non-monospace fonts. ![Image](https://github.com/user-attachments/assets/02d46f6b-c26a-4f91-ada0-e765f956c7e8) ### Steps to reproduce Set up a CodeEdit with some long indented text, turn on wrapping and wrap indentation, make it wrap, set the font to something where you can configure the hinting, switch between Normal and the other settings. The indentation level of the wrapped text will likely be wrong with Normal mode (might be font-sensitive). ### Minimal reproduction project (MRP) [wrapbugrepro.zip](https://github.com/user-attachments/files/18296976/wrapbugrepro.zip)
bug,topic:gui
low
Critical
2,767,166,937
rust
ICE: stack overflow with instrument-coverage + gce
<!-- ICE: Rustc ./a.rs '-Cinstrument-coverage -ooutputfile -Zdump-mir-dir=dir' 'error: rustc interrupted by SIGSEGV, printing backtrace', 'error: rustc interrupted by SIGSEGV, printing backtrace' File: /tmp/im/a.rs --> auto-reduced (treereduce-rust): ````rust //@compile-flags: -Cinstrument-coverage #![feature(generic_const_exprs)] struct GenericStruct<const T: usize> { val: i64 } impl<const T: usize> From<GenericStruct<T>> for GenericStruct<{T + 1}> { fn from(other: GenericStruct<T>) -> Self { Self { val: other.val } } } impl<const T: usize> From<GenericStruct<{T + 1}>> for GenericStruct<T> { fn from(other: GenericStruct<{T + 1}>) -> Self { Self { val: other.val } } } pub fn main() {} ```` original: ````rust #![feature(generic_const_exprs)] struct GenericStruct<const T: usize> { val: i64 } impl<const T: usize> From<GenericStruct<T>> for GenericStruct<{T + 1}> { fn from(other: GenericStruct<T>) -> Self { Self { val: other.val } } } impl<const T: usize> From<GenericStruct<{T + 1}>> for GenericStruct<T> { fn from(other: GenericStruct<{T + 1}>) -> Self { Self { val: other.val } } } pub fn main() {} ```` Version information ```` rustc 1.85.0-nightly (870c13dc9 2025-01-03) binary: rustc commit-hash: 870c13dc9b85944ceb172df54c7b1c615a46cb6e commit-date: 2025-01-03 host: x86_64-unknown-linux-gnu release: 1.85.0-nightly LLVM version: 19.1.6 ```` Command: `/home/matthias/.rustup/toolchains/master/bin/rustc -Cinstrument-coverage` <details><summary><strong>Program output</strong></summary> <p> ``` warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes --> a.rs:1:12 | 1 | #![feature(generic_const_exprs)] | ^^^^^^^^^^^^^^^^^^^ | = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information = note: `#[warn(incomplete_features)]` on by default error: rustc interrupted by SIGSEGV, printing backtrace /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(+0x36683f3) [0x795f7a0683f3] /usr/lib/libc.so.6(+0x3d1d0) [0x795f7684c1d0] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(+0x57273a3) [0x795f7c1273a3] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(+0x41b28d7) [0x795f7abb28d7] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(+0x57273a8) [0x795f7c1273a8] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(+0x5726b18) [0x795f7c126b18] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x525) [0x795f7abb7a95] ### cycle encountered after 7 frames with period 14 /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x835) [0x795f7abb7da5] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer11print_const+0x7f9) [0x795f7abb98c9] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(+0x41ba59a) [0x795f7abba59a] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x89f) [0x795f7abb7e0f] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer10print_type+0x3ab) [0x795f7abb891b] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer15print_impl_path+0x4f9) [0x795f7abb83f9] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x134) [0x795f7abb76a4] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x835) [0x795f7abb7da5] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer11print_const+0x7f9) [0x795f7abb98c9] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(+0x41ba59a) [0x795f7abba59a] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x89f) [0x795f7abb7e0f] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer10print_type+0x3ab) [0x795f7abb891b] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer15print_impl_path+0x4f9) [0x795f7abb83f9] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x134) [0x795f7abb76a4] ### recursed 17 times /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x835) [0x795f7abb7da5] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer11print_const+0x7f9) [0x795f7abb98c9] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(+0x41ba59a) [0x795f7abba59a] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x89f) [0x795f7abb7e0f] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer10print_type+0x3ab) [0x795f7abb891b] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer15print_impl_path+0x4f9) [0x795f7abb83f9] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x134) [0x795f7abb76a4] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x835) [0x795f7abb7da5] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer11print_const+0x7f9) [0x795f7abb98c9] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(+0x41ba59a) [0x795f7abba59a] /home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-78e18ca94582029e.so(_RNvXs_NtCs9IDk8BqyfS6_21rustc_symbol_mangling2v0NtB4_13SymbolManglerNtNtNtCseKm81Dn2gJ6_12rustc_middle2ty5print7Printer14print_def_path+0x89f) [0x795f7abb7e0f] note: rustc unexpectedly overflowed its stack! this is a bug note: maximum backtrace depth reached, frames may have been lost note: we would appreciate a report at https://github.com/rust-lang/rust help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216 note: backtrace dumped due to SIGSEGV! resuming signal [1] 1549998 segmentation fault rustc a.rs -Cinstrument-coverage ``` </p> </details> <!-- query stack: --> @rustbot label +F-generic_const_exprs
I-crash,T-compiler,C-bug,F-generic_const_exprs,A-code-coverage
low
Critical
2,767,170,232
tensorflow
GPU Delegate for Object detection and Image classification from Tensorflow lite for Android
I'm using Android Kotlin code for object detection and image classification https://github.com/tensorflow/examples/tree/master/lite/examples var currentDelegate: Int = 1, val optionsBuilder = ObjectDetector.ObjectDetectorOptions.builder() .setScoreThreshold(threshold) .setMaxResults(maxResults) // Set general detection options, including number of used threads val baseOptionsBuilder = BaseOptions.builder() val compatList = CompatibilityList() if (compatList.isDelegateSupportedOnThisDevice) { val delegateOptions = compatList.bestOptionsForThisDevice baseOptionsBuilder.useGpu() Utils.readLog(TAG, "Using GPU delegate with options: $delegateOptions") } else { baseOptionsBuilder.setNumThreads(4) } optionsBuilder.setBaseOptions(baseOptionsBuilder.build()) try { objectDetector = ObjectDetector.createFromFileAndOptions( context, modelName, optionsBuilder.build() ) } catch (e: IllegalStateException) { objectDetectorListener?.onError( "Object detector failed to initialize. See error logs for details" ) Utils.readLog(TAG, " " + e.message) } //Image Classification try { imageClassifier = ImageClassifier.createFromFileAndOptions( context, modelName, optionsBuilder.build() ) } catch (e: IllegalStateException) { imageClassifierListener?.onError( "Image classifier failed to initialize. See error logs for details" ) Utils.readLog(TAG, "TFLite failed to load model with error: " + e.message) } Here I'm Using above code baseOptionsBuilder using same for both object detection and image classification but if i'm using currentDelegate = 1 for both it is lagging a lot and object detection and image classification is not working with GPU. Is there anything else that i can use to make it work?
type:support,comp:lite,TFLiteGpuDelegate
low
Critical
2,767,192,689
flutter
[Accessibility] : AlertDialog semanticLabel not read in iOS 18
### Steps to reproduce The semanticLabel of my AlertDialog is not read by VoiceOver in iOS 18. It's working well on iOS 17 and above, and on Android. I'm facing the issue with Flutter 3.24 and 3.27 ### Expected results semanticLabel should be read when AlertDialog is focused ### Actual results semanticLabel is not read when AlertDialog is focused ### Code sample <details open><summary>Code sample</summary> ```dart showDialog( useRootNavigator: true, barrierDismissible: false, context: context, builder: (dialogContext) { return AlertDialog( semanticLabel: "Alert !", title: Text("My tittle"), content: Text("My content"), actions: [TextButton(label: Text("OK"), onPressed: context.pop))] scrollable: true, ); }, ); ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.27.1, on macOS 15.1 24B83 darwin-x64, locale fr-FR) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 16.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.3) [✓] IntelliJ IDEA Ultimate Edition (version 2023.2.4) [✓] Connected device (2 available) [✓] Network resources • No issues found! ``` </details>
platform-ios,a: accessibility,e: OS-version specific,has reproducible steps,P1,team-ios,triaged-ios,found in release: 3.27,found in release: 3.28
medium
Major
2,767,222,274
ant-design
Modal 组件弹出和收起都会有抽搐屏幕闪烁的问题
### Reproduction link [https://ant-design.antgroup.com/components/modal-cn#modal-demo-confirm](https://ant-design.antgroup.com/components/modal-cn#modal-demo-confirm) ### Steps to reproduce 点击时 屏幕分辨率为:2560 * 1440 会发现以上描述的现象 但是在同等条件下 分辨率为:1920*1080屏幕下是正常无症状 ### What is expected? 在2k的分辨率屏幕正常显示无闪烁 ### What is actually happening? [现象.zip](https://github.com/user-attachments/files/18297870/default.zip) 在2k的分辨率屏幕正常显示有闪烁 | Environment | Info | | --- | --- | | antd | 5.22.5 | | React | 18 | | System | windows | | Browser | chrome 131.0.6778.205 | <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
unconfirmed
low
Major
2,767,261,618
flutter
`--experimental-faster-testing` doesn't sanitize paths
### Steps to reproduce 1. Create a Flutter project *with some tests* 2. Place it on a path that uses hyphens (for example, in a Git repository with a hyphenated name) 3. Run `flutter test --experimental-faster-testing` ### Expected results Tests compile and run correctly. ### Actual results Files generated with the `--experimental-faster-testing` flag include invalid library names – those are based on the test files' paths. Paths can include characters that are invalid identifier characters, like hyphens. ### Code sample Example project for reference: https://github.com/PiotrRogulski/experimental-testing-app ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> (None) </details> ### Logs <details open><summary>Logs</summary> ```console $ flutter test --experimental-faster-testing --verbose [ +2 ms] Could not interpret results of "git describe": 3.28.0-2.0.pre.38596 [ +14 ms] executing: sysctl hw.optional.arm64 [ +3 ms] Exit code 0 from: sysctl hw.optional.arm64 [ ] hw.optional.arm64: 1 [ +26 ms] executing: sw_vers -productName [ +10 ms] Exit code 0 from: sw_vers -productName [ ] macOS [ ] executing: sw_vers -productVersion [ +10 ms] Exit code 0 from: sw_vers -productVersion [ ] 15.3 [ ] executing: sw_vers -buildVersion [ +10 ms] Exit code 0 from: sw_vers -buildVersion [ ] 24D5034f [ ] executing: uname -m [ +3 ms] Exit code 0 from: uname -m [ ] arm64 [ +15 ms] Found 2 files which will be executed as Widget Tests. [ +2 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +20 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ +32 ms] Skipping pub get: version match. [ +84 ms] No packages with native assets. Skipping native assets compilation. [ ] Writing native assets json to file:///Users/piotrrogulski/repos/experimental-testing-app/build/native_assets/macos/native_assets.json. [ +1 ms] Writing /Users/piotrrogulski/repos/experimental-testing-app/build/native_assets/macos/native_assets.json done. [ +66 ms] Stopping scan for flutter_test_config.dart; found project root at /Users/piotrrogulski/repos/experimental-testing-app [ ] Stopping scan for flutter_test_config.dart; found project root at /Users/piotrrogulski/repos/experimental-testing-app [ ] Compiling file:///Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/child_test_isolate_spawner.dart [ +3 ms] /Users/piotrrogulski/fvm/versions/master/bin/cache/dart-sdk/bin/dartaotruntime /Users/piotrrogulski/fvm/versions/master/bin/cache/dart-sdk/bin/snapshots/frontend_server_aot.dart.snapshot --sdk-root /Users/piotrrogulski/fvm/versions/master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --no-print-incremental-dependencies --target=flutter --experimental-emit-debug-metadata --output-dill /Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/child_test_isolate_spawner.dill --packages /Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --verbosity=error [ +7 ms] <- compile file:///Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/child_test_isolate_spawner.dart [ +621 ms] build/isolate_spawning_tester/child_test_isolate_spawner.dart:10:84: Error: Expected ';' after this. [ +1 ms] import '/Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_two_test; [ ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:10:123: Error: Expected a declaration, but got '-'. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_two_test; [ ] ^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:10:124: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. [ ] Try adding the name of the type of the variable or the keyword 'var'. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_two_test; [ ] ^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:10:124: Error: Expected ';' after this. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_two_test; [ ] ^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:10:131: Error: Expected a declaration, but got '-'. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_two_test; [ ] ^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:10:132: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. [ ] Try adding the name of the type of the variable or the keyword 'var'. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_two_test; [ ] ^^^^^^^^^^^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:11:1: Error: Directives must appear before any declarations. [ ] Try moving the directive before any declarations. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/one_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_one_test; [ ] ^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:11:84: Error: Expected ';' after this. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/one_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_one_test; [ ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:11:123: Error: Expected a declaration, but got '-'. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/one_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_one_test; [ ] ^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:11:124: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. [ ] Try adding the name of the type of the variable or the keyword 'var'. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/one_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_one_test; [ ] ^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:11:124: Error: Expected ';' after this. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/one_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_one_test; [ ] ^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:11:131: Error: Expected a declaration, but got '-'. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/one_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_one_test; [ ] ^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:11:132: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. [ ] Try adding the name of the type of the variable or the keyword 'var'. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/one_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_one_test; [ ] ^^^^^^^^^^^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:11:124: Error: 'testing' is already declared in this scope. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/one_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_one_test; [ ] ^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:10:124: Context: Previous declaration of 'testing'. [ ] import '/Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart' as _Users_piotrrogulski_repos_experimental-testing-app_test_two_test; [ ] ^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:50:152: Error: Can't use 'testing' because it is declared more than once. [ ] createChannelAndConnect('/Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart', route, _Users_piotrrogulski_repos_experimental-testing-app_test_two_test.main); [ ] ^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:50:112: Error: A prefix can't be used as an expression. [ ] createChannelAndConnect('/Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart', route, _Users_piotrrogulski_repos_experimental-testing-app_test_two_test.main); [ ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:52:152: Error: Can't use 'testing' because it is declared more than once. [ ] createChannelAndConnect('/Users/piotrrogulski/repos/experimental-testing-app/test/one_test.dart', route, _Users_piotrrogulski_repos_experimental-testing-app_test_one_test.main); [ ] ^ [ ] build/isolate_spawning_tester/child_test_isolate_spawner.dart:52:112: Error: A prefix can't be used as an expression. [ ] createChannelAndConnect('/Users/piotrrogulski/repos/experimental-testing-app/test/one_test.dart', route, _Users_piotrrogulski_repos_experimental-testing-app_test_one_test.main); [ ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ +27 ms] <- accept [ ] Compiling file:///Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/child_test_isolate_spawner.dart took 663ms [ ] Compiling file:///Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/root_test_isolate_spawner.dart [ ] /Users/piotrrogulski/fvm/versions/master/bin/cache/dart-sdk/bin/dartaotruntime /Users/piotrrogulski/fvm/versions/master/bin/cache/dart-sdk/bin/snapshots/frontend_server_aot.dart.snapshot --sdk-root /Users/piotrrogulski/fvm/versions/master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --no-print-incremental-dependencies --target=flutter --experimental-emit-debug-metadata --output-dill /Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/root_test_isolate_spawner.dill --packages /Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --verbosity=error [ +5 ms] <- compile file:///Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/root_test_isolate_spawner.dart [ +466 ms] <- accept [ ] Compiling file:///Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/root_test_isolate_spawner.dart took 473ms [ +1 ms] Using this directory for fonts configuration: /var/folders/cx/x_9fdh5j2mb0_wnjtg4d7pz40000gn/T/flutter_tools.ga59ss/flutter_test_fonts.WIaLuH [ ] Starting flutter_tester process with command=[/Users/piotrrogulski/fvm/versions/master/bin/cache/artifacts/engine/darwin-x64/flutter_tester, --disable-vm-service, --enable-checked-mode, --verify-entry-points, --enable-software-rendering, --skia-deterministic-rendering, --enable-dart-profiling, --non-interactive, --use-test-fonts, --disable-asset-fonts, --packages=/Users/piotrrogulski/repos/experimental-testing-app/.dart_tool/package_config.json, --flutter-assets-dir=/Users/piotrrogulski/repos/experimental-testing-app/build/unit_test_assets, /Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/root_test_isolate_spawner.dill], environment={FLUTTER_TEST: true, FONTCONFIG_FILE: /var/folders/cx/x_9fdh5j2mb0_wnjtg4d7pz40000gn/T/flutter_tools.ga59ss/flutter_test_fonts.WIaLuH/fonts.conf, APP_NAME: experimental_testing_app, UNIT_TEST_ASSETS: /Users/piotrrogulski/repos/experimental-testing-app/build/unit_test_assets} [ +6 ms] Started flutter_tester process at pid 3606 00:00 +0: loading /Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart [ERROR:flutter/shell/testing/tester_main.cc(674)] Unhandled exception Exception: 'file:///Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/child_test_isolate_spawner.dart': error: build/isolate_spawning_tester/child_test_isolate_spawner.dart:50:112: Error: A prefix can't be used as an expression. createChannelAndConnect('/Users/piotrrogulski/repos/experimental-testing-app/test/two_test.dart', route, _Users_piotrrogulski_repos_experimental-testing-app_test_two_test.main); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Stack trace: #0 main (file:///Users/piotrrogulski/repos/experimental-testing-app/build/isolate_spawning_tester/root_test_isolate_spawner.dart:85:55) #1 _runMain.<anonymous closure> (dart:ui/hooks.dart:305:23) #2 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:315:19) #3 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:194:12) [ +468 ms] flutter_tester process at pid 3606 exited with code=1 [ ] Runtime for phase TestRunner: Wall-clock: 0:00:01.625387; combined: 0:00:01.625407. [ ] Runtime for phase Compile: Wall-clock: 0:00:01.136856; combined: 0:00:01.136894. [ ] Runtime for phase Run: Wall-clock: 0:00:00.474527; combined: 0:00:00.474532. [ ] Runtime for phase CoverageTotal: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ ] Runtime for phase CoverageCollect: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ ] Runtime for phase CoverageParseJson: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ ] Runtime for phase CoverageAddHitmap: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ ] Runtime for phase CoverageDataCollect: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ ] Runtime for phase WatcherFinishedTest: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ +4 ms] "flutter test" took 1,884ms. [ +2 ms] #0 throwToolExit (package:flutter_tools/src/base/common.dart:34:3) #1 TestCommand.runCommand (package:flutter_tools/src/commands/test.dart:715:7) <asynchronous suspension> #2 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1558:27) <asynchronous suspension> #3 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19) <asynchronous suspension> #4 CommandRunner.runCommand (package:args/command_runner.dart:212:13) <asynchronous suspension> #5 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:496:9) <asynchronous suspension> #6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19) <asynchronous suspension> #7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:431:5) <asynchronous suspension> #8 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:98:11) <asynchronous suspension> #9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19) <asynchronous suspension> #10 main (package:flutter_tools/executable.dart:99:3) <asynchronous suspension> [ ] Running 2 shutdown hooks [ +1 ms] Shutdown hooks complete [ ] exiting with code 1 ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel master, 3.28.0-2.0.pre.38596, on macOS 15.3 24D5034f darwin-arm64, locale en-US) • Flutter version 3.28.0-2.0.pre.38596 on channel master at /Users/piotrrogulski/fvm/versions/master • Upstream repository [email protected]:flutter/flutter.git • Framework revision dbf9e32879 (7 hours ago), 2025-01-02 18:23:10 -0800 • Engine revision dbf9e32879 • Dart version 3.7.0 (build 3.7.0-267.0.dev) • DevTools version 2.41.0 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/piotrrogulski/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • Java binary at: /Users/piotrrogulski/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java This is the JDK bundled with the latest Android Studio installation on this machine. To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`. • Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode-16.2.0.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.16.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.2.2) • Android Studio at /Users/piotrrogulski/Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1) [✓] VS Code (version 1.95.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.56.0 [✓] Connected device (3 available) • macOS (desktop) • macos • darwin-arm64 • macOS 15.3 24D5034f darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.3 24D5034f darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.205 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
a: tests,tool,has reproducible steps,P3,team-tool,triaged-tool,found in release: 3.27,found in release: 3.28
low
Critical
2,767,267,555
rust
Missing `Send` on "recursive" `Future`
Yesterday in the rust community discord, we came across the following (minimized) example. I don't understand why these futures aren't `Send`. Obviously, `bar` can only be `Send` if `foo` is as well. However, while `bar` requires `foo` to be `Send` in order to successfully type-check, it's `Send`ness shouldn't depend on it. I tried this code: ```rust fn spawn<T: Send>(_: T) { } async fn foo() { spawn(bar()) } async fn bar() { foo().await; } ``` I expected to see this happen: I believe the code should compile. Instead, this happened: ``` error: future cannot be sent between threads safely --> <source>:4:5 | 4 | spawn(bar()) | ^^^^^^^^^^^^ future returned by `bar` is not `Send` | = note: cannot satisfy `impl Future<Output = ()>: Send` note: future is not `Send` as it awaits another future which is not `Send` --> <source>:8:5 | 8 | foo().await; | ^^^^^ await occurs here on type `impl Future<Output = ()>`, which is not `Send` note: required by a bound in `spawn` --> <source>:1:13 | 1 | fn spawn<T: Send>(_: T) { } | ^^^^ required by this bound in `spawn` ``` ### Meta `rustc --version --verbose`: ``` rustc 1.85.0-nightly (4363f9b6f 2025-01-02) binary: rustc commit-hash: 4363f9b6f6d3656d94adbcabba6348a485ef9a56 commit-date: 2025-01-02 host: x86_64-unknown-linux-gnu release: 1.85.0-nightly LLVM version: 19.1.6 ``` This also happens on stable `rustc 1.83.0`. Before `rustc 1.75` the type checker encounters a cycle instead. With `-Znext-solver` there's an ICE.
T-compiler,C-bug,A-async-await,needs-triage
low
Critical
2,767,272,066
react-native
xcode 16.2 Could not build module 'DarwinFoundation'
### Description /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/usr/include/sys/_types/_mach_port_t.h:49:10 Could not build module 'DarwinFoundation' ### Steps to reproduce ![Screenshot 2025-01-03 at 2 49 30 PM](https://github.com/user-attachments/assets/b0d7a8d0-001f-464a-b9fb-41ffdfa25872) ### React Native Version 0.76.5 ### Affected Platforms Runtime - iOS ### Output of `npx react-native info` ```text System: OS: macOS 15.1 CPU: (8) arm64 Apple M2 Memory: 423.88 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 18.20.5 path: ~/.nvm/versions/node/v18.20.5/bin/node Yarn: version: 1.22.22 path: /usr/local/bin/yarn npm: version: 10.8.2 path: ~/.nvm/versions/node/v18.20.5/bin/npm Watchman: version: 2024.12.02.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.14.3 path: /Users/bigbrainy/.rvm/gems/ruby-3.2.2/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 24.2 - iOS 18.2 - macOS 15.2 - tvOS 18.2 - visionOS 2.2 - watchOS 11.2 Android SDK: API Levels: - "29" - "33" - "34" - "35" Build Tools: - 30.0.3 - 33.0.0 - 34.0.0 - 35.0.0 System Images: - android-33 | Google APIs ARM 64 v8a - android-33 | Google Play ARM 64 v8a - android-34 | Google APIs ARM 64 v8a - android-34 | Google Play ARM 64 v8a - android-35 | Google Play Experimental 16k Page Size ARM 64 v8a - android-TiramisuPrivacySandbox | Google Play ARM 64 v8a - android-VanillaIceCream | Google Play ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2024.2 AI-242.23339.11.2421.12700392 Xcode: version: 16.2/16C5032a path: /usr/bin/xcodebuild Languages: Java: version: 17.0.13 path: /usr/bin/javac Ruby: version: 3.2.2 path: /Users/bigbrainy/.rvm/rubies/ruby-3.2.2/bin/ruby npmPackages: "@react-native-community/cli": installed: 15.0.1 wanted: 15.0.1 react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.76.5 wanted: 0.76.5 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: false newArchEnabled: true ``` ### Stacktrace or Logs ```text /* * Copyright (c) 2003-2012 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* * mach_port_t - a named port right * * In user-space, "rights" are represented by the name of the * right in the Mach port namespace. Even so, this type is * presented as a unique one to more clearly denote the presence * of a right coming along with the name. * * Often, various rights for a port held in a single name space * will coalesce and are, therefore, be identified by a single name * [this is the case for send and receive rights]. But not * always [send-once rights currently get a unique name for * each right]. * * This definition of mach_port_t is only for user-space. * */ #ifndef _MACH_PORT_T #define _MACH_PORT_T #include <sys/_types.h> /* __darwin_mach_port_t */ typedef __darwin_mach_port_t mach_port_t; #endif /* _MACH_PORT_T */ ``` ### Reproducer https://github.com/pareshbbi/Reproducer ### Screenshots and Videos ![Screenshot 2025-01-03 at 2 49 30 PM](https://github.com/user-attachments/assets/bb7382c6-fb3f-4199-bce4-707473f6c056)
Needs: Author Feedback,Needs: Repro
low
Minor
2,767,303,734
next.js
Next.js 15 `<Link>` scroll to top does not work if `loading.tsx` is present
### Link to the code that reproduces this issue https://codesandbox.io/p/devbox/youthful-davinci-xs9gmf ### To Reproduce 1) Run the server in production mode (`npm run build && npm run start`). 2) Navigate to the "/withloading" page. 3) Scroll to the bottom and click the "Next" button. 4) The page does not scroll to the top. ### Current vs. Expected behavior The page should scroll to the top when pressing the "Next" and "Previous" buttons on the "withloading" page, but it does not. ### Provide environment information ```bash Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023 Available memory (MB): 8198 Available CPU cores: 4 Binaries: Node: 20.9.0 npm: 9.8.1 Yarn: 1.22.19 pnpm: 8.10.2 Relevant Packages: next: 15.1.1-canary.24 // Latest available version is detected (15.1.1-canary.24). eslint-config-next: N/A react: 19.0.0-beta-04b058868c-20240508 react-dom: 19.0.0-beta-04b058868c-20240508 typescript: 5.1.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Navigation ### Which stage(s) are affected? (Select all that apply) next start (local) ### Additional context This bug only occurs with `next start` and not with `next dev`. It is also present only in Next.js 15 and works fine in Next.js 14. As far as I know, it doesn't matter what is returned by `loading.tsx`, as returning anything at all will result in this bug.
Navigation
low
Critical
2,767,355,995
ollama
Ollama - Gentoo Linux support
Hello, world ! **Gentoo portage of Ollama**, binary release. RTX4060-i7 works perfectly ! [https://ftp.pingwho.org/pub/gentoo/ftp/overlay/pingwho-overlay/app-misc/ollama-bin/](https://ftp.pingwho.org/pub/gentoo/ftp/overlay/pingwho-overlay/app-misc/ollama-bin/) Enjoy !
feature request
low
Minor
2,767,394,077
svelte
Cannot import TS types from Svelte components in `.svelte.ts files`
### Describe the bug I cannot import types exported in a `<script module lang="ts">` block in a `.svelte.ts` file (I can import them in other .svelte files). TS complains that: >TS2614: Module '".svelte"' has no exported member 'ListRecord'. Did you mean to use 'import ListRecord from ".svelte"' instead? Indeed, importing from `"*.svelte"` does actually work, but my editor thinks it's an error (and it sure does look wrong). ### Reproduction https://stackblitz.com/edit/sveltejs-kit-template-default-umuyfhqp?file=src%2Froutes%2FOtherTest.svelte.ts ### Logs _No response_ ### System Info ```shell System: OS: Linux 5.15 Ubuntu 20.04.3 LTS (Focal Fossa) CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Memory: 7.56 GB / 11.69 GB Container: Yes Shell: 5.0.17 - /bin/bash Binaries: Node: 22.12.0 - /run/user/1000/fnm_multishells/1080_1735405309856/bin/node Yarn: 1.22.22 - /run/user/1000/fnm_multishells/1080_1735405309856/bin/yarn npm: 10.9.0 - /run/user/1000/fnm_multishells/1080_1735405309856/bin/npm npmPackages: svelte: ^5.0.0 => 5.15.0 webpack: ^5.11.0 => 5.97.1 ``` ### Severity blocking all usage of svelte
documentation,types / typescript
low
Critical
2,767,437,612
flutter
Incorrect MediaQuery padding in small window (freeform) mode on xiaomi device(Xiaomi 14, HyperOS2.0.7.0, Android15, Api35) causing abnormal layout on Flutter 3.27.X
### Steps to reproduce 1. click small window mode button <img src="https://github.com/user-attachments/assets/65f74ddc-e73e-4b69-9939-e08e6b9afcab" width="400"> <img src="https://github.com/user-attachments/assets/521e64aa-82a2-420a-805a-e53b85a39d10" width="400"> ### Expected results All rght in flutter 3.24.5 <img src="https://github.com/user-attachments/assets/cfbeae62-b446-4037-886a-d679b115ba63" width="400"> ### Actual results <img src="https://github.com/user-attachments/assets/29f05dec-c7e4-46ce-8d8a-6c663ae43338" width="400"> ### Code sample <details open><summary>Exist SafeArea Demo</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter 3.27.1 Demo', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), home: const MyHomePage(title: 'Flutter 3.27.1 Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({super.key, required this.title}); final String title; @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { var padding = MediaQuery.paddingOf(context); //if normal mode, print EdgeInsets(0.0, 38.7, 0.0, 16.0) //if in small window mode, print EdgeInsets(0.0, 640.0, 0.0, 0.0) //There is an unknown padding value in small window mode causing the layout under SafeArea to display incorrectly print(padding); return SafeArea( child: Center( child: Text( 'Exist SafeArea $padding', textAlign: TextAlign.center, style: TextStyle( fontSize: 60, ), ), ), ); } } ``` </details> <details open><summary>No SafeArea Demo</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter 3.27.1 Demo', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), home: const MyHomePage(title: 'Flutter 3.27.1 Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({super.key, required this.title}); final String title; @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { var padding = MediaQuery.paddingOf(context); //if normal mode, print EdgeInsets(0.0, 38.7, 0.0, 16.0) //if in small window mode, print EdgeInsets(0.0, 640.0, 0.0, 0.0) //There is an unknown padding value in small window mode causing the layout under SafeArea to display incorrectly print(padding); return Center( child: Text( 'No SafeArea $padding', textAlign: TextAlign.center, style: TextStyle( fontSize: 60, ), ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots</summary> Every is right in Nomal Mode <img src="https://github.com/user-attachments/assets/5bf7f7ea-b602-4d51-a80d-9b43d36fd5f4" width="400"> No SafeArea in Small window Mode <img src="https://github.com/user-attachments/assets/ba751248-14bc-4c51-805d-6e74022badf0" width="400"> Exist SafeArea in Small window Mode <img src="https://github.com/user-attachments/assets/fa9c8bda-c241-4cc1-87d0-7de4ddb80f0a" width="400"> </details> ### Logs <details open><summary>the logs contains enter small window mode and exit</summary> ```console Launching lib\main.dart on 23127PN0CC in debug mode... Running Gradle task 'assembleDebug'... √ Built build\app\outputs\flutter-apk\app-debug.apk Installing build\app\outputs\flutter-apk\app-debug.apk... I/flutter (32748): 2025-01-03 19:31:23.483629 [INFO] [NetworkInfo] Network state: [192.168.0.5, 10.194.127.230] I/flutter (32748): 2025-01-03 19:31:23.487235 [INFO] [NetworkInfo] Network state: [192.168.0.5, 10.194.127.230] I/flutter (22383): [IMPORTANT:flutter/shell/platform/android/android_context_vk_impeller.cc(60)] Using the Impeller rendering backend (Vulkan). Debug service listening on ws://127.0.0.1:55684/sIYSaL0yUcU=/ws Syncing files to device 23127PN0CC... I/flutter (22383): EdgeInsets(0.0, 38.7, 0.0, 16.0) W/1.raster(22383): type=1400 audit(0.0:10579428): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba D/VRI[MainActivity](22383): vri.Setup new sync=wmsSync-VRI[MainActivity]#2 D/HWUI (22383): makeCurrent grContext:0xb4000072dc55a210 reset mTextureAvailable D/.example_3_27_1(22383): MiuiProcessManagerServiceStub setSchedFifo I/MiuiProcessManagerImpl(22383): setSchedFifo pid:22383, mode:3 W/RenderThread(22383): type=1400 audit(0.0:10579429): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba D/VRI[MainActivity](22383): vri.reportDrawFinished W/1.raster(22383): type=1400 audit(0.0:10579430): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba I/HandWritingStubImpl(22383): refreshLastKeyboardType: 1 I/HandWritingStubImpl(22383): getCurrentKeyboardType: 1 I/HandWritingStubImpl(22383): getCurrentKeyboardType: 1 D/ProfileInstaller(22383): Installing profile for com.example.example_3_27_1 I/.example_3_27_1(22383): ProcessProfilingInfo new_methods=4 is saved saved_to_disk=1 resolve_classes_delay=8000 W/1.raster(22383): type=1400 audit(0.0:10579431): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba I/.example_3_27_1(22383): This is non sticky GC, maxfree is 16777216 minfree is 8388608 W/FinalizerDaemon(22383): type=1400 audit(0.0:10579432): avc: denied { getopt } for path="/dev/socket/usap_pool_primary" scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:r:zygote:s0 tclass=unix_stream_socket permissive=0 app=com.baidu.tieba W/.example_3_27_1(22383): ApkAssets: Deleting an ApkAssets object '<empty> and /product/app/ContentCatcherOS2/ContentCatcherOS2.apk' with 1 weak references W/.example_3_27_1(22383): ApkAssets: Deleting an ApkAssets object '<empty> and /system_ext/priv-app/RtMiCloudSDK/RtMiCloudSDK.apk' with 1 weak references W/.example_3_27_1(22383): ApkAssets: Deleting an ApkAssets object '<empty> and /system_ext/app/miuisystem/miuisystem.apk' with 1 weak references D/VRI[MainActivity](22383): visibilityChanged oldVisibility=true newVisibility=false D/AppScoutStateMachine(22383): 22383-ScoutStateMachinecreated D/ActivityThread(22383): handleBoundsCompatInfoChanged remove: name=com.example.example_3_27_1 V/ActivityThread(22383): handleBoundsCompatInfoChanged: state=0, bounds=null, scale=1.0 D/SecurityManager(22383): checkAccessControl flag1 W/libc (22383): Access denied finding property "vendor.gpp.create_frc_extension" W/libc (22383): Access denied finding property "vendor.gpp.create_frc_extension" W/qdgralloc(22383): GetSize: Pixel format: 0x3b is not supported by gralloc W/qdgralloc(22383): gralloc failed to allocate buffer for size 0 format 59 AWxAH 1x1 usage 2816 E/Gralloc4(22383): isSupported(1, 1, 59, 1, ...) failed with 7 E/GraphicBufferAllocator(22383): Failed to allocate (4 x 4) layerCount 1 format 59 usage b00: 2 E/AHardwareBuffer(22383): GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -2), handle=0x0 W/qdgralloc(22383): GetSize: Pixel format: 0x3b is not supported by gralloc W/qdgralloc(22383): gralloc failed to allocate buffer for size 0 format 59 AWxAH 1x1 usage 2816 E/Gralloc4(22383): isSupported(1, 1, 59, 1, ...) failed with 7 E/GraphicBufferAllocator(22383): Failed to allocate (4 x 4) layerCount 1 format 59 usage b00: 2 E/AHardwareBuffer(22383): GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -2), handle=0x0 W/qdgralloc(22383): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 W/qdgralloc(22383): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 W/qdgralloc(22383): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 I/flutter (22383): EdgeInsets.zero W/qdgralloc(22383): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 W/qdgralloc(22383): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 D/VRI[MainActivity](22383): vri.reportNextDraw android.view.ViewRootImpl.performTraversals:4917 android.view.ViewRootImpl.doTraversal:3528 android.view.ViewRootImpl$TraversalRunnable.run:11483 android.view.Choreographer$CallbackRecord.run:1717 android.view.Choreographer$CallbackRecord.run:1726 D/SurfaceView(22383): UPDATE Surface(name=SurfaceView[com.example.example_3_27_1/com.example.example_3_27_1.MainActivity]#847949)/@0x80997ce, mIsProjectionMode = false D/VRI[MainActivity](22383): vri.Setup new sync=wmsSync-VRI[MainActivity]#5 W/RenderThread(22383): type=1400 audit(0.0:10579434): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba W/1.raster(22383): type=1400 audit(0.0:10579435): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba D/VRI[MainActivity](22383): vri.reportDrawFinished D/VRI[MainActivity](22383): vri.reportNextDraw android.view.ViewRootImpl.handleResized:2749 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$W.resized:12635 android.app.servertransaction.WindowStateResizeItem.execute:64 android.app.servertransaction.WindowStateTransactionItem.execute:59 D/VRI[MainActivity](22383): vri.Setup new sync=wmsSync-VRI[MainActivity]#7 D/VRI[MainActivity](22383): vri.reportDrawFinished W/1.raster(22383): type=1400 audit(0.0:10579436): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba W/RenderThread(22383): type=1400 audit(0.0:10579437): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba I/flutter (22383): EdgeInsets(0.0, 640.0, 0.0, 0.0) W/RenderThread(22383): type=1400 audit(0.0:10579438): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba I/HandWritingStubImpl(22383): refreshLastKeyboardType: 1 I/HandWritingStubImpl(22383): getCurrentKeyboardType: 1 I/MIUIInput(22383): [MotionEvent] ViewRootImpl windowName 'com.example.example_3_27_1/com.example.example_3_27_1.MainActivity', { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=1372359790, downTime=1372359790, phoneEventTime=19:34:41.456 } moveCount:0 D/ViewRootImpl(22383): getMiuiFreeformStackInfo mTmpFrames.miuiFreeFormStackInfo: Stack id=3514 bounds=[180,291][1380,2211] displayId=0 userId=0 windowState=0 freeFormScale=0.7 packageName=com.example.example_3_27_1 configuration={1.0 460mcc1mnc [zh_CN] ldltr sw400dp w400dp h640dp 480dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(180, 291 - 1380, 2211) mAppBounds=Rect(180, 291 - 1380, 2211) mMaxBounds=Rect(0, 0 - 1200, 2670) mDisplayRotation=ROTATION_0 mWindowingMode=freeform mActivityType=standard mAlwaysOnTop=on mRotation=ROTATION_0 mInSplitScreen=false letterBoxed=false foScaled=false isSpecificEmbedded=false screenType=0} as.32 s.92208 fontWeightAdjustment=0/d themeChanged=0 themeChangedFlags=0 extraData = Bundle[EMPTY_PARCEL] screenType=0/o} inPinMode=false isForegroundPin=false pinFloatingWindowPos=Rect(0, 0 - 0, 0) isNormalFreeForm=true timestamp=1735903915488 cornerPosition=-1 enterMiniFreeformFromRect=[0,0][0,0] enterMiniFreeformReason=null isLandcapeFreeform=false hadHideStackFormFullScreen=false needAnimation=true D/ViewRootImpl(22383): getMiuiFreeformStackInfo mTmpFrames.miuiFreeFormStackInfo: Stack id=3514 bounds=[180,291][1380,2211] displayId=0 userId=0 windowState=0 freeFormScale=0.7 packageName=com.example.example_3_27_1 configuration={1.0 460mcc1mnc [zh_CN] ldltr sw400dp w400dp h640dp 480dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(180, 291 - 1380, 2211) mAppBounds=Rect(180, 291 - 1380, 2211) mMaxBounds=Rect(0, 0 - 1200, 2670) mDisplayRotation=ROTATION_0 mWindowingMode=freeform mActivityType=standard mAlwaysOnTop=on mRotation=ROTATION_0 mInSplitScreen=false letterBoxed=false foScaled=false isSpecificEmbedded=false screenType=0} as.32 s.92208 fontWeightAdjustment=0/d themeChanged=0 themeChangedFlags=0 extraData = Bundle[EMPTY_PARCEL] screenType=0/o} inPinMode=false isForegroundPin=false pinFloatingWindowPos=Rect(0, 0 - 0, 0) isNormalFreeForm=true timestamp=1735903915488 cornerPosition=-1 enterMiniFreeformFromRect=[0,0][0,0] enterMiniFreeformReason=null isLandcapeFreeform=false hadHideStackFormFullScreen=false needAnimation=true I/MIUIInput(22383): [MotionEvent] ViewRootImpl windowName 'com.example.example_3_27_1/com.example.example_3_27_1.MainActivity', { action=ACTION_CANCEL, id[0]=0, pointerCount=1, eventTime=1372359858, downTime=1372359790, phoneEventTime=19:34:41.524 } moveCount:1 D/VRI[MainActivity](22383): vri.reportNextDraw android.view.ViewRootImpl.handleResized:2749 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$W.resized:12635 android.app.servertransaction.WindowStateResizeItem.execute:64 android.app.servertransaction.WindowStateTransactionItem.execute:59 W/1.raster(22383): type=1400 audit(0.0:10579441): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba I/flutter (22383): EdgeInsets(0.0, 737.0, 0.0, 16.0) D/VRI[MainActivity](22383): vri.reportNextDraw android.view.ViewRootImpl.performTraversals:4917 android.view.ViewRootImpl.doTraversal:3528 android.view.ViewRootImpl$TraversalRunnable.run:11483 android.view.Choreographer$CallbackRecord.run:1717 android.view.Choreographer$CallbackRecord.run:1726 D/VRI[MainActivity](22383): vri.Setup new sync=wmsSync-VRI[MainActivity]#10 I/flutter (22383): EdgeInsets(0.0, 38.7, 0.0, 16.0) W/RenderThread(22383): type=1400 audit(0.0:10579442): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba W/qdgralloc(22383): GetSize: Pixel format: 0x3b is not supported by gralloc W/qdgralloc(22383): gralloc failed to allocate buffer for size 0 format 59 AWxAH 1x1 usage 2816 E/Gralloc4(22383): isSupported(1, 1, 59, 1, ...) failed with 7 E/GraphicBufferAllocator(22383): Failed to allocate (4 x 4) layerCount 1 format 59 usage b00: 2 E/AHardwareBuffer(22383): GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -2), handle=0x0 W/qdgralloc(22383): GetSize: Pixel format: 0x3b is not supported by gralloc W/qdgralloc(22383): gralloc failed to allocate buffer for size 0 format 59 AWxAH 1x1 usage 2816 E/Gralloc4(22383): isSupported(1, 1, 59, 1, ...) failed with 7 E/GraphicBufferAllocator(22383): Failed to allocate (4 x 4) layerCount 1 format 59 usage b00: 2 E/AHardwareBuffer(22383): GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -2), handle=0x0 E/Surface (22383): freeAllBuffers: 1 buffers were freed while being dequeued! D/VRI[MainActivity](22383): vri.reportDrawFinished D/VRI[MainActivity](22383): vri.reportNextDraw android.view.ViewRootImpl.handleResized:2749 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$W.resized:12635 android.app.servertransaction.WindowStateResizeItem.execute:64 android.app.servertransaction.WindowStateTransactionItem.execute:59 D/VRI[MainActivity](22383): vri.reportNextDraw android.view.ViewRootImpl.handleResized:2749 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$W.resized:12635 android.app.servertransaction.WindowStateResizeItem.execute:64 android.app.servertransaction.WindowStateTransactionItem.execute:59 W/qdgralloc(22383): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 D/VRI[MainActivity](22383): vri.Setup new sync=wmsSync-VRI[MainActivity]#12 W/qdgralloc(22383): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 W/qdgralloc(22383): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 W/RenderThread(22383): type=1400 audit(0.0:10579443): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba W/qdgralloc(22383): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 W/qdgralloc(22383): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0 W/1.raster(22383): type=1400 audit(0.0:10579444): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba W/1.raster(22383): type=1400 audit(0.0:10579445): avc: denied { getattr } for path="/sys/module/metis/parameters/minor_window_app" dev="sysfs" ino=72004 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:sysfs_migt:s0 tclass=file permissive=0 app=com.baidu.tieba ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.1, on Microsoft Windows [版本 10.0.26120.2705], locale en-US) • Flutter version 3.27.1 on channel stable at C:\Users\lycst\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 17025dd882 (3 weeks ago), 2024-12-17 03:23:09 +0900 • Engine revision cb4b5fff73 • Dart version 3.6.0 • DevTools version 2.40.2 [✓] Windows Version (Installed version of Windows is version 10 or higher) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at C:\Users\lycst\AppData\Local\Android\sdk • Platform android-35, build-tools 35.0.0 • Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.3) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.10.35013.160 • Windows 10 SDK version 10.0.22621.0 [!] Android Studio (version 2024.1) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to determine bundled Java version. • Try updating or re-installing Android Studio. [✓] Android Studio (version 2024.2) • Android Studio at C:\Program Files\Android\Android Studio1 • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11) [✓] IntelliJ IDEA Ultimate Edition (version 2024.1) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2024.1.7 • Flutter plugin version 83.0.2 • Dart plugin version 241.19416.15 [✓] VS Code (version 1.96.2) • VS Code at C:\Users\lycst\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.102.0 [✓] Connected device (4 available) • 23127PN0CC (mobile) • 3fde6868 • android-arm64 • Android 15 (API 35) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.26120.2705] • Chrome (web) • chrome • web-javascript • Google Chrome 104.0.5112.102 • Edge (web) • edge • web-javascript • Microsoft Edge 132.0.2957.55 ``` </details>
e: device-specific,platform-android,e: OS-version specific,P2,team-android,triaged-android
low
Critical
2,767,446,088
angular
Provide example with track function in `@for` docs
### Describe the problem that you experienced Documentation for `@for` control flow syntax might be improved with examples on how to use track functions. I've noticed that many developers when switching from `ngFor` to `@for` continue to use track function and provide it as a reference to a function which is incorrect. For example, developers are switching from `<div *ngFor="let item of items; trackBy: myCustomFn">` to `@for (item of items, track myCustomFn)` which is incorrect. Another problem is that only starting from Angular 18 you'll see a warning that this is incorrect, while previous versions would silently use incorrect tracking. In the documentation it's stated that you need to use expression there, but small explicit example would make things much better. ### Enter the URL of the topic with the problem https://angular.dev/api/core/@for ### Describe what you were looking for in the documentation _No response_ ### Describe the actions that led you to experience the problem _No response_ ### Describe what you want to experience that would fix the problem _No response_ ### Add a screenshot if that helps illustrate the problem _No response_ ### If this problem caused an exception or error, please paste it here ```true ``` ### If the problem is browser-specific, please specify the device, OS, browser, and version ```true ``` ### Provide any additional information here in as much as detail as you can ```true ```
area: docs
low
Critical
2,767,454,835
pytorch
Unable to parse and visualize "trace view" with tensorboard
### 🐛 Describe the bug I'm using the following code to profile my PyTorch model. https://github.com/Lightning-AI/pytorch-lightning/issues/20525 ```python import torch from pytorch_lightning.profilers import PyTorchProfiler import lightning as L schedule = torch.profiler.schedule( wait=2, warmup=2, active=5, repeat=10 ) profiler = PyTorchProfiler( dirpath="{tbprofiler_path}", filename="trace", schedule=schedule, export_to_chrome=True, with_stack=True, record_shapes=True, record_module_names=True, profile_memory=True ) trainer_arg_dict["profiler"] = profiler return L.Trainer( **trainer_arg_dict, ) ``` The code terminated normally, however, I got this error when using tensorboard to visualize the trace results. ![image](https://github.com/user-attachments/assets/c2cb8d94-e3dc-4957-b059-681d1c0a158b) and the overview result also seems incorrect. ![image](https://github.com/user-attachments/assets/2e264326-16e7-42c4-866a-d376b6a7ad82) The CPU peak memory usage is only 3.0, which is also quite strange. Any suggestions about this? Thanks. ![image](https://github.com/user-attachments/assets/a4d9a41c-f134-4f16-851d-98f84ef13471) ### Versions PyTorch version: 2.3.0a0+6ddf5cf85e.nv24.04 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.4 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: 14.0.0-1ubuntu1.1 CMake version: version 3.29.0 Libc version: glibc-2.35 Python version: 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] (64-bit runtime) Python platform: Linux-3.10.0-1160.el7.x86_64-x86_64-with-glibc2.35 Is CUDA available: True CUDA runtime version: 12.4.131 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA A100-SXM4-80GB Nvidia driver version: 470.199.02 cuDNN version: Probably one of the following: /usr/lib/x86_64-linux-gnu/libcudnn.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_adv.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_cnn.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_engines_precompiled.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_engines_runtime_compiled.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_graph.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_heuristic.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_ops.so.9.1.0 HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 46 bits physical, 57 bits virtual Byte Order: Little Endian CPU(s): 128 On-line CPU(s) list: 0-127 Vendor ID: GenuineIntel Model name: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.90GHz CPU family: 6 Model: 106 Thread(s) per core: 2 Core(s) per socket: 32 Socket(s): 2 Stepping: 6 CPU max MHz: 3500.0000 CPU min MHz: 800.0000 BogoMIPS: 5800.00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 invpcid_single intel_pt ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq md_clear pconfig spec_ctrl intel_stibp flush_l1d arch_capabilities Virtualization: VT-x L1d cache: 3 MiB (64 instances) L1i cache: 2 MiB (64 instances) L2 cache: 80 MiB (64 instances) L3 cache: 96 MiB (2 instances) NUMA node(s): 2 NUMA node0 CPU(s): 0-31,64-95 NUMA node1 CPU(s): 32-63,96-127 Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] cudnn==1.1.2 [pip3] efficientnet-pytorch==0.7.1 [pip3] mypy-extensions==1.0.0 [pip3] numpy==1.23.5 [pip3] nvtx==0.2.5 [pip3] onnx==1.16.0 [pip3] onnxruntime==1.16.0 [pip3] optree==0.11.0 [pip3] pynvjitlink==0.1.13 [pip3] pytorch-lightning==2.4.0 [pip3] pytorch-quantization==2.1.2 [pip3] pytorch-triton==3.0.0+a9bc1a364 [pip3] torch==2.3.0a0+6ddf5cf85e.nv24.4 [pip3] torch-scatter==2.1.2 [pip3] torch-tensorrt==2.3.0a0 [pip3] torchdata==0.7.1a0 [pip3] torchmetrics==1.4.2 [pip3] torchtext==0.17.0a0 [pip3] torchvision==0.18.0a0 [conda] Could not collect cc @robieta @chaekit @guotuofeng @guyang3532 @dzhulgakov @davidberard98 @briancoutinho @sraikund16 @sanrise
module: tensorboard,oncall: profiler
low
Critical
2,767,466,179
flutter
[vector_graphics] Cannot set RenderingStrategy to picture
### Use case I use vector_graphics_compiler to compile a list of SVGs into vector format for vector_graphics. Specifically, I'm using them for country flags. The problem is that with `RenderingStrategy.raster` rendering is way less performant for them. ### Proposal Currently, raster mode is hardcoded in VectorGraphic widget, so a better idea would be to allow specifying it. Moreover, raster mode results in some canvas kit issues when this list is scrolled quite fast. <details> Restarted application in 89ms. Aborted() ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ The following NativeError object was thrown during paint(): RuntimeError: Aborted(). Build with -sASSERTIONS for more info. The relevant error-causing widget was: FlagWidget FlagWidget:file:///Users/mykhailo.lazebnyi/projects/ignite-sdk/packages/core/nexus/widgetbook/lib/src/preview/components/core/flag/country_flag_preview.dart:11:20 When the exception was thrown, this was the stack: https://www.gstatic.com/flutter-canvaskit/a18df97ca57a249df5d8d68cd0820600223ce262/chromium/canvaskit.js 93:151 Ea https://www.gstatic.com/flutter-canvaskit/a18df97ca57a249df5d8d68cd0820600223ce262/chromium/canvaskit.js 169:377 k https://www.gstatic.com/flutter-canvaskit/a18df97ca57a249df5d8d68cd0820600223ce262/chromium/canvaskit.js 116:52 <fn> https://www.gstatic.com/flutter-canvaskit/a18df97ca57a249df5d8d68cd0820600223ce262/chromium/canvaskit.js 106:260 <computed> https://www.gstatic.com/flutter-canvaskit/a18df97ca57a249df5d8d68cd0820600223ce262/chromium/canvaskit.js 33:9 g https://www.gstatic.com/flutter-canvaskit/a18df97ca57a249df5d8d68cd0820600223ce262/chromium/canvaskit.js 43:340 readPixels lib/_engine/engine/canvaskit/canvaskit_api.dart 1179:7 SkImageExtension.readPixels lib/_engine/engine/canvaskit/picture.dart 108:38 toImageSync packages/vector_graphics/src/render_vector_graphic.dart 215:22 _createRaster packages/vector_graphics/src/render_vector_graphic.dart 252:9 [_maybeUpdateRaster] packages/vector_graphics/src/render_vector_graphic.dart 299:5 paint packages/flutter/src/rendering/object.dart 3268:7 [_paintWithContext] packages/flutter/src/rendering/object.dart 251:12 paintChild packages/flutter/src/rendering/proxy_box.dart 136:12 paint packages/flutter/src/rendering/object.dart 3268:7 [_paintWithContext] packages/flutter/src/rendering/object.dart 251:12 paintChild packages/flutter/src/rendering/proxy_box.dart 136:12 paint packages/flutter/src/rendering/object.dart 688:7 pushTransform packages/flutter/src/rendering/proxy_box.dart 2800:21 [_paintChildWithTransform] packages/flutter/src/rendering/proxy_box.dart 2830:15 paint packages/flutter/src/rendering/object.dart 3268:7 [_paintWithContext] packages/flutter/src/rendering/object.dart 251:12 paintChild packages/flutter/src/rendering/proxy_box.dart 136:12 paint packages/flutter/src/rendering/object.dart 3268:7 [_paintWithContext] packages/flutter/src/rendering/object.dart 251:12 paintChild packages/flutter/src/rendering/proxy_box.dart 136:12 paint packages/flutter/src/rendering/object.dart 3268:7 [_paintWithContext] packages/flutter/src/rendering/object.dart 251:12 paintChild packages/flutter/src/rendering/proxy_box.dart 136:12 paint packages/flutter/src/rendering/object.dart 3268:7 [_paintWithContext] packages/flutter/src/rendering/object.dart 251:12 paintChild packages/flutter/src/rendering/proxy_box.dart 136:12 paint packages/flutter/src/rendering/object.dart 3268:7 [_paintWithContext] packages/flutter/src/rendering/object.dart 167:10 _repaintCompositedChild packages/flutter/src/rendering/object.dart 110:5 repaintCompositedChild packages/flutter/src/rendering/object.dart 1183:31 flushPaint packages/flutter/src/rendering/object.dart 1193:14 flushPaint packages/flutter/src/rendering/binding.dart 604:5 drawFrame packages/flutter/src/widgets/binding.dart 1164:13 drawFrame packages/flutter/src/rendering/binding.dart 468:5 [_handlePersistentFrameCallback] packages/flutter/src/scheduler/binding.dart 1397:7 [_invokeFrameCallback] packages/flutter/src/scheduler/binding.dart 1318:9 handleDrawFrame packages/flutter/src/scheduler/binding.dart 1176:5 [_handleDrawFrame] lib/_engine/engine/platform_dispatcher.dart 1408:5 invoke lib/_engine/engine/platform_dispatcher.dart 310:5 invokeOnDrawFrame lib/_engine/engine/initialization.dart 187:36 <fn> dart-sdk/lib/_internal/js_dev_runtime/patch/js_allow_interop_patch.dart 188:27 _callDartFunctionFast1 The following RenderObject was being processed when the exception was fired: RenderVectorGraphic#ce3c8: creator: _RawVectorGraphicWidget ← SizedBox ← FittedBox ← SizedBox ← Semantics ← VectorGraphic ← FlagWidget ← SizedBox ← RepaintBoundary ← IndexedSemantics ← _SelectionKeepAlive ← NotificationListener<KeepAliveNotification> ← ⋯ parentData: <none> (can use size) constraints: BoxConstraints(w=640.0, h=480.0) size: Size(640.0, 480.0) This RenderObject has no descendants. ════════════════════════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'NativeUint8List' </details>
c: new feature,package,c: proposal,workaround available,team-engine,p: vector_graphics
low
Critical
2,767,485,167
kubernetes
Pods stuck in Terminating state for >3 days; unable to delete via standard methods on GKE
### What happened? We encountered an issue where four pods in our GKE cluster have been stuck in the `Terminating` state for over three days. Jobs created these pods have already been deleted. Despite our attempts to delete the pods using standard methods (e.g., `kubectl delete --force --grace-period=0`), they remain in this state. Here is the pod status: ```bash kubectl get pods NAME READY STATUS RESTARTS AGE allocation-28910880-tzr87 0/2 Terminating 0 3d allocation-28912320-8mn4z 0/2 Terminating 0 3d allocation-28913760-4gsxh 0/2 Terminating 0 3d allocation-28916640-vwdj2 0/2 Terminating 0 3d ``` Additional details: - Each pod has the finalizer `batch.kubernetes.io/job-tracking` and a QoS class of `Burstable`. - Attempts to remove the finalizers result in the following error: ```bash The Pod "allocation-event-sync-28912320-8mn4z" is invalid: spec.initContainers: Forbidden: pod updates may not add or remove containers ``` - One of the pods (`allocation-28912320-8mn4z`) was running on a node (`gke-primary-pool-bd44533c-aezp`) that has since been drained and deleted. However, the pod still references the deleted node while remaining in the `Terminating` state. Attempts to resolve: 1. Force deletion with `kubectl delete --force --grace-period=0` and via `kubectl replace`. 2. Deleting via the `kubectl proxy` API (both deletion and replacement attempts). 3. Draining and deleting the node where one of the pods was running. 4. Attempting to modify the finalizers or QoS class, resulting in the above error. ### What did you expect to happen? The pods should be removed from the cluster once the Job is deleted, or at least be force-deletable using standard methods like kubectl delete. ### How can we reproduce it (as minimally and precisely as possible)? We cannot reproduce this issue at the moment. Creating a Job via the CLI or a YAML file and then deleting it does not result in the same stuck Terminating state. This appears to be a specific edge case that we can't relate to. ### Anything else we need to know? The only thing we had in the cluster was that we had recently updated the nodes from version 1.27 to 1.28, but we think that was before the job deletion. ### Kubernetes version <details> ```console $ kubectl version Client Version: v1.28.13-gke.600 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 ``` </details> ### Cloud provider <details> Google cloud </details> ### OS version <details> ```console # On Linux: $ cat /etc/os-release NAME="Container-Optimized OS" ID=cos PRETTY_NAME="Container-Optimized OS from Google" HOME_URL="https://cloud.google.com/container-optimized-os/docs" BUG_REPORT_URL="https://cloud.google.com/container-optimized-os/docs/resources/support-policy#contact_us" GOOGLE_CRASH_ID=Lakitu GOOGLE_METRICS_PRODUCT_ID=26 KERNEL_COMMIT_ID=3e0971e1551e88a5a9e615c239f034fd9fd8a423 VERSION=109 VERSION_ID=109 BUILD_ID=17800.309.13 $ uname -a Linux gke-primary-pool-bd44533c-138r 6.1.100+ #1 SMP PREEMPT_DYNAMIC Sat Aug 10 14:21:56 UTC 2024 x86_64 Intel(R) Xeon(R) CPU @ 2.20GHz GenuineIntel GNU/Linux ``` </details> ### Install tools <details> kubectl gcloud </details> ### Container runtime (CRI) and version (if applicable) <details> </details> ### Related plugins (CNI, CSI, ...) and versions (if applicable) <details> </details>
kind/bug,sig/apps,needs-triage
low
Critical
2,767,492,471
langchain
Cache de-serialization does not work on ChatOpenAI with structured output, Pydantic classes and json_schema
### Checked other resources - [X] I added a very descriptive title to this issue. - [X] I searched the LangChain documentation with the integrated search. - [X] I used the GitHub search to find a similar question and didn't find it. - [X] I am sure that this is a bug in LangChain rather than my code. - [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package). ### Example Code ```python from langchain.globals import set_llm_cache from langchain_community.cache import SQLiteCache from langchain_openai import ChatOpenAI from pydantic import BaseModel set_llm_cache(SQLiteCache()) class Temperature(BaseModel): value: int city: str chat = ChatOpenAI(model="gpt-4o").with_structured_output(Temperature, method="json_schema") chat.invoke("What is the average temperature of Rome in May?") # on this second call the exception is raised chat.invoke("What is the average temperature of Rome in May?") ``` ### Error Message and Stack Trace (if applicable) ``` Retrieving a cache value that could not be deserialized properly. This is likely due to the cache being in an older format. Please recreate your cache to avoid this error. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/berardi/Library/Caches/pypoetry/virtualenvs/langchain-elasticsearch-IgW_j1SW-py3.10/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 3020, in invoke input = context.run(step.invoke, input, config, **kwargs) File "/Users/berardi/Library/Caches/pypoetry/virtualenvs/langchain-elasticsearch-IgW_j1SW-py3.10/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 5352, in invoke return self.bound.invoke( File "/Users/berardi/Library/Caches/pypoetry/virtualenvs/langchain-elasticsearch-IgW_j1SW-py3.10/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 286, in invoke self.generate_prompt( File "/Users/berardi/Library/Caches/pypoetry/virtualenvs/langchain-elasticsearch-IgW_j1SW-py3.10/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 786, in generate_prompt return self.generate(prompt_messages, stop=stop, callbacks=callbacks, **kwargs) File "/Users/berardi/Library/Caches/pypoetry/virtualenvs/langchain-elasticsearch-IgW_j1SW-py3.10/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 643, in generate raise e File "/Users/berardi/Library/Caches/pypoetry/virtualenvs/langchain-elasticsearch-IgW_j1SW-py3.10/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 633, in generate self._generate_with_cache( File "/Users/berardi/Library/Caches/pypoetry/virtualenvs/langchain-elasticsearch-IgW_j1SW-py3.10/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 818, in _generate_with_cache return ChatResult(generations=cache_val) File "/Users/berardi/Library/Caches/pypoetry/virtualenvs/langchain-elasticsearch-IgW_j1SW-py3.10/lib/python3.10/site-packages/pydantic/main.py", line 214, in __init__ validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) pydantic_core._pydantic_core.ValidationError: 1 validation error for ChatResult generations.0 Input should be a valid dictionary or instance of ChatGeneration [type=model_type, input_value=Generation(text='{"lc": 1...id_tool_calls": []}}}}'), input_type=Generation] For further information visit https://errors.pydantic.dev/2.10/v/model_type ``` ### Description When using the specific configuration in the example, for ChatOpenAI structured output, caches won't work properly. The problem appears only with Pydantic classes and `"json_schema"`. For example, there is no problem when using `TypedDict` as schema, or when using `"function_calling"` as method. I have also tested Redis and Elasticsearch cache integrations. The issue is the same, LangChain is not able to restore the serialized output from the cache. I am aware of the [limits of load methods](https://python.langchain.com/docs/how_to/serialization/), the problem however is in the dumping phase, where a Pydantic object is [handled by this code](https://github.com/langchain-ai/langchain/blob/b258ff1930765da9bd0761ad47b1401c246a595a/libs/core/langchain_core/load/dump.py#L20). It cannot be properly serialized. ### System Info System Information ------------------ > OS: Darwin > OS Version: Darwin Kernel Version 24.2.0: Fri Dec 6 18:41:43 PST 2024; root:xnu-11215.61.5~2/RELEASE_X86_64 > Python Version: 3.11.7 (main, Jan 11 2024, 20:41:08) [Clang 13.0.0 (clang-1300.0.29.30)] Package Information ------------------- > langchain_core: 0.3.24 > langchain: 0.3.11 > langchain_community: 0.3.11 > langsmith: 0.2.3 > langchain_elasticsearch: 0.3.0 > langchain_openai: 0.2.12 > langchain_text_splitters: 0.3.2 Optional packages not installed ------------------------------- > langserve Other Dependencies ------------------ > aiohttp: 3.11.10 > async-timeout: Installed. No version info available. > dataclasses-json: 0.6.7 > elasticsearch[vectorstore-mmr]: Installed. No version info available. > httpx: 0.28.1 > httpx-sse: 0.4.0 > jsonpatch: 1.33 > langsmith-pyo3: Installed. No version info available. > numpy: 1.26.4 > openai: 1.57.3 > orjson: 3.10.12 > packaging: 24.2 > pydantic: 2.10.3 > pydantic-settings: 2.7.0 > PyYAML: 6.0.2 > requests: 2.32.3 > requests-toolbelt: 1.0.0 > SQLAlchemy: 2.0.36 > tenacity: 9.0.0 > tiktoken: 0.8.0 > typing-extensions: 4.12.2
🤖:bug,investigate
low
Critical
2,767,516,571
next.js
use dockerfile in render.com return 502 , so I change dockerfile to fix it, I hope it can help others.
### Verify canary release - [X] I verified that the issue exists in the latest Next.js canary release ### Provide environment information ```bash render.com docker ``` ### Which example does this report relate to? With Docker ### What browser are you using? (if relevant) _No response_ ### How are you deploying your application? (if relevant) render.com ### Describe the Bug web browser return 502, but in render.com dashboard have no error log ### Expected Behavior show my web site . in my VM is OK, but in render.com is not work. ### To Reproduce the docker fille will get error ```yml # Install dependencies only when needed FROM node:lts-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat curl WORKDIR /app # Install dependencies based on the preferred package manager COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc ./ RUN \ if [ -f yarn.lock ]; then yarn --frozen-lockfile; \ elif [ -f package-lock.json ]; then npm ci; \ elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i; \ else echo "Lockfile not found." && exit 1; \ fi # Rebuild the source code only when needed FROM node:lts-alpine AS builder WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . # Next.js collects completely anonymous telemetry data about general usage. # Learn more here: https://nextjs.org/telemetry # Uncomment the following line in case you want to disable telemetry during the build. # ENV NEXT_TELEMETRY_DISABLED 1 RUN CI=true yarn build # If using npm comment out above and use below instead # RUN npm run build # Production image, copy all the files and run next FROM node:lts-alpine AS runner WORKDIR /app ENV NODE_ENV=production # Uncomment the following line in case you want to disable telemetry during runtime. # ENV NEXT_TELEMETRY_DISABLED 1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs COPY --from=builder /app/public ./public # Automatically leverage output traces to reduce image size # https://nextjs.org/docs/advanced-features/output-file-tracing COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static USER nextjs EXPOSE 3000 ENV PORT=3000 CMD ["node", "server.js"] ``` I change dockerfile to fix ```yml FROM node:20-slim AS base RUN apt-get update && \ apt-get install ca-certificates curl libjemalloc-dev -y --no-install-recommends && \ rm -rf /var/lib/apt/lists/* # set environment variable to preload JEMalloc ENV LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libjemalloc.so.2" # set GC time, set arenas number, set background_thread run GC ENV MALLOC_CONF=dirty_decay_ms:1000,narenas:2,background_thread:true ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable COPY . /app WORKDIR /app FROM base AS build RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm i --frozen-lockfile RUN CI=true pnpm build FROM base COPY --from=build /app/.next/standalone ./ COPY --from=build /app/public ./public COPY --from=build /app/.next/static ./.next/static EXPOSE 3000 ENV PORT=3000 ENV HOSTNAME="0.0.0.0" CMD ["node", "server.js"] ```
examples
low
Critical
2,767,531,715
PowerToys
Certain controlling elements do not respect application language setting
### Microsoft PowerToys version 0.87.1 ### Installation method PowerToys auto-update ### Running as admin Yes ### Area(s) with issue? General ### Steps to reproduce - Set system language to Chinese - Set PowerToys' "Application Language" to English - Flip through settings page ![Case 1](https://github.com/user-attachments/assets/76bfff37-741d-45ab-939c-8b99f5fe197f) ![Case 2](https://github.com/user-attachments/assets/e40087f1-a006-4754-af8e-cbc3e8aff12a) ### ✔️ Expected Behavior All texts should follow "Application Language" setting ### ❌ Actual Behavior Some of them are following system language setting instead ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,767,534,124
PowerToys
NEW+ appears twice in the context menu
### Microsoft PowerToys version 0.87.1 ### Installation method Microsoft Store ### Running as admin Yes ### Area(s) with issue? New+ ### Steps to reproduce I am now seeing two instances of the NEW+ menu item when I right-click on a folder. BOTH work fine, but jut one will do! ![Image](https://github.com/user-attachments/assets/76697bc9-cff9-4a8e-96f4-8b98fe7f2950) ### ✔️ Expected Behavior Just one instance of the NEW+ menu item. ### ❌ Actual Behavior I am now seeing two instances of the NEW+ menu. ### Other Software Edition Windows 11 Pro Version 23H2 Installed on ‎2022-‎09-‎21 OS build 22635.4655 Serial number 5CG0444HZL Experience Windows Feature Experience Pack 1000.22700.1065.0 Windows 11 Insider Preview Build 22635.4655 (Beta Channel)
Issue-Bug,Needs-Triage
low
Minor
2,767,549,852
ui
[bug]: Default fromField name not removed in Date Picker without hard reload
### Describe the bug When using the ShadCN UI **Date Picker** component, modifying the **fromField** name updates the value correctly, but the default fromField name is not removed unless a **hard reload** is performed. This behavior causes confusion and makes the component behave unexpectedly during development. ### Affected component/components <DatePicker fromField="customFieldName" /> ### How to reproduce 1. Integrate the ShadCN Date Picker component into a React project. 2. Assign a custom value to the fromField prop. 3. Observe that the new value is added, but the default fromField name remains. 4. Perform a hard reload of the development site. 5. Notice that the default name is now removed as expected. ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash Framework: React ShadCN Version: 0.9.4 Browser: Chrome Operating System: macOS ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,767,579,793
next.js
NextJS 15/Axios incompatibility has incomplete Set-Cookies header when doing request from Next middleware only
### Link to the code that reproduces this issue https://github.com/w7rus/nextjs15-incorrect-set-cookie-data-middleware ### To Reproduce 1. Run any backend service prebuilted at `./SetCookieBackend/build` 2. Run nextjs-14.2.2-pass example via ```bash npm i npm run dev ``` 3. Open `http://localhost:3000`, note down logs made by next. 4. Run nextjs-15.1.3-fail example via ```bash npm i npm run dev ``` 5. Open `http://localhost:3000`, note down logs made by next. ### Current vs. Expected behavior Following nextjs14 example logs, all 5 cookies are available in headers via fetch/axios in middleware: ``` > [email protected] dev > next dev ▲ Next.js 14.2.22 - Local: http://localhost:3000 ✓ Starting... ✓ Ready in 1805ms ✓ Compiled /src/middleware in 211ms (168 modules) Response from middleware via Axios, Set-Cookie: RefreshToken=Fr1kyC0UQykAotErzB9xxrwNksYntV3958hYst5ANDMeqwG2gSYM0xrrfc2Cz8FZAI3l8Ywd16d2hMUmX6cUSCx1DmwPjtwWgtnHzMhXzq3hVpudu95saA9HcyA0Hn2l; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict; httponly, RefreshTokenExpiresAt=2025-01-10T13%3A12%3A25.0520738%2B00%3A00; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict, JsonWebToken=dKTzSlNSvY64bchVnMoY11RIIKoDSWfgwpukRPiTDApW5kMlzhjzNC0q8QxxyVAeZZrKaBL64MfPMttejqfJwMfy899HIOAu385sR74TWfPYOcvaWskB8aRNkkSxvJw1; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict; httponly, JsonWebTokenExpiresAt=2025-01-03T13%3A17%3A25.0520742%2B00%3A00; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict, UserId=0b25555f-e36b-4122-9a8c-492bc494adc5; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict Response from middleware via Fetch, Set-Cookie: RefreshToken=Fr1kyC0UQykAotErzB9xxrwNksYntV3958hYst5ANDMeqwG2gSYM0xrrfc2Cz8FZAI3l8Ywd16d2hMUmX6cUSCx1DmwPjtwWgtnHzMhXzq3hVpudu95saA9HcyA0Hn2l; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict; httponly, RefreshTokenExpiresAt=2025-01-10T13%3A12%3A25.0585277%2B00%3A00; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict, JsonWebToken=dKTzSlNSvY64bchVnMoY11RIIKoDSWfgwpukRPiTDApW5kMlzhjzNC0q8QxxyVAeZZrKaBL64MfPMttejqfJwMfy899HIOAu385sR74TWfPYOcvaWskB8aRNkkSxvJw1; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict; httponly, JsonWebTokenExpiresAt=2025-01-03T13%3A17%3A25.0585282%2B00%3A00; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict, UserId=d442816b-e733-44a6-b91b-7c8244baa7ec; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict ○ Compiling / ... ✓ Compiled / in 658ms (637 modules) Response from AppServer, Set-Cookie: RefreshToken=Fr1kyC0UQykAotErzB9xxrwNksYntV3958hYst5ANDMeqwG2gSYM0xrrfc2Cz8FZAI3l8Ywd16d2hMUmX6cUSCx1DmwPjtwWgtnHzMhXzq3hVpudu95saA9HcyA0Hn2l; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict; httponly,RefreshTokenExpiresAt=2025-01-10T13%3A12%3A25.8656325%2B00%3A00; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict,JsonWebToken=dKTzSlNSvY64bchVnMoY11RIIKoDSWfgwpukRPiTDApW5kMlzhjzNC0q8QxxyVAeZZrKaBL64MfPMttejqfJwMfy899HIOAu385sR74TWfPYOcvaWskB8aRNkkSxvJw1; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict; httponly,JsonWebTokenExpiresAt=2025-01-03T13%3A17%3A25.8656334%2B00%3A00; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict,UserId=aa632304-4c80-4b0b-a046-151a9d683967; expires=Fri, 10 Jan 2025 13:12:25 GMT; domain=localhost; path=/; samesite=strict GET / 200 in 829ms ``` Following nextjs15 example logs, 5 cookies are available in headers only via fetch, but only last one via axios in middleware: ``` > [email protected] dev > next dev --turbopack ▲ Next.js 15.1.3 (Turbopack) - Local: http://localhost:3000 - Network: http://10.8.1.21:3000 ✓ Starting... ✓ Compiled in 201ms ✓ Ready in 1053ms Response from middleware via Axios, Set-Cookie: UserId=c4e46628-7ec1-412b-bdd4-6c8594f69cc0; expires=Fri, 10 Jan 2025 13:07:01 GMT; domain=localhost; path=/; samesite=strict Response from middleware via Fetch, Set-Cookie: RefreshToken=Fr1kyC0UQykAotErzB9xxrwNksYntV3958hYst5ANDMeqwG2gSYM0xrrfc2Cz8FZAI3l8Ywd16d2hMUmX6cUSCx1DmwPjtwWgtnHzMhXzq3hVpudu95saA9HcyA0Hn2l; expires=Fri, 10 Jan 2025 13:07:01 GMT; domain=localhost; path=/; samesite=strict; httponly, RefreshTokenExpiresAt=2025-01-10T13%3A07%3A01.8466803%2B00%3A00; expires=Fri, 10 Jan 2025 13:07:01 GMT; domain=localhost; path=/; samesite=strict, JsonWebToken=dKTzSlNSvY64bchVnMoY11RIIKoDSWfgwpukRPiTDApW5kMlzhjzNC0q8QxxyVAeZZrKaBL64MfPMttejqfJwMfy899HIOAu385sR74TWfPYOcvaWskB8aRNkkSxvJw1; expires=Fri, 10 Jan 2025 13:07:01 GMT; domain=localhost; path=/; samesite=strict; httponly, JsonWebTokenExpiresAt=2025-01-03T13%3A12%3A01.8466806%2B00%3A00; expires=Fri, 10 Jan 2025 13:07:01 GMT; domain=localhost; path=/; samesite=strict, UserId=6e9031ed-980d-455a-9d14-48de07bd48a2; expires=Fri, 10 Jan 2025 13:07:01 GMT; domain=localhost; path=/; samesite=strict ○ Compiling / ... ✓ Compiled / in 2.4s Response from AppServer, Set-Cookie: RefreshToken=Fr1kyC0UQykAotErzB9xxrwNksYntV3958hYst5ANDMeqwG2gSYM0xrrfc2Cz8FZAI3l8Ywd16d2hMUmX6cUSCx1DmwPjtwWgtnHzMhXzq3hVpudu95saA9HcyA0Hn2l; expires=Fri, 10 Jan 2025 13:07:04 GMT; domain=localhost; path=/; samesite=strict; httponly,RefreshTokenExpiresAt=2025-01-10T13%3A07%3A04.3973339%2B00%3A00; expires=Fri, 10 Jan 2025 13:07:04 GMT; domain=localhost; path=/; samesite=strict,JsonWebToken=dKTzSlNSvY64bchVnMoY11RIIKoDSWfgwpukRPiTDApW5kMlzhjzNC0q8QxxyVAeZZrKaBL64MfPMttejqfJwMfy899HIOAu385sR74TWfPYOcvaWskB8aRNkkSxvJw1; expires=Fri, 10 Jan 2025 13:07:04 GMT; domain=localhost; path=/; samesite=strict; httponly,JsonWebTokenExpiresAt=2025-01-03T13%3A12%3A04.3973343%2B00%3A00; expires=Fri, 10 Jan 2025 13:07:04 GMT; domain=localhost; path=/; samesite=strict,UserId=3cf178eb-853d-4ada-b0c5-aeadc6bd0240; expires=Fri, 10 Jan 2025 13:07:04 GMT; domain=localhost; path=/; samesite=strict GET / 200 in 2595ms ``` * when doing request from middleware via Axios in NextJS 15, Set-Cookie are incorrect, only received last out of 5 cookies in a request * when doing request from middleware via Fetch in NextJS 15, Set-Cookie are correct * Downgrading to NextJS 14 and using Axios/Fetch, Set-Cookie are correct ### Provide environment information ```bash Operating System: Platform: win32 Arch: x64 Version: Windows 10 IoT Enterprise LTSC 2024 Available memory (MB): 65286 Available CPU cores: 20 Binaries: Node: 18.20.5 npm: 10.8.2 Yarn: N/A pnpm: N/A Relevant Packages: next: 15.1.1-canary.24 // Latest available version is detected (15.1.1-canary.24). eslint-config-next: 15.1.3 react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.2 Next.js Config: output: standalone ``` ### Which area(s) are affected? (Select all that apply) Middleware ### Which stage(s) are affected? (Select all that apply) next dev (local), next build (local), next start (local) ### Additional context Only workaround for now to either downgrade to next 14.2.22, or avoid using axios in favor of fetch for next 15.1.3. Also tested that on latest canary build of next 15, issue persists.
Middleware
low
Minor