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,801,238,281
pytorch
No Range Check for `storage_offset` in `as_strided` Function
### 🐛 Describe the bug An issue has been identified in the `as_strided` function of PyTorch related to the `storage_offset` parameter (referred to as sym_3 in the provided example). The function does not perform a range check on storage_offset, which leads to memory access errors when the value is out of bounds. In the example provided, this results in a segmentation fault (SIGSEGV) during execution. ```python import torch print(torch.__version__) sym_0 = 2 sym_1 = [7, 8, 1, 8] sym_2 = [1, 1, 2, 0] sym_3 = 9223369837831520255 # Invalid storage_offset value var_161 = torch.randperm(sym_0, dtype=torch.long, device='cpu') var_26 = torch.as_strided(var_161, sym_1, sym_2, sym_3) print(var_26) ``` Running result: ``` $ python3 test.py fish: Job 2, 'python3 test.py' terminated by signal SIGSEGV (Address boundary error) ``` ### Versions Collecting environment information... PyTorch version: 2.7.0.dev20250116+cu124 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Manjaro Linux (x86_64) GCC version: (GCC) 14.2.1 20240805 Clang version: 18.1.8 CMake version: version 3.30.2 Libc version: glibc-2.40 Python version: 3.11.11 | packaged by conda-forge | (main, Dec 5 2024, 14:17:24) [GCC 13.3.0] (64-bit runtime) Python platform: Linux-6.6.47-1-MANJARO-x86_64-with-glibc2.40 Is CUDA available: True CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4070 Nvidia driver version: 550.107.02 cuDNN version: Probably one of the following: /usr/lib/libcudnn.so.9.2.1 /usr/lib/libcudnn_adv.so.9.2.1 /usr/lib/libcudnn_cnn.so.9.2.1 /usr/lib/libcudnn_engines_precompiled.so.9.2.1 /usr/lib/libcudnn_engines_runtime_compiled.so.9.2.1 /usr/lib/libcudnn_graph.so.9.2.1 /usr/lib/libcudnn_heuristic.so.9.2.1 /usr/lib/libcudnn_ops.so.9.2.1 HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: 架构: x86_64 CPU 运行模式: 32-bit, 64-bit Address sizes: 39 bits physical, 48 bits virtual 字节序: Little Endian CPU: 16 在线 CPU 列表: 0-15 厂商 ID: GenuineIntel 型号名称: 13th Gen Intel(R) Core(TM) i5-13400F CPU 系列: 6 型号: 191 每个核的线程数: 2 每个座的核数: 10 座: 1 步进: 2 CPU(s) scaling MHz: 25% CPU 最大 MHz: 4600.0000 CPU 最小 MHz: 800.0000 BogoMIPS: 4993.00 标记: 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 cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities 虚拟化: VT-x L1d 缓存: 416 KiB (10 instances) L1i 缓存: 448 KiB (10 instances) L2 缓存: 9.5 MiB (7 instances) L3 缓存: 20 MiB (1 instance) NUMA 节点: 1 NUMA 节点0 CPU: 0-15 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Reg file data sampling: Mitigation; Clear Register File Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] numpy==2.1.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-cusparselt-cu12==0.6.2 [pip3] nvidia-nccl-cu12==2.21.5 [pip3] nvidia-nvjitlink-cu12==12.4.127 [pip3] nvidia-nvtx-cu12==12.4.127 [pip3] pytorch-triton==3.2.0+git0d4682f0 [pip3] torch==2.7.0.dev20250116+cu124 [pip3] torchaudio==2.6.0.dev20250116+cu124 [pip3] torchvision==0.22.0.dev20250116+cu124 [conda] numpy 2.1.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-cusparselt-cu12 0.6.2 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] pytorch-triton 3.2.0+git0d4682f0 pypi_0 pypi [conda] torch 2.7.0.dev20250116+cu124 pypi_0 pypi [conda] torchaudio 2.6.0.dev20250116+cu124 pypi_0 pypi [conda] torchvision 0.22.0.dev20250116+cu124 pypi_0 pypi cc @malfet
module: crash,module: error checking,triaged,topic: fuzzer
low
Critical
2,801,262,703
storybook
[Bug]: Component on Docs page doesn't recover from error
### Describe the bug When visiting a docs page and changing a story so that it throws an error, the docs page successfully shows the error. Reverting the change and make the story render successfully doesn't lead to a recovered docs page. The docs page remains in an error state. ### Reproduction link - ### Reproduction steps 1. Checkout Mealdrop 2. Start Storybook 3. Go to http://localhost:6006/?path=/docs/components-button--docs 4. Edit src/components/Button/Button.tsx -> Add a useEffect and throw an error inside it 5. Go to the browser, component successfully crashes 6. Revert the change 7. Go to the browser -> component doesn’t recover. It remains in an error state ### System ```bash - ``` ### Additional context _No response_
bug,addon: docs,upgrade:8.5
low
Critical
2,801,267,920
storybook
[Bug]: Vitest doesnt work with Svelte CSF when using the legacyTemplate option to support the old v4 API
### Describe the bug The new v5 of the addon has a legacyTemplate option that allows users to keep using deprecated APIs (how to define stories) until they've successfully migrated to the new API. The legacy support works by injecting a Vite plugin that has enforce: 'pre' that will behind the scenes, migrate the stories source to the new API. This means it has to run as the very first plugin, before the Svelte plugin compiles the source to JS. But in Vitest, the plugin is added after the Svelte plugin. This would have been fixed by enforce: 'pre', except the Svelte Vite plugin also uses enforce: 'pre', so that gets to go first because it is the first plugin in the list. **Workaround**: There's a fairly straight forward userland workaround right now. When configuring the Storybook Vitest workspace, don't extend the existing Vite config, but instead copy it in manually to the definition, so that the user can add the storybookTest() plugin before the Svelte plugin ### Reproduction link - ### Reproduction steps _No response_ ### System ```bash - ``` ### Additional context _No response_
bug,svelte,addon: test,upgrade:8.5
low
Critical
2,801,271,546
storybook
[Bug]: Init scaffolds broken template files in a Nextjs+JS project
### Describe the bug The template components (Button.jsx, etc.) uses the prop-types package to define prop types, but that package isn't added as a dependency, so starting Storybook results in a Webpack compile error. Presumably prop-types was already part of Next.js with React 18, but not with React 19. But we don't do that for Next.js. The quick fix would be to also the dependency in Next.js + JavaScript projects. But given the package has finally been removed from React in v19, we're actually adding legacy practices now with every init, so long term we should update our template components to not rely on prop-types. I don't know if react-docgen and/or react-docgen-typescript supports JSDoc types? ### Reproduction link - ### Reproduction steps - ### System ```bash - ``` ### Additional context _No response_
bug,nextjs,upgrade:8.5
low
Critical
2,801,284,213
godot
Remote inspector doesn't show description of member variables added via ##
### Tested versions - Reproducible in 4.3-stable and 4.2.1-stable ### System information Godot v4.3.stable - Ubuntu 22.04.5 LTS 22.04 - X11 - Vulkan (Forward+) ### Issue description The code below creates description that appears when hovering with the mouse over a variable in a custom script, but shows "No description available" if you look at the **member** variable in the remote inspector while running a scene. ```gdscript ## My description here @export var row:int ``` ### regular inspector: ![Image](https://github.com/user-attachments/assets/fe65586a-d5e4-44d5-9159-749dab35e7af) ### **remote** inspector while debugging **(The problem)**: ![Image](https://github.com/user-attachments/assets/d296c28c-8f73-4f17-a94d-3f602ec694fa) ### **remote** inspector while debugging, scroll down to the script parameters: ![Image](https://github.com/user-attachments/assets/e4767355-068a-4542-a8c6-84eac7869b7f) ### Steps to reproduce 1. Add a script to a node 2. Add an exported variable with a " ## description " above it example code: ```gdscript ## My description here @export var row:int ``` 3. Run the debugger with that node 4. Switch the inspector from "Local" to "Remote" 5. Inside the Members section, hover your mouse over the variable that you added a description for 6. Further down in the properties, inside the exported script variables, hover your mouse over the same variable Expected result: both descriptions are the same Actual result: the description in the Members section is missing ### Minimal reproduction project (MRP) N/A
bug,topic:editor
low
Critical
2,801,296,416
tauri
[bug] How to remove the top title bar of Android
### Describe the bug How to remove the top title bar of Android,If it is horizontally displayed, there will be a title bar at the top,I feel very uncomfortable. ### Reproduction _No response_ ### Expected behavior _No response_ ### Full `tauri info` output ```text npm run tauri info ``` ### Stack trace ```text ``` ### Additional context _No response_
type: bug,status: needs triage
low
Critical
2,801,297,133
storybook
[Bug]: VTA failure gets lost in CLI noise
### Describe the bug When using both VTA and Addon Test and clicking on “run all tests”, VTA will fail with a message that is just completely lost in the CLI (image 1). Additionally, the tests will never complete, it will be in a hanging state forever. Same happens when the component tests succeed, but VTA command fails, leaving an even more misleading UI state that is also hanging (image 2). Because the VTA item in the testing module already shows “Login required” from the start, the user might not connect that “Login required” is the cause for the tests to not have completed ![Image](https://github.com/user-attachments/assets/c8101d79-7561-4a90-9465-b5cee62b4311) ![Image](https://github.com/user-attachments/assets/68e8374e-7104-4d45-93e1-0677a1aa39bd) ### Reproduction link - ### Reproduction steps _No response_ ### System ```bash - ``` ### Additional context _No response_
bug,addon: test,upgrade:8.5
low
Critical
2,801,304,893
storybook
[Bug]: Addon-Test: tests’ timing out get the test module into a stuck state
### Describe the bug The message in the terminal is from Vitest but it’s not very clear. I can see how someone could be confused since there’s nowhere within the storybook they can set a timeout value. ![Image](https://github.com/user-attachments/assets/91a2a649-bac0-4cd1-bf2a-1707d23c4172) ![Image](https://github.com/user-attachments/assets/7cca4316-82c9-4bde-b8f3-c43bbe8d87dc) ### Reproduction link - ### Reproduction steps _No response_ ### System ```bash - ``` ### Additional context _No response_
bug,addon: test,upgrade:8.5
low
Critical
2,801,377,167
flutter
REOPEN | Flutter does not get the correct initial route when launched as cold/killed app
### Steps to reproduce 1. Integrate deep link via: https://docs.flutter.dev/development/ui/navigation/deep-linking 2. Run the app in release mode in emulator to see logs 3. Kill the app (Remove from background) 4. Click the link 5. Following logs are being printed out ```bash I/flutter ( 3947): ---------------result initial: splash I/flutter ( 3947): _platformCallHandler call onAnonymousIdChanged {payload: {anonymousUserID: 00000194-87cf-a307-bc11-865d8b473b98}, platform: android} I/flutter ( 4232): ---------------result initial: https://sastaticket.app/link/flights/flight-search?origin=ISB&destination=RUH&departure=2025-01-25 I/flutter ( 4232): Null check operator used on a null value ``` And since the deep link isn't a route, it navigates to `"/"` route which crashes the app. Related Closed Issue: https://github.com/flutter/flutter/issues/121244 ### Expected results 1. App should lead to specific screen handled via deep link ### Actual results Case # 1: 1. App is crashing when opened as cold app i.e. after killing it NOTE: It works fine when the app is in the background Case # 2: 1. If we put `'/': (context) => HomeScreen(),` just to cover the default route, it still throws the exception but the deep link works Screen recording: https://github.com/user-attachments/assets/df886d3f-c56b-4e91-a75c-c2397db9a4c7 Logs: ### Code sample <details open><summary>Code sample</summary> ```dart class AppDeepLink { static late GlobalKey<NavigatorState> _navigator; static StreamSubscription? _sub; static init(GlobalKey<NavigatorState> state) async { _navigator = state; _sub = AppLinks().uriLinkStream.listen((uri) { parseUrl(uri.toString()); }); } static parseUrl(String? raw) { if (raw == null) return; /// Handles the URI parsing } /// rest of the code } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> ### Not Working Grey Screen (App is killed) https://github.com/user-attachments/assets/dc79489b-091d-4fa5-9ab9-e93ff462e451 ### Working Screen (App is in background) https://github.com/user-attachments/assets/8a778f4e-cb91-4ad8-843f-7fe4a57ab883 </details> ### Logs <details open><summary>Logs</summary> ```console I/flutter ( 8283): ---------------result initial: https://sastaticket.app/link/flights/flight-search?origin=ISB&destination=RUH&departure=2025-01-25 I/flutter ( 8283): Null check operator used on a null value I/flutter ( 8283): #0 _WidgetsAppState._onUnknownRoute (package:flutter/src/widgets/app.dart:1577) I/flutter ( 8283): #1 NavigatorState._routeNamed (package:flutter/src/widgets/navigator.dart:4572) I/flutter ( 8283): #2 Navigator.defaultGenerateInitialRoutes (package:flutter/src/widgets/navigator.dart:2937) I/flutter ( 8283): #3 NavigatorState.restoreState (package:flutter/src/widgets/navigator.dart:3778) I/flutter ( 8283): #4 RestorationMixin._doRestore (package:flutter/src/widgets/restoration.dart:928) I/flutter ( 8283): #5 RestorationMixin.didChangeDependencies (package:flutter/src/widgets/restoration.dart:914) I/flutter ( 8283): #6 NavigatorState.didChangeDependencies (package:flutter/src/widgets/navigator.dart:3825) I/flutter ( 8283): #7 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5780) I/flutter ( 8283): #8 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #10 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #12 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #13 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #15 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #16 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #17 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6914) I/flutter ( 8283): #18 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #19 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #20 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #21 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5794) I/flutter ( 8283): #22 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #23 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #24 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5785) I/flutter ( 8283): #25 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #26 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #27 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #28 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6914) I/flutter ( 8283): #29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #31 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6914) I/flutter ( 8283): #32 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #33 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #34 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #35 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5794) I/flutter ( 8283): #36 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #37 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #38 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5785) I/flutter ( 8283): #39 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #40 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #41 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:7049) I/flutter ( 8283): #42 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:7061) I/flutter ( 8283): #43 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #44 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #46 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #47 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #48 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #49 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #50 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #51 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #52 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #53 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #54 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #55 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #56 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #58 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #59 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #60 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #61 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #62 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #63 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #64 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #65 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #66 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #67 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #68 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:7049) I/flutter ( 8283): #69 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:7061) I/flutter ( 8283): #70 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #71 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #72 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #73 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #74 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #75 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #76 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #77 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #78 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #79 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5794) I/flutter ( 8283): #80 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #81 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #82 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5785) I/flutter ( 8283): #83 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #84 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #85 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #86 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #87 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5794) I/flutter ( 8283): #88 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #89 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #90 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5785) I/flutter ( 8283): #91 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #92 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #93 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): #94 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5656) I/flutter ( 8283): #95 Element.rebuild (package:flutter/src/widgets/framework.dart:5347) I/flutter ( 8283): #96 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5613) I/flutter ( 8283): #97 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5607) I/flutter ( 8283): #98 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4480) I/flutter ( 8283): #99 Element.updateChild (package:flutter/src/widgets/framework.dart:3963) I/flutter ( 8283): ---------------map: {type: link, product: flights, action: flight-search, origin: ISB, destination: RUH, departure: 2025-01-25} I/flutter ( 8283): _platformCallHandler call onAnonymousIdChanged {payload: {anonymousUserID: 00000194-87cf-a307-bc11-865d8b473b98}, platform: android} I/flutter ( 8283): Another exception was thrown: Instance of 'DiagnosticsProperty<void>' I/flutter ( 8556): ---------------result initial: splash I/flutter ( 8556): _platformCallHandler call onAnonymousIdChanged {payload: {anonymousUserID: 00000194-87cf-a307-bc11-865d8b473b98}, platform: android} I/flutter ( 8556): ---------------map: {type: link, product: flights, action: flight-search, origin: ISB, destination: RUH, departure: 2025-01-25} ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.0, on macOS 15.2 24C101 darwin-arm64, locale en-PK) • Flutter version 3.27.0 on channel stable at /Users/hamza/Development/flutter327 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 8495dee1fd (6 weeks ago), 2024-12-10 14:23:39 -0800 • Engine revision 83bacfc525 • Dart version 3.6.0 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/hamza/Library/Android/sdk • Platform android-35, build-tools 34.0.0 • ANDROID_HOME = /Users/hamza/Library/Android/sdk • ANDROID_SDK_ROOT = /Users/hamza/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.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.1) • 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.10+0-17.0.10b1087.21-11609105) [✓] VS Code (version 1.96.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.102.0 [✓] Connected device (4 available) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 12 (API 31) (emulator) • macOS (desktop) • macos • darwin-arm64 • macOS 15.2 24C101 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.2 24C101 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.265 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
waiting for customer response,in triage
low
Critical
2,801,391,812
tauri
[docs]
Hello, I am new to tauri / npm. After cloning my tauri repo to a new machine, i did run into this ``` cargo tauri dev Running BeforeDevCommand (npm run dev) Info Watching [...]/src-tauri for changes... npm error Missing script: "dev" npm error npm error To see a list of scripts, run: npm error npm run npm error A complete log of this run can be found in: [...]/.npm/_logs/2025-01-21T00_06_36_866Z-debug-0.log Error The "beforeDevCommand" terminated with a non-zero status code. ``` the problem was that i had initialized npm in the src-tauri folder too. i.e. my folder structure was like this ``` ls * frontend: app.jsx components index.html main.jsx node_modules package.json package-lock.json public vite.config.js src-tauri: build.rs capabilities Cargo.lock Cargo.toml gen icons node_modules package.json package-lock.json public README.md src target tauri.conf.json ``` The `cargo tauri build` apparently finds any subfolder with a `package.json`. It did hit the src-tauri one, which has no scripts defined. Hence the error. It would be beginner friendly to have some more explicit error e.g. "tauri found 2 package.json in subfolders and cannot choose which one. You should only have npm in frontend folder"
type: documentation
low
Critical
2,801,392,695
next.js
Optimizing @mui/joy package barrel imports does not work with optimizePackageImports and turbopack
### Link to the code that reproduces this issue https://github.com/PMudra/reproduction-app-optimize-package-imports-joy-ui ### To Reproduce 1. Start the aplication in dev mode and turbopack. `npm run dev -- --turbopack` 2. Open the page with your browser. 3. Inspect the loaded js modules using the "Coverage" tab of the dev tools (I am using chrome dev tools for this). ### Current vs. Expected behavior #### Example ```tsx // page.tsx import { Button } from "@mui/joy"; export default function Home() { return <Button>My button</Button>; } ``` ```ts // next.config.ts import type { NextConfig } from "next"; const nextConfig: NextConfig = { reactStrictMode: true, experimental: { optimizePackageImports: ["@mui/joy"], }, }; export default nextConfig; ``` #### Current result All modules of mui/joy seem to be loaded by the browser. Most of its functions / components are unused. ![Image](https://github.com/user-attachments/assets/6c249922-020c-467c-91f9-01708114b2b1) Especially the first bundle contains many unused functions of mui/joy. #### Expected behavior Only the modules that are really needed should be loaded, even though I am importing from the barrel file `@mui/joy`. The result should be similar to importing directly from `@mui/joy/Button` (non-barrel import). ![Image](https://github.com/user-attachments/assets/8e2da012-0aad-42b6-bb0d-3a89e4c8532e) In this case, there is no obvious trace of the mui/joy package because it's now way smaller and part of one of the `node_modules` chunks. So when searching for `/joy/` in the Coverage tab, I'd expect to only find some results for the `Button` component and its direct dependencies. ### Provide environment information ```bash Operating System: Platform: linux Arch: x64 Version: #14-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov 30 23:51:51 UTC 2024 Available memory (MB): 63439 Available CPU cores: 16 Binaries: Node: 22.13.0 npm: 10.9.2 Yarn: N/A pnpm: 10.0.0 Relevant Packages: next: 15.2.0-canary.18 // Latest available version is detected (15.2.0-canary.18). eslint-config-next: N/A react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Developer Experience, Performance, Turbopack ### Which stage(s) are affected? (Select all that apply) next dev (local) ### Additional context - When using webpack, the `optimizePackageImports` option seems to be working as expected. - The issue seems to be somehow related to Server Components. The problem occurs when I import directly from `@mui/joy` in `page.tsx`, which is a Server Component. When importing in a Client Component (`"use client"`) only the necessary modules are loaded. But in that case, I don't even have to specify `optimizePackageImports` as this seems to work out-of-the-box. - mui/joy is very similar to @mui/material which is added to `optimizePackageImports` by default. I am not sure why joy won't work the same way. - I have also tried out using the deprecated `modularizeImports` option with some success. But this is not documented any more. And a configuration with a mix of named and default imports seems to be complicated. Possible workarounds seem to be: 1. Don't import from the barrel file. 2. Use webpack instead of turborepo. 3. Use client components only. All of the above are not great. Are there other ones? Related issues: - https://github.com/vercel/next.js/issues/48748 - https://github.com/vercel/next.js/issues/54708 - https://github.com/vercel/next.js/issues/70666 Thanks for looking into this and let me know if you need more information.
Performance,Turbopack,linear: turbopack
low
Major
2,801,411,316
tauri
CI does not check for semver breaking changes
~~#12461 suggested a major breaking change.~~ Automated checking of breaking changes would permit prioritizing PR merging and provide some immediate feedback to the PR without manual intervention by maintainers. This would also prevent mistakes in semver management. A tool for this is [cargo-semver-checks](https://github.com/obi1kenobi/cargo-semver-checks).
type: feature request,github_actions
low
Minor
2,801,416,051
node
util.debuglog callback argument behavior and purpose appears to be documented incorrectly
### Affected URL(s) https://nodejs.org/docs/latest/api/util.html#utildebuglogsection-callback ### Description of the problem The usage example of the callback function for `util.debuglog` is not sufficiently documented imho. Moreover, when looking at the code, it also seems to even work differently than described. The example for the callback does the following: ```javascript const util = require('node:util'); let debuglog = util.debuglog('internals', (debug) => { // Replace with a logging function that optimizes out // testing if the section is enabled debuglog = debug; }); ``` What debuglog effectively does is: ```javascript function debuglog(set, cb){ realLogFunction = (...args){ init() //sets up the set name and an enabled boolean value // creates a noop function when enabled=false realLogFunction = debugLogImpl(enabled) if(typeof cb == "function"){ // this is the part where the documentation is lacking cb(realLogFunction) //code depends on side-effects of the callback? } // this line is only effective the very first time, when still in the factory // likely to not 'swallow' the first log line that lazily inits the real logger realLogFunction(...args) } //left out for brewity, but works on the same principle as realLogFunction let innerEnabledCheck ()=>{...} logDelegate = (...) => { //some switch on argument length, but effectively always results in the next line, with a varying //amount of arguments passed on. realLogFunction(args) } logDelegate.enabled = innerEnabledCheck() //left out for brewity return logDelegate; } ``` The first time `logDelegate` is called, the enabled test is already optimized out and `logDelegate` will call the now-changed `realLogFunction` generated from `debugLogImpl`. What actually happens when the callback is used as in the documentation's example, is that the outside variable, (`debuglog` in the example) which points to `logDelegate`, will be replaced by `realLogFunction`. Thus, what is 'optimized out' is the switch in `logDelegate` when the callback is used as shown in the example, but at the price of also losing the `enabled` getter. 'Testing if the section is enabled' is always automatically and implicitly optimized out in the inner factory method.
util,doc
low
Critical
2,801,423,175
ant-design
The Range picker(with time) does not close on single click of 'Ok' button
### Reproduction link [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/v5xnzc) ### Steps to reproduce 1. Open-range picker 2. Select the start date and time 3. Click on 'ok' 4. It changes focus to end date 5. Again click on the 'ok' button 6. Picker closes ### What is expected? 1. The picker should close when the user selects/updates the start date/time and clicks the 'ok' button. 2. The picker should close when the user selects/updates the end date/time and clicks the 'ok' button. 3. The user should be able to update both the start date & end date/time and click on the 'ok' button, the picker should close. ### What is actually happening? 1. When the user selects/updates the start date/time alone and clicks on the 'ok' button, the focus shifts to the end date and the picker remains open. Again clicking on the 'Ok' button closes it. 2. When the user selects/updates the end date/time alone and clicks on the 'ok' button, the focus shifts to the start date and the picker remains open. Again clicking on the 'Ok' button closes it. 3. The user cannot update both the start date & end date/time in a single go, without clicking the 'Ok' button. | Environment | Info | | --- | --- | | antd | 5.23.0 | | React | 18 | | System | Windows 10 | | Browser | Google Chrome | --- This behavior of the range picker was working in version 5.11. Still, due to language translation support, we upgraded to the latest 5.23.0 version in which the range picker behavior is not as per our project requirement. <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
unconfirmed
low
Minor
2,801,442,956
rust
crash when dlopen/dlclose rust-made *.so multi-times on android/ohos aarch64
crash when dlopen/dlclose rust-made *.so multi-times on android/ohos aarch64 Senario: 1. Compile a Rust source file into a shared object (.so) file. 2. A C++ file uses dlopen to load the .so file and retrieve the target symbol. 3. Call the Rust function within the loaded .so. 4. Use dlclose to unload the .so file. Related issues [#134820](https://github.com/rust-lang/rust/issues/134820) [reproduction code](https://github.com/Rust401/c_cpp_dlopen_rust_so) Here's the translation of the provided text: Known Information: 1. There is no issue with regular arm64, but disassembly reveals differences involving the use of `TPIDR_EL0`. 2. The main difference between ohos/an and arm64 Linux options is `has_thread_local=true and tls-model=emulated`, but these two compilation options do not seem to take effect when compiling the shared object (suspected that the standard library needs to be recompiled with these options). The implementation of `printl` is part of the Rust standard library. 3. Upon reviewing the code, it was found that the `tls-model=emulated` option affects the rustc compilation behavior (either using `TPIDR_EL0` or emulated TLS, by affecting the LLVM backend). This seems to be a bug in the rustc implementation. In the combination of Android and OHOS target platform options, during the println process, a thread-local variable is implicitly created, and the thread-local resources initialized through lazy_init are not properly released when dlclose is called.
C-bug,needs-triage
low
Critical
2,801,475,304
transformers
[Feature Request] Support register customize quantization method out-of-tree
### Feature request Support register customize quantization method out-of-tree. The usage would be as follows: ```python from transformers.quantizers import HfQuantizer from transformers.quantizers import regsiter_quantization_config, register_quantizer from transformers.utils.quantization_config import QuantizationConfigMixin @regsiter_quantization_config("custom") class CustomFakeQuantizationConfig(QuantizationConfigMixin): """The custom fake quantization config.""" @register_quantizer("custom") class CustomFakeQuantizer(HfQuantizer): """The custom fake quantizer.""" ``` ### Motivation We would greatly appreciate it if HuggingFace could support registering custom quantization schemes externally. This would allow us to integrate the schemes of any LLM quantization tools and evaluate fake quantization models using the powerful combination of `lm_eval` + `huggingface`. Thank you for considering this! Similar features have already been supported by vLLM, see: - https://github.com/vllm-project/vllm/issues/11926 - https://github.com/vllm-project/vllm/pull/11969 ### Your contribution If this feature request is considered, I'd happily submit a PR to implement it.
Feature request
low
Minor
2,801,477,785
pytorch
Custom symbolic functions for ONNX export with None args causes SEGFAULT
### 🐛 Describe the bug `torch.onn.export` with custom symbolic function produces SEGFAULT. It happens when I set some aguments optional with `None`. OnnxRuntime opset allows it https://github.com/microsoft/onnxruntime/blob/3e4c5e64877c6d9814e4ebce5dcbb1fe71588ec5/docs/ContribOperators.md#commicrosoftpackedmultiheadattention **Repro:** ```python import torch class Function(torch.autograd.Function): @staticmethod def forward(ctx, x: torch.Tensor, cu_seqlens: torch.Tensor, token_offset: torch.Tensor) -> torch.Tensor: if torch.onnx.is_in_onnx_export(): # doesn't matter – onnx only check number of ouputs and their shapes return x # do something ... @staticmethod def symbolic(g: torch.Graph, x: torch.Value, cu_seqlens: torch.Value, token_offset: torch.Value) -> torch.Value: return g.op( 'com.microsoft::PackedMultiHeadAttention', x, None, None, None, token_offset, cu_seqlens, None, num_heads_i=1, ).setType(x.type()) class Net(torch.nn.Module): def forward(self, x: torch.Tensor, cu_seqlens: torch.Tensor, token_offset: torch.Tensor) -> torch.Tensor: return Function.apply(x, cu_seqlens, token_offset) net = Net() embeddings = torch.tensor([10]) token_offset = torch.tensor([10]) cu_seqlens = torch.tensor([10]) torch.onnx.export( net, (embeddings, cu_seqlens, token_offset), 'graph.onnx', input_names=['embeddings', 'cu_seqlens', 'lengths'], dynamo=False, verbose=True, opset_version=20, ) ``` **Output:** As is: ```bash ❯ python example.py [1] 4159913 segmentation fault python example.py ``` with GDB: ```bash ❯ gdb python GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from python... (gdb) run example.py Starting program: /home/tytskiy/miniforge3/bin/python example.py [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007fffe641d36e in torch::jit::Node::addInput(torch::jit::Value*) () from /home/tytskiy/miniforge3/lib/python3.12/site-packages/torch/lib/libtorch_cpu.so (gdb) ``` **Expected**: Get onnx file with PackedMultiHeadAttention: [packed_attention.onnx.zip](https://github.com/user-attachments/files/18489000/packed_attention.onnx.zip) www.netron.app shows it: <img width="323" alt="Image" src="https://github.com/user-attachments/assets/2a0f8864-687d-4e97-9a0e-abdd97d20c74" /> **Why:** I guess it happens because we pass None here https://github.com/pytorch/pytorch/blob/b5655d9821b7214af200d0b8796a10ad34b85229/torch/onnx/_internal/jit_utils.py#L290-L292 and interpret it as Value* here https://github.com/pytorch/pytorch/blob/803017f3cb73bb115eda5ec0e0a19688ccafbf4e/torch/csrc/jit/python/python_ir.cpp#L585-L589 **Possible fix 1:** Replace all ```None``` arguments with magic line```g.op('prim::Constant').setType(_C.OptionalType.ofTensor())```. But it seems unclear and it not covered by docs. **Possible fix 2:** Just replace this line https://github.com/pytorch/pytorch/blob/b5655d9821b7214af200d0b8796a10ad34b85229/torch/onnx/_internal/jit_utils.py#L265-L267 with ```python def _const_if_tensor(graph_context: GraphContext, arg): if arg is None: return graph_context.op('prim::Constant').setType(_C.OptionalType.ofTensor()) ``` ### Versions It seems to happen in any environment ... Versions of relevant libraries: [pip3] onnx==1.17.0 [pip3] onnxscript==0.1.0.dev20241203 [pip3] onnxsim==0.4.36 [pip3] torch==2.5.1 [pip3] torchaudio==2.5.1 [pip3] torchvision==0.20.1
module: crash,module: onnx,triaged
low
Critical
2,801,483,220
pytorch
Missing create_graph arguments in torch.func apis
### 🐛 Describe the bug Hi, I want replace `torch.autograd.functional.jvp`/`torch.autograd.functional.vjp` with `torch.func.jvp`/`torch.func.vjp`. Since `torch.func.jvp` is more efficient compared to autograd ops. However, I notice these apis are not equivalent, since I calculate jvp to create a loss, thus second-order gradient is required, and we have to set `create_graph=True`. There is no `create_graph` argument in `torch.func` api, so is `torch.func` does not intent to use in my case or it support higher-order gradient by default? ### Versions N/A cc @zou3519 @Chillee @samdow @kshitij12345
triaged,module: functorch
low
Critical
2,801,486,683
pytorch
[Pipelining] Problem using `torch.distributed.pipelining` on `Gemma2ForCausalLM`
Hi there! I have problem testing torch pipelining against gemma2 model. Here is the code snippet: ```python config = AutoConfig.from_pretrained("google/gemma-2-2b-it") model = Gemma2ForCausalLM(config) pipeline(model, mb_args=(torch.LongTensor([[1,2,3],[4,5,6]]),), split_spec={"model.layers.13": SplitPoint.BEGINNING}) ``` Output: ``` /home/sbarikbin/.venv/lib/python3.12/site-packages/torch/export/_unlift.py:60: UserWarning: Attempted to insert a get_attr Node with no underlying reference in the owning GraphModule! Call GraphModule.add_submodule to add the necessary submodule, GraphModule.add_parameter to add the necessary Parameter, or nn.Module.register_buffer to add the necessary buffer getattr_node = gm.graph.get_attr(lifted_node) /home/sbarikbin/.venv/lib/python3.12/site-packages/torch/fx/graph.py:1586: UserWarning: Node model_lifted_tensor_0 target model.lifted_tensor_0 lifted_tensor_0 of model does not reference an nn.Module, nn.Parameter, or buffer, which is what 'get_attr' Nodes typically target warnings.warn(f'Node {node} target {node.target} {atom} of {seen_qualname} does ' Traceback (most recent call last): File "/home/sbarikbin/test_pp.py", line 42, in <module> test1() File "/home/sbarikbin/test_pp.py", line 18, in test1 p = pipeline(model, mb_args=(torch.LongTensor([[1,2,3],[4,5,6]]),), split_spec={"model.layers.13": SplitPoint.BEGINNING}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/distributed/pipelining/_IR.py", line 1231, in pipeline return Pipe.from_tracing( ^^^^^^^^^^^^^^^^^^ File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/distributed/pipelining/_IR.py", line 1051, in from_tracing pipe = Pipe._from_traced( ^^^^^^^^^^^^^^^^^^ File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/distributed/pipelining/_IR.py", line 750, in _from_traced new_submod = _outline_submodules(submodule.graph) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/distributed/pipelining/_unflatten.py", line 24, in _outline_submodules ).run_outer() ^^^^^^^^^^^ File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/export/unflatten.py", line 1014, in run_outer self.run_from(node_idx) File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/export/unflatten.py", line 1094, in run_from ).run_from(node_idx) ^^^^^^^^^^^^^^^^^^ File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/export/unflatten.py", line 1094, in run_from ).run_from(node_idx) ^^^^^^^^^^^^^^^^^^ File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/export/unflatten.py", line 1094, in run_from ).run_from(node_idx) ^^^^^^^^^^^^^^^^^^ File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/export/unflatten.py", line 1071, in run_from self.finalize_outputs() File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/export/unflatten.py", line 993, in finalize_outputs _verify_graph_equivalence(self.cached_graph_module, self.module) File "/home/sbarikbin/.venv/lib/python3.12/site-packages/torch/export/unflatten.py", line 655, in _verify_graph_equivalence assert graph_dump(x.graph) == graph_dump(y.graph) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError ``` I would be grateful if you help me on that. For example I couldn't find info about what is `torch.export.unflatten._ModuleFrame` (which `_outline_submodules` uses) for. @H-Huang , @kwen2501 cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o
oncall: distributed
low
Critical
2,801,494,683
ollama
Missing tool support for DeepSeek-R1 Distillates based on Qwen
### What is the issue? I tried `deepseek-r1:70B` and ollama claims that it doesn't support tools. ``` { "error": { "message": "registry.ollama.ai/library/deepseek-r1:70B does not support tools", "type": "api_error", "param": null, "code": null } ``` Looks to me like the template you have is missing the rules for tools. The current Ollama template: ``` {{- if .System }}{{ .System }}{{ end }} {{- range $i, $_ := .Messages }} {{- $last := eq (len (slice $.Messages $i)) 1}} {{- if eq .Role "user" }}<|User|>{{ .Content }} {{- else if eq .Role "assistant" }}<|Assistant|>{{ .Content }}{{- if not $last }}<|end▁of▁sentence|>{{- end }} {{- end }} {{- if and $last (ne .Role "assistant") }}<|Assistant|>{{- end }} {{- end }} ``` The template from https://huggingface.co/unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF has tool calls stuff: ``` {% if not add_generation_prompt is defined %} {% set add_generation_prompt = false %} {% endif %} {% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %} {%- for message in messages -%} {%- if message['role'] == 'system' -%} {% set ns.system_prompt = message['content'] %} {%- endif -%} {%- endfor -%} {{ bos_token }}{{ ns.system_prompt }} {%- for message in messages -%} {%- if message['role'] == 'user' -%} {%- set ns.is_tool = false -%} {{ '<|User|>' + message['content'] }} {%- endif -%} {%- if message['role'] == 'assistant' and message['content'] is none -%} {%- set ns.is_tool = false -%} {%- for tool in message['tool_calls'] -%} {%- if not ns.is_first -%} {{ '<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>' }} {%- set ns.is_first = true -%} {%- else -%} {{ '\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>' }} {{ '<|tool▁calls▁end|><|end▁of▁sentence|>' }} {%- endif -%} {%- endfor -%} {%- endif -%} {%- if message['role'] == 'assistant' and message['content'] is not none -%} {%- if ns.is_tool -%} {{ '<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>' }} {%- set ns.is_tool = false -%} {%- else -%} {% set content = message['content'] %} {% if '</think>' in content %} {% set content = content.split('</think>')[-1] %} {% endif %} {{ '<|Assistant|>' + content + '<|end▁of▁sentence|>' }} {%- endif -%} {%- endif -%} {%- if message['role'] == 'tool' -%} {%- set ns.is_tool = true -%} {%- if ns.is_output_first -%} {{ '<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>' }} {%- set ns.is_output_first = false -%} {%- else -%} {{ '\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>' }} {%- endif -%} {%- endif -%} {%- endfor -%} {% if ns.is_tool %} {{ '<|tool▁outputs▁end|>' }} {% endif %} {% if add_generation_prompt and not ns.is_tool %} {{ '<|Assistant|>' }} {% endif %} ``` ### OS macOS ### GPU Apple ### CPU _No response_ ### Ollama version 0.5.7
bug
medium
Critical
2,801,498,724
bitcoin
ci: tidy task doesn't run on aarch64
```bash time env -i HOME="$HOME" PATH="$PATH" USER="$USER" bash -c 'FILE_ENV="./ci/test/00_setup_env_native_tidy.sh" ./ci/test_run_all.sh' <snip> [ 0%] Built target bitcoin_crypto_arm_shani [100%] Built target bitcoin_crypto gmake: *** No rule to make target 'bitcoin_crypto_x86_shani'. Stop. ``` The script as written assumes that it will be run on `x86_64`: https://github.com/bitcoin/bitcoin/blob/d7f56cc5d9e12ad31dd1ce8b34c3ff4ec5c1b70c/contrib/devtools/check-deps.sh#L11
Tests
low
Minor
2,801,554,220
vscode
Terminal sometimes randomly changes the font (or rather letter spacing)
<!-- ⚠️⚠️ 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. --> Does this issue occur when all extensions are disabled?: (unable to check because it doesn't happen often) <!-- 🪓 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.96.3 - OS Version: Arch Linux x64 6.12.9-arch1-1 I don't know what causes this, this sometimes happens randomly after running a task. I normally develop in Dev Containers, and don't know if this happens without that extension or not. Normally my terminal looks like this: ![a](https://github.com/user-attachments/assets/b608ca36-aeb5-452b-ada3-570cfcd7a2c4) But sometimes it will randomly change to a different letter spacing, but only in a specific terminal instance: ![b](https://github.com/user-attachments/assets/30d35fc5-5af7-4d66-9373-a6cf8115040a) If I create a new terminal, it'll have the correct style. And if I switch back to the old terminal tab, that one will still have the bad style. This seens to be the same font. The line height is exactly the same, but everything is moved up by one pixel, and the letter spacing seems to increase by about one pixel.
terminal-rendering
low
Critical
2,801,570,418
flutter
Issues with 3.27.2 and Lottie
### Steps to reproduce - Add lottie: ^3.3.1 - Run more complex Lottiefiles - use Impeller - run in profile mode ### Expected results I have an onboarding and want a smooth transition between several more complex lottiefiles in different views. But during the views different janks appear as you can see in my devtools file. ### Actual results During the views with Lottie Files there is a jank on some pages. ### Code sample <details open><summary>Code sample</summary> ```dart [Paste your code here] ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> ![Image](https://github.com/user-attachments/assets/8e8ca77f-d689-458c-84e7-b6ddc4697499) [dart_devtools_2025-01-21_12_20_32.896.json.zip](https://github.com/user-attachments/files/18489840/dart_devtools_2025-01-21_12_20_32.896.json.zip) </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.2, on macOS 14.7.1 23H222 darwin-arm64, locale de-DE) • Flutter version 3.27.2 on channel stable at /Users/XXX/development/tools/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 68415ad1d9 (vor 8 Tagen), 2025-01-13 10:22:03 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/XXX/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = /Users/XXX/Library/Android/sdk • ANDROID_SDK_ROOT = /Users/XXX/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.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 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 • android-studio-dir = /Applications/Android Studio.app • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) [✓] VS Code (version 1.96.4) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.102.0 [✓] Connected device (4 available) • <!-- Failed to upload "dart_devtools_2025-01-21_12_20_32.896.json" --> iPhone (mobile) • 00008130-000A49440230001C • ios • iOS 18.2 22C152 • macOS (desktop) • macos • darwin-arm64 • macOS 14.7.1 23H222 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.7.1 23H222 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 132.0.6834.83 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
waiting for customer response,in triage
low
Critical
2,801,579,793
bitcoin
contrib: Autoconf fragments left in test-*-check scripts
The [`test-security-check`](https://github.com/bitcoin/bitcoin/blob/master/contrib/devtools/test-security-check.py) and [`test-symbol-check`](https://github.com/bitcoin/bitcoin/blob/master/contrib/devtools/test-symbol-check.py) scripts still reference Autoconf and it's behaviour: ```python def env_flags() -> list[str]: # This should behave the same as AC_TRY_LINK, so arrange well-known flags # in the same order as autoconf would. # # See the definitions for ac_link in autoconf's lib/autoconf/c.m4 file for # reference. ``` The also expect `CPPFLAGS` to be passed into them, but this isn't happening from CMake: https://github.com/bitcoin/bitcoin/blob/d7f56cc5d9e12ad31dd1ce8b34c3ff4ec5c1b70c/cmake/module/Maintenance.cmake#L40
Scripts and tools
low
Minor
2,801,584,210
vscode
Hover - codicons shift in hover
Steps to Reproduce: 1. Launch VS Code Insiders and open a folder/workspace that contains a git repository 2. Enable git blame editor decoration and start bar item 3. Open a file and click on a line so that blame information is revealed 4. Hover over the editor decoration and see the hover load and then shift the codicons https://github.com/user-attachments/assets/26eca974-0bb0-47d9-979f-f700571e8248
bug,editor-hover,workbench-hover
low
Minor
2,801,595,310
kubernetes
E2E: Allow to cleanup resources conditionally
### What would you like to be added? The current e2e test framework does not provide an easy way to retain all resources created during a test in the event of a failure. The only existing option is to preserve only namespaces upon failure: [DeleteNamespaceOnFailure](https://github.com/kubernetes/kubernetes/blob/release-1.32/test/e2e/framework/framework.go#L358C50-L358C74). The recommended approach for cleaning up resources is to use `ginkgo.DeferCleanup` directly after setting up something, as documented in: - [E2E Testing Best Practices](https://www.kubernetes.dev/blog/2023/04/12/e2e-testing-best-practices-reloaded/#recovering-from-test-failures) - [Writing Good e2e Tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/writing-good-e2e-tests.md#recovering-from-test-failures) However, there are several challenges with the current approach: - There is no way to conditionally skip `ginkgo.DeferCleanup` in case of a test failure. - Some tests do not use `ginkgo.DeferCleanup` consistently. For example: - StatefulSet tests clean up resources inside `ginkgo.AfterEach`: [StatefulSet Cleanup](https://github.com/kubernetes/kubernetes/blob/release-1.32/test/e2e/apps/statefulset.go#L139) - Webhook tests perform additional setup (waiting for the webhook to be ready) before calling `ginkgo.DeferCleanup`: [Webhook Test Example](https://github.com/kubernetes/kubernetes/blob/release-1.32/test/e2e/apimachinery/webhook.go#L1187). It would be beneficial to introduce a wrapper over ginkgo.DeferCleanup in the [ginkgowrapper.go](https://github.com/kubernetes/kubernetes/blob/release-1.32/test/e2e/framework/ginkgowrapper.go) file. This wrapper should: - Be used consistently across all tests. - Allow optional skipping of cleanup actions in case of a test failure. ### Why is this needed? Kubernetes conformance tests are a very useful tool for testing custom Kubernetes configurations. However, diagnosing issues in these tests can be challenging because misconfigurations may manifest during rare test runs only. Retaining test resources after failure can provide crucial insights into the state of the cluster and help reproduce and debug such issues.
kind/feature,sig/testing,needs-triage
low
Critical
2,801,661,424
next.js
Predictably wrong CSS ordering when sharing components between different component types
### Link to the code that reproduces this issue https://codesandbox.io/p/live/a657211a-67d2-4c9a-a4bb-f061e9a08dd2 ### To Reproduce Next will mess up the ordering of your component styling under the following conditions (combined): 1. You have some sort of shared component, let's call it "ComponentLayout" 2. ComponentLayout is used in client, server, statically rendered, and dynamically imported components (basically everywhere) 3. ComponentLayout allows you to pass in a className to use with its own, allowing you to override its own styling What is interesting is that it adds preload links in the correct order, but then messes up the actual stylesheet links. ### Current vs. Expected behavior **Current:** Observe as Next proceeds to mess up the ordering, leading to SharedLayout's styles overriding some of your components. **Expected:** Next should respect import and loading order regardless of usages. ### Provide environment information ```bash All environments running Next>=14.2.0, regardless of OS and browser. ``` ### Which area(s) are affected? (Select all that apply) Module Resolution ### Which stage(s) are affected? (Select all that apply) next dev (local), next build (local), next start (local), Other (Deployed) ### Additional context _No response_
Module Resolution,CSS
low
Minor
2,801,663,496
pytorch
`torch.ops.aten.embedding_dense_backward` Crashes with Out-of-Bounds Indices On CPU
### 🐛 Describe the bug An error occurs in the `torch.ops.aten.embedding_dense_backward` function because the indices tensor contains values that exceed the num_weights parameter. In the provided code, num_weights is set to 0, causing all index accesses to be out of bounds. This results in a crash due to out-of-bounds access during memory allocation and indexing operations. provided code example: ```python import torch print(torch.__version__) sym_0 = (1,) sym_1 = 'cpu' sym_2 = False sym_6 = 0 sym_7 = -4611686018427387905 sym_8 = True var_726 = torch.randn(size=sym_0, dtype=None, layout=None, device=sym_1, pin_memory=sym_2) var_75 = torch.tensor([100000000000000000], dtype=torch.long) torch.ops.aten.embedding_dense_backward(grad_output=var_726, indices=var_75, num_weights=sym_6, padding_idx=sym_7, scale_grad_by_freq=sym_8) ``` result: ``` 2.7.0.dev20250116+cu124 fish: Job 3, 'python3 test.py' terminated by signal SIGSEGV (Address boundary error) ``` The reason is related to [here](https://github.com/pytorch/pytorch/blob/803017f3cb73bb115eda5ec0e0a19688ccafbf4e/aten/src/ATen/native/Embedding.cpp#L143): ```cpp AT_DISPATCH_INDEX_TYPES(indices.scalar_type(), "embedding_dense_backward_cpu", [&] () { auto indices_data = indices_contig.const_data_ptr<index_t>(); // NOLINTNEXTLINE(modernize-avoid-c-arrays,cppcoreguidelines-avoid-c-arrays) std::unique_ptr<index_t[]> counts; if (scale_grad_by_freq) { counts.reset(new index_t[num_weights]); // num_weights not checked, assume 0 here. for (const auto i : c10::irange(numel)) { counts[indices_data[i]] = 0; // memory access indices should be checked in range [0, num_weights). } for (const auto i : c10::irange(numel)) { counts[indices_data[i]]++; } } // ... ``` ### Versions Collecting environment information... PyTorch version: 2.7.0.dev20250116+cu124 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Manjaro Linux (x86_64) GCC version: (GCC) 14.2.1 20240805 Clang version: 18.1.8 CMake version: version 3.30.2 Libc version: glibc-2.40 Python version: 3.11.11 | packaged by conda-forge | (main, Dec 5 2024, 14:17:24) [GCC 13.3.0] (64-bit runtime) Python platform: Linux-6.6.47-1-MANJARO-x86_64-with-glibc2.40 Is CUDA available: True CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4070 Nvidia driver version: 550.107.02 cuDNN version: Probably one of the following: /usr/lib/libcudnn.so.9.2.1 /usr/lib/libcudnn_adv.so.9.2.1 /usr/lib/libcudnn_cnn.so.9.2.1 /usr/lib/libcudnn_engines_precompiled.so.9.2.1 /usr/lib/libcudnn_engines_runtime_compiled.so.9.2.1 /usr/lib/libcudnn_graph.so.9.2.1 /usr/lib/libcudnn_heuristic.so.9.2.1 /usr/lib/libcudnn_ops.so.9.2.1 HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: 架构: x86_64 CPU 运行模式: 32-bit, 64-bit Address sizes: 39 bits physical, 48 bits virtual 字节序: Little Endian CPU: 16 在线 CPU 列表: 0-15 厂商 ID: GenuineIntel 型号名称: 13th Gen Intel(R) Core(TM) i5-13400F CPU 系列: 6 型号: 191 每个核的线程数: 2 每个座的核数: 10 座: 1 步进: 2 CPU(s) scaling MHz: 25% CPU 最大 MHz: 4600.0000 CPU 最小 MHz: 800.0000 BogoMIPS: 4993.00 标记: 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 cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities 虚拟化: VT-x L1d 缓存: 416 KiB (10 instances) L1i 缓存: 448 KiB (10 instances) L2 缓存: 9.5 MiB (7 instances) L3 缓存: 20 MiB (1 instance) NUMA 节点: 1 NUMA 节点0 CPU: 0-15 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Reg file data sampling: Mitigation; Clear Register File Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] numpy==2.1.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-cusparselt-cu12==0.6.2 [pip3] nvidia-nccl-cu12==2.21.5 [pip3] nvidia-nvjitlink-cu12==12.4.127 [pip3] nvidia-nvtx-cu12==12.4.127 [pip3] pytorch-triton==3.2.0+git0d4682f0 [pip3] torch==2.7.0.dev20250116+cu124 [pip3] torchaudio==2.6.0.dev20250116+cu124 [pip3] torchvision==0.22.0.dev20250116+cu124 [conda] numpy 2.1.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-cusparselt-cu12 0.6.2 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] pytorch-triton 3.2.0+git0d4682f0 pypi_0 pypi [conda] torch 2.7.0.dev20250116+cu124 pypi_0 pypi [conda] torchaudio 2.6.0.dev20250116+cu124 pypi_0 pypi [conda] torchvision 0.22.0.dev20250116+cu124 pypi_0 pypi cc @malfet
module: crash,module: error checking,triaged,module: embedding,topic: fuzzer
low
Critical
2,801,684,366
PowerToys
Add dynamic naming to New+
### Description of the new feature / enhancement I'm sorry for any wrong wording. I would like adding a feature to New+ such that if I create a template with the name 'x', the files/folders inside it can also be named depending upon the name 'x' Currently, I have created a template named Python Project: ``` Python Project/ ├──.venv/ ├──python-project/ ├────python-project.py └────main.py ``` If I use New+ to create this template and rename it foo-bar: ``` foo-bar/ ├──.venv/ ├──python-project/ ├────python-project.py └────main.py ``` If this were a thing, and I rename it foo-bar, then: ``` foo-bar/ ├──.venv/ ├──foo-bar/ ├────foo-bar.py └────main.py ``` Edit: Notice how the file `main.py` and `.venv` have not changed It would also be great if the contents inside the files would be changed. ### Scenario when this would be used? This would be great for those who have project templates like these, and they wouldn't have to rename everything manually ### Supporting information No supporting information
Needs-Triage
low
Minor
2,801,690,351
rust
`-Ztranslate-additional-ftl` for a broken fluent bundle with stray interpolation argument unexpectedly ICEs
https://github.com/rust-lang/rust/blob/ebbe63891f1fae21734cb97f2f863b08b1d44bf8/tests/run-make/translation/Makefile has a test comment and test case: https://github.com/rust-lang/rust/blob/ebbe63891f1fae21734cb97f2f863b08b1d44bf8/tests/run-make/translation/Makefile#L23-L26 Ignoring that this is using the wrong `.ftl` file (it should be using `broken.ftl` to correspond to the test comment, where `broken.ftl` contains a slug that has a stray fluent interpolation argument), this must have regressed over the years because ```rs rustc test.rs -Ztranslate-additional-ftl=broken.ftl ``` actually ICEs locally due to ``` thread 'rustc' panicked at compiler/rustc_errors/src/emitter.rs:1465:84: called `Result::unwrap()` on an `Err` value: failed while formatting fluent string `parse_struct_literal_body_without_path`: the fluent string has an argument `foo` that was not found. help: no arguments are available ``` Pinging back to #132181. I assume this is not the intended behavor.
I-ICE,T-compiler,C-bug,A-translation,A-run-make
low
Critical
2,801,806,507
TypeScript
Treat `expr satisfies never;` similarly to a call to a never-returning function in CFA
### 🔍 Search Terms Control flow analysys, CFA, satisfies, never, return, termination, assert ### ✅ 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 In CFA, `expr satisfies never;` statements should be treated similarly to a call to a never-returning function, treating statements that follow as unreachable. I'm suggesting that TS enhance the `expr satisfies never;` pattern which is one of the ways to do the **exhaustiveness check**. It is a very popular technique used when dealing with discriminated union types. The ways often used are: ```ts // 1-a. assign to a never-typed variable and abort const _exhaustivenessCheck: never = option; throw new Error("unreachable"); // 1-b. return never instead of abort const _exhaustivenessCheck: never = option; return _exhaustivenessCheck; // 2. Call a function that accepts never assertNever(option); // 3-a. Use the satisfies syntax and abort option satisfies never; throw new Error("unreachable"); // 3-b. Use the satisfies syntax and return option satisfies never; return option; ``` Currently, 1 and 3 requires either throwing or returning to terminate the current (unreachable) execution branch. On the other hand, 2 automatically terminates it (assuming that the return type of `assertNever` is `never`). My suggestion is that 3 (`option satisfies never`) also work as a termination point of the current execution branch, so that the following would be possible: ```ts // 3-c (suggested behavior). Use the satisfies syntax and that's it! option satisfies never; /* code here is considered unreachable */ ``` I think `expr satisfies never;` has several advantages compared to others: - Doesn't involve unused variables. Unused variables are annoying especially when using linters. - Is completely no-op at runtime, which [allows minifiers to optimize away more code](https://play.swc.rs/?version=1.10.8&code=H4sIAAAAAAAAA%2BVSS26DMBDdI3GHJ9RF2FRql6TNEZJFOAAuHRIrwUb2EFpR7l6wTeVFK7XrLmd4835Gtp02jBHCWjK8pxsZTGiMbpFZ3dJwJkPZNk34vSMcOpZaPZU7PGNME4DFqUB2nIELBriJa08FynmY8BFj9lo5zJQmaUJvTrbpVb0QQjveUh%2FZSHV62Pi5WPV6dVF6ULu8gHUIT3wlXgX92lmwg%2BT6jMBxP6vnHg7UwlJwW6y74HkOVC0fNndjOHTrKa%2B2K%2B7FkLiEaYoJXbRvCL8y%2F3j%2FSo3orxzdenFYwdI2kizU8iTxlSsQMMS9Uah8RbPtyO8vOn78xx1H%2F3pIkP%2B94E%2FGywblOgMAAA%3D%3D&config=H4sIAAAAAAAAA32UO3LjMAxA%2B5zCo3rbTZEDpMsZOLQIysxShIYAHWsyvntAfWxvDKmT8PAjft8vh0PzSW3zdviWT%2FkZbCbIt3%2BR0JjYXkTS8DgAtTkM3PxZKVNF3kaCSXSdScM2d8DVCujvot5ERIJVfZH1IQU%2FPgZssR8yED3IRCr%2BSg%2BJ6X%2F7hWX8qoBzeZQfESPYtEOMJRMSQwdZc9xijHYgMGebFS81U5sDoRaiwsLgzJBxUHlygQMmiflMHVhnWnSgoJCh5XAGzUxiiVkieZ7yngk7OJaum5r8yxrONhbLSky4TC2RbBWvJwzExpeklXCGGzWY4VLc35bBmwxccnq2%2B8SQNnryD0AqEC1Rsj1oficNL%2FO0Ze13LUPyMrI8KlzmW3tlgk6KakLwSmVrZSBz0LqZwZUWamVbLZ0Fb5SPggMD3susKK7pK3B70oLWLUevAOmv9dpUzcDctnCD14XYwe%2FyStYHbNHoLZ%2B2KY39EeNOgB74hG5HQVrBuI2zXInLsM1LciCjAU5VKTSB5yMgC8Bo4nQsn2ZD1kM8mi7i8X4mFoXr7Qj3NnX3fZ%2Fv8Mui0PToygSXC1%2F7O9%2Fl1%2BautF7hNYMm0MdqOMW8%2FgBp5ICPLAYAAA%3D%3D). Also, notably, `expr satisfies never;` is explicit enough for the compiler to reason about as part of the CFA. In addition, I think this is also good from a theoretical perspective; `never`-returning functions are currently treated as a termination point of an execution branch because such functions can _never_ return anything. Actually, this is not specific to functions. If you somehow have a value of type `never`, you have proven that this code isn't actually executed. `expr satisfies never;` feels like a good, sensible way to declare that you have a proof. ### 📃 Motivating Example ```ts type Option<T> = { tag: "Some"; value: T; } | { tag: "None"; } function optionToString(option: Option<unknown>): string { let value: string; switch (option.tag) { case "Some": { value = `Some(${option.value})`; break; } case "None": { value = "None"; break; } default: { option satisfies never; // ↑ should have the same effect as: // assertNever(option); } } // Current behavior: error because `value` may not have been assigned. // Suggested behavior: no error here. return `Option(${value})`; } function assertNever(value: never): never { throw new Error("unreachable"); } ``` [Playground](https://www.typescriptlang.org/play/?#code/C4TwDgpgBA8mwEsD2A7APAFQHxQLxQG8AoKKYAQwHMAuKAIgGUkBbCOgbhKgDdyAbAK4RaGTgF8oAH0JcKNegDlUbcUTUAzASgDGiVFCTxkKDEgbAATghSUAFIb0pacR2i0BrFEgDuKLAEpaAGdLa0oZUj4IYB5+IWDQm05SIO8EYG0ACyh7I1QAOjl-CNIobXIg6EYWNlpiUtLeQWh8AAMmVlsAEgIHY3ymoTF-VuSGqAAjCwhydzHSMS5ScsrFZTo6pca4lrWUFS3SKZm5rcWGgBMIdXIBPmBN8YM8lCgg8kQg9QQIIKh97gQCzzKDnUFqUjTYACCyvVouYzdAiDCDDUZERZEbSoIJIKL5PhIOx9VCmcxWGy2AhkKi0aqsOgAGlizVoAEYAEwAZlB-n8nGxKFx+MJxJeZMSdmpcjpSn2dF5-I0Wl0xigFUqFmACgggIsthRtABQMC-11QJKwEyFh8Zu8UAAohYbfq6FppuQsuQJlE6ErFkA) ### 💻 Use Cases #### 1. What do you want to use this for? As shown above, for exhaustiveness checks. #### 2. What shortcomings exist with current approaches? Live with less optimal (from different aspects) ways. #### 3. What workarounds are you using in the meantime? ```ts assertNever(option); ```
Suggestion,In Discussion
medium
Critical
2,801,820,801
vscode
`vscode.workspace.fs.copy` does not copy folders properly on github.dev
<!-- ⚠️⚠️ 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. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 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: github.dev - OS Version: Windows 11 24H2 Steps to Reproduce: 1. Have an extension with the following code be run on github.dev: ```ts // copy `lib` folder from `assets/initial-project` from extension files to the root of current workspace const initDir = vscode.Uri.joinPath( context.extensionUri, "assets/initial-project" ); const workspaceUri = vscode.workspace.workspaceFolders?.[0]?.uri!; await vscode.workspace.fs.copy( vscode.Uri.joinPath(initDir, "lib"), vscode.Uri.joinPath(workspaceUri, "lib") ); ``` 2. The file gets created with json listing of folder's contents. ![Image](https://github.com/user-attachments/assets/8593b134-6f83-4406-9d42-d8a21712a3be) NOTE: The folder is copied properly when run on VSCode desktop and vscode.dev with local filesystem. Here is the [URL of the folder](https://glebbash.vscode-unpkg.net/glebbash/lo/0.0.57/extension/assets/initial-project/lib) from my extension, I guess the fix is to somehow detect that this is a folder and not a file in github.dev file system provider.
bug,vscode.dev
low
Critical
2,801,873,670
vscode
Git - Opening diff from blame should reveal previously focused line
1. Put cursor in a SCM-tracked text document line 2. Click the blame decoration 🐛 Multi file diff editor opens scrolled to the top. It would be great if the line of that document would automatically be revealed and scrolled into view.
git,polish
low
Minor
2,801,953,528
rust
Investigate linker warnings
https://github.com/rust-lang/rust/pull/119286 unsilences linker warnings by default, and then promptly silences them again for rust-lang/rust itself. We should investigate and fix them. So far I have seen the following kinds of warnings: - [ ] `ignoring duplicate libraries: -lm` on MacOS [when running any tests/ui-fulldeps test](https://github.com/rust-lang/rust/pull/119286#issuecomment-2603311102), and also [when building rustc itself for stage 2](https://github.com/rust-lang-ci/rust/actions/runs/12097780194/job/33733532232#step:27:6292). - [ ] `ld: cannot export hidden symbol compiler_builtins::int::leading_zeros::__clzdi2::ha6dd05e8d8124fab` [when building compiler-builtins](https://github.com/rust-lang/rust/pull/119286#issuecomment-2372510636) - [ ] `ld: cannot export hidden symbol ___llvm_profile_filename` [when building tests/ui/issues/issue-85461.rs](https://github.com/rust-lang/rust/pull/119286#issuecomment-2372510636) - [ ] ``ld: build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core.mini_core.2ab949a2a8595fff-cgu.0.rcgu.o: relocation in read-only section `.rodata.global.c'`` and `ld: creating DT_TEXTREL in a shared object` [when building rustc_codegen_gcc](https://github.com/rust-lang/rust/pull/119286#issuecomment-2509868641) and they are silenced in these places: - https://github.com/rust-lang/rust/blob/4b4007a500e27f708038e81549d7ad6437ce1b71/src/bootstrap/src/core/build_steps/test.rs#L1869-L1872 - https://github.com/rust-lang/rust/blob/4b4007a500e27f708038e81549d7ad6437ce1b71/src/bootstrap/src/core/build_steps/test.rs#L3587-L3588 - https://github.com/rust-lang/rust/blob/4b4007a500e27f708038e81549d7ad6437ce1b71/src/bootstrap/src/core/builder/cargo.rs#L276 @rustbot label S-tracking-issue
A-linkage,T-compiler,T-bootstrap,C-tracking-issue,A-linkers,L-linker_messages
low
Minor
2,801,957,639
bitcoin
intermittent issue in p2p_orphan_handling.py
Looks like the test may overall intermittently fail, because it assumes the tx delay isn't exponentially distributed, but has a constant delay, sufficient for the test to pass. I think it would be better to use mocktime to halt the test when needed, so that it can even pass when the delay is zero (or close to it). I haven't looked in detail whether this is the same, but there was one instance in the CI: (Possibly the getdata was split into two, so the check didn't pick it up, because it assumes it to happen in one msg?) https://github.com/bitcoin/bitcoin/actions/runs/12885576442/job/35924329366?pr=25832#step:7:15913 ``` test 2025-01-21T11:21:24.017000Z TestFramework.p2p (DEBUG): Closed connection to: 127.0.0.1:14372 test 2025-01-21T11:21:24.017000Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:14372: msg_getdata(inv=[CInv(type=WitnessTx hash=16df2774cb507f967e367838f263d09c647bcc7818d5c45d886c0ee5b8f45ac7)]) node0 2025-01-21T11:21:24.017006Z (mocktime: 2025-01-27T11:30:06Z) [httpworker.13] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=getorphantxs user=__cookie__ node0 2025-01-21T11:21:24.017297Z (mocktime: 2025-01-27T11:30:06Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:21:24.017316Z (mocktime: 2025-01-27T11:30:06Z) [httpworker.14] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=setmocktime user=__cookie__ node0 2025-01-21T11:21:24.017368Z (mocktime: 2025-01-27T11:30:10Z) [msghand] [node/txdownloadman_impl.cpp:276] [GetRequestsToSend] [net] Requesting tx 16df2774cb507f967e367838f263d09c647bcc7818d5c45d886c0ee5b8f45ac7 peer=24 node0 2025-01-21T11:21:24.017377Z (mocktime: 2025-01-27T11:30:10Z) [msghand] [net.cpp:3874] [PushMessage] [net] sending getdata (37 bytes) peer=24 node0 2025-01-21T11:21:24.017449Z (mocktime: 2025-01-27T11:30:10Z) [net] [net.cpp:2188] [SocketHandlerConnected] [net] socket closed, disconnecting peer=23 node0 2025-01-21T11:21:24.017467Z (mocktime: 2025-01-27T11:30:10Z) [net] [net_processing.cpp:1633] [FinalizeNode] [net] Cleared nodestate for peer=23 node0 2025-01-21T11:21:24.017701Z (mocktime: 2025-01-27T11:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:21:24.017722Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.15] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=getorphantxs user=__cookie__ node0 2025-01-21T11:21:24.221913Z (mocktime: 2025-01-27T11:30:10Z) [msghand] [node/txdownloadman_impl.cpp:276] [GetRequestsToSend] [net] Requesting tx f2777bc29da8d92e6090c69775a12bc7df96a4da2554d086749f8f854872d133 peer=24 node0 2025-01-21T11:21:24.221941Z (mocktime: 2025-01-27T11:30:10Z) [msghand] [net.cpp:3874] [PushMessage] [net] sending getdata (37 bytes) peer=24 test 2025-01-21T11:21:24.222000Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:14372: msg_getdata(inv=[CInv(type=WitnessTx hash=f2777bc29da8d92e6090c69775a12bc7df96a4da2554d086749f8f854872d133)]) test 2025-01-21T11:28:04.173000Z TestFramework.utils (ERROR): wait_until() failed. Predicate: '''' def test_function(): if check_connected: assert self.is_connected return test_function_in() ''' test 2025-01-21T11:28:04.176000Z TestFramework.node0 (DEBUG): TestNode.generate() dispatches `generate` call to `generatetoaddress` node0 2025-01-21T11:28:04.179438Z (mocktime: 2025-01-27T11:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:28:04.180169Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=generatetoaddress user=__cookie__ node0 2025-01-21T11:28:04.180973Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [node/miner.cpp:161] [CreateNewBlock] CreateNewBlock(): block weight: 1319 txs: 1 fees: 31200 sigops 400 node0 2025-01-21T11:28:04.181211Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:2527] [ConnectBlock] [bench] - Sanity checks: 0.01ms [0.00s (0.00ms/blk)] node0 2025-01-21T11:28:04.181552Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:2629] [ConnectBlock] [bench] - Fork checks: 0.38ms [0.00s (0.01ms/blk)] node0 2025-01-21T11:28:04.181650Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:2722] [ConnectBlock] [bench] - Connect 2 transactions: 0.10ms (0.048ms/tx, 0.095ms/txin) [0.00s (0.01ms/blk)] node0 2025-01-21T11:28:04.181716Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:2744] [ConnectBlock] [bench] - Verify 1 txins: 0.16ms (0.163ms/txin) [0.01s (0.02ms/blk)] node0 2025-01-21T11:28:04.181756Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [node/miner.cpp:180] [CreateNewBlock] [bench] CreateNewBlock() packages: 0.18ms (1 packages, 0 updated descendants), validity: 0.89ms (total 1.07ms) node0 2025-01-21T11:28:04.181838Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:4428] [AcceptBlockHeader] Saw new header hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 height=394 node0 2025-01-21T11:28:04.182065Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validationinterface.cpp:255] [NewPoWValidBlock] [validation] NewPoWValidBlock: block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 node0 2025-01-21T11:28:04.182999Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:3187] [ConnectTip] [bench] - Using cached block node0 2025-01-21T11:28:04.183046Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:3197] [ConnectTip] [bench] - Load block from disk: 0.03ms node0 2025-01-21T11:28:04.183078Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:2527] [ConnectBlock] [bench] - Sanity checks: 0.00ms [0.00s (0.00ms/blk)] node0 2025-01-21T11:28:04.183121Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:2629] [ConnectBlock] [bench] - Fork checks: 0.04ms [0.00s (0.01ms/blk)] node0 2025-01-21T11:28:04.183176Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:2722] [ConnectBlock] [bench] - Connect 2 transactions: 0.05ms (0.026ms/tx, 0.051ms/txin) [0.00s (0.01ms/blk)] node0 2025-01-21T11:28:04.183210Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:2744] [ConnectBlock] [bench] - Verify 1 txins: 0.09ms (0.088ms/txin) [0.01s (0.02ms/blk)] node0 2025-01-21T11:28:04.183460Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:2759] [ConnectBlock] [bench] - Write undo data: 0.25ms [0.04s (0.11ms/blk)] node0 2025-01-21T11:28:04.183491Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:2774] [ConnectBlock] [bench] - Index writing: 0.03ms [0.00s (0.01ms/blk)] node0 2025-01-21T11:28:04.183525Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validationinterface.cpp:250] [BlockChecked] [validation] BlockChecked: block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 state=Valid node0 2025-01-21T11:28:04.183575Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:3216] [ConnectTip] [bench] - Connect total: 0.54ms [0.06s (0.15ms/blk)] node0 2025-01-21T11:28:04.183609Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:3225] [ConnectTip] [bench] - Flush: 0.03ms [0.00s (0.00ms/blk)] node0 2025-01-21T11:28:04.183634Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:3235] [ConnectTip] [bench] - Writing chainstate: 0.02ms [0.00s (0.00ms/blk)] node0 2025-01-21T11:28:04.183680Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [txmempool.cpp:1074] [RemoveUnbroadcastTx] [mempool] Removed ded4025fc122f8892f8e1a3ee818c85275956a77843be62b6989b1c3ff5f2e46 from set of unbroadcast txns before confirmation that txn was sent out node0 2025-01-21T11:28:04.183747Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validationinterface.cpp:227] [MempoolTransactionsRemovedForBlock] [validation] Enqueuing MempoolTransactionsRemovedForBlock: block height=394 txs removed=1 node0 2025-01-21T11:28:04.183850Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:3006] [UpdateTipLog] UpdateTip: new best=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 height=394 version=0x30000000 log2_work=9.625709 tx=612 date='2025-01-27T11:30:10Z' progress=1.000000 cache=0.3MiB(5txo) node0 2025-01-21T11:28:04.183901Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:3251] [ConnectTip] [bench] - Connect postprocess: 0.27ms [0.01s (0.02ms/blk)] node0 2025-01-21T11:28:04.183939Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validation.cpp:3255] [ConnectTip] [bench] - Connect block: 0.90ms [0.07s (0.18ms/blk)] node0 2025-01-21T11:28:04.184008Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [txmempool.cpp:700] [check] [mempool] Checking mempool with 0 transactions and 0 inputs node0 2025-01-21T11:28:04.184059Z (mocktime: 2025-01-27T11:30:10Z) [scheduler] [validationinterface.cpp:227] [operator()] [validation] MempoolTransactionsRemovedForBlock: block height=394 txs removed=1 node0 2025-01-21T11:28:04.184177Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validationinterface.cpp:217] [BlockConnected] [validation] Enqueuing BlockConnected: block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 block height=394 node0 2025-01-21T11:28:04.184218Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validationinterface.cpp:182] [UpdatedBlockTip] [validation] Enqueuing UpdatedBlockTip: new block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 fork block hash=4662d66c50b6a655b6971c547619516417c1b422d0718ee24d30f56502410ca3 (in IBD=false) node0 2025-01-21T11:28:04.184286Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.1] [validationinterface.cpp:187] [ActiveTipChange] [validation] ActiveTipChange: new block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 block height=394 node0 2025-01-21T11:28:04.184454Z (mocktime: 2025-01-27T11:30:10Z) [scheduler] [policy/fees.cpp:711] [processBlock] [estimatefee] Blockpolicy estimates updated by 0 of 1 block txs, since last block 0 of 3 tracked, mempool map size 0, max target 11 from current node0 2025-01-21T11:28:04.184501Z (mocktime: 2025-01-27T11:30:10Z) [scheduler] [validationinterface.cpp:217] [operator()] [validation] BlockConnected: block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 block height=394 node0 2025-01-21T11:28:04.185563Z (mocktime: 2025-01-27T11:30:10Z) [scheduler] [validationinterface.cpp:182] [operator()] [validation] UpdatedBlockTip: new block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 fork block hash=4662d66c50b6a655b6971c547619516417c1b422d0718ee24d30f56502410ca3 (in IBD=false) node0 2025-01-21T11:28:04.185654Z (mocktime: 2025-01-27T11:30:10Z) [msghand] [net_processing.cpp:5649] [SendMessages] [net] SendMessages: sending inv peer=24 hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 node0 2025-01-21T11:28:04.185696Z (mocktime: 2025-01-27T11:30:10Z) [msghand] [net.cpp:3874] [PushMessage] [net] sending inv (37 bytes) peer=24 test 2025-01-21T11:28:04.187000Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:14372: msg_inv(inv=[CInv(type=Block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662)]) test 2025-01-21T11:28:04.187000Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:14372: msg_getdata(inv=[CInv(type=Block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662)]) node0 2025-01-21T11:28:04.188203Z (mocktime: 2025-01-27T11:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:28:04.188325Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.0] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=getbestblockhash user=__cookie__ node0 2025-01-21T11:28:04.188566Z (mocktime: 2025-01-27T11:30:10Z) [msghand] [net_processing.cpp:3380] [ProcessMessage] [net] received: getdata (37 bytes) peer=24 node0 2025-01-21T11:28:04.188622Z (mocktime: 2025-01-27T11:30:10Z) [msghand] [net_processing.cpp:3990] [ProcessMessage] [net] received getdata (1 invsz) peer=24 node0 2025-01-21T11:28:04.188660Z (mocktime: 2025-01-27T11:30:10Z) [msghand] [net_processing.cpp:3993] [ProcessMessage] [net] received getdata for: block 077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 peer=24 node0 2025-01-21T11:28:04.188706Z (mocktime: 2025-01-27T11:30:10Z) [msghand] [net.cpp:3874] [PushMessage] [net] sending block (311 bytes) peer=24 test 2025-01-21T11:28:04.189000Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:14372: msg_block(block=CBlock(nVersion=805306368 hashPrevBlock=4662d66c50b6a655b6971c547619516417c1b422d0718ee24d30f56502410ca3 hashMerkleRoot=b7943c8d36e59a4b8f042e99f55b71e9da78debc337f2520ac30ffb98be501ff nTime=Mon Jan 27 11:30:10 2025 nBits=207fffff nNonce=00000003 vtx=[CTransaction(version=2 vin=[CTxIn(prevout=COutPoint(hash=0000000000000000000000000000000000000000000000000000000000000000 n=4294967295) scriptSig=028a0100 nSequence=4294967295)] vout=[CTxOut(nValue=12.50031200 scriptPubKey=76a9142b4... (msg truncated) node0 2025-01-21T11:28:04.189053Z (mocktime: 2025-01-27T11:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:28:04.189130Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.3] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=getrawmempool user=__cookie__ node0 2025-01-21T11:28:04.190512Z (mocktime: 2025-01-27T11:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:28:04.190644Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.2] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=syncwithvalidationinterfacequeue user=__cookie__ test 2025-01-21T11:28:04.191000Z TestFramework.p2p (DEBUG): Closed connection to: 127.0.0.1:14372 node0 2025-01-21T11:28:04.191805Z (mocktime: 2025-01-27T11:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:28:04.191893Z (mocktime: 2025-01-27T11:30:10Z) [net] [net.cpp:2188] [SocketHandlerConnected] [net] socket closed, disconnecting peer=24 node0 2025-01-21T11:28:04.191978Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.5] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=getpeerinfo user=__cookie__ node0 2025-01-21T11:28:04.192224Z (mocktime: 2025-01-27T11:30:10Z) [net] [txorphanage.cpp:93] [EraseTx] [txpackages] removed orphan tx 55ae42d3c30e22ed3fd70b24bbeb214e67fca0420f1fdc8a508a88b4e386af94 (wtxid=9477fadf8dc360b951c9facff7a0be4c4cf8a7158368d64c963a4765fb1a957c) after 8s node0 2025-01-21T11:28:04.192252Z (mocktime: 2025-01-27T11:30:10Z) [net] [txorphanage.cpp:120] [EraseForPeer] [txpackages] Erased 1 orphan transaction(s) from peer=24 node0 2025-01-21T11:28:04.192263Z (mocktime: 2025-01-27T11:30:10Z) [net] [net_processing.cpp:1633] [FinalizeNode] [net] Cleared nodestate for peer=24 node0 2025-01-21T11:28:04.192474Z (mocktime: 2025-01-27T11:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:28:04.192514Z (mocktime: 2025-01-27T11:30:10Z) [httpworker.4] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=setmocktime user=__cookie__ node0 2025-01-21T11:28:04.192867Z (mocktime: 2025-01-27T23:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:28:04.192901Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.6] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=getorphantxs user=__cookie__ node0 2025-01-21T11:28:04.193191Z (mocktime: 2025-01-27T23:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:28:04.193223Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.7] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=getrawmempool user=__cookie__ node0 2025-01-21T11:28:04.194015Z (mocktime: 2025-01-27T23:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:28:04.194065Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.8] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=scantxoutset user=__cookie__ node0 2025-01-21T11:28:04.194263Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.8] [logging/timer.h:58] [Log] [bench] FlushStateToDisk: write block and undo data to disk started node0 2025-01-21T11:28:04.196980Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.8] [logging/timer.h:58] [Log] [bench] FlushStateToDisk: write block and undo data to disk completed (2.69ms) node0 2025-01-21T11:28:04.197024Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.8] [logging/timer.h:58] [Log] [bench] FlushStateToDisk: write block index to disk started node0 2025-01-21T11:28:04.198904Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.8] [logging/timer.h:58] [Log] [bench] FlushStateToDisk: write block index to disk completed (1.87ms) node0 2025-01-21T11:28:04.198947Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.8] [logging/timer.h:58] [Log] [bench] FlushStateToDisk: write coins cache to disk (5 coins, 256KiB) started node0 2025-01-21T11:28:04.198985Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.8] [txdb.cpp:148] [BatchWrite] [coindb] Writing final batch of 0.00 MiB node0 2025-01-21T11:28:04.199390Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.8] [txdb.cpp:150] [BatchWrite] [coindb] Committed 3 changed transaction outputs (out of 3) to coin database... node0 2025-01-21T11:28:04.199415Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.8] [logging/timer.h:58] [Log] [bench] FlushStateToDisk: write coins cache to disk (5 coins, 256KiB) completed (0.46ms) node0 2025-01-21T11:28:04.199431Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.8] [validationinterface.cpp:245] [ChainStateFlushed] [validation] Enqueuing ChainStateFlushed: block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 node0 2025-01-21T11:28:04.199489Z (mocktime: 2025-01-27T23:30:10Z) [scheduler] [validationinterface.cpp:245] [operator()] [validation] ChainStateFlushed: block hash=077bf058147704114b908875b7fbfa54065dfe633c6e904276222f6284c18662 node0 2025-01-21T11:28:04.202632Z (mocktime: 2025-01-27T23:30:10Z) [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:49580 node0 2025-01-21T11:28:04.202704Z (mocktime: 2025-01-27T23:30:10Z) [httpworker.10] [rpc/request.cpp:241] [parse] [rpc] ThreadRPCServer method=getrawmempool user=__cookie__ test 2025-01-21T11:28:04.203000Z TestFramework (ERROR): Assertion failed Traceback (most recent call last): File "/Users/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 135, in main self.run_test() ~~~~~~~~~~~~~^^ File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build-aarch64-apple-darwin23.6.0/test/functional/p2p_orphan_handling.py", line 820, in run_test self.test_parents_change() ~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build-aarch64-apple-darwin23.6.0/test/functional/p2p_orphan_handling.py", line 55, in wrapper func(self) ~~~~^^^^^^ File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build-aarch64-apple-darwin23.6.0/test/functional/p2p_orphan_handling.py", line 791, in test_parents_change peer2.wait_for_parent_requests([int(parent_peekaboo_AB["txid"], 16), int(parent_missing["txid"], 16)]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build-aarch64-apple-darwin23.6.0/test/functional/p2p_orphan_handling.py", line 99, in wait_for_parent_requests self.wait_until(test_function, timeout=10) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/work/bitcoin/bitcoin/test/functional/test_framework/p2p.py", line 594, in wait_until wait_until_helper_internal(test_function, timeout=timeout, lock=p2p_lock, timeout_factor=self.timeout_factor, check_interval=check_interval) ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/work/bitcoin/bitcoin/test/functional/test_framework/util.py", line 317, in wait_until_helper_internal raise AssertionError("Predicate {} not true after {} seconds".format(predicate_source, timeout)) AssertionError: Predicate '''' def test_function(): if check_connected: assert self.is_connected return test_function_in() ''' not true after 400.0 seconds test 2025-01-21T11:28:04.208000Z TestFramework (DEBUG): Closing down network thread test 2025-01-21T11:28:04.307000Z TestFramework (INFO): Stopping nodes test 2025-01-21T11:28:04.308000Z TestFramework.node0 (DEBUG): Stopping node
CI failed
low
Critical
2,801,962,701
godot
Can't set Control Pivot Offset through inspector when in a Container
### Tested versions Godot v4.4.beta1.mono ### System information Godot v4.4.beta1.mono - Windows 11 (build 22631) - Multi-window, 2 monitors - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4070 (NVIDIA; 32.0.15.6636) - 12th Gen Intel(R) Core(TM) i7-12700KF (20 threads) ### Issue description It's not possible to set the Pivot Offset for a control that exists in a Container node. Transform fields are all disabled : ![Image](https://github.com/user-attachments/assets/a7dd6180-74fb-435e-8f67-23886775209b) Sure it's possible using the `v` shortcut or the button on top of the scene editor but it's not precise enough for the majority of cases out there. ### Steps to reproduce In a new project, create a HBoxContainer and add a Control inside, select it and go to its inspector transform tab. ### Minimal reproduction project (MRP) None
enhancement,discussion,topic:editor,usability,topic:gui
medium
Critical
2,801,962,756
vscode
Wrong Keyboard Layout and ignored settings - happens on `vscode.dev`
<!-- ⚠️⚠️ 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. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 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. --> - Version: 1.96.4 - Commit: cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba - Date: 2025-01-16T00:16:19.038Z - Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Steps to Reproduce: 1. open `vscode.dev` 2. change keyboard layout by clicking the link in the status bar (right corner) from US (default) to Germany (or other) 3. verify that the `keyboard.layout` setting was changed correctly 4. reload the browser page 5. the status bas link indicates an incorrect default for US, although the expected value of `keyboard.layout` is set to "Germany" https://github.com/user-attachments/assets/3441154e-3c52-430e-947d-c173521f4288
triage-needed,stale
low
Critical
2,801,980,430
pytorch
AttributeError: '_OpNamespace' 'aten' object has no attribute 'momentum'
### 🐛 Describe the bug I have a problem with the following piece of code ```python import torch from torch import nn class GatedLinearUnit(nn.Module): def __init__(self, in_features: int) -> None: super().__init__() self.linear_1 = nn.Linear(in_features=in_features, out_features=in_features) self.linear_2 = nn.Linear(in_features=in_features, out_features=in_features) def forward(self, x: torch.Tensor) -> torch.Tensor: return self.linear_1(x) * self.linear_2(x).sigmoid() def test_gated_linear_unit_shape(in_features): """Tests if the output shape of the GatedLinearUnit is correct.""" gated_linear_unit = GatedLinearUnit(in_features=in_features) input_tensor = torch.randn(8, 16) output_tensor = gated_linear_unit(input_tensor) assert output_tensor.shape == (8, 16) if __name__ == "__main__": test_gated_linear_unit_shape() ``` if you run it with pytest or python the output is the same, i.e., ```text uv run python tests/test_gated_linear_unit.py Traceback (most recent call last): File "/Users/argo/git/models/tests/test_gated_linear_unit.py", line 1, in <module> import torch File "/Users/argo/git/models/.venv/lib/python3.12/site-packages/torch/__init__.py", line 2486, in <module> from torch import _meta_registrations File "/Users/argo/git/models/.venv/lib/python3.12/site-packages/torch/_meta_registrations.py", line 10, in <module> from torch._decomp import ( File "/Users/argo/git/models/.venv/lib/python3.12/site-packages/torch/_decomp/__init__.py", line 249, in <module> import torch._decomp.decompositions File "/Users/argo/git/models/.venv/lib/python3.12/site-packages/torch/_decomp/decompositions.py", line 20, in <module> from torch._higher_order_ops.out_dtype import out_dtype File "/Users/argo/git/models/.venv/lib/python3.12/site-packages/torch/_higher_order_ops/out_dtype.py", line 22, in <module> torch.ops.aten.momentum.default, ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/argo/git/models/.venv/lib/python3.12/site-packages/torch/_ops.py", line 1225, in __getattr__ raise AttributeError( AttributeError: '_OpNamespace' 'aten' object has no attribute 'momentum' ``` The environment I'm using is: ```text uv pip list Package Version ----------------- --------- filelock 3.16.1 fsspec 2024.12.0 iniconfig 2.0.0 jinja2 3.1.5 markupsafe 3.0.2 mpmath 1.3.0 mypy 1.14.1 mypy-extensions 1.0.0 networkx 3.4.2 numpy 2.2.2 packaging 24.2 pluggy 1.5.0 pytest 8.3.4 ruff 0.9.2 setuptools 75.8.0 sympy 1.13.1 torch 2.5.1 typing-extensions 4.12.2 ``` Does anyone have an idea of what might be happening? I searched and found similar problems, but no definitive answers. I’m running on a MacBook Pro M2, with the Apple M2 chip, and macOS Sonoma version 14.6.1. Thanks for your help! ### Versions Collecting environment information... PyTorch version: N/A Is debug build: N/A CUDA used to build PyTorch: N/A ROCM used to build PyTorch: N/A OS: macOS 14.6.1 (x86_64) GCC version: Could not collect Clang version: 15.0.0 (clang-1500.3.9.4) CMake version: Could not collect Libc version: N/A Python version: 3.9.13 (main, Aug 25 2022, 18:29:29) [Clang 12.0.0 ] (64-bit runtime) Python platform: macOS-10.16-x86_64-i386-64bit Is CUDA available: N/A CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: N/A GPU models and configuration: Could not collect Nvidia driver version: Could not collect cuDNN version: Could not collect HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: N/A CPU: Apple M2 Versions of relevant libraries: [pip3] flake8==4.0.1 [pip3] mypy-extensions==0.4.3 [pip3] numpy==1.23.5 [pip3] numpydoc==1.4.0 [pip3] pytorch-lightning==1.7.7 [pip3] torch==1.10.2 [pip3] torchmetrics==0.10.0 [conda] blas 1.0 mkl [conda] mkl 2021.4.0 hecd8cb5_637 [conda] mkl-service 2.4.0 py39h9ed2024_0 [conda] mkl_fft 1.3.1 py39h4ab4a9b_0 [conda] mkl_random 1.2.2 py39hb2f4e1b_0 [conda] numpy 1.23.5 pypi_0 pypi [conda] numpydoc 1.4.0 py39hecd8cb5_0 [conda] pytorch 1.10.2 cpu_py39h903acac_0 [conda] pytorch-lightning 1.7.7 pyhd8ed1ab_0 conda-forge [conda] torchmetrics 0.10.0 pyhd8ed1ab_0 conda-forge cc @anjali411 @chauhang @penguinwu @zou3519 @bdhirsh @yf225 @manuelcandales @SherlockNoMad @angelayi
needs reproduction,triaged,module: custom-operators,module: library,oncall: pt2,module: pt2-dispatcher,module: core aten
low
Critical
2,801,984,526
go
net/netip: ParseAddr should reject invalid zone
### Proposal Details I have the following use case: ``` package main import ( "fmt" "net/netip" ) func main() { addr, err := netip.ParseAddr("2006:abcd::1%%") fmt.Printf("addr = %s,zone = %s,err = %v\n", addr.String(), addr.Zone(), err) } ``` https://go.dev/play/p/soSl7hzPhJx output: ``` addr = 2006:abcd::1%%,zone = %,err = <nil> ``` When running with Go 1.23, it considers the last % as the IPv6 zone ID. However, when parsing the same address in other languages, it considers the parameter as an invalid IP, for example: ### **1.C Language** ``` #include <stdio.h> #include <string.h> #include <stdlib.h> #include <netdb.h> #include <arpa/inet.h> const char* parse_ipv6_with_zone_id(const char *input) { struct addrinfo hints, *res; int status; memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_INET6; hints.ai_socktype = SOCK_STREAM; status = getaddrinfo(input, NULL, &hints, &res); if (status != 0) { return "Invalid"; } freeaddrinfo(res); return "Valid"; } int main() { const char *input1 = "2006:abcd::1%%"; printf("Address 1: %s - %s\n", input1, parse_ipv6_with_zone_id(input1)); return 0; } ``` **gcc version** ``` gcc version 10.3.1 (GCC) ``` **and output:** ``` Address 1: 2006:abcd::1%% - Invalid ``` ### **2. java** ``` import java.net.Inet6Address; import java.net.InetAddress; import java.net.URI; import java.net.URISyntaxException; public class IPv6ZoneIDParser { public static void main(String[] args) { final String ipv6WithZone = "2006:abcd::1%%"; try { InetAddress inetAddress = InetAddress.getByName(ipv6WithZone); if (inetAddress instanceof Inet6Address) { System.out.println(ipv6WithZone + " It is an IPv6 address."); } } catch (java.net.UnknownHostException e) { System.out.println(ipv6WithZone + " It is a invalid ip address."); } } } ``` **java -version** `openjdk version "1.8.0_392"` **output:** `2006:abcd::1%% It is a invalid ip address.` ### 3. python ``` import ipaddress def is_valid_ip(ip): try: ipaddress.ip_address(ip) return True except ValueError: return False print(is_valid_ip("2006:abcd::1%%")) ``` **python version** `Python 3.9.11 (main, Jul 18 2024, 15:21:06)` **output:** `False` why Go language behaves differently when parsing IPv6 zone IDs compared to other languages as shown above? Thank you.
NeedsInvestigation,BugReport
low
Critical
2,802,005,959
PowerToys
[Peek] Peek Files in Zip
### Description of the new feature / enhancement Any File with a custom Peek view within a Zip should be "Peekable" too, i.e. images, PDFs, Word Documents... ### Scenario when this would be used? Whenever you are browsing a zip file in the Windows Explorer (which is possible without unzipping) and you'd want to see the file contents of a file like images, PDFs, or word Documents, instead of opening it in the native app (which unzips that file into a temp folder) you could open it with Peek (which would still unzip that file into a temp folder). ### Supporting information _No response_
Needs-Triage
low
Minor
2,802,012,290
flutter
Flutter in an Iframe does not scroll the Native Primary ScrollView when Overscrolled
### Steps to reproduce 1. Create a simple Flutter web app with many widgets inside a Listview 2. Create an html page with iframe tag and put flutter app path in it. 3. Try to scroll within iframe, once scroll reach the end of iframe content it won't scroll any more. ### Expected results Once you reach end of scroll within iframe, scroll of the webpage should get control and webpage should scroll. ### Actual results On mobile web, when scroll within iframe reaches its end, user cannot scroll the webpage because iframe keeps the gesture control to itself. ### Code sample <details open><summary>Code sample</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 Demo', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), home: const MyHomePage(title: 'Flutter 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> { final _scrollController = ScrollController(); @override void initState() { super.initState(); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Theme.of(context).colorScheme.inversePrimary, title: Text(widget.title), ), body: ListView( controller: _scrollController, children: <Widget>[ for (int i = 0; i < 20; i++) ListTile( title: Text( 'You have pushed the button this many times: $i', ), ) ], ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.2, on macOS 14.3.1 23D60 darwin-arm64, locale en-IE) • Flutter version 3.27.2 on channel stable at /Users/mhshakeel/fvm/versions/3.27.2 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 68415ad1d9 (8 days ago), 2025-01-13 10:22:03 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/mhshakeel/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • ANDROID_HOME = /Users/mhshakeel/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15C500b • CocoaPods version 1.15.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.1) • 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.11+0-17.0.11b1207.24-11852314) [✓] IntelliJ IDEA Community Edition (version 2023.3.3) • 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.96.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.102.0 [✓] Connected device (4 available) • Hassan’s iPhone (mobile) • 00008110-001A54843AE2401E • ios • iOS 18.2 22C152 • macOS (desktop) • macos • darwin-arm64 • macOS 14.3.1 23D60 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.3.1 23D60 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 132.0.6834.83 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
f: scrolling,platform-web,has reproducible steps,team-web,found in release: 3.27,found in release: 3.28
low
Minor
2,802,014,584
flutter
Issue with MSAL Authentication After Modifying MainActivity Class for Local Auth Plugin Integration
### Steps to reproduce I am using MSAL for SSO authentication in my app, and it has been working fine. However, after implementing the local_auth plugin, the MainActivity class was modified to extend FlutterFragmentActivity. MSAL, on the other hand, uses BrowserTabActivity to open the Microsoft authentication in an in-app browser. After the modification to the MainActivity.kt class, the existing MSAL authentication has stopped working and is now throwing an error: 'Activity can't be null. ### Expected results Its should need to support both functionality. ### Actual results The biometric is working fine but msal authentication is failed now. ### Code sample <details open><summary>Code sample</summary> ```dart MainActivity file Before " import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { } " After "import io.flutter.embedding.android.FlutterFragmentActivity class MainActivity: FlutterFragmentActivity() { } " ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> [Upload media here] </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [Paste your output here] ``` </details>
waiting for customer response,in triage
low
Critical
2,802,020,183
electron
Rare SIGSEGV on Linux in development mode
### 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 34.0.0 ### What operating system(s) are you using? Ubuntu ### Operating System Version Ubuntu 22 ### What arch are you using? x64 ### Last Known Working Electron version _No response_ ### Expected Behavior We run not packaged (i.e. development mode) electron app from Node.js script as part of tests like ```js const util = require("util"); const execFilePromise = util.promisify(require("child_process").execFile); const electronPath = require("electron"); // ... await execCmd(electronPath, [ /* params */); ``` The app is configured as a CLI tool, it does not interact with GUI with the user. It just reads some files, opens hidden `BrowserWindow`, reads/writes to IndexedDB, writes some files and quits. It's configures to use new empty `userData` and `cacheData` dirs for each run: ```js app.setPath("userData", funcTestDir); app.setPath("userCache", funcTestDir); ``` Usually, the process finishes OK. ### Actual Behavior Rarely, the process crashes with SIGSEGV on Linux only (on Windows it's OK, we do not use it on Mac). Error output is just: ``` MESA-INTEL: warning: cannot initialize blitter engine ``` (But this warning is printed even if the app runs OK.) The crash seems random, sometimes it happens e.g. approx. every 1 of 20, sometimes e.g. approx. 1 of 100 runs, depends on machine and maybe also machine load or other circumstances? From our app logging, I guess it crashes very soon after the main process start. We have configured Crashpad and here's the one fail result: [Crashpad.zip](https://github.com/user-attachments/files/18492067/Crashpad.zip) Surprisingly, the error output was then: ``` MESA-INTEL: warning: cannot initialize blitter engine [0121/144135.557524:ERROR:elf_dynamic_array_reader.h(64)] tag not found ``` I am sorry I have no code to reproduce since the app is quite complex I do not have a clue which part may cause that. ### Testcase Gist URL _No response_ ### Additional Information It seems the problem is approx since the autumn 2024 (we upgrade Electron version approx every two months). Also, GPU is switched off by: ```js app.commandLine.appendSwitch("in-process-gpu"); app.commandLine.appendSwitch("disable-gpu"); app.commandLine.appendSwitch("ignore-gpu-blacklist"); app.commandLine.appendSwitch("use-gl", "swiftshader"); ```
platform/linux,crash :boom:,bug :beetle:,34-x-y
low
Critical
2,802,083,635
angular
Zone.js crashes in MS Edge on iOS
### Which @angular/* package(s) are the source of the bug? zone.js ### Is this a regression? Yes ### Description Hi everyone, About week ago we migrated our project to ng19 and started receiving in Sentry new kind of errors related to `zone.js`. User agent is always iOS and Mobile Edge browser. Was not able to reproduce in Desktop Edge. I was able to reproduce this issue on my iPhone when installed Edge from AppStore. It looks like for some reasons zone.js can not patch `timers`, but was not able to debug deeper, because Edge does not support remote debug.. ### Please provide a link to a minimal reproduction of the bug _No response_ ### Please provide the exception or error you saw ```true undefined is not an object (evaluating 'handleOrId.refresh') polyfills-2SRK6US5.js in scheduleTask at line 1409:49 polyfills-2SRK6US5.js in scheduleTask at line 317:26 polyfills-2SRK6US5.js in scheduleTask at line 174:47 polyfills-2SRK6US5.js in ? at line 1440:52 main-TMGBBAUM.js in waitToScan at line 23197:19 main-TMGBBAUM.js in setup at line 23201:21 polyfills-2SRK6US5.js in run at line 97:41 main-TMGBBAUM.js in start at line 23209:22 main-TMGBBAUM.js in ? at line 23384:40 main-TMGBBAUM.js in onInvoke at line 7852:31 polyfills-2SRK6US5.js in run at line 97:41 polyfills-2SRK6US5.js in ? at line 2005:33 main-TMGBBAUM.js in onInvokeTask at line 7634:32 main-TMGBBAUM.js in onInvokeTask at line 7841:35 polyfills-2SRK6US5.js in runTask at line 135:47 polyfills-2SRK6US5.js in drainMicroTaskQueue at line 482:30 polyfills-2SRK6US5.js in invokeTask at line 401:30 polyfills-2SRK6US5.js in invokeTask at line 924:18 polyfills-2SRK6US5.js in globalCallback at line 945:31 ``` ### Please provide the environment you discovered this bug in (run `ng version`) ```true Angular CLI: 19.0.6 Node: 18.19.0 Package Manager: npm 10.9.2 OS: darwin arm64 Angular: 19.0.5 ... animations, common, compiler, compiler-cli, core, forms ... language-service, 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/cdk 19.0.4 @angular/cli 19.0.6 @schematics/angular 19.0.6 rxjs 7.8.1 typescript 5.6.3 zone.js 0.15.0 ``` ### Anything else? _No response_
needs reproduction,area: zones
low
Critical
2,802,085,802
ollama
CLI: Managing models like (Docker) containers via ID
Could we please have `ollama ps` `ollama stop <ID>` instead of `ollama stop this-is-a-llm-with-a-pretty-long-name:1337b_instruzioni_v3.33_q5_K_S` or at least tab autocompletion? Sorry in advance: Maybe this is already a duplicate (did look for it!), as it is not really a highly inventive idea.
feature request
low
Minor
2,802,106,126
go
x/mobile: flag -androidapi is being ignored
I'm implementing a simple project in Golang which compiles, but when i try to install the .apk on the smartphone simulator in android studio it return this error: ` Error code: 'INSTALL_FAILED_DEPRECATED_SDK_VERSION', message='INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 24, but found 16' ` The command i'm using: `gomobile build -target android -androidapi 24 -o myapp.apk`
NeedsInvestigation,mobile,BugReport
low
Critical
2,802,124,866
flutter
Google Map polygons don't show stroke on iOS
### What package does this bug report belong to? google_maps_flutter ### What target platforms are you seeing this bug on? iOS ### Have you already upgraded your packages? Yes ### Dependency versions <details><summary>pubspec.lock</summary> ```lock # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: async: dependency: transitive description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: transitive description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" characters: dependency: transitive description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" clock: dependency: transitive description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: transitive description: name: collection sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted version: "1.19.0" csslib: dependency: transitive description: name: csslib sha256: "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e" url: "https://pub.dev" source: hosted version: "1.0.2" cupertino_icons: dependency: "direct main" description: name: cupertino_icons sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 url: "https://pub.dev" source: hosted version: "1.0.8" fake_async: dependency: transitive description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_lints: dependency: "direct dev" description: name: flutter_lints sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1" url: "https://pub.dev" source: hosted version: "5.0.0" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle sha256: "615a505aef59b151b46bbeef55b36ce2b6ed299d160c51d84281946f0aa0ce0e" url: "https://pub.dev" source: hosted version: "2.0.24" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" flutter_web_plugins: dependency: transitive description: flutter source: sdk version: "0.0.0" google_maps: dependency: transitive description: name: google_maps sha256: "4d6e199c561ca06792c964fa24b2bac7197bf4b401c2e1d23e345e5f9939f531" url: "https://pub.dev" source: hosted version: "8.1.1" google_maps_flutter: dependency: "direct main" description: name: google_maps_flutter sha256: "209856c8e5571626afba7182cf634b2910069dc567954e76ec3e3fb37f5e9db3" url: "https://pub.dev" source: hosted version: "2.10.0" google_maps_flutter_android: dependency: transitive description: name: google_maps_flutter_android sha256: "1b69fbb3ab76e7a7dfcf25e60f32f81ae5d9b88285343eecb5479116d54be869" url: "https://pub.dev" source: hosted version: "2.14.12" google_maps_flutter_ios: dependency: transitive description: name: google_maps_flutter_ios sha256: "6f798adb0aa1db5adf551f2e39e24bd06c8c0fbe4de912fb2d9b5b3f48147b02" url: "https://pub.dev" source: hosted version: "2.13.2" google_maps_flutter_platform_interface: dependency: transitive description: name: google_maps_flutter_platform_interface sha256: a951981c22d790848efb9f114f81794945bc5c06bc566238a419a92f110af6cb url: "https://pub.dev" source: hosted version: "2.9.5" google_maps_flutter_web: dependency: transitive description: name: google_maps_flutter_web sha256: ff39211bd25d7fad125d19f757eba85bd154460907cd4d135e07e3d0f98a4130 url: "https://pub.dev" source: hosted version: "0.5.10" html: dependency: transitive description: name: html sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec" url: "https://pub.dev" source: hosted version: "0.15.5" leak_tracker: dependency: transitive description: name: leak_tracker sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted version: "10.0.7" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted version: "3.0.8" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted version: "3.0.1" lints: dependency: transitive description: name: lints sha256: c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7 url: "https://pub.dev" source: hosted version: "5.1.1" matcher: dependency: transitive description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted version: "0.11.1" meta: dependency: transitive description: name: meta sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted version: "1.15.0" path: dependency: transitive description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted version: "2.1.8" sanitize_html: dependency: transitive description: name: sanitize_html sha256: "12669c4a913688a26555323fb9cec373d8f9fbe091f2d01c40c723b33caa8989" url: "https://pub.dev" source: hosted version: "2.1.0" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.0" source_span: dependency: transitive description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: transitive description: name: stack_trace sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted version: "1.12.0" stream_channel: dependency: transitive description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" stream_transform: dependency: transitive description: name: stream_transform sha256: ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871 url: "https://pub.dev" source: hosted version: "2.1.1" string_scanner: dependency: transitive description: name: string_scanner sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted version: "1.3.0" term_glyph: dependency: transitive description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: transitive description: name: test_api sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted version: "0.7.3" vector_math: dependency: transitive description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" vm_service: dependency: transitive description: name: vm_service sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted version: "14.3.0" web: dependency: transitive description: name: web sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb url: "https://pub.dev" source: hosted version: "1.1.0" sdks: dart: ">=3.6.0 <4.0.0" flutter: ">=3.24.0" ``` </details> ### Steps to reproduce 1. Run the attached sample on iOS ### Expected results The polygon shows a stroke. Here's what it looks like on Android: ![Image](https://github.com/user-attachments/assets/d86504c8-aca5-4ae1-a979-985cfc14c53b) ### Actual results The polygon has no stroke: ![Image](https://github.com/user-attachments/assets/18d636da-1672-4195-aaba-d1c45ab1e190) ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; class PolygonsSample extends StatelessWidget { const PolygonsSample({super.key}); @override Widget build(BuildContext context) { return GoogleMap( initialCameraPosition: CameraPosition(target: LatLng(25, -72)), polygons: { Polygon( polygonId: PolygonId('bermuda'), points: [ LatLng(25.28, -80.33), LatLng(32.29, -64.79), LatLng(18.51, -65.36), LatLng(25.28, -80.33), // Same as first point to close polygon. ], strokeColor: Colors.red, strokeWidth: 10, fillColor: Colors.yellow, ), }, ); } } ``` </details> ### Screenshots or Videos <details open> <summary>Screenshots / Video demonstration</summary> See above. </details> ### Logs <details open><summary>Logs</summary> ```console Launching lib/main.dart on iPhone 15 Pro Max in debug mode... Running pod install... Running Xcode build... Xcode build done. 49.0s Debug service listening on ws://127.0.0.1:62829/5JQQAME6fwo=/ws Syncing files to device iPhone 15 Pro Max... ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.2, on macOS 14.7 23H124 darwin-arm64, locale en-US) • Flutter version 3.27.2 on channel stable at /Users/filiph/fvm/versions/stable • Upstream repository https://github.com/flutter/flutter.git • Framework revision 68415ad1d9 (8 days ago), 2025-01-13 10:22:03 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/filiph/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.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) • 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 21.0.3+-79915917-b509.11) [✓] IntelliJ IDEA Ultimate Edition (version 2024.3.1.1) • IntelliJ at /Users/filiph/Applications/IntelliJ IDEA Ultimate.app • Flutter plugin version 83.0.4 • Dart plugin version 243.23177 [✓] VS Code (version 1.92.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.84.0 [✓] Connected device (5 available) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator) • iPhone 15 Pro Max (mobile) • C5B165A3-9EAA-499F-888E-94DE14BDD75A • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.7 23H124 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.7 23H124 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.266 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
platform-ios,p: maps,package,has reproducible steps,P2,team-ios,triaged-ios,found in release: 3.27,found in release: 3.28
low
Critical
2,802,151,812
go
x/tools/gopls: gopls api json should preserve deprecated configuration
### gopls version N/A ### go env ```shell N/A ``` ### What did you do? N/A ### What did you see happen? As of now, gopls apijson only contains fields that is effective, or currently being deprecated. The state of being deprecated usually means, the field exist in the struct, the field is still being acknowledged and interpreted by the gopls but probably will be removed in the up coming release. ### What did you expect to see? gopls apijson output should preserve fields that is already deprecated. ### Editor and settings ### Logs Context: vscode-go is reading the gopls apijson to create the package.json. This package.json will be read by vscode. ``` package.json name: ui.noSemanticTokenString markdownDescription: ... deprecationMessage: ... ``` If a field is being deprecated, the package.json will a `deprecationMessage` field providing instructions for users to migrate their configs. VSCode will highlight to user this field is deprecated and user can hover over to check the deprecation message. This is great. <img width="530" alt="Image" src="https://github.com/user-attachments/assets/f656d8ed-a7aa-4593-822b-f3372420dd20" /> Once a field is fully deprecated, usually, the field is just removed, it will be deleted from api json output and deleted from package.json as well. Because its missing from package.json, vscode does not understand this field, there is no hover over information and no deprecation highlight <img width="289" alt="Image" src="https://github.com/user-attachments/assets/bc76f4c0-c380-4070-87c4-7c7032b1059e" /> @findleyr @adonovan
gopls,Tools,ToolProposal
low
Minor
2,802,163,927
go
x/tools/gopls: panic in aeshashbody on behalf of mapaccess2_faststr: string memory corrupted
``` #!stacks "sigpanic" && "aeshashbody" && "mapaccess2_faststr" && "gopls" ``` Issue created by [stacks](https://pkg.go.dev/golang.org/x/tools/gopls/internal/telemetry/cmd/stacks). The source line `aeshashbody:+233` is nominally 1468, but AESENC is infallible. Assuming there's an off-by-one error in computing the relative lines for assembly functions, it could conceivably be the following load instruction, which would mean that a Go string points to data that runs off the end of a memory mapping. I have no idea what is going on. @prattmic [Update: a bad string was passed to a map. Perhaps produced by a data race?] ``` asm_amd64.s:1462 0x47a76c 660f38dcc9 AESENC X1, X1 asm_amd64.s:1463 0x47a771 660f38dcd2 AESENC X2, X2 asm_amd64.s:1464 0x47a776 660f38dcdb AESENC X3, X3 asm_amd64.s:1465 0x47a77b 660f38dce4 AESENC X4, X4 asm_amd64.s:1466 0x47a780 660f38dced AESENC X5, X5 asm_amd64.s:1467 0x47a785 660f38dcf6 AESENC X6, X6 asm_amd64.s:1468 0x47a78a 660f38dcff AESENC X7, X7 asm_amd64.s:1471 0x47a78f f3440f6f440880 MOVDQU -0x80(AX)(CX*1), X8 asm_amd64.s:1472 0x47a796 f3440f6f4c0890 MOVDQU -0x70(AX)(CX*1), X9 asm_amd64.s:1473 0x47a79d f3440f6f5408a0 MOVDQU -0x60(AX)(CX*1), X10 asm_amd64.s:1474 0x47a7a4 f3440f6f5c08b0 MOVDQU -0x50(AX)(CX*1), X11 asm_amd64.s:1475 0x47a7ab f3440f6f6408c0 MOVDQU -0x40(AX)(CX*1), X12 asm_amd64.s:1476 0x47a7b2 f3440f6f6c08d0 MOVDQU -0x30(AX)(CX*1), X13 asm_amd64.s:1477 0x47a7b9 f3440f6f7408e0 MOVDQU -0x20(AX)(CX*1), X14 asm_amd64.s:1478 0x47a7c0 f3440f6f7c08f0 MOVDQU -0x10(AX)(CX*1), X15 ``` This stack `8jk_dA` was [reported by telemetry](https://storage.googleapis.com/prod-telemetry-merged/2025-01-20.json): - `crash/crash` - [`runtime.throw:+9`](https://cs.opensource.google/go/go/+/go1.23.4:src/runtime/panic.go;l=1067) - [`runtime.sigpanic:+33`](https://cs.opensource.google/go/go/+/go1.23.4:src/runtime/signal_unix.go;l=931) - `.aeshashbody:+233` - [`runtime.mapaccess2_faststr:+67`](https://cs.opensource.google/go/go/+/go1.23.4:src/runtime/map_faststr.go;l=184) - [`golang.org/x/tools/internal/gcimporter.(*iimporter).doDecl:+14`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:internal/gcimporter/iimport.go;l=428) - [`golang.org/x/tools/internal/gcimporter.iimportCommon:+179`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:internal/gcimporter/iimport.go;l=335) - [`golang.org/x/tools/internal/gcimporter.IImportShallow:+3`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:internal/gcimporter/iexport.go;l=305) - [`golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).importPackage:+63`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:gopls/internal/cache/check.go;l=532) - [`golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getImportPackage.func1:+23`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:gopls/internal/cache/check.go;l=336) - `golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32` - [`golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getImportPackage:+1`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:gopls/internal/cache/check.go;l=313) - [`golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).importPackage.func1:+26`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:gopls/internal/cache/check.go;l=502) - [`golang.org/x/tools/internal/gcimporter.iimportCommon:+124`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:internal/gcimporter/iimport.go;l=280) - [`golang.org/x/tools/internal/gcimporter.IImportShallow:+3`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:internal/gcimporter/iexport.go;l=305) - [`golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).importPackage:+63`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:gopls/internal/cache/check.go;l=532) - [`golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getImportPackage.func1:+23`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.1:gopls/internal/cache/check.go;l=336) ``` golang.org/x/tools/[email protected] go1.23.4 linux/amd64 vscode (1) ```
NeedsInvestigation,gopls,Tools,gopls/telemetry-wins,BugReport
low
Critical
2,802,168,515
deno
Improve startup performance of `deno` command after `npm install -g deno`
npm adds about ~200ms to running `deno`. We could improve the performance by pointing to the binary directly instead of going through a JS file.
perf
low
Major
2,802,183,636
storybook
[Bug]: Vue3 sourcecode does not reflect given template
### Describe the bug When editing stories, sometimes you need to create your own `template` from the setup function, to inject big content into slots (which contain subcomponents). It was working for me with the `v8.2.9`, but after the migration (currently `8.5.0`) nothing is working as expected. The only code output I have is the name of the component, its args if given, and that's it. To be honest I'm quite surprised, because there is no specific configuration/context to reproduce it. It's directly reproducible from a fresh project. Is there anything new since the 8.4.0 ? Do we have to use only args with named slots into it to render our slots and have the right code snippet ? It doesn't work anyway when tryin to render other Vue components into it, from a basic string. Thanks ! ### Reproduction link None ### Reproduction steps 1. Create a new storybook project, from scratch in an empty directory: `npx [email protected]` 2. Select `@storybook/vue3-vite` from the prompt 3. Run the storybook locally 4. Edit the Button example component (`src/stories/Button.vue`) generated by default, and add a default slot 5. Change the story of the Button component, to use the setup system like following : ``` export const Primary: Story = { render: (args: any) => ({ components: { Button }, setup() { return { args }; }, template: 'Test', }), args: { primary: true, label: 'Button', }, }; ``` The code snippet should render "Test" only, but it does not. I only have ``` <template> <Button :primary="false" /> </template> ``` ![Image](https://github.com/user-attachments/assets/0d0a7322-2ed2-481a-920e-136c0cfe3885) ### System ```bash Storybook Environment Info: Binaries: Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm pnpm: 8.7.5 - ~/.nvm/versions/node/v18.17.1/bin/pnpm <----- active Browsers: Chrome: 131.0.6778.204 npmPackages: @storybook/addon-essentials: 8.5.0 => 8.5.0 @storybook/addon-interactions: 8.5.0 => 8.5.0 @storybook/addon-onboarding: 8.5.0 => 8.5.0 @storybook/blocks: 8.5.0 => 8.5.0 @storybook/test: 8.5.0 => 8.5.0 @storybook/vue3: 8.5.0 => 8.5.0 @storybook/vue3-vite: 8.5.0 => 8.5.0 storybook: 8.5.0 => 8.5.0 ``` ### Additional context _No response_
bug,block: source,vue3
low
Critical
2,802,192,218
flutter
Google Maps cloud-based styling (map ID) not applied on the web
### What package does this bug report belong to? google_maps_flutter ### What target platforms are you seeing this bug on? Web ### Have you already upgraded your packages? Yes ### Dependency versions <details><summary>pubspec.lock</summary> ```lock # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: async: dependency: transitive description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: transitive description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" characters: dependency: transitive description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" clock: dependency: transitive description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: transitive description: name: collection sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted version: "1.19.0" csslib: dependency: transitive description: name: csslib sha256: "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e" url: "https://pub.dev" source: hosted version: "1.0.2" cupertino_icons: dependency: "direct main" description: name: cupertino_icons sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 url: "https://pub.dev" source: hosted version: "1.0.8" fake_async: dependency: transitive description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_lints: dependency: "direct dev" description: name: flutter_lints sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1" url: "https://pub.dev" source: hosted version: "5.0.0" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle sha256: "615a505aef59b151b46bbeef55b36ce2b6ed299d160c51d84281946f0aa0ce0e" url: "https://pub.dev" source: hosted version: "2.0.24" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" flutter_web_plugins: dependency: transitive description: flutter source: sdk version: "0.0.0" google_maps: dependency: transitive description: name: google_maps sha256: "4d6e199c561ca06792c964fa24b2bac7197bf4b401c2e1d23e345e5f9939f531" url: "https://pub.dev" source: hosted version: "8.1.1" google_maps_flutter: dependency: "direct main" description: name: google_maps_flutter sha256: "209856c8e5571626afba7182cf634b2910069dc567954e76ec3e3fb37f5e9db3" url: "https://pub.dev" source: hosted version: "2.10.0" google_maps_flutter_android: dependency: transitive description: name: google_maps_flutter_android sha256: "1b69fbb3ab76e7a7dfcf25e60f32f81ae5d9b88285343eecb5479116d54be869" url: "https://pub.dev" source: hosted version: "2.14.12" google_maps_flutter_ios: dependency: transitive description: name: google_maps_flutter_ios sha256: "6f798adb0aa1db5adf551f2e39e24bd06c8c0fbe4de912fb2d9b5b3f48147b02" url: "https://pub.dev" source: hosted version: "2.13.2" google_maps_flutter_platform_interface: dependency: transitive description: name: google_maps_flutter_platform_interface sha256: a951981c22d790848efb9f114f81794945bc5c06bc566238a419a92f110af6cb url: "https://pub.dev" source: hosted version: "2.9.5" google_maps_flutter_web: dependency: transitive description: name: google_maps_flutter_web sha256: ff39211bd25d7fad125d19f757eba85bd154460907cd4d135e07e3d0f98a4130 url: "https://pub.dev" source: hosted version: "0.5.10" html: dependency: transitive description: name: html sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec" url: "https://pub.dev" source: hosted version: "0.15.5" leak_tracker: dependency: transitive description: name: leak_tracker sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted version: "10.0.7" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted version: "3.0.8" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted version: "3.0.1" lints: dependency: transitive description: name: lints sha256: c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7 url: "https://pub.dev" source: hosted version: "5.1.1" matcher: dependency: transitive description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted version: "0.11.1" meta: dependency: transitive description: name: meta sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted version: "1.15.0" path: dependency: transitive description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted version: "2.1.8" sanitize_html: dependency: transitive description: name: sanitize_html sha256: "12669c4a913688a26555323fb9cec373d8f9fbe091f2d01c40c723b33caa8989" url: "https://pub.dev" source: hosted version: "2.1.0" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.0" source_span: dependency: transitive description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: transitive description: name: stack_trace sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted version: "1.12.0" stream_channel: dependency: transitive description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" stream_transform: dependency: transitive description: name: stream_transform sha256: ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871 url: "https://pub.dev" source: hosted version: "2.1.1" string_scanner: dependency: transitive description: name: string_scanner sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted version: "1.3.0" term_glyph: dependency: transitive description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: transitive description: name: test_api sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted version: "0.7.3" vector_math: dependency: transitive description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" vm_service: dependency: transitive description: name: vm_service sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted version: "14.3.0" web: dependency: transitive description: name: web sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb url: "https://pub.dev" source: hosted version: "1.1.0" sdks: dart: ">=3.6.0 <4.0.0" flutter: ">=3.24.0" ``` </details> ### Steps to reproduce 1. Run the attached code on the web (you might need to create your own cloud-based map style first, and replace the map ID). ### Expected results Map ID style is applied. Here's Android and iOS (not the white text): ![Image](https://github.com/user-attachments/assets/dc2a122a-6a71-4bc6-8996-3c4b71c0bbb2) ### Actual results Map style is not applied. ![Image](https://github.com/user-attachments/assets/c9d1ec70-7ad5-4912-8563-d857cc54e0a6) ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; class MapIdSample extends StatelessWidget { const MapIdSample({super.key}); @override Widget build(BuildContext context) { return GoogleMap( initialCameraPosition: CameraPosition(target: LatLng(0, 0)), // Generate your own map ID at https://goo.gle/get-map-id. cloudMapId: '78434bee6dc2e9b1', ); } } ``` </details> ### Screenshots or Videos <details open> <summary>Screenshots / Video demonstration</summary> See above. </details> ### Logs <details open><summary>Logs</summary> ```console Launching lib/main.dart on Chrome in debug mode... Waiting for connection from debug service on Chrome... This app is linked to the debug service: ws://127.0.0.1:50702/sfYLCdepnCg=/ws Debug service listening on ws://127.0.0.1:50702/sfYLCdepnCg=/ws Debug service listening on ws://127.0.0.1:50702/sfYLCdepnCg=/ws Google Maps JavaScript API: A Map's styles property cannot be set when a mapId is present. When a mapId is present, map styles are controlled via the cloud console. Please see documentation at https://developers.google.com/maps/documentation/javascript/styling#cloud_tooling ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.2, on macOS 14.7 23H124 darwin-arm64, locale en-US) • Flutter version 3.27.2 on channel stable at /Users/filiph/fvm/versions/stable • Upstream repository https://github.com/flutter/flutter.git • Framework revision 68415ad1d9 (8 days ago), 2025-01-13 10:22:03 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/filiph/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.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) • 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 21.0.3+-79915917-b509.11) [✓] IntelliJ IDEA Ultimate Edition (version 2024.3.1.1) • IntelliJ at /Users/filiph/Applications/IntelliJ IDEA Ultimate.app • Flutter plugin version 83.0.4 • Dart plugin version 243.23177 [✓] VS Code (version 1.92.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.84.0 [✓] Connected device (5 available) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator) • iPhone 15 Pro Max (mobile) • C5B165A3-9EAA-499F-888E-94DE14BDD75A • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.7 23H124 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.7 23H124 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.266 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
p: maps,package,has reproducible steps,team-web,found in release: 3.27,found in release: 3.28
low
Critical
2,802,196,474
vscode
color the outline header
<!-- ⚠️⚠️ 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. --> using Jupiter notes for studying and documenting , it would be helpful if there is an ability to color the markdown headers in the outline to highlight important sections .
feature-request,notebook-toc-outline
low
Minor
2,802,201,747
flutter
Trying to Run app in debug mode android Flutter 3.27
### Steps to reproduce 1. flutter run ### Expected results The app should run in debug mode ### Actual results The app should run in debug mode It happened after i upgraded to flutter 3.27 The crazy part is that ```flutter build apk --release``` works fine however running the app leads to this issue ### 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] </details> ### Logs <details open><summary>Logs</summary> ```console Launching lib\main.dart on 2201116PI in debug mode... You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply ERROR:D8: com.android.tools.r8.kotlin.H ERROR:D8: com.android.tools.r8.kotlin.H ERROR:D8: com.android.tools.r8.kotlin.H ERROR:D8: com.android.tools.r8.kotlin.H ERROR:D8: com.android.tools.r8.kotlin.H ERROR:D8: com.android.tools.r8.kotlin.H ERROR:D8: com.android.tools.r8.kotlin.H ERROR:D8: com.android.tools.r8.kotlin.H ERROR:D8: com.android.tools.r8.kotlin.H FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:mergeExtDexDebug'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Failed to transform firebase-analytics-ktx-21.6.1.aar (com.google.firebase:firebase-analytics-ktx:21.6.1) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: C:\Users\athar\.gradle\caches\transforms-3\ae30f2663a0776b56fcffe58eea09358\transformed\jetified-firebase-analytics-ktx-21.6.1-runtime.jar. > Error while dexing. > Failed to transform firebase-auth-22.3.1.aar (com.google.firebase:firebase-auth:22.3.1) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: C:\Users\athar\.gradle\caches\transforms-3\3a28dfb1af99d11dfee0742b69a30005\transformed\jetified-firebase-auth-22.3.1-runtime.jar. > Error while dexing. > Failed to transform play-services-measurement-api-21.6.1.aar (com.google.android.gms:play-services-measurement-api:21.6.1) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: C:\Users\athar\.gradle\caches\transforms-3\d931697d0b0fe7fdabc67a3ce6a0f11d\transformed\jetified-play-services-measurement-api-21.6.1-runtime.jar. > Error while dexing. > Failed to transform play-services-location-21.2.0.aar (com.google.android.gms:play-services-location:21.2.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: C:\Users\athar\.gradle\caches\transforms-3\0614e01eb61f772e3abf15e2d87880bc\transformed\jetified-play-services-location-21.2.0-runtime.jar. > Error while dexing. > Failed to transform recaptcha-18.4.0.aar (com.google.android.recaptcha:recaptcha:18.4.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: C:\Users\athar\.gradle\caches\transforms-3\89f7910b93eaf6827ec95b2bb0cd626c\transformed\jetified-recaptcha-18.4.0-runtime.jar. > Error while dexing. > Failed to transform annotation-jvm-1.9.1.jar (androidx.annotation:annotation-jvm:1.9.1) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.jvm.environment=standard-jvm, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}. > Execution failed for DexingWithClasspathTransform: C:\Users\athar\.gradle\caches\transforms-3\1dada7ab9dc9e49877c9215da57b4d41\transformed\jetified-annotation-jvm-1.9.1.jar. > Error while dexing. > Failed to transform kotlin-parcelize-runtime-1.9.22.jar (org.jetbrains.kotlin:kotlin-parcelize-runtime:1.9.22) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: C:\Users\athar\.gradle\caches\transforms-3\f3d8c5151db12e46f202e51401b95293\transformed\jetified-kotlin-parcelize-runtime-1.9.22.jar. > Error while dexing. > Failed to transform kotlin-android-extensions-runtime-1.9.22.jar (org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.9.22) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: C:\Users\athar\.gradle\caches\transforms-3\8c2e44d39ed307b8fdf52234eed0fea2\transformed\jetified-kotlin-android-extensions-runtime-1.9.22.jar. > Error while dexing. > Failed to transform kotlin-stdlib-1.9.24.jar (org.jetbrains.kotlin:kotlin-stdlib:1.9.24) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.jvm.environment=standard-jvm, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}. > Execution failed for DexingWithClasspathTransform: C:\Users\athar\.gradle\caches\transforms-3\8204a53ad8463922a7ab0a9f3384cf65\transformed\jetified-kotlin-stdlib-1.9.24.jar. > Error while dexing. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 1m 10s Running Gradle task 'assembleDebug'... 72.1s Error: Gradle task assembleDebug failed with exit code 1 ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console flutter doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.27.2, on Microsoft Windows [Version 10.0.26100.2894], locale en-US) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.3) [!] Android Studio (not installed) [√] VS Code (version 1.96.4) [√] Connected device (4 available) [√] Network resources ! Doctor found issues in 1 category. ``` </details>
waiting for customer response,in triage
low
Critical
2,802,206,602
pytorch
Torch Compile edge case with != versus is not
### 🐛 Describe the bug Here's some reproduction code on latest torch. There's a failure to compile when there's a `!= None` but it's fine with `is not None` given the exact torch compile settings I've shown in particular. It's a strange edge case and only happens on some compile settings. Thanks for your time. Here's repro code: ```python import torch from torch import nn class LightningAttention(nn.Module): def forward(self, query, key=None, value=None, mask=None): batch_size, seq_len, dim = query.shape scores = torch.matmul(query, key.transpose(-2, -1)) / (dim ** 0.5) if mask != None: # switch to is not and suddenly it works fine scores = scores + mask attn = torch.softmax(scores, dim=-1) return torch.matmul(attn, value) batch_size, seq_len, dim = 2, 4, 8 x = torch.randn(batch_size, seq_len, dim) model = LightningAttention() try: model = torch.compile( model, backend='inductor', dynamic=False, fullgraph=True, options={ "epilogue_fusion": True, "max_autotune": True, } ) mask = torch.zeros(batch_size, seq_len, seq_len) output = model(x, x, x, mask) except Exception as e: print(f"Error: {e}") ``` ### Versions ``` ➜ minimodels python collect_env.py Collecting environment information... PyTorch version: 2.5.1+cu124 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: EndeavourOS Linux (x86_64) GCC version: (GCC) 14.2.1 20240910 Clang version: 19.1.6 CMake version: version 3.31.4 Libc version: glibc-2.40 Python version: 3.12.7 (main, Jan 21 2025, 05:01:27) [GCC 14.2.1 20240910] (64-bit runtime) Python platform: Linux-6.12.9-arch1-1-x86_64-with-glibc2.40 Is CUDA available: True CUDA runtime version: 12.6.85 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3090 Ti GPU 1: NVIDIA RTX A4000 Nvidia driver version: 565.77 cuDNN version: Probably one of the following: /usr/lib/libcudnn.so.9.5.1 /usr/lib/libcudnn_adv.so.9.5.1 /usr/lib/libcudnn_cnn.so.9.5.1 /usr/lib/libcudnn_engines_precompiled.so.9.5.1 /usr/lib/libcudnn_engines_runtime_compiled.so.9.5.1 /usr/lib/libcudnn_graph.so.9.5.1 /usr/lib/libcudnn_heuristic.so.9.5.1 /usr/lib/libcudnn_ops.so.9.5.1 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: 39 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 20 On-line CPU(s) list: 0-19 Vendor ID: GenuineIntel Model name: 12th Gen Intel(R) Core(TM) i7-12700KF CPU family: 6 Model: 151 Thread(s) per core: 2 Core(s) per socket: 12 Socket(s): 1 Stepping: 2 CPU(s) scaling MHz: 39% CPU max MHz: 5000.0000 CPU min MHz: 800.0000 BogoMIPS: 7222.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 cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities Virtualization: VT-x L1d cache: 512 KiB (12 instances) L1i cache: 512 KiB (12 instances) L2 cache: 12 MiB (9 instances) L3 cache: 25 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-19 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Reg file data sampling: Mitigation; Clear Register File Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] lovely-numpy==0.2.13 [pip3] numpy==2.2.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] torch==2.5.1 [pip3] torch-shampoo==1.0.0 [pip3] triton==3.1.0 [conda] Could not collect ``` cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @amjames
high priority,triaged,bug,oncall: pt2,module: dynamo
low
Critical
2,802,213,468
flutter
Google Maps throws when using map marker clustering on the web
### What package does this bug report belong to? google_maps_flutter ### What target platforms are you seeing this bug on? Web ### Have you already upgraded your packages? Yes ### Dependency versions <details><summary>pubspec.lock</summary> ```lock # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: async: dependency: transitive description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: transitive description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" characters: dependency: transitive description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" clock: dependency: transitive description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: transitive description: name: collection sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted version: "1.19.0" csslib: dependency: transitive description: name: csslib sha256: "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e" url: "https://pub.dev" source: hosted version: "1.0.2" cupertino_icons: dependency: "direct main" description: name: cupertino_icons sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 url: "https://pub.dev" source: hosted version: "1.0.8" fake_async: dependency: transitive description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_lints: dependency: "direct dev" description: name: flutter_lints sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1" url: "https://pub.dev" source: hosted version: "5.0.0" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle sha256: "615a505aef59b151b46bbeef55b36ce2b6ed299d160c51d84281946f0aa0ce0e" url: "https://pub.dev" source: hosted version: "2.0.24" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" flutter_web_plugins: dependency: transitive description: flutter source: sdk version: "0.0.0" google_maps: dependency: transitive description: name: google_maps sha256: "4d6e199c561ca06792c964fa24b2bac7197bf4b401c2e1d23e345e5f9939f531" url: "https://pub.dev" source: hosted version: "8.1.1" google_maps_flutter: dependency: "direct main" description: name: google_maps_flutter sha256: "209856c8e5571626afba7182cf634b2910069dc567954e76ec3e3fb37f5e9db3" url: "https://pub.dev" source: hosted version: "2.10.0" google_maps_flutter_android: dependency: transitive description: name: google_maps_flutter_android sha256: "1b69fbb3ab76e7a7dfcf25e60f32f81ae5d9b88285343eecb5479116d54be869" url: "https://pub.dev" source: hosted version: "2.14.12" google_maps_flutter_ios: dependency: transitive description: name: google_maps_flutter_ios sha256: "6f798adb0aa1db5adf551f2e39e24bd06c8c0fbe4de912fb2d9b5b3f48147b02" url: "https://pub.dev" source: hosted version: "2.13.2" google_maps_flutter_platform_interface: dependency: transitive description: name: google_maps_flutter_platform_interface sha256: a951981c22d790848efb9f114f81794945bc5c06bc566238a419a92f110af6cb url: "https://pub.dev" source: hosted version: "2.9.5" google_maps_flutter_web: dependency: transitive description: name: google_maps_flutter_web sha256: ff39211bd25d7fad125d19f757eba85bd154460907cd4d135e07e3d0f98a4130 url: "https://pub.dev" source: hosted version: "0.5.10" html: dependency: transitive description: name: html sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec" url: "https://pub.dev" source: hosted version: "0.15.5" leak_tracker: dependency: transitive description: name: leak_tracker sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted version: "10.0.7" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted version: "3.0.8" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted version: "3.0.1" lints: dependency: transitive description: name: lints sha256: c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7 url: "https://pub.dev" source: hosted version: "5.1.1" matcher: dependency: transitive description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted version: "0.11.1" meta: dependency: transitive description: name: meta sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted version: "1.15.0" path: dependency: transitive description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted version: "2.1.8" sanitize_html: dependency: transitive description: name: sanitize_html sha256: "12669c4a913688a26555323fb9cec373d8f9fbe091f2d01c40c723b33caa8989" url: "https://pub.dev" source: hosted version: "2.1.0" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.0" source_span: dependency: transitive description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: transitive description: name: stack_trace sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted version: "1.12.0" stream_channel: dependency: transitive description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" stream_transform: dependency: transitive description: name: stream_transform sha256: ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871 url: "https://pub.dev" source: hosted version: "2.1.1" string_scanner: dependency: transitive description: name: string_scanner sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted version: "1.3.0" term_glyph: dependency: transitive description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: transitive description: name: test_api sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted version: "0.7.3" vector_math: dependency: transitive description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" vm_service: dependency: transitive description: name: vm_service sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted version: "14.3.0" web: dependency: transitive description: name: web sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb url: "https://pub.dev" source: hosted version: "1.1.0" sdks: dart: ">=3.6.0 <4.0.0" flutter: ">=3.24.0" ``` </details> ### Steps to reproduce 1. Run the attached code on the web ### Expected results Map is shown with a some of the markers clustered. Here's what it looks like on Android and iOS: ![Image](https://github.com/user-attachments/assets/58a7ace9-cd44-44fe-8b45-0c9c76d2018b) ### Actual results App throws: ```console The following JSNoSuchMethodError was thrown building GoogleMap(dirty, dependencies: [Directionality], state: _GoogleMapState#eb97b): TypeError: Cannot read properties of undefined (reading 'MarkerClusterer') The relevant error-causing widget was: GoogleMap GoogleMap:file:///Users/filiph/dev/flutter-maps-samples/lib/pages/marker_clustering.dart:13:12 When the exception was thrown, this was the stack: packages/google_maps_flutter_web/src/marker_clustering_js_interop.dart 163:10 createMarkerClusterer packages/google_maps_flutter_web/src/marker_clustering.dart 44:45 [_addClusterManager] ... (see whole log below) ``` Screenshot: ![Image](https://github.com/user-attachments/assets/8478fc3a-f5ea-420b-9514-8931bc48ae5d) ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; class MarkerClusteringSample extends StatelessWidget { MarkerClusteringSample({super.key}); final ClusterManager _myCluster = ClusterManager(clusterManagerId: ClusterManagerId('my cluster')); @override Widget build(BuildContext context) { return GoogleMap( initialCameraPosition: CameraPosition(target: LatLng(0, 0)), clusterManagers: {_myCluster}, markers: { Marker( markerId: MarkerId('in 1'), position: LatLng(6.51, 3.37), clusterManagerId: _myCluster.clusterManagerId, ), Marker( markerId: MarkerId('in 2'), position: LatLng(6.64, 3.52), clusterManagerId: _myCluster.clusterManagerId, ), Marker( markerId: MarkerId('in 3'), position: LatLng(6.46, 3.58), clusterManagerId: _myCluster.clusterManagerId, ), Marker( markerId: MarkerId('in 4'), position: LatLng(6.85, 3.63), clusterManagerId: _myCluster.clusterManagerId, ), Marker( markerId: MarkerId('out'), position: LatLng(5.31, -3.99), ), }, ); } } ``` </details> ### Screenshots or Videos <details open> <summary>Screenshots / Video demonstration</summary> See above. </details> ### Logs <details open><summary>Logs</summary> ```console Launching lib/main.dart on Chrome in debug mode... Waiting for connection from debug service on Chrome... This app is linked to the debug service: ws://127.0.0.1:52534/aula3W00hkQ=/ws Debug service listening on ws://127.0.0.1:52534/aula3W00hkQ=/ws Debug service listening on ws://127.0.0.1:52534/aula3W00hkQ=/ws ======== Exception caught by widgets library ======================================================= The following JSNoSuchMethodError was thrown building GoogleMap(dirty, dependencies: [Directionality], state: _GoogleMapState#eb97b): TypeError: Cannot read properties of undefined (reading 'MarkerClusterer') The relevant error-causing widget was: GoogleMap GoogleMap:file:///Users/filiph/dev/flutter-maps-samples/lib/pages/marker_clustering.dart:13:12 When the exception was thrown, this was the stack: packages/google_maps_flutter_web/src/marker_clustering_js_interop.dart 163:10 createMarkerClusterer packages/google_maps_flutter_web/src/marker_clustering.dart 44:45 [_addClusterManager] dart-sdk/lib/collection/set.dart 143:29 forEach packages/google_maps_flutter_web/src/marker_clustering.dart 40:25 addClusterManagers packages/google_maps_flutter_web/src/google_maps_controller.dart 297:5 [_initClustering] packages/google_maps_flutter_web/src/google_maps_controller.dart 222:5 init packages/google_maps_flutter_web/src/google_maps_flutter_web.dart 338:8 <fn> packages/google_maps_flutter_web/src/google_maps_flutter_web.dart 338:8 buildViewWithConfiguration packages/google_maps_flutter/src/google_map.dart 346:47 build packages/flutter/src/widgets/framework.dart 5743:27 build packages/flutter/src/widgets/framework.dart 5631:15 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 7049:36 inflateWidget packages/flutter/src/widgets/framework.dart 7061:32 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 7049:36 inflateWidget packages/flutter/src/widgets/framework.dart 7061:32 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 6914:14 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5613:5 [_firstBuild] packages/flutter/src/widgets/framework.dart 5785:11 [_firstBuild] packages/flutter/src/widgets/framework.dart 5607:5 mount packages/flutter/src/widgets/framework.dart 4480:15 inflateWidget packages/flutter/src/widgets/framework.dart 7049:36 inflateWidget packages/flutter/src/widgets/framework.dart 3963:18 updateChild packages/flutter/src/widgets/framework.dart 4150:32 updateChildren packages/flutter/src/widgets/framework.dart 7074:17 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5817:5 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5960:5 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5960:5 update packages/flutter/src/widgets/inherited_notifier.dart 112:11 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5817:5 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5960:5 update packages/flutter/src/widgets/inherited_notifier.dart 112:11 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5817:5 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5817:5 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 6921:14 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 6921:14 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5960:5 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 5960:5 update packages/flutter/src/widgets/framework.dart 3941:14 updateChild packages/flutter/src/widgets/framework.dart 5656:16 performRebuild packages/flutter/src/widgets/framework.dart 5794:11 performRebuild packages/flutter/src/widgets/framework.dart 5347:7 rebuild packages/flutter/src/widgets/framework.dart 2694:14 [_tryRebuild] packages/flutter/src/widgets/framework.dart 2753:11 [_flushDirtyElements] packages/flutter/src/widgets/framework.dart 3048:17 buildScope packages/flutter/src/widgets/binding.dart 1176:9 drawFrame packages/flutter/src/rendering/binding.dart 475: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 212:27 _callDartFunctionFast1 ==================================================================================================== ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.2, on macOS 14.7 23H124 darwin-arm64, locale en-US) • Flutter version 3.27.2 on channel stable at /Users/filiph/fvm/versions/stable • Upstream repository https://github.com/flutter/flutter.git • Framework revision 68415ad1d9 (8 days ago), 2025-01-13 10:22:03 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/filiph/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.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) • 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 21.0.3+-79915917-b509.11) [✓] IntelliJ IDEA Ultimate Edition (version 2024.3.1.1) • IntelliJ at /Users/filiph/Applications/IntelliJ IDEA Ultimate.app • Flutter plugin version 83.0.4 • Dart plugin version 243.23177 [✓] VS Code (version 1.92.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.84.0 [✓] Connected device (5 available) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator) • iPhone 15 Pro Max (mobile) • C5B165A3-9EAA-499F-888E-94DE14BDD75A • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.7 23H124 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.7 23H124 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.266 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
c: crash,p: maps,platform-web,package,has reproducible steps,P2,team-web,triaged-web,found in release: 3.27,found in release: 3.28
low
Critical
2,802,237,708
PowerToys
PowerToys Peek degraded performance on win11
### Microsoft PowerToys version 0.86.0 ### Installation method WinGet ### Running as admin No ### Area(s) with issue? Peek ### Steps to reproduce open a video with peek and switch between videos using the arrow keys ### ✔️ Expected Behavior Instant video playback ### ❌ Actual Behavior video hangs(frozen frame) for a biref moment before playback which wasn't the case before "upgrading" to windows 11 ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Major
2,802,238,749
node
[http]: Missing Content-Length Header when Responding to HEAD Requests
### Version v23.5.0 ### Platform ```text Darwin MacbookPro-2.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:39:07 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6000 arm64 arm Darwin ``` ### Subsystem http ### What steps will reproduce the bug? Just start the server and `curl` the results: ```js import { createServer } from 'node:http'; const hostname = '127.0.0.1'; const port = 3000; const server = createServer((req, res) => { res.statusCode = 200; res.setHeader('Content-Type', 'text/plain'); res.end('Hello World'); }); server.listen(port, hostname, () => { console.log(`Server running at http://${hostname}:${port}/`); }); ``` `curl -v http://127.0.0.1:3000/` to get the response header through `GET`; `curl -I http://127.0.0.1:3000/` to get the response header through `HEAD`. ### How often does it reproduce? Is there a required condition? Always. No required condition. ### What is the expected behavior? Why is that the expected behavior? According to [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/HEAD): > The HEAD HTTP method requests the metadata of a resource in the form of [headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers) that the server would have sent if the [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET) method was used instead. This method can be used in cases where a URL might produce a large download, for example, a HEAD request can read the [Content-Length](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length) header to check the file size before downloading the file with a GET. `HEAD` requests are a bit different than other request methods without body because it is essentially `GET`s with body removed. It should be allowed to return all the headers that a `GET` request returns. ### What do you see instead? However, in the current http library, *all* responses without body will not return the `Content-Length` header: https://github.com/nodejs/node/blob/7bc2946293757389468f1fa09714860f8e1147b7/lib/_http_outgoing.js#L550 Curl results: - `-I` (`HEAD` Requests) ``` ~> curl -I http://127.0.0.1:3000/ HTTP/1.1 200 OK Content-Type: text/plain Date: [redacted] ``` - `-v` (`GET` Requests) ``` ~> curl -v http://127.0.0.1:3000/ * Trying 127.0.0.1:3000... * Connected to 127.0.0.1 (127.0.0.1) port 3000 > GET / HTTP/1.1 > Host: 127.0.0.1:3000 > User-Agent: curl/8.7.1 > Accept: */* > * Request completely sent off < HTTP/1.1 200 OK < Content-Type: text/plain < Date: [redacted] < Content-Length: 11 < * Connection #0 to host 127.0.0.1 left intact Hello World ``` ### Additional information _No response_
http
low
Critical
2,802,261,415
angular
Re-land disabling component styles instead of removing them
### Which @angular/* package(s) are relevant/related to the feature request? platform-browser ### Description We were wondering if it was possible to re-land [this styles performance patch](https://github.com/angular/angular/commit/1640743b18e0b6a0e501855d5bc21414b2613319) in Angular to disable component styles, instead of removing them from the DOM when all component instances are destroyed From what we can tell, the referenced performance regression was due to an issue with Chrome that has since been fixed (https://issues.chromium.org/issues/40911913) If that isn't the case and some context can be provided as to why that perf fix was reverted, we would love to help to re-land it ### Proposed solution Get https://github.com/angular/angular/commit/1640743b18e0b6a0e501855d5bc21414b2613319 up to date and re-land it into Angular ### Alternatives considered We have currently been patching that fix into our own version of Angular as it made a significant impact on our performance metrics, but it's becoming a maintenance burden to keep it up to date when we upgrade between Angular versions
area: core,core: stylesheets
low
Major
2,802,276,831
next.js
Optimizing barrel file import from local workspace packages does not work with optimizePackageImports and turbopack
### Link to the code that reproduces this issue https://github.com/PMudra/reproduction-app-optimize-package-imports-npm-workspaces ### To Reproduce 1. Install packages in root of workspace: `npm install`. 2. Start the application: 1. `cd packages/frontend` 2. `npm run dev -- --turbopack` 3. Inspect the page using your browser dev tools. The "Sources" and "Coverage" tabs are helpful. ### Current vs. Expected behavior #### Example In my example project, I am using npm workspaces to organize a Next.js app with a library "my-lib". The folders are like this: ``` ├── packages │ ├── frontend │ │ ├── app │ │ │ ├── favicon.ico │ │ │ ├── layout.tsx │ │ │ └── page.tsx │ │ ├── next.config.ts │ │ ├── next-env.d.ts │ │ ├── package.json │ │ └── tsconfig.json │ └── my-lib │ ├── featureA.js │ ├── featureB.js │ ├── index.js │ └── package.json ├── package.json ├── package-lock.json └── README.md ``` The Next.js app `frontend` depends on `my-lib`. When running `npm install`, a symlink is created in `node_modules` folder by npm like so: `node_modules/my-lib -> ../packages/my-lib`. `my-lib` has 2 modules: `featureA` and `featureB`. The next.js app currently only uses `featureA` which is imported using the barrel file in `index.js`. `my-lib` looks like this: ```ts // featureA.js export function featureA() { console.log("featureA"); } ``` ```ts // featureB.js export function featureB() { console.log("featureA"); } ``` ```ts // index.js (barrel file) export * from "./featureA"; export * from "./featureB"; ``` `page.tsx` looks like this: ```ts "use client"; import { featureA } from "my-lib"; export default function Home() { featureA(); return null; } ``` ```ts // next.config.ts import type { NextConfig } from "next"; const nextConfig: NextConfig = { /* config options here */ reactStrictMode: true, experimental: { optimizePackageImports: ["my-lib"], } }; export default nextConfig; ``` #### Current behavior When inspecting which files are loaded, I can currently observe that `featureA` and `featureB` are being loaded: ![Image](https://github.com/user-attachments/assets/b35421b7-7338-4494-a2ab-4f29985655d5) #### Expected behavior I would expect that specifying `optimizePackageImports: ["my-lib"]` would prevent the `featureB` module to be loaded by the browser. The result should look like as if im importing from `import { featureA } from "my-lib/featureA";`: ![Image](https://github.com/user-attachments/assets/2561d110-a2a7-467a-87e5-1b888f44fe72) ### Provide environment information ```bash Operating System: Platform: linux Arch: x64 Version: #14-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov 30 23:51:51 UTC 2024 Available memory (MB): 63439 Available CPU cores: 16 Binaries: Node: 22.13.0 npm: 10.9.2 Yarn: N/A pnpm: 10.0.0 Relevant Packages: next: 15.2.0-canary.18 // Latest available version is detected (15.2.0-canary.18). eslint-config-next: N/A react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Developer Experience, Performance, Turbopack ### Which stage(s) are affected? (Select all that apply) next dev (local) ### Additional context - My example is a very minimal reproduction of the repository I am working on. We have multiple apps and multiple (generated) libraries and we want to make use of `optimizePackageImports` because performance in dev mode is starting to be a pain. - Everything seems to be working as expected when using webpack. - The deprecated option `modularizeImports` seems to be working, too. But setting that up in my real repo seems to be complicated. - I suspect symlinks to be the cause of the issue. When I manually copy `my-lib/` into `node_modules/my-lib`, the optimization seems to work fine. - I am having the same issue using pnpm which uses symlinks, too. I haven't tried yarn. There are some workarounds. All of them are not satisfying. Are there better ones? - Use webpack. - Don't import from barrel files. - Move away from the monorepo. - Use deprecated `modularizeImports`. Related issues: - https://github.com/vercel/next.js/issues/48748 - https://github.com/vercel/next.js/issues/54708 Thanks for looking into this and let me know if you need more information.
Performance,Turbopack,linear: turbopack
low
Major
2,802,277,400
PowerToys
Support for Vietnamese
### Description of the new feature / enhancement To support those who are not good at English or cannot really understand the features in Vietnam, Powertoys should add a new language, Vietnamese. ### Scenario when this would be used? For Vietnamese people who need to use Powertoys in their mother tongue (Vietnamese) ### Supporting information If accepted, I can be a Vietnamese translator.
Needs-Triage
low
Minor
2,802,279,712
yt-dlp
[Truth] Only returns first valid `media_attachment`
### 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 - [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 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 Europe ### Provide a description that is worded well enough to be understood The `truth.py` extractor currently blindly returns the first media_attchment in a post (see code: https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/extractor/truth.py#L58 ) This means a) if the first media_attachment is not a video (e.g. an image) then it gets returned b) if a post includes multiple media_attachments (videos), then only the first is returned and the rest are lost. Something like this should be done: ```python video_media = [] for media in status['media_attachments']: if media['type'] != 'video': continue # do stuff with the video media video_media.append(self.from_playlist(media)) if not len(video_media): self.raise_no_formats('No video could be found in this post', expected=True) ``` ### Provide verbose output that clearly demonstrates the problem - [x] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [x] 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', 'https://truthsocial.com/@trrth/posts/113861302149349135'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [dade5e35c] (pip) [debug] Python 3.11.10 (CPython x86_64 64bit) - macOS-12.7.6-x86_64-i386-64bit (OpenSSL 3.4.0 22 Oct 2024) [debug] exe versions: ffmpeg 7.0.2 (setts), ffprobe 7.0.2, rtmpdump 2.4 [debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.12.14, mutagen-1.47.0, requests-2.32.3, secretstorage-3.3.3, sqlite3-3.47.2, urllib3-2.3.0, websockets-14.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Loaded 1837 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest [debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/latest/download/_update_spec Current version: [email protected] from yt-dlp/yt-dlp Latest version: [email protected] from yt-dlp/yt-dlp ERROR: You installed yt-dlp with pip or using the wheel from PyPi; Use that to update [Truth] Extracting URL: https://truthsocial.com/@trrth/posts/113861302149349135 [Truth] 113861302149349135: Downloading JSON metadata [debug] Extractor gave empty title. Creating a generic title [debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id [debug] Default format spec: bestvideo*+bestaudio/best [info] 113861302149349135: Downloading 1 format(s): 0 [debug] Invoking http downloader on "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/media_attachments/files/113/861/298/021/400/485/original/56d7ac0eefd8b763.png" [download] Destination: Truth video #113861302149349135 [113861302149349135].png [download] 100% of 61.62KiB in 00:00:00 at 115.73KiB/s ```
site-bug,triage
low
Critical
2,802,299,637
TypeScript
Allow disable bad refactor suggestions
<!-- ⚠️⚠️ 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. --> IDK what this is called but the ellipsis that sometimes appear below starts of words: ![Image](https://github.com/user-attachments/assets/101223e8-6ac2-4b09-b06d-9ea17951e42d) After much research I could find no way to disable it per line, useful for cases like this where it's not even a constructor function
Suggestion,Awaiting More Feedback
low
Minor
2,802,313,033
langchain
TracedAsyncStream.__getattr__' was never awaited
### 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 venv/lib/python3.11/site-packages/langchain_openai/chat_models/base.py:917 ### Error Message and Stack Trace (if applicable) venv/lib/python3.11/site-packages/langchain_openai/chat_models/base.py:917: RuntimeWarning: coroutine 'async_chat_completions.<locals>.TracedAsyncStream.__getattr__' was never awaited if hasattr(response, "get_final_completion") and "response_format" in payload: RuntimeWarning: Enable tracemalloc to get the object allocation traceback ### Description Gemini is working without this warning. langchain_openai/chat_models/base.py:917: RuntimeWarning: coroutine 'async_chat_completions.<locals>.TracedAsyncStream.__getattr__' was never awaited ### System Info System Information ------------------ > OS: Linux > OS Version: #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 > Python Version: 3.11.0rc1 (main, Aug 12 2022, 10:02:14) [GCC 11.2.0] Package Information ------------------- > langchain_core: 0.3.31 > langchain: 0.3.15 > langchain_community: 0.3.14 > langsmith: 0.1.125 > langchain_anthropic: 0.3.1 > langchain_google_genai: 2.0.8 > langchain_google_vertexai: 2.0.8 > langchain_openai: 0.3.1 > langchain_qdrant: 0.2.0 > langchain_text_splitters: 0.3.5 > langserve: 0.3.1 Other Dependencies ------------------ > aiohttp: 3.9.1 > anthropic: 0.42.0 > anthropic[vertexai]: Installed. No version info available. > async-timeout: 4.0.3 > dataclasses-json: 0.6.3 > defusedxml: 0.7.1 > fastapi: 0.104.1 > fastembed: Installed. No version info available. > filetype: 1.2.0 > google-cloud-aiplatform: 1.73.0 > google-cloud-storage: 2.18.2 > google-generativeai: 0.8.3 > httpx: 0.27.2 > httpx-sse: 0.4.0 > jsonpatch: 1.33 > langchain-mistralai: Installed. No version info available. > numpy: 1.26.2 > openai: 1.59.9 > orjson: 3.9.15 > packaging: 24.2 > pydantic: 2.9.2 > pydantic-settings: 2.5.2 > PyYAML: 6.0.1 > qdrant-client: 1.12.2 > requests: 2.32.3 > SQLAlchemy: 2.0.23 > sse-starlette: 1.8.2 > tenacity: 8.2.3 > tiktoken: 0.7.0 > typing-extensions: 4.12.2
🤖:bug,investigate
low
Critical
2,802,325,868
flutter
[Proposal] Adjust the width of the 'DropdownMenu' based on the selected value.
### Use case Currently, the size is equal to the largest value. I want to adjust the width of the 'DropdownMenu' to the current value. ### Proposal <img width="383" alt="Image" src="https://github.com/user-attachments/assets/8c7ffb1b-effe-41f8-96ba-34a1bbc97724" />
c: new feature,framework,f: material design,c: proposal,team-framework
low
Minor
2,802,369,510
godot
Godot 4.4 Beta 1 Takes Long Time To Open/Load Massive Scripts as opposed to Godot 3.6
### Tested versions Reproducible in v4.4.beta1.official, Not reproducible in v3.6 (notably, #74733 seems relevant) ### System information Godot v4.4.beta1 - Windows 10 - OpenGL 3 (Compatibility) ### Issue description I am currently working with massive scripts (100k+ lines). For massive scripts, typing and saving works fine in 3.6 and 4.x. However... In Godot 3, I can load the script in 1-3 seconds. In Godot 4.4 beta 1, it takes 4x the time to load the scripts (anywhere from 8-15 seconds) In other Godot 4 builds (4.0, 4.1, 4.2, and 4.3), this problem is worse (it can be 10 - 30 seconds). https://github.com/user-attachments/assets/db36d8f7-115f-4893-bd76-7a7532229bcf https://github.com/user-attachments/assets/55226c70-75b3-4311-9b4b-78e7d54052ff Normally, you shouldn't be using scripts this long. However, Godot 3.6 is able to load massive scripts very fast, whereas Godot 4.4 beta 1 is not able to, so this is where my concern is. #74733 seems particularly relevant; was there ever a 4.x counterpart? (it seems to deal more with actual typing than loading, but maybe relevant?) ### Steps to reproduce 1. Create a script with 100k lines. Fill it with "########################################################################", or any other text... 2. Load the script in Godot 3.6 (double click the script, open in the in game text editor) 3. Load the script in Godot 4.4 beta 1 4. Compare the loading times... 5. For an even worse example, use any Godot 4 build PRIOR to 4.4 (4.0, 4.1, 4.2, 4.2), and you will see that the script loading is MUCH MUCH slower. ### Minimal reproduction project (MRP) [Godot36ScriptLoad.zip](https://github.com/user-attachments/files/18494011/Godot36ScriptLoad.zip) [godot43beta1scriptload.zip](https://github.com/user-attachments/files/18494010/godot43beta1scriptload.zip)
discussion,topic:editor,performance
low
Major
2,802,387,355
vscode
log out automatically after 8 hours
Type: <b>Feature Request</b> have to re-log in every 8 hours VS Code version: SageMaker Code Editor 1.90.1 (Commit unknown, 2025-01-06T17:50:00.381Z) OS version: Modes: <!-- generated by issue reporter -->
info-needed
low
Minor
2,802,409,489
kubernetes
NodeResourcesBalancedAllocation does not "Favors nodes that would obtain a more balanced resource usage if the Pod is scheduled there"
### What would you like to be added? The [doc](https://kubernetes.io/docs/reference/scheduling/config/#scheduling-plugins) says: > `NodeResourcesBalancedAllocation`: Favors nodes that would obtain a more balanced resource usage if the Pod is scheduled there. But reading at the code it: > Favors nodes that would obtain the most balanced resource usage once the Pod is scheduled there. It would be good to have a plugin that scores according to how the balancing improves. i.e. instead of calculating score like this: ```math S_1 = 100 - 100 * abs \left( \frac{\text{node memory requests} + \text{pod memory request}}{\text{node memory allocatable}} - \frac{\text{node cpu requests} + \text{pod cpu request}}{node cpu allocatable} \right) / 2 ``` calculate the ratio improvement, by first calculating ratio before the pod is scheduled: ```math S_2 = 100 - 100 * abs \left( \frac{\text{node memory requests}}{\text{node memory allocatable}} - \frac{\text{node cpu requests}}{node cpu allocatable} \right) / 2 ``` And measuring the improvement ```math S = max (0, S_1 - S_2) ``` Note: the formula here is incorrect and can be reduced, but you have the idea. Bonus: Here is a prometheus query to calculate the score (NB: you need to add requested resources to have the exact value): ``` 100 - 100 * abs( ( ( sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests) by (node) / sum(kube_node_status_allocatable{resource="memory"}) by (node) ) - ( sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests) by (node) / sum(kube_node_status_allocatable{resource="cpu"}) by (node) ) ) / 2 ) ``` ### Why is this needed? When scheduling a pod that is well balanced, the already well balanced nodes are favoured.
sig/scheduling,kind/feature,needs-triage
low
Major
2,802,445,042
godot
[3.x] Buttons not respecting order
### Tested versions Reproducible in v3.6 ### System information Godot v3.6 - Windows 10 - OpenGL 3 (Compatibility) ### Issue description This is the order of the tree ![Image](https://github.com/user-attachments/assets/6085b359-6326-4491-b1c9-66312a68ebf2) You would expect that the button in front of the viewport would take priority over the button inside the viewport. However, as you can see, this is not the behavior https://github.com/user-attachments/assets/23443eaf-37e4-4e37-a215-5c4ee2c772b8 There have been claims that this was fixed, and this is true for 4.x #39666 #58334 #79235 #81184 However, in Godot 3, this still persists. ### Steps to reproduce Create viewport container with a viewport and put a button inside of it Put a button outside of this structure Run the scene Hover the mouse over the buttons, and you will see the behavior is not as expected. ### Minimal reproduction project (MRP) [Godot36ScriptLoad (2).zip](https://github.com/user-attachments/files/18494549/Godot36ScriptLoad.2.zip)
bug,topic:input,topic:gui
low
Minor
2,802,482,147
go
runtime: map[int64]struct{} requires 16 bytes per slot
With swissmaps in 1.24, a `map[int64]struct{}` requires 16 bytes of space per slot, rather than the expected 8 bytes. This is an unfortunate side effect of the way the storage is defined internally https://cs.opensource.google/go/go/+/master:src/cmd/compile/internal/reflectdata/map_swiss.go;l=30 ``` // type group struct { // ctrl uint64 // slots [abi.SwissMapGroupSlots]struct { // key keyType // elem elemType // } // } ``` `elemType` is `struct{}`. The struct size rules in the compiler say that if struct ends in a zero-size type, that field is given 1 byte of space (in case someone creates a pointer to the last field, we don't want that to point past the end of allocation). Then, `keyType` needs 8-byte alignment, so the last field actually ends up using a full 8-bytes. This is the most extreme case of KVKVKVKV wasting space due to alignment requirements. We could probably fix this specific case by deconstructing the array+struct in this internal definition, then we'd only need the extra 8 bytes for the last slot. Note that #70835 considers changing the layout entirely (putting all keys together), which would also fix this.
Performance,NeedsDecision,compiler/runtime,BugReport
low
Major
2,802,483,958
godot
Unable to 'Favorite' metadata properties in the inspector panel
### Tested versions Reproducible in 4.4.dev7 ### System information Godot v4.4.dev7 - Windows 10 (build 19045) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 5600 XT (Advanced Micro Devices, Inc.; 32.0.12033.1030) - AMD Ryzen 9 3900X 12-Core Processor (24 threads) ### Issue description As the title states, it's currently impossible to pin the `script` property, or any `metadata` properties to the top of the inspector panel using the new *Favorite Property* option. ### Steps to reproduce Right-click the `script` property, or any `metadata` property in the inspector panel, and select "Favorite Property". ### Minimal reproduction project (MRP) n/a
enhancement,discussion,topic:editor,documentation
low
Major
2,802,501,811
opencv
Missing documentation for StereoBM parameters
### Describe the doc issue The documentation for the [cv::StereoBM class](https://docs.opencv.org/4.x/d9/dba/classcv_1_1StereoBM.html) mentions several methods, including but not limited to [getROI1](https://docs.opencv.org/4.x/d9/dba/classcv_1_1StereoBM.html#a6b44df190e8f3ae0b06707e231dfe14f), [getROI2](https://docs.opencv.org/4.x/d9/dba/classcv_1_1StereoBM.html#ae7a58914c4448aa417b88415ab45b9a1), [getTextureThreshold](https://docs.opencv.org/4.x/d9/dba/classcv_1_1StereoBM.html#a1b6a29dd617f05fd30a0a67bac5e830b) , [setPreFilterSize](https://docs.opencv.org/4.x/d9/dba/classcv_1_1StereoBM.html#a6edbcfd1dd79c9ba0c76a206741b4719), which are not clear in their functionality and how the output disparity image is affected when they are tuned. This problem has been consistent since 3.x, and continues into the 4.12.0-dev and 5.0.0 branch documentation. ### Fix suggestion If someone can explain what the parameters are and in what context they need to be tuned for, then I'm willing to open a PR to add the explanations to the documentation.
category: documentation
low
Minor
2,802,505,495
godot
Godot 4.4 beta 1 'sample_baked: Offset is non-finite' error when using width curve in line2d
### Tested versions - Reproducible in v4.4.beta1.official [d33da79d3] - Not reproducible in v4.3.stable.official [77dcf97d8] ### System information Godot v4.4.beta1 - macOS Sequoia (15.2.0) - Multi-window, 1 monitor - OpenGL 3 (Compatibility) - Apple M1 - Apple M1 (8 threads) ### Issue description In 4.4 beta 1, when using a line2d with the following script attached... ```gdscript extends Line2D var queue : Array func _physics_process(_delta: float) -> void: var pos = get_global_mouse_position() queue.push_front(pos) if queue.size() > 25: queue.pop_back() clear_points() # for point in queue: add_point(point) ``` ...and setting a weight curve, running the scene gives the following error E 0:00:00:0377 sample_baked: Offset is non-finite <C++ Error> Condition "!Math::is_finite(p_offset)" is true. Returning: 0 <C++ Source> scene/resources/curve.cpp:533 @ sample_baked() There is no error in 4.3 stable ### Steps to reproduce Add a line_2d, add the following script: ```gdscript extends Line2D var queue : Array func _physics_process(_delta: float) -> void: var pos = get_global_mouse_position() queue.push_front(pos) if queue.size() > 25: queue.pop_back() clear_points() # for point in queue: add_point(point) ``` Set a width curve in the line_2d Run the scene Or run the line_2d scene in the attached project ### Minimal reproduction project (MRP) [test.zip](https://github.com/user-attachments/files/18494833/test.zip)
bug,discussion,documentation,needs testing,regression,topic:2d
low
Critical
2,802,520,090
deno
`deno` does not handle missing `shasum` gracefully
<details><summary>Version: Deno 2.1.4</summary> <p> ```bash deno --version deno 2.1.4 (stable, release, aarch64-apple-darwin) v8 13.0.245.12-rusty typescript 5.6.2 ``` </p> </details> I am having trouble using [buf.build](https://buf.build/gen/npm/v1/@buf%2fwcygan_flock.bufbuild_es) as a registry Based on these blog posts, it should be possible: 1. https://deno.com/blog/deno-in-2024#built-in-performant-dependency-management 2. https://deno.com/blog/v2.0#private-npm-registries ## Steps to reproduce Edit: I've created a minimal reproducible example that you can use for debugging & testing: https://github.com/wcygan/deno-npm-buf-test Original response: .npmrc: ```.npmrc @buf:registry=https://buf.build/gen/npm/v1/ ``` Do `deno install`: ```bash deno install npm:@buf/wcygan_flock.bufbuild_es error: npm:@buf/wcygan_flock.bufbuild_es was not found. ``` ## Motivation I would love to try out [deno](https://github.com/denoland/deno) and [fresh](https://github.com/denoland/fresh), but a key issue is preventing me from adopting them. I can't install my gRPC/ConnectRPC types from https://buf.build/wcygan/flock/sdks, which requires me to "Configure your package manager to add Buf as a registry" I started a discussion on this https://github.com/denoland/deno/discussions/27749, but I think it may be a real issue, and unfortunately it makes Deno and Deno Fresh *dead on arrival* for me since I won't be able to communicate with my backend servers without these packages. Maybe there is a workaround I am not aware of, or I am doing the installation incorrectly? ## How this works in npm Using `npm`, this is quite easy, and the instructions are stated on https://buf.build/wcygan/flock/sdks ```bash npm config set @buf:registry https://buf.build/gen/npm/v1/ npm install @buf/wcygan_flock.bufbuild_es@latest ``` <img width="800" alt="Image" src="https://github.com/user-attachments/assets/f48d4731-0e3b-4d96-a44d-0e7f23c5e99d" /> <img width="800" alt="Image" src="https://github.com/user-attachments/assets/e2837bf7-88bb-4daf-9abb-331ef22110a5" />
node compat
low
Critical
2,802,541,739
deno
Error caching npm package from gitlab private registry
Version: Deno 2.1.6 Seems to be related to #25924 But either was not entirely fixed by #26473 or has since regressed. But I believe it is the latter as It also failed on 2.0.3 ### .npmrc ``` @privateregistryname:registry=https://gitlab.company.engineering/api/v4/packages/npm/ //gitlab.company.engineering/api/v4/packages/npm/:_authToken=XXXXXXX ``` ### deno.json ```json { "imports": { "@privateregistryname/package-name": "npm:@privateregistryname/[email protected]" } } ``` ### Command ```bash deno install error: Failed caching npm package '@privateregistryname/[email protected]' Caused by: Could not find npm package tarball at: https://gitlab.company.engineering/api/v4/projects/4055/packages/npm/@privateregistryname/package-name/-/@privateregistryname/package-name-1.0.0.tgz_ ```
needs investigation
low
Critical
2,802,551,798
transformers
convert_llama_weight_to_hf.py
### System Info @AshishMulupuri I am getting the same error as you stated here, can you guide me how to resolve this ### Who can help? _No response_ ### Information - [x] 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 . ### Expected behavior .
bug
low
Critical
2,802,615,116
flutter
Have a canonical `.ci.yaml` parser/library that lives in `flutter/flutter`
The framework and engine sub-repos, and potentially more (i.e. if we use GitHub Actions) would like to be able to parse, validate, and understand the format of `.ci.yaml`. The canonical representation lives in `flutter/cocoon`, and is backed by a protocol buffer, but we would probably be well-served by just a manually authored Dart file. I am not sure where this would live in order to be shared, i.e. a hypothetical `//infra` folder or such.
c: proposal,team-infra,P2,c: tech-debt,monorepo
low
Minor
2,802,630,336
godot
4.4 beta editor crashing often
### Tested versions Godot v4.4.beta1 ### System information Godot v4.4.beta1 - Windows 11 (build 22631) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4070 Ti (NVIDIA; 32.0.15.6636) - AMD Ryzen 9 7950X 16-Core Processor (32 threads) ### Issue description Editor crashes often at seemingly random times (Deleting an animation from an AnimationPlayer. Updating a variable in the editor. Changing the visibility of a node in the SceneTree.) Is there a crash report I can look at to try and see what is happening? I rarely had any issues with 4.3 crashing. Thank you ### Error logs From user data folder: WARNING: 20 RIDs of type "CanvasItem" were leaked. at: _free_rids (servers/rendering/renderer_canvas_cull.cpp:2658) ERROR: 1 shaders of type CanvasShaderGLES3 were never freed at: ~ShaderGLES3 (drivers/gles3/shader_gles3.cpp:847) ERROR: 2 RID allocations of type 'N5GLES38MaterialE' were leaked at exit. ERROR: 1 RID allocations of type 'N5GLES36ShaderE' were leaked at exit. ERROR: 3 RID allocations of type 'N5GLES37TextureE' were leaked at exit. ERROR: Texture with GL ID of 31: leaked 1364 bytes. at: ~Utilities (drivers/gles3/storage/utilities.cpp:77) ERROR: Texture with GL ID of 97: leaked 87380 bytes. at: ~Utilities (drivers/gles3/storage/utilities.cpp:77) ERROR: Texture with GL ID of 101: leaked 131072 bytes. at: ~Utilities (drivers/gles3/storage/utilities.cpp:77) ERROR: 15 RID allocations of type 'PN18TextServerAdvanced22ShapedTextDataAdvancedE' were leaked at exit. ERROR: 1 RID allocations of type 'PN18TextServerAdvanced12FontAdvancedE' were leaked at exit. WARNING: ObjectDB instances leaked at exit (run with --verbose for details). at: cleanup (core/object/object.cpp:2378) ERROR: 5 resources still in use at exit (run with --verbose for details). at: clear (core/io/resource.cpp:614) WARNING: 32 RIDs of type "CanvasItem" were leaked. at: _free_rids (servers/rendering/renderer_canvas_cull.cpp:2658) ERROR: 1 shaders of type CanvasShaderGLES3 were never freed at: ~ShaderGLES3 (drivers/gles3/shader_gles3.cpp:847) ERROR: 2 RID allocations of type 'N5GLES38MaterialE' were leaked at exit. ERROR: 1 RID allocations of type 'N5GLES36ShaderE' were leaked at exit. ERROR: 3 RID allocations of type 'N5GLES37TextureE' were leaked at exit. ERROR: Texture with GL ID of 31: leaked 1364 bytes. at: ~Utilities (drivers/gles3/storage/utilities.cpp:77) ERROR: Texture with GL ID of 97: leaked 87380 bytes. at: ~Utilities (drivers/gles3/storage/utilities.cpp:77) ERROR: Texture with GL ID of 101: leaked 131072 bytes. at: ~Utilities (drivers/gles3/storage/utilities.cpp:77) ERROR: 24 RID allocations of type 'PN18TextServerAdvanced22ShapedTextDataAdvancedE' were leaked at exit. ERROR: 1 RID allocations of type 'PN18TextServerAdvanced12FontAdvancedE' were leaked at exit. WARNING: ObjectDB instances leaked at exit (run with --verbose for details). at: cleanup (core/object/object.cpp:2378) ERROR: 5 resources still in use at exit (run with --verbose for details). at: clear (core/io/resource.cpp:614) ### Steps to reproduce TBD ### Minimal reproduction project (MRP) TBD
bug,needs testing,crash
low
Critical
2,802,644,044
go
x/tools/gopls/internal/analysis/modernize: use strings.CutPrefix et al
Replace: ```go if strings.HasPrefix(s, pre) { use(strings.TrimPrefix(s, pre)) } -> if after, ok := strings.CutPrefix(s, pre); ok { use(after) } ``` Variants: - bytes package - CutSuffix - `if rest := strings.TrimPrefix(s, pre); rest != s { use(rest) }` -> ... cc: @josharian
gopls,Tools,Refactoring
low
Minor
2,802,666,735
flutter
Missing "Create Method" Option in Context Menu for Bloc Event Handlers in Latest Flutter
### Steps to reproduce In Android Studio, the "Create method" option for Bloc event handlers is available in the context menu when using Flutter 3.24 but is missing in Flutter 3.27. This inconsistency makes it harder to create event handler methods in newer Flutter versions, even when using the latest Android Studio (Ladybug Feature Drop | 2024.2.2). 1. Open a Flutter project with Bloc in Flutter 3.24. 2. Right-click on a missing event handler in on<Event> or press Option + Enter – observe the "Create method" option in the context menu. 1. Open a Flutter project with Bloc in Flutter 3.27. 2. Perform the same action (right-click or Option + Enter) – notice the "Create method" option is missing. ### Expected results The "Create method" option should appear in the context menu consistently when working with missing Bloc event handlers in any Flutter version. ### Actual results - In Flutter 3.24, the "Create method" option appears in the context menu. - In Flutter 3.27, the "Create method" option is missing in the context menu, requiring manual method creation. ### Code sample <details open><summary>Code sample</summary> ```dart class LoginBloc extends Bloc<LoginEvent, LoginState> { LoginBloc() : super(LoginState.initial()) { on<_Started>(_onStarted); on<_EmailChanged>(_onEmailChanged); } FutureOr<void> _onStarted( _Started event, Emitter<LoginState> emit, ) async {} } part of 'login_bloc.dart'; @freezed abstract class LoginEvent with _$LoginEvent { const factory LoginEvent.started() = _Started; const factory LoginEvent.emailChanged(String email) = _EmailChanged; const factory LoginEvent.passwordChanged(String password) = _PasswordChanged; const factory LoginEvent.formSubmitted() = _FormSubmitted; } part of 'login_bloc.dart'; @freezed class LoginState with _$LoginState { const factory LoginState({ @Default(Email.pure()) Email email, @Default(Password.pure()) Password password, @Default(UiState.initial()) UiState<User> formSubmissionUiState, }) = _LoginState; factory LoginState.initial() => const LoginState(); } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> **Flutter 3.24 – "Create method" option appears in context menu:** <img width="491" alt="Image" src="https://github.com/user-attachments/assets/f97038ee-ac32-45be-90b4-9ed0b6314961" /> **Flutter 3.27 – "Create method" option missing in context menu:** <img width="501" alt="Image" src="https://github.com/user-attachments/assets/aaadb85f-60bf-405d-b5fa-16d968a9df67" /> </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.2, on macOS 15.1.1 24B91 darwin-arm64, locale en-TH) • Flutter version 3.27.2 on channel stable at /Users/toelie/Developer/Tools/Flutter/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 68415ad1d9 (8 days ago), 2025-01-13 10:22:03 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/toelie/Developer/Tools/Android/sdk • Platform android-35, build-tools 35.0.0 • ANDROID_HOME = /Users/toelie/Developer/Tools/Android/sdk • ANDROID_SDK_ROOT = /Users/toelie/Developer/Tools/Android/sdk • Java binary at: /opt/homebrew/opt/openjdk@17/bin/java • Java version OpenJDK Runtime Environment Homebrew (build 17.0.13+0) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16A242d • CocoaPods version 1.15.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2023.2) • Android Studio at /Applications/Android Studio Iguana.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.9+0-17.0.9b1087.7-11185874) [✓] Android Studio (version 2024.2) • Android Studio at /Applications/Android Studio Ladybug.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.96.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [✓] Connected device (4 available) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 15 (API 35) (emulator) • macOS (desktop) • macos • darwin-arm64 • macOS 15.1.1 24B91 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.1.1 24B91 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 132.0.6834.83 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
waiting for customer response,in triage
low
Critical
2,802,668,253
terminal
Navigating to "Color Schemes" page moves focus to inside the page
As stated above. It's surprisingly the only page that does that!
Issue-Bug,Product-Terminal,Needs-Tag-Fix,Priority-3,Area-SettingsUI
low
Minor
2,802,678,249
godot
Godot 4.4 beta 1 - Error when exporting project to windows with boot splash
### Tested versions Godot Engine v4.4.beta1.mono.official.d33da79d3 ### System information Godot Engine v4.4.beta1.mono.official.d33da79d3 - Vulkan 1.3.280 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3070 ### Issue description When I run the project with a png image defined in boot splash, it works normally, but when I export the project to Windows, the image does not appear and I receive the error as shown in the screenshots sent below: ![Image](https://github.com/user-attachments/assets/07ec1372-c50a-4e04-89aa-311e5cd5ff54) ![Image](https://github.com/user-attachments/assets/837bda03-f04a-4681-a1ff-a49d8b38a102) ### Steps to reproduce Create a project, create a main scene, go to projects/settings and define an image for boot splash. Export the project to Windows and run the generated program with the console to see the error. ### Minimal reproduction project (MRP) [inputs.zip](https://github.com/user-attachments/files/18495782/inputs.zip)
needs testing,topic:export
low
Critical
2,802,690,633
go
x/pkgsite-metrics/internal/buildbinary: TestRunBuild/multiple_binaries failures
``` #!watchflakes default <- pkg == "golang.org/x/pkgsite-metrics/internal/buildbinary" && test == "TestRunBuild/multiple_binaries" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8725520031802681537)): === RUN TestRunBuild/multiple_binaries bin_test.go:93: got error=exit status 1; wantErr=false --- FAIL: TestRunBuild/multiple_binaries (0.27s) — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation
low
Critical
2,802,701,174
stable-diffusion-webui
[Bug]: Updated installation instructions for installing Stable Diffusion using ROCm (Linux) (Documentation and webui.sh needs updating)
### Checklist - [ ] The issue exists after disabling all extensions - [x] The issue exists on a clean installation of webui - [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui - [x] The issue exists in the current version of the webui - [ ] The issue has not been reported before recently - [ ] The issue has been reported before but has not been fixed yet ### What happened? Run the same instructions as the documentation says for the first part. (Debian): `sudo apt install git python3.10-venv -y` (Fedora): `sudo dnf install python-3.10` `git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui && cd stable-diffusion-webui` `python3.10 -m venv venv` Then update line 156 in webui.sh `pip install torch torchvision --index-url https://download.pytorch.org/whl/nightly/rocm5.7` --> `pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.2` Run webui.sh with this command `HSA_OVERRIDE_GFX_VERSION=11.0.0 HIP_VISIBLE_DEVICES=0 ./webui.sh --precision full --no-half` VERSION=11.0.0 is specific to the 7900XTX, version number may change depending on GPU model so check ROCm documentation just in case. If you have a 7900XTX, follow instructions exactly. ### Steps to reproduce the problem 1. Follow the official documentation ### What should have happened? Documentation and ROCm in webui.sh needs updating to make webui.sh work error free. ### What browsers do you use to access the UI ? Brave ### Sysinfo Not needed as the program is running with all features when instructions above is followed. ### Console logs ```Shell ################################################################ Install script for stable-diffusion + Web UI Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer. ################################################################ ################################################################ Running on user user ################################################################ ################################################################ Repo already cloned, using it as install directory ################################################################ ################################################################ Create and activate python venv ################################################################ ################################################################ Launching launch.py... ################################################################ glibc version is 2.40 Check TCMalloc: libtcmalloc_minimal.so.4 libtcmalloc_minimal.so.4 is linked with libc.so,execute LD_PRELOAD=/lib64/libtcmalloc_minimal.so.4 Python 3.10.16 (main, Dec 4 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] Version: v1.10.1 Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2 ControlNet init warning: Unable to install insightface automatically. Please try run `pip install insightface` manually. Launching Web UI with arguments: --precision full --no-half no module 'xformers'. Processing without... no module 'xformers'. Processing without... No module 'xformers'. Proceeding without it. ControlNet preprocessor location: /home/user/AI/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads 2025-01-21 14:56:37,167 - ControlNet - INFO - ControlNet v1.1.455 Loading weights [a31be20e08] from /home/user/AI/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors 2025-01-21 14:56:37,546 - ControlNet - INFO - ControlNet UI callback registered. Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Creating model from config: /home/user/AI/stable-diffusion-webui/configs/v1-inference.yaml Startup time: 12.6s (prepare environment: 7.1s, import torch: 1.7s, import gradio: 0.4s, setup paths: 1.6s, other imports: 0.3s, load scripts: 0.6s, create ui: 0.4s, gradio launch: 0.3s). ``` ### Additional information _No response_
bug-report
low
Critical
2,802,703,380
godot
Godot runs the project when I set the zoom level outside the project.
### Tested versions v4.4.beta1.mono.official [d33da79d3] ### System information Godot Engine v4.4.beta1.mono.official.d33da79d3 - https://godotengine.org Vulkan 1.3.280 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3070 ### Issue description When I am in the project and go to the project list and change the editor's zoom setting and click on restart, the project runs and does not restart godot as shown in the video below: https://github.com/user-attachments/assets/46b32984-4914-4160-b031-d96aa2b96d04 ### Steps to reproduce Create a new project, create a main scene, click on the project menu and quit to projects list. Click on the settins menu and change the scale menu. After changing, click restart now. ### Minimal reproduction project (MRP) [inputs.zip](https://github.com/user-attachments/files/18495893/inputs.zip)
bug,topic:editor,usability
low
Minor
2,802,704,931
react-native
ScrollView as child of Modal no longer scrollable on first mount/modal opening, RN >= 0.76, Android only, old-arch only
### Description Since React Native 0.76.0, a ScrollView as a child of the built-in Modal component is no longer scrollable when the modal first opens on Android. This seems to only affect the old architecture. New architecture seems to be unaffected. iOS seems unaffected. The problem is still present in RN 0.77. Downgrading to 0.75.4 fixes it. ### Steps to reproduce 1. Install the reproduction app with `yarn android`. The reproduction is set to use the old architecture by default. 2. Click the `Open Scrollable Modal` button. 3. Observe that the screen doesn't scroll, even though it should. 4. Leave the modal open. Try modifying the code in `ScrollableModalContent.tsx` by adding a `style={{flex: 1}}` to the ScrollView and saving the file. This hot-reloads the component without unmounting at the parent, and suddenly the ScrollView becomes scrollable. 5. Close the modal using the hardware back button. Re-open the modal, observing the content is unscrollable again, even with `style={{flex: 1}}` still on the ScrollView. 6. Remove the `style={{flex: 1}}` from the ScrollView and save the file. 7. Enable newArch in Android `gradle.properties`. 8. Rebuild the app and try opening the modal again. 9. The modal opens and the content inside scrolls as expected. ### React Native Version 0.77.0 ### Affected Platforms Runtime - Android ### Output of `npx react-native info` ```text System: OS: Linux 6.12 openSUSE Tumbleweed 20250117 CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz Memory: 11.91 GB / 31.31 GB Shell: version: 5.2.37 path: /bin/bash Binaries: Node: version: 20.18.1 path: ~/.nvm/versions/node/v20.18.1/bin/node Yarn: version: 1.22.22 path: /usr/local/bin/yarn npm: version: 10.8.2 path: ~/.nvm/versions/node/v20.18.1/bin/npm Watchman: Not Found SDKs: Android SDK: Not Found IDEs: Android Studio: Not Found Languages: Java: version: 17.0.13 path: /usr/bin/javac Ruby: version: 3.4.1 path: /usr/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.77.0 wanted: 0.77.0 npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: Not found newArchEnabled: false ``` ### Stacktrace or Logs ```text N/A ``` ### Reproducer https://github.com/goguda/react-native-android-scrollview-in-modal-not-always-scrolling-point-76-up ### Screenshots and Videos _No response_
Platform: Android,Component: Modal,Component: ScrollView,Needs: Triage :mag:
low
Minor
2,802,707,579
tensorflow
How do you install this using poetry on macos ?
This still doesn't work ``` [project] name = "tf-001" version = "0.1.0" description = "" authors = [ {name = "Me"} ] readme = "README.md" requires-python = ">=3.11" [tool.poetry.dependencies] python = "~3.11" tensorflow = "*" [build-system] requires = ["poetry-core>=2.0.0,<3.0.0"] build-backend = "poetry.core.masonry.api" ``` ``` - Installing tensorflow (2.18.0): Failed RuntimeError Unable to find installation candidates for tensorflow (2.18.0) at ~/Library/Application Support/pypoetry/venv/lib/python3.11/site-packages/poetry/installation/chooser.py:86 in choose_for 82│ 83│ links.append(link) 84│ 85│ if not links: → 86│ raise RuntimeError(f"Unable to find installation candidates for {package}") 87│ 88│ # Get the best link 89│ chosen = max(links, key=lambda link: self._sort_key(package, link)) 90│ Cannot install tensorflow. ``` ``` $ poetry --version Poetry (version 2.0.0) ``` So how do I install this ?
stat:awaiting response,type:support
medium
Critical
2,802,708,830
vscode
I am creating a website but not open source not open frontend
Type: <b>Bug</b> I use vs code for making website I written my web code but not show source not open frontend VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z) OS version: Modes: System Info: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36<details><summary>Extensions (34)</summary> Extension|Author (truncated)|Version ---|---|--- anycode|ms-|0.0.73 anycode-rust|ms-|0.0.6 anycode-python|ms-|0.0.5 anycode-c-sharp|ms-|0.0.5 anycode-typescript|ms-|0.0.5 anycode-java|ms-|0.0.5 anycode-php|ms-|0.0.6 anycode-kotlin|ms-|0.0.5 anycode-go|ms-|0.0.5 anycode-cpp|ms-|0.0.5 codespaces|Git|1.17.3 remotehub|Git|0.64.0 azure-repos|ms-|0.40.0 remote-server|ms-|1.5.2 remote-explorer|ms-|0.4.3 remote-repositories|ms-|0.42.0 github-markdown-preview|bie|0.3.0 markdown-checkbox|bie|0.4.0 markdown-mermaid|bie|1.27.0 markdown-preview-github-styles|bie|2.1.0 markdown-yaml-preamble|bie|0.1.0 prettier-vscode|esb|11.0.0 vscode-github-actions|git|0.27.0 vscode-pull-request-github|Git|0.102.0 python|ms-|2024.22.2 vscode-pylance|ms-|2024.12.1 jupyter|ms-|2024.11.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.21 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 vsliveshare|ms-|1.0.5948 JavaScriptSnippets|xab|1.8.0 ReactSnippets|xab|2.4.0 </details> <!-- generated by issue reporter -->
info-needed,triage-needed
low
Critical
2,802,739,345
flutter
Unicode arrow character → causes a 2.0 pixel RenderFlex overflow in the browser
### Steps to reproduce 1. Run the attached code in the browser as a web app 2. Make the browser window vertically small enough that it starts to scroll vertically Note: the error appears only in browser (tested with Chrome and Safari), when the specific Unicode arrow character is present in the indicated location. The error does not appear on other platforms (iOS, macOS), and also does not appear when there is some other Unicode character (e.g emoji) or no Unicode characters in the indicated text. ### Expected results There should be no RenderFlex overflow error ### Actual results There is a RenderFlex overflow error: <details open><summary>Error</summary> ``` ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ The following assertion was thrown during layout: A RenderFlex overflowed by 1.00 pixels on the bottom. The relevant error-causing widget was: Column Column:file:///Users/jaanus/Developer/Flutter/unicode_overflow_bug/lib/main.dart:62:30 To inspect this widget in Flutter DevTools, visit: http://127.0.0.1:9100/#/inspector?uri=http%3A%2F%2F127.0.0.1%3A51147%2FG_wlOCLSzYs%3D&inspectorRef=inspector-0 The overflowing RenderFlex has an orientation of Axis.vertical. The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderFlex. Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the RenderFlex to fit within the available space instead of being sized to their natural size. This is considered an error condition because it indicates that there is content that cannot be seen. If the content is legitimately bigger than the available space, consider clipping it with a ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, like a ListView. The specific RenderFlex in question is: RenderFlex#abccf relayoutBoundary=up19 OVERFLOWING: creator: Column ← Expanded ← Column ← IntrinsicHeight ← ConstrainedBox ← _SingleChildViewport ← IgnorePointer-[GlobalKey#67353] ← Semantics ← Listener ← _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#ed519] ← Listener ← ⋯ parentData: offset=Offset(0.0, 104.0); flex=1; fit=FlexFit.tight (can use size) constraints: BoxConstraints(0.0<=w<=604.0, h=375.0) size: Size(604.0, 375.0) direction: vertical mainAxisAlignment: start mainAxisSize: min crossAxisAlignment: center verticalDirection: down spacing: 0.0 ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤ ════════════════════════════════════════════════════════════════════════════════════════════════════ ``` </details> ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { final router = GoRouter( routes: [ GoRoute( path: '/', builder: (context, state) => const RootRoute(), ), ], ); return MaterialApp.router( routerConfig: router, ); } } class RootRoute extends StatelessWidget { const RootRoute({super.key}); @override Widget build(BuildContext context) => const AppPage(); } class AppPage extends StatelessWidget { const AppPage({ super.key, }); @override Widget build(BuildContext context) { return Scaffold( body: LayoutBuilder( builder: (context, constraints) { return SingleChildScrollView( child: ConstrainedBox( constraints: BoxConstraints( minHeight: constraints.maxHeight, ), // color: theme.colors.orange, child: IntrinsicHeight( child: Column( crossAxisAlignment: CrossAxisAlignment.center, children: [ Padding( padding: EdgeInsets.only( top: 32, ), child: _Header(), ), Expanded( child: Column( mainAxisSize: MainAxisSize.min, children: [ const Spacer(), Padding( padding: EdgeInsets.only(top: 32.0), child: Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Container( color: Colors.yellow, height: 256, width: 128, ), ], ), ), Padding( padding: const EdgeInsets.only(top: 24.0), child: Container( color: Colors.green, width: 256, height: 64, ), ), const Spacer(), ], ), ), Padding( padding: EdgeInsets.symmetric( vertical: 32, ), child: Container( color: Colors.blue, width: 128, height: 128, ), ), ], ), ), ), ); }, ), ); } } class _Header extends StatelessWidget { const _Header(); @override Widget build(BuildContext context) { return Column( mainAxisSize: MainAxisSize.min, children: [ SizedBox(height: 32), _BorderedButton( label: Text( // This gives the RenderFlex overflow error "More →", // This does NOT give the error // "More 😀", // This does NOT give the error either // "More", ), onTap: () {}, ), ], ); } } class _BorderedButton extends StatelessWidget { const _BorderedButton({ required this.label, required this.onTap, }); final Widget label; final Function() onTap; @override Widget build(BuildContext context) { return InkWell( onTap: onTap, child: Container( decoration: BoxDecoration( border: Border.all( color: Colors.black, ), borderRadius: BorderRadius.circular(6), ), child: Padding( padding: EdgeInsets.all(8), child: label, ), ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> <img width="708" alt="Image" src="https://github.com/user-attachments/assets/bc24e21d-b550-4fb4-96ef-a29fe2da3bea" /> </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console jaanus@studio ~/D/F/unicode_overflow_bug (main)> flutter doctor -v [✓] Flutter (Channel stable, 3.27.2, on macOS 15.2 24C101 darwin-arm64, locale et-EE) • Flutter version 3.27.2 on channel stable at /Users/jaanus/fvm/versions/3.27.2 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 68415ad1d9 (8 days ago), 2025-01-13 10:22:03 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/jaanus/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • ANDROID_HOME = /Users/jaanus/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • 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.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) • 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 21.0.4+-12422083-b607.1) [✓] VS Code (version 1.96.4) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.102.0 [✓] Connected device (4 available) • JK iPhone 15 Pro (mobile) • 00008130-000431810238001C • ios • iOS 18.2.1 22C161 • macOS (desktop) • macos • darwin-arm64 • macOS 15.2 24C101 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.2 24C101 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.265 ! Error: Browsing on the local area network for JK iPhone 11 Pro. 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 • All expected network resources are available. • No issues found! ``` </details>
framework,platform-web,has reproducible steps,team-framework,found in release: 3.27,found in release: 3.28
low
Critical
2,802,794,365
go
x/build/perf/app: unrecognized failures
``` #!watchflakes default <- pkg == "golang.org/x/build/perf/app" && test == "" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8725477182627569441)): FAIL golang.org/x/build/perf/app [build failed] — [watchflakes](https://go.dev/wiki/Watchflakes)
Builders,NeedsInvestigation
low
Critical
2,802,803,803
node
when loading env file (--env-file), env variable will not be loaded if preceding 'blank' line contains space(s) or tab(s)
### Version v22.11.0 ### Platform ```text Linux abu 4.4.0-22621-Microsoft #3672-Microsoft Fri Jan 01 08:00:00 PST 2016 x86_64 x86_64 x86_64 GNU/Linux ``` ### Subsystem Ubuntu-22.04 ### What steps will reproduce the bug? <pre> $ cat testenv # the next line is an empty line EMPTY_LINE='empty line' # the next line contains spaces SPACES_LINE='spaces line' # the next line contains tabs TAB_LINE='tab line' $ hexdump -C testenv 00000000 23 20 74 68 65 20 6e 65 78 74 20 6c 69 6e 65 20 |# the next line | 00000010 69 73 20 61 6e 20 65 6d 70 74 79 20 6c 69 6e 65 |is an empty line| 00000020 0a 0a 45 4d 50 54 59 5f 4c 49 4e 45 3d 27 65 6d |..EMPTY_LINE='em| 00000030 70 74 79 20 6c 69 6e 65 27 0a 23 20 74 68 65 20 |pty line'.# the | 00000040 6e 65 78 74 20 6c 69 6e 65 20 63 6f 6e 74 61 69 |next line contai| 00000050 6e 73 20 73 70 61 63 65 73 0a 20 20 20 0a 53 50 |ns spaces. .SP| 00000060 41 43 45 53 5f 4c 49 4e 45 3d 27 73 70 61 63 65 |ACES_LINE='space| 00000070 73 20 6c 69 6e 65 27 0a 23 20 74 68 65 20 6e 65 |s line'.# the ne| 00000080 78 74 20 6c 69 6e 65 20 63 6f 6e 74 61 69 6e 73 |xt line contains| 00000090 20 74 61 62 73 0a 09 09 0a 54 41 42 5f 4c 49 4e | tabs....TAB_LIN| 000000a0 45 3d 27 74 61 62 20 6c 69 6e 65 27 0a |E='tab line'.| 000000ad $ node --env-file=testenv -e 'console.log(`EMPTY_LINE: ${process.env.EMPTY_LINE}\nSPACES_LINE: ${process.env.SPACE_LINE}\nTAB_LINE: ${process.env.TAB_LINE}`);' EMPTY_LINE: empty line SPACES_LINE: undefined TAB_LINE: undefined $ </pre> ### How often does it reproduce? Is there a required condition? Always happens. If the env file has a 'blank' line containing space(s) or tab(s), the environment variable defined on the next line will not be loaded at runtime. ### What is the expected behavior? Why is that the expected behavior? It is expected that blank lines (empty, spaces, tabs, whitespace) will be ignored when process the env file. ### What do you see instead? 'blank' lines containing whitespace prevent the env variable declared on the following line from being loaded. ### Additional information _No response_
dotenv
low
Critical
2,802,812,792
kubernetes
client-go dynamic fake client doesn't record deletion options
### What happened? When using the dynamic client with `metav1.DeleteOptions`, the DeleteOptions are not tracked. This makes it tricky to tell what options were passed. ### What did you expect to happen? I expected the `DeleteActionImpl` that is created by the tracker to populate the `DeleteOptions` field. ### How can we reproduce it (as minimally and precisely as possible)? ```go client := NewSimpleDynamicClient(scheme) _ = client.Resource(schema.GroupVersionResource{Group: "group", Version: "version", Resource: "thekinds"}). Namespace("test-ns").Delete(context.TODO(), "test-resource", metav1.DeleteOptions{DryRun: []string{metav1.DryRunAll}) actions := client.Fake.Actions() ``` The actions will have `DeleteOptions` but it's not populated with the provided options. ### Anything else we need to know? _No response_ ### Kubernetes version <details> ```console $ kubectl version # paste output here ``` </details> ### Cloud provider <details> </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,sig/api-machinery,needs-triage
low
Minor
2,802,825,040
deno
Bug: Request properties do not match Node.js / Browser / TypeScript types
Version: Deno 2.1.6 Code example: ```ts const request = new Request('https://example.com'); console.log('=== Check Request properties ==='); console.log('body:', request.body !== undefined ? '✅' : '❌'); console.log('cache:', request.cache !== undefined ? '✅' : '❌'); console.log('credentials:', request.credentials !== undefined ? '✅' : '❌'); console.log('headers:', request.headers !== undefined ? '✅' : '❌'); console.log('integrity:', request.integrity !== undefined ? '✅' : '❌'); console.log('keepalive:', request.keepalive !== undefined ? '✅' : '❌'); console.log('method:', request.method !== undefined ? '✅' : '❌'); console.log('mode:', request.mode !== undefined ? '✅' : '❌'); console.log('redirect:', request.redirect !== undefined ? '✅' : '❌'); console.log('referrer:', request.referrer !== undefined ? '✅' : '❌'); console.log('referrerPolicy:', request.referrerPolicy !== undefined ? '✅' : '❌'); console.log('signal:', request.signal !== undefined ? '✅' : '❌'); // Deno v2.1.6 // === Check Request properties === // body: ✅ // cache: ❌ // credentials: ❌ // headers: ✅ // integrity: ❌ // keepalive: ❌ // method: ✅ // mode: ❌ // redirect: ✅ // referrer: ❌ // referrerPolicy: ❌ // signal: ✅ // Node.js v23.6.1 / Browser // === Check Request properties === // body: ✅ // cache: ✅ // credentials: ✅ // headers: ✅ // integrity: ✅ // keepalive: ✅ // method: ✅ // mode: ✅ // redirect: ✅ // referrer: ✅ // referrerPolicy: ✅ // signal: ✅ ```
node compat
low
Critical
2,802,829,921
vscode
Editor GPU: Offset is incorrect for wrapped lines
Carried over indent isn't taken into account: ![Image](https://github.com/user-attachments/assets/5f985a21-27d9-4655-a2a2-f217a199458d)
bug,editor-gpu
low
Minor
2,802,850,381
rust
ICE: `cannot convert ReLateParam to a region vid`
<!-- ICE: Rustc ./a.rs '' 'error: internal compiler error: compiler/rustc_borrowck/src/universal_regions.rs:888:36: cannot convert `ReLateParam(DefId(0:16 ~ a[ff78]::get_invariant_ref), BrNamed(DefId(0:17 ~ a[ff78]::get_invariant_ref::'a), 'a))` to a region vid', 'error: internal compiler error: compiler/rustc_borrowck/src/universal_regions.rs:888:36: cannot convert `ReLateParam(DefId(0:16 ~ a[ff78]::get_invariant_ref), BrNamed(DefId(0:17 ~ a[ff78]::get_invariant_ref::'a), 'a))` to a region vid' File: /tmp/im/a.rs --> auto-reduced (treereduce-rust): ````rust pub struct InvariantRef<'a, T: ?Sized>(&'a T); impl<'a, T: ?Sized> InvariantRef<'a, T> { pub const fn new(r: &'a T) -> Self {} } fn get_invariant_ref<'a>() -> InvariantRef<'static, _> { const { InvariantRef::<'a, ()>::new(&()) } } ```` original: ````rust //@ run-pass use std::marker::PhantomData; // rust-lang/rust#78174: ICE: "cannot convert ReErased to a region vid" fn issue_78174() { let foo = const { "foo" }; assert_eq!(foo, "foo"); } pub struct InvariantRef<'a, T: ?Sized>(&'a T, PhantomData<&'a mut &'a T>); impl<'a, T: ?Sized> InvariantRef<'a, T> { pub const fn new(r: &'a T) -> Self { InvariantRef(r, PhantomData) } } fn get_invariant_ref<'a>() -> InvariantRef<'static, _> { const { InvariantRef::<'a, ()>::new(&()) } } fn get_invariant_ref2<'a>() -> InvariantRef<'a, ()> { // Try some type inference const { InvariantRef::new(&()) } } fn main() { issue_78174(); get_invariant_ref(); get_invariant_ref2(); } ```` Version information ```` rustc 1.86.0-nightly (cd805f09f 2025-01-21) binary: rustc commit-hash: cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 commit-date: 2025-01-21 host: x86_64-unknown-linux-gnu release: 1.86.0-nightly LLVM version: 19.1.7 ```` Possibly related line of code: https://github.com/rust-lang/rust/blob/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/compiler/rustc_borrowck/src/universal_regions.rs#L882-L894 Command: `/home/matthias/.rustup/toolchains/master/bin/rustc ` <details><summary><strong>Program output</strong></summary> <p> ``` error[E0601]: `main` function not found in crate `mvce` --> /tmp/icemaker_global_tempdir.sXnYG42JCCJ4/rustc_testrunner_tmpdir_reporting.qVKGb9NYPlaR/mvce.rs:9:2 | 9 | } | ^ consider adding a `main` function to `/tmp/icemaker_global_tempdir.sXnYG42JCCJ4/rustc_testrunner_tmpdir_reporting.qVKGb9NYPlaR/mvce.rs` error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types --> /tmp/icemaker_global_tempdir.sXnYG42JCCJ4/rustc_testrunner_tmpdir_reporting.qVKGb9NYPlaR/mvce.rs:7:53 | 7 | fn get_invariant_ref<'a>() -> InvariantRef<'static, _> { | ----------------------^- | | | | | not allowed in type signatures | help: replace with the correct return type: `InvariantRef<'_, ()>` error[E0308]: mismatched types --> /tmp/icemaker_global_tempdir.sXnYG42JCCJ4/rustc_testrunner_tmpdir_reporting.qVKGb9NYPlaR/mvce.rs:4:35 | 4 | pub const fn new(r: &'a T) -> Self {} | --- ^^^^ expected `InvariantRef<'_, T>`, found `()` | | | implicitly returns `()` as its body has no tail or `return` expression | = note: expected struct `InvariantRef<'a, T>` found unit type `()` error: internal compiler error: compiler/rustc_borrowck/src/universal_regions.rs:888:36: cannot convert `ReLateParam(DefId(0:12 ~ mvce[18ee]::get_invariant_ref), BrNamed(DefId(0:13 ~ mvce[18ee]::get_invariant_ref::'a), 'a))` to a region vid thread 'rustc' panicked at compiler/rustc_borrowck/src/universal_regions.rs:888:36: Box<dyn Any> stack backtrace: 0: 0x703ddf2fabfa - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::he8f87afa3ba953c7 1: 0x703ddfa12de6 - core::fmt::write::hd1a70dafa054ef6e 2: 0x703de0932191 - std::io::Write::write_fmt::hb7487c14cde15a5b 3: 0x703ddf2faa52 - std::sys::backtrace::BacktraceLock::print::hccabcb6160db5eae 4: 0x703ddf2fced2 - std::panicking::default_hook::{{closure}}::h8c6502dfd308289c 5: 0x703ddf2fcd5a - std::panicking::default_hook::hb4c1963f11244643 6: 0x703dde459a8b - std[59f0843774866faa]::panicking::update_hook::<alloc[ba5425907d200e29]::boxed::Box<rustc_driver_impl[d01b6faf608d79fd]::install_ice_hook::{closure#1}>>::{closure#0} 7: 0x703ddf2fda13 - std::panicking::rust_panic_with_hook::hc3d8183c3b9ea233 8: 0x703dde4948a1 - std[59f0843774866faa]::panicking::begin_panic::<rustc_errors[33b093a44d219c0d]::ExplicitBug>::{closure#0} 9: 0x703dde4897a6 - std[59f0843774866faa]::sys::backtrace::__rust_end_short_backtrace::<std[59f0843774866faa]::panicking::begin_panic<rustc_errors[33b093a44d219c0d]::ExplicitBug>::{closure#0}, !> 10: 0x703dde4862b9 - std[59f0843774866faa]::panicking::begin_panic::<rustc_errors[33b093a44d219c0d]::ExplicitBug> 11: 0x703dde49e7d1 - <rustc_errors[33b093a44d219c0d]::diagnostic::BugAbort as rustc_errors[33b093a44d219c0d]::diagnostic::EmissionGuarantee>::emit_producing_guarantee 12: 0x703ddea800e3 - rustc_middle[d9c304bb3c99a636]::util::bug::opt_span_bug_fmt::<rustc_span[79f25feaa0a05865]::span_encoding::Span>::{closure#0} 13: 0x703ddea658da - rustc_middle[d9c304bb3c99a636]::ty::context::tls::with_opt::<rustc_middle[d9c304bb3c99a636]::util::bug::opt_span_bug_fmt<rustc_span[79f25feaa0a05865]::span_encoding::Span>::{closure#0}, !>::{closure#0} 14: 0x703ddea6576b - rustc_middle[d9c304bb3c99a636]::ty::context::tls::with_context_opt::<rustc_middle[d9c304bb3c99a636]::ty::context::tls::with_opt<rustc_middle[d9c304bb3c99a636]::util::bug::opt_span_bug_fmt<rustc_span[79f25feaa0a05865]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !> 15: 0x703ddcbd4270 - rustc_middle[d9c304bb3c99a636]::util::bug::bug_fmt 16: 0x703de03b2479 - <rustc_borrowck[418e11b174dea340]::type_check::constraint_conversion::ConstraintConversion>::convert 17: 0x703de03b158e - <rustc_borrowck[418e11b174dea340]::type_check::TypeChecker>::prove_closure_bounds 18: 0x703ddfc6e6ca - <rustc_borrowck[418e11b174dea340]::type_check::TypeChecker>::typeck_mir 19: 0x703de0ab7e93 - rustc_borrowck[418e11b174dea340]::type_check::type_check 20: 0x703ddfb0777e - rustc_borrowck[418e11b174dea340]::nll::compute_regions 21: 0x703de0adbb87 - rustc_borrowck[418e11b174dea340]::do_mir_borrowck 22: 0x703de0acebaf - rustc_query_impl[51e2c968ef770bf4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[51e2c968ef770bf4]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d9c304bb3c99a636]::query::erase::Erased<[u8; 8usize]>> 23: 0x703ddfddbc0e - rustc_query_system[62ef735fec9db900]::query::plumbing::try_execute_query::<rustc_query_impl[51e2c968ef770bf4]::DynamicConfig<rustc_data_structures[ab2428ff1810be63]::vec_cache::VecCache<rustc_span[79f25feaa0a05865]::def_id::LocalDefId, rustc_middle[d9c304bb3c99a636]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[62ef735fec9db900]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[51e2c968ef770bf4]::plumbing::QueryCtxt, false> 24: 0x703ddfddb70d - rustc_query_impl[51e2c968ef770bf4]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace 25: 0x703ddfdd4900 - rustc_interface[511fe094a4999c01]::passes::run_required_analyses 26: 0x703de092d99e - rustc_interface[511fe094a4999c01]::passes::analysis 27: 0x703de092d96f - rustc_query_impl[51e2c968ef770bf4]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[51e2c968ef770bf4]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d9c304bb3c99a636]::query::erase::Erased<[u8; 0usize]>> 28: 0x703de0a083d5 - rustc_query_system[62ef735fec9db900]::query::plumbing::try_execute_query::<rustc_query_impl[51e2c968ef770bf4]::DynamicConfig<rustc_query_system[62ef735fec9db900]::query::caches::SingleCache<rustc_middle[d9c304bb3c99a636]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[51e2c968ef770bf4]::plumbing::QueryCtxt, false> 29: 0x703de0a0810e - rustc_query_impl[51e2c968ef770bf4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace 30: 0x703de09a1169 - rustc_interface[511fe094a4999c01]::passes::create_and_enter_global_ctxt::<core[ee856ee324d81d9a]::option::Option<rustc_interface[511fe094a4999c01]::queries::Linker>, rustc_driver_impl[d01b6faf608d79fd]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} 31: 0x703de09ef950 - rustc_interface[511fe094a4999c01]::interface::run_compiler::<(), rustc_driver_impl[d01b6faf608d79fd]::run_compiler::{closure#0}>::{closure#1} 32: 0x703de0940076 - std[59f0843774866faa]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[511fe094a4999c01]::util::run_in_thread_with_globals<rustc_interface[511fe094a4999c01]::util::run_in_thread_pool_with_globals<rustc_interface[511fe094a4999c01]::interface::run_compiler<(), rustc_driver_impl[d01b6faf608d79fd]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 33: 0x703de093fd59 - <<std[59f0843774866faa]::thread::Builder>::spawn_unchecked_<rustc_interface[511fe094a4999c01]::util::run_in_thread_with_globals<rustc_interface[511fe094a4999c01]::util::run_in_thread_pool_with_globals<rustc_interface[511fe094a4999c01]::interface::run_compiler<(), rustc_driver_impl[d01b6faf608d79fd]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[ee856ee324d81d9a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 34: 0x703de093f4ef - std::sys::pal::unix::thread::Thread::new::thread_start::h66685cea0b34fc94 35: 0x703ddaca339d - <unknown> 36: 0x703ddad2849c - <unknown> 37: 0x0 - <unknown> note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: rustc 1.86.0-nightly (cd805f09f 2025-01-21) running on x86_64-unknown-linux-gnu query stack during panic: #0 [mir_borrowck] borrow-checking `get_invariant_ref` #1 [analysis] running analysis passes on this crate end of query stack error: aborting due to 4 previous errors Some errors have detailed explanations: E0121, E0308, E0601. For more information about an error, try `rustc --explain E0121`. ``` </p> </details> <!-- query stack: #0 [mir_borrowck] borrow-checking `get_invariant_ref` #1 [analysis] running analysis passes on this crate -->
I-ICE,T-compiler,C-bug
low
Critical
2,802,884,906
go
x/exp/rand: update documentation to direct users to math/rand/v2
According to #61716, the x/exp/rand package should be tagged and deleted from the main branch. I see that it was recently tagged with v0. However, I suggest updating the documentation to direct users to math/rand/v2. Perhaps also deprecating the package (not sure about the policy on full package deprecation). Rationale: - People may accidentally use x/exp/rand instead of math/rand/v2, even if they are on Go 1.22 or higher. - I caught one such case in code review just now. I went looking at [x/exp/rand](https://pkg.go.dev/golang.org/x/exp/rand), wondering if this was a precursor of math/rand/v2, but nothing was mentioned about it in the documentation, adding to my confusion. - I suspect gopls' heuristic for selecting which package to import is at play... (see also #61208).
Documentation,NeedsInvestigation,LibraryProposal
low
Minor
2,802,904,225
ollama
Ollama throws 'does not support generate' error on running embedding models on windows
### What is the issue? Hi, as the title says, when using ollama cli, and trying to running any embedding models present on the website (in this case nomic-embed-text), they throw an error which is: ``` Error: "nomic-embed-text" does not support generate ``` to reproduce: 1. simply install ollama on windows through their website. 2. run: ``` ollama run nomic-embed-text ``` ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.5.7
bug
low
Critical
2,802,996,804
rust
Trait implementation causes `Object File Too Large` error and compilation crash
<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> For Leptos 0.7, we've switched our HTML rendering engine to use large recursive static types to represent the HTML tree, giving us significant benefits to final binary size and runtime speed, but unfortunately not to compile time. To fix that, we've brought back the old behavior where we type erase the HTML components in the tree behind a feature flag for users to develop faster. However, we also added [generic attribute spreading](https://book.leptos.dev/view/03_components.html#spreading-attributes-onto-components) in this release to make our maintenance and user's code nicer and easier to write. The crux of the issue here is implementing the trait that does that causes an `error: cannot encode offset of relocations; object file too large` on Mac after compiling for 10ish minutes and using 50GB of ram, with other issues on other platforms, but only with the `AddAnyAttr` trait. Not having attribute spreading in the type erased version severely limits its usefulness. The trait can be found [here](https://github.com/zakstucke/leptos/blob/e918144b27708b60d70628b5c52cc60c7786b038/tachys/src/view/any_view.rs#L368) but is basically this: ```rust // Pre-erases output to reduce compile-time explosions impl AddAnyAttr for AnyView { type Output<SomeNewAttr: Attribute> = AnyView; #[inline(never)] fn add_any_attr<NewAttr: Attribute>( self, attr: NewAttr, ) -> Self::Output<NewAttr> where Self::Output<NewAttr>: RenderHtml, { let attr = attr.into_cloneable_owned(); let any_attr = attr.into_any_attr(); self.value.dyn_add_any_attr(any_attr) } } ``` A similar issue was discussed broadly [here](https://github.com/rust-lang/rust/issues/130729), but I wanted to provide a specific reproducer for a more targeted issue in the hopes of a solution or a workaround. Please let me know if this is out of line. This can be reproduced by running `cargo +stable build --bin demo --features ssr` in the main branch of this [repo](https://github.com/zakstucke/thaw). To fix(and disable attribute spreading), in the workspace Cargo.toml change the leptos branch to "any-attr-disabled", see the extra commit on that branch for the minimal change that allows compilation to succeed in about 1m30s. This leads us to the idea that this specific trait implementation brakes everything, even though it seems to be perfectly valid Rust. Thanks to @zakstucke and all the other Leptos users who have worked on this and tested various workarounds
I-crash,A-trait-system,I-compiletime,T-compiler,I-compilemem,C-bug,WG-trait-system-refactor
low
Critical
2,802,999,827
godot
New assigned shortcut shift + a doesn't work
### Tested versions I've tried it and got the same results in godot 4.3 (NET) godot 4.4 beta 1 (NET) other versions I don't know ### System information Windows 11 ### Issue description I think this is not reported yet? sorry if I'm wrong (and could be a me issue maybe? tho I've tried it on two devices) I've tried to set a new shortcut shift + a for adding a child node and it doesn't work I've also reassign and tested with a different shortcut eg. Ctrl + Shift + N and this works ![Image](https://github.com/user-attachments/assets/26635f88-7dce-41ed-9c7f-465854205753) ### Steps to reproduce set a new shortcut for adding a child node Ctrl+A -> Shift+A ### Minimal reproduction project (MRP) N/A
topic:editor,needs testing,topic:input
low
Minor
2,803,002,690
vscode
R
R _Originally posted by @666Ty6uK666 in https://github.com/microsoft/vscode/pull/238012#pullrequestreview-2565868712_
info-needed,triage-needed
low
Minor