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,576,672,435
neovim
I have to manual `:redraw!` to make `nvim_set_decoration_provider` work
### Problem Somehow I want to show something on the top right of current window, source the code: ```lua local ns_id = vim.api.nvim_create_namespace("floating_text") vim.api.nvim_set_decoration_provider(ns_id, { on_win = function(_, winid, bufnr, top_row, bot_row) local virt_text = "I want to show something" vim.api.nvim_buf_set_extmark(bufnr, ns_id, top_row, 0, { virt_text = {{virt_text, "Error"}}, virt_text_pos = "right_align", ephemeral = true, }) end, }) ``` The problem is, the virt_text was not showed at the window's top right as I expected. It's not show, or show many the same line in different line. but`CTRL-L` or `:redraw!` or `mode` will make the thing right. ![Image](https://github.com/user-attachments/assets/54a35a13-df4a-4387-ae17-d7cad52f3977) ### Steps to reproduce nvim -u NONE put the lines: ```lua local ns_id = vim.api.nvim_create_namespace("floating_text") vim.api.nvim_set_decoration_provider(ns_id, { on_win = function(_, winid, bufnr, top_row, bot_row) local virt_text = "I want to show something" vim.api.nvim_buf_set_extmark(bufnr, ns_id, top_row, 0, { virt_text = {{virt_text, "Error"}}, virt_text_pos = "right_align", ephemeral = true, }) end, }) ``` source it ### Expected behavior whenevev I scroll line or window with like `<C-E>` `<C-y>` `<C-f>` `<C-b>`, the line always show on window's first line (top_row). ### Nvim version (nvim -v) NVIM v0.11.0-dev-939+g0264870c0-Homebrew Build type: Release LuaJIT 2.1.1727870382 ### Vim (not Nvim) behaves the same? no ### Operating system/version macos 15 ### Terminal name/version alacritty ### $TERM environment variable alacritty ### Installation brew install neovim --HEAD
bug,display,marks
low
Critical
2,576,726,926
tauri
[feat] Use ksni crate for tray icons on Linux
### Describe the problem Currently Tauri uses libappindicator to create tray icons on Linux. But it has far fewer features than the xdg standard, as well as macOS and Windows. There are multiple bug reports and feature requests regarding tray icon issues on Linux. In particular it's not possible to handle left clicks and to add tool tips. ### Describe the solution you'd like I would like to use the xdg standard for tray icons, which is supported on all Linux desktop environments and has many more features than libappindicator. Also libappindicator looks pretty dead. The last commit to the src folder is 15 years old. https://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk/files It looks to me like https://github.com/iovxw/ksni is a great fit for this task. It should be fairly easy to integrate it into Tauri. I'm ready to write the necessary code myself. I just want to know if you are interested in merging it and if you would like to keep libappindicator as a choice, or if I can remove it. ### Alternatives considered _No response_ ### Additional context _No response_
type: feature request,platform: Linux
low
Critical
2,576,764,797
godot
Movie writer inconsistent deltas at start set movie writer fps to 30
### Tested versions - Reproducible 4.3.stable & 4.2.1.stable ### System information Godot v4.3.stable.mono - Windows 10.0.22631 - Vulkan (Forward+) - integrated Intel(R) UHD Graphics 630 (Intel Corporation; 31.0.101.2127) - Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 Threads). Also windows 11 desktop with AMD 7950x and RTX 3090. Vaguely remember trying on old linux box too. ### Issue description The first few frames have differing deltas when in movie mode set to 30 fps. If I set physics ticks to 30 then deltas are constant. ### Steps to reproduce Create 2D or 3D scene and add this script: ``` var previousDelta:float = 0 # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: if (previousDelta != 0 && previousDelta != delta): push_error('delta is different') previousDelta = delta ``` Set project settings movie writer fps to 30. Turn on movie maker mode and play and the error will trigger a few times at start then disappear. ### Minimal reproduction project (MRP) [deltaproblem.zip](https://github.com/user-attachments/files/17317496/deltaproblem.zip)
bug,topic:core,confirmed
low
Critical
2,576,797,323
flutter
Use a markup language that allows for comments in //flutter/ci/builders/*
We use JSON today. But the manifests are fairly large and hard to parse. As a relative newbie to tinkering on these, I would like to add additional inline documentation via comments. But JSON makes this hard to do. Don't have a particularly strong opinion on a specific markup language, just want to express a frustration with JSON as we use it today.
engine,c: proposal,team-infra,P2,triaged-infra
low
Minor
2,576,813,093
pytorch
Issue including and linking libtorch into OMNeT++
I am trying to include libtorch into OMNeT++, so my inet project can use libtorch. I have included `libtorch/include` and `api/include`. As well as linking the libraries for `torch`,` torch_cpu `and `c10`. I get the following error: `'c10::impl::raw_local_dispatch_key_set' cannot be thread local when declared 'dllimport'` on line 68 in LocalDispatchKeySet.h: `extern C10_API thread_local PODLocalDispatchKeySet raw_local_dispatch_key_set;` Does anyone know the cause and how to fix it? cc @peterjc123 @mszhanyi @skyline75489 @nbcsm @iremyux @Blackhex @jbschlosser
needs reproduction,module: windows,module: cpp,triaged
low
Critical
2,576,854,084
flutter
Long text in FittedBox shrinks InkWell below accessibility tap target size
### Steps to reproduce 1. Create a flutter application 2. In test, create a test file 3. Copy and paste Code section in 4. Run tests ### Expected results Both tests passed. ### Actual results Having larger text seems to shrink the button for `meetsGuideline(androidTapTargetGuideline)` ```bash ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ The following TestFailure was thrown running a test: Expected: Tappable objects should be at least Size(48.0, 48.0) Actual: <Instance of 'WidgetTester'> Which: SemanticsNode#7(Rect.fromLTRB(0.0, 0.0, 382.0, 47.9), tags: [RenderViewport.twoPane], actions: [focus, tap], flags: [isFocusable], label: "ABCDEFGHIJKLMNOPQRS", textDirection: ltr, indexInParent: 0): expected tap target size of at least Size(48.0, 48.0), but found Size(382.0, 47.9) See also: https://support.google.com/accessibility/android/answer/7101858?hl=en When the exception was thrown, this was the stack: #0 fail (package:matcher/src/expect/expect.dart:149:31) #1 _expect.<anonymous closure> (package:matcher/src/expect/expect.dart:125:9) <asynchronous suspension> <asynchronous suspension> #8 expectLater.<anonymous closure> (package:flutter_test/src/widget_tester.dart:518:24) <asynchronous suspension> #9 _testAccessibility (file:///Users/lucassaudon/work/my_trash_app/test/widget_test.dart:71:3) <asynchronous suspension> #10 main.<anonymous closure> (file:///Users/lucassaudon/work/my_trash_app/test/widget_test.dart:9:5) <asynchronous suspension> #11 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:189:15) <asynchronous suspension> #12 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1032:5) <asynchronous suspension> <asynchronous suspension> (elided 7 frames from dart:async and package:stack_trace) The test description was: Given a long string, when rendered, then it meets accessibility guidelines ════════════════════════════════════════════════════════════════════════════════════════════════════ ``` ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { testWidgets( 'Given a long string, when rendered, then it meets accessibility guidelines', (WidgetTester tester) async { const data = 'ABCDEFGHIJKLMNOPQRS'; await _testAccessibility(tester, data); }); testWidgets( 'Given a slightly shorter string, when rendered, then it meets accessibility guidelines', (WidgetTester tester) async { const data = 'ABCDEFGHIJKLMNOPQR'; await _testAccessibility(tester, data); }); } Future<void> _testAccessibility(WidgetTester tester, String data) async { tester.view ..devicePixelRatio = 2 ..physicalSize = Size(2 * 414, 2 * 896); addTearDown(tester.view.resetDevicePixelRatio); addTearDown(tester.view.resetPhysicalSize); final handle = tester.ensureSemantics(); await tester.pumpWidget( MaterialApp( home: Scaffold( body: ListView( padding: const EdgeInsets.symmetric(vertical: 24), children: [ Padding( padding: const EdgeInsets.symmetric(horizontal: 16), child: ListView( physics: const NeverScrollableScrollPhysics(), shrinkWrap: true, children: [ Align( alignment: Alignment.centerLeft, child: FittedBox( child: InkWell( onTap: () {}, child: ConstrainedBox( constraints: const BoxConstraints(minHeight: 48), child: Padding( padding: const EdgeInsets.symmetric( vertical: 10, horizontal: 18, ), child: Text( data, style: const TextStyle( fontSize: 18, ), ), ), ), ), ), ), ], ), ), ], ), ), ), ); await expectLater(tester, meetsGuideline(androidTapTargetGuideline)); handle.dispose(); } ``` </details> ### Logs <details open><summary>Logs</summary> ```console [ +2 ms] executing: sw_vers -productName [ +12 ms] Exit code 0 from: sw_vers -productName [ ] macOS [ ] executing: sw_vers -productVersion [ +6 ms] Exit code 0 from: sw_vers -productVersion [ ] 15.0.1 [ ] executing: sw_vers -buildVersion [ +6 ms] Exit code 0 from: sw_vers -buildVersion [ ] 24A348 [ ] executing: uname -m [ +2 ms] Exit code 0 from: uname -m [ ] arm64 [ +3 ms] executing: sysctl hw.optional.arm64 [ +2 ms] Exit code 0 from: sysctl hw.optional.arm64 [ ] hw.optional.arm64: 1 [ +23 ms] Found 1 files which will be executed as Widget Tests. [ +2 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +13 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ +24 ms] Skipping pub get: version match. [ +63 ms] Generating /Users/lucassaudon/work/my_trash_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +10 ms] executing: sysctl hw.optional.arm64 [ +2 ms] Exit code 0 from: sysctl hw.optional.arm64 [ ] hw.optional.arm64: 1 [ ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version [ +37 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version [ ] Xcode 16.0 Build version 16A242d [ +70 ms] running test package with arguments: [--no-color, --chain-stack-traces, --, file:///Users/lucassaudon/work/my_trash_app/test/widget_test.dart] 00:00 +0: loading /Users/lucassaudon/work/my_trash_app/test/widget_test.dart [ +76 ms] test 0: starting test /Users/lucassaudon/work/my_trash_app/test/widget_test.dart [ +2 ms] Stopping scan for flutter_test_config.dart; found project root at /Users/lucassaudon/work/my_trash_app [ ] Compiler will use the following file as its incremental dill file: /var/folders/pw/qvzl_yx57vb_7kry7xhg_sd00000gn/T/flutter_tools.9rmj0A/flutter_test_compiler.6WuDJf/output.dill [ ] Listening to compiler controller... [ +3 ms] Compiling file:///var/folders/pw/qvzl_yx57vb_7kry7xhg_sd00000gn/T/flutter_tools.9rmj0A/flutter_test_listener.dt6gWC/listener.dart [ +23 ms] No packages with native assets. Skipping native assets compilation. [ ] Writing native_assets.yaml. [ +4 ms] Writing /Users/lucassaudon/work/my_trash_app/build/native_assets/macos/native_assets.yaml done. [ +1 ms] /Users/lucassaudon/development/flutter/bin/cache/dart-sdk/bin/dartaotruntime --disable-dart-dev /Users/lucassaudon/development/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server_aot.dart.snapshot --sdk-root /Users/lucassaudon/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --no-print-incremental-dependencies --target=flutter --experimental-emit-debug-metadata --output-dill /var/folders/pw/qvzl_yx57vb_7kry7xhg_sd00000gn/T/flutter_tools.9rmj0A/flutter_test_compiler.6WuDJf/output.dill --packages /Users/lucassaudon/work/my_trash_app/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --initialize-from-dill /Users/lucassaudon/work/my_trash_app/build/test_cache/build/cache.dill.track.dill --native-assets file:///Users/lucassaudon/work/my_trash_app/build/native_assets/macos/native_assets.yaml --verbosity=error [ +6 ms] <- native-assets file:///Users/lucassaudon/work/my_trash_app/build/native_assets/macos/native_assets.yaml [ ] <- compile file:///var/folders/pw/qvzl_yx57vb_7kry7xhg_sd00000gn/T/flutter_tools.9rmj0A/flutter_test_listener.dt6gWC/listener.dart [ +426 ms] <- accept [ ] <- reset [ ] Compiling file:///var/folders/pw/qvzl_yx57vb_7kry7xhg_sd00000gn/T/flutter_tools.9rmj0A/flutter_test_listener.dt6gWC/listener.dart took 462ms [ ] test 0: starting test device [ +1 ms] test 0: awaiting connection to test device [ ] test 0: VM Service uri is not available [ +1 ms] test 0: test harness socket server is running at port:60387 [ ] Using this directory for fonts configuration: /var/folders/pw/qvzl_yx57vb_7kry7xhg_sd00000gn/T/flutter_tools.9rmj0A/flutter_test_fonts.SJfGP8 [ ] test 0: Starting flutter_tester process with command=[/Users/lucassaudon/development/flutter/bin/cache/artifacts/engine/darwin-x64/flutter_tester, --disable-vm-service, --enable-checked-mode, --verify-entry-points, --enable-software-rendering, --skia-deterministic-rendering, --enable-dart-profiling, --non-interactive, --use-test-fonts, --disable-asset-fonts, --packages=/Users/lucassaudon/work/my_trash_app/.dart_tool/package_config.json, --flutter-assets-dir=/Users/lucassaudon/work/my_trash_app/build/unit_test_assets, /var/folders/pw/qvzl_yx57vb_7kry7xhg_sd00000gn/T/flutter_tools.9rmj0A/flutter_test_listener.dt6gWC/listener.dart.dill], environment={FLUTTER_TEST: true, FONTCONFIG_FILE: /var/folders/pw/qvzl_yx57vb_7kry7xhg_sd00000gn/T/flutter_tools.9rmj0A/flutter_test_fonts.SJfGP8/fonts.conf, SERVER_PORT: 60387, APP_NAME: my_trash_app, UNIT_TEST_ASSETS: /Users/lucassaudon/work/my_trash_app/build/unit_test_assets} [ +3 ms] test 0: Started flutter_tester process at pid 28313 [ +321 ms] test 0: connected to test device, now awaiting test result [ ] test 0: Waiting for test harness or tests to finish 00:00 +0: Given a long string, when rendered, then it meets accessibility guidelines 00:01 +0: Given a long string, when rendered, then it meets accessibility guidelines 00:01 +0: Given a long string, when rendered, then it meets accessibility guidelines ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ The following TestFailure was thrown running a test: Expected: Tappable objects should be at least Size(48.0, 48.0) Actual: <Instance of 'WidgetTester'> Which: SemanticsNode#7(Rect.fromLTRB(0.0, 0.0, 382.0, 47.9), tags: [RenderViewport.twoPane], actions: [focus, tap], flags: [isFocusable], label: "ABCDEFGHIJKLMNOPQRS", textDirection: ltr, indexInParent: 0): expected tap target size of at least Size(48.0, 48.0), but found Size(382.0, 47.9) See also: https://support.google.com/accessibility/android/answer/7101858?hl=en When the exception was thrown, this was the stack: #0 fail (package:matcher/src/expect/expect.dart:149:31) #1 _expect.<anonymous closure> (package:matcher/src/expect/expect.dart:125:9) <asynchronous suspension> <asynchronous suspension> #8 expectLater.<anonymous closure> (package:flutter_test/src/widget_tester.dart:518:24) <asynchronous suspension> #9 _testAccessibility (file:///Users/lucassaudon/work/my_trash_app/test/widget_test.dart:71:3) <asynchronous suspension> #10 main.<anonymous closure> (file:///Users/lucassaudon/work/my_trash_app/test/widget_test.dart:9:5) <asynchronous suspension> #11 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:189:15) <asynchronous suspension> #12 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1032:5) <asynchronous suspension> <asynchronous suspension> (elided 7 frames from dart:async and package:stack_trace) The test description was: Given a long string, when rendered, then it meets accessibility guidelines ════════════════════════════════════════════════════════════════════════════════════════════════════ 00:01 +0 -1: Given a long string, when rendered, then it meets accessibility guidelines [E] Test failed. See exception logs above. The test description was: Given a long string, when rendered, then it meets accessibility guidelines To run this test again: /Users/lucassaudon/development/flutter/bin/cache/dart-sdk/bin/dart test /Users/lucassaudon/work/my_trash_app/test/widget_test.dart -p vm --plain-name 'Given a long string, when rendered, then it meets accessibility guidelines' 00:01 +0 -1: Given a slightly shorter string, when rendered, then it meets accessibility guidelines 00:01 +1 -1: Given a slightly shorter string, when rendered, then it meets accessibility guidelines [ +368 ms] test 0: Test harness is no longer needed by test process [ ] test 0: finished [ ] test 0: cleaning up... [ ] test 0: ensuring test device is terminated. [ ] test 0: Terminating flutter_tester process [ ] test 0: Shutting down DevTools server [ ] test 0: Test process is no longer needed by test harness [ ] test 0: Shutting down test harness socket server [ +4 ms] test 0: flutter_tester process at pid 28313 exited with code=-9 [ ] test 0: deleting temporary directory [ +1 ms] test 0: finished 00:01 +1 -1: Some tests failed. [ +2 ms] Deleting /var/folders/pw/qvzl_yx57vb_7kry7xhg_sd00000gn/T/flutter_tools.9rmj0A/flutter_test_compiler.6WuDJf... [ ] killing pid 28312 [ +7 ms] Deleting /var/folders/pw/qvzl_yx57vb_7kry7xhg_sd00000gn/T/flutter_tools.9rmj0A/flutter_test_fonts.SJfGP8... [ +1 ms] test package returned with exit code 1 [ ] Runtime for phase TestRunner: Wall-clock: 0:00:01.265151; combined: 0:00:01.265165. [ ] Runtime for phase Compile: Wall-clock: 0:00:00.462505; combined: 0:00:00.462523. [ ] Runtime for phase Run: Wall-clock: 0:00:00.697354; combined: 0:00:00.697355. [ ] Runtime for phase CoverageTotal: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ ] Runtime for phase CoverageCollect: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ ] Runtime for phase CoverageParseJson: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ ] Runtime for phase CoverageAddHitmap: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ ] Runtime for phase CoverageDataCollect: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000. [ ] Runtime for phase WatcherFinishedTest: Wall-clock: 0:00:00.000319; combined: 0:00:00.000319. [ +3 ms] "flutter test" took 1 496ms. [ +1 ms] Running 2 shutdown hooks [ ] Shutdown hooks complete [ +73 ms] exiting with code 1 ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-arm64, locale fr-FR) • Flutter version 3.24.3 on channel stable at /Users/someone/development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2663184aa7 (4 weeks ago), 2024-09-11 16:27:48 -0500 • Engine revision 36335019a8 • Dart version 3.5.3 • DevTools version 2.37.3 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/someone/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.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 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) [✓] VS Code (version 1.94.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.98.0 [✓] Connected device (1 available) • iPhone 16 Pro Max (mobile) • C6A1D082-C349-401A-8B11-5033AB29E450 • ios • com.apple.CoreSimulator.SimRuntime.iOS-18-0 (simulator) [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
a: tests,framework,a: accessibility,has reproducible steps,P2,found in release: 3.24,team-accessibility,triaged-accessibility,found in release: 3.26
low
Critical
2,576,882,458
kubernetes
[Compatibility Version] Configuration APIs Lifecycle
With compatibility version, we check emulation version in deciding whether to serve a resource: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiserver/pkg/server/deleted_kinds.go#L119. Thus, if a resource was introduced in a later version than the emulation version, the resource will be disabled. Kubernetes also has other API types that are not directly served but used for configuration files (under the apiserver group). One example is AuthorizationConfiguration (currently in beta). Adding a new version involves directly adding to the `install.go` script, bypassing any compatibility version checks and allowing it to be used in the scheme for conversion/decoding to the internal type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiserver/pkg/apis/apiserver/load/load.go#L73. This type is planned to go GA in 1.32, which means that configuration files are able to use the v1 type when declaring their `AuthorizationConfiguration`, even when emulating a previous version. Is it fine to allow these new configuration types to be used during emulation? I see these similar to adding a new CLI flag, we generally don't version apiserver CLI flag options. Furthermore these types are not persisted to etcd so we have no prerelease lifecycle information on them. /cc @jpbetz @aaron-prindle
sig/api-machinery,triage/accepted
low
Minor
2,576,885,419
pytorch
[MPS] `torch.linspace` produces different results that CPU implementation for integral types
### 🐛 Describe the bug Probably problem is this operator https://github.com/pytorch/pytorch/blob/16a2c2cfd4ac58eecb05accbdf6b845a1ffbd9cf/aten/src/ATen/native/mps/operations/RangeFactories.mm#L237-L239 For example see this one: ``` >>> torch.linspace(4.3, -3, 50, dtype=torch.int8) tensor([ 4, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, -1, -1, -1, -2, -2, -2, -2, -2, -2, -2, -3], dtype=torch.int8) >>> torch.linspace(4.3, -3, 50, dtype=torch.int8, device="mps") tensor([ 4, 4, 4, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, -1, -1, -1, -2, -2, -2, -2, -2, -2, -2], device='mps:0', dtype=torch.int8) ``` ### Versions All of them :/ cc @kulinseth @albanD @DenisVieriu97 @jhavukainen
triaged,module: correctness (silent),module: mps
low
Critical
2,576,897,786
PowerToys
File and folder searches aren’t working
### Microsoft PowerToys version 0.85.1 ### Installation method GitHub ### Running as admin None ### Area(s) with issue? Always on Top ### Steps to reproduce After updating PowerToys to the latest version, I've encountered an issue with the file and folder search on my laptop. When I type "?" and the name of a file or folder, no results appear. I've tried uninstalling and reinstalling the software, but the problem persists. ### ✔️ Expected Behavior The search option should find the file or folder matching the name. ### ❌ Actual Behavior However, no results show up when searching matching file or folder names. ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,576,899,734
deno
Issues regarding integration of Clerk with NextJS
Version: Deno 2.0 ### What is the issue? Basically, if you are trying to integrate Clerk with NextJS it will immediately crash when the first page is trying to compile. It passes the middleware compilation, but when it hits the page compilation; it crashes immediately. **Note:** A default NextJS application, with no Clerk added will **not** crash. Its when Clerk is added, it crashes. Error that occurs upon page compilation: ``` error: Uncaught TypeError: Failed to decompress at BrotliDecompress.transform [as _transform] (ext:deno_node/_brotli.js:69:23) at BrotliDecompress.Transform._write (ext:deno_node/_stream.mjs:4563:12) at writeOrBuffer (ext:deno_node/_stream.mjs:3520:16) at _write (ext:deno_node/_stream.mjs:3465:14) at BrotliDecompress.Writable.write (ext:deno_node/_stream.mjs:3468:14) at Readable.ondata (ext:deno_node/_stream.mjs:2744:26) at Readable.emit (ext:deno_node/_events.mjs:393:28) at resume_ (ext:deno_node/_stream.mjs:2915:7) at processTicksAndRejections (ext:deno_node/_next_tick.ts:36:15) at runNextTicks (ext:deno_node/_next_tick.ts:75:3) at eventLoopTick (ext:core/01_core.js:182:21) error: Uncaught (in promise) TypeError: Unknown signal: 0 at toDenoSignal (ext:deno_node/internal/child_process.ts:389:11) at ChildProcess.kill (ext:deno_node/internal/child_process.ts:298:53) at handleSessionStop (file:///F:/Scripts/ClerkDenoTesting/node_modules/.deno/next@14.2.15/node_modules/next/dist/cli/next-dev.js:84:51) at ChildProcess.<anonymous> (file:///F:/Scripts/ClerkDenoTesting/node_modules/.deno/next@14.2.15/node_modules/next/dist/cli/next-dev.js:253:23) at ChildProcess.emit (ext:deno_node/_events.mjs:393:28) at ext:deno_node/internal/child_process.ts:277:16 at eventLoopTick (ext:core/01_core.js:175:7) ``` ### How to reproduce? Its quite simple to reproduce. Just follow these small steps and you should be having the same issues: 1. Create a new NextJS project with: `deno run -A npm:create-next-app@latest` and follow the setup instruction. 2. When created, follow the default Clerk integration: https://clerk.com/docs/quickstarts/nextjs, the only thing needed from here is adding the packages, adding tokens to the `.env` file, adding the middleware.ts file and adding the `ClerkProvider` to your layout.tsx. 3. Run up the application with: `deno task dev`, let it start up and try opening the page. If you followed the instructions correctly, it should have crashed by now! :)
bug,node compat,nextjs
low
Critical
2,576,931,768
deno
Deno install is not working
Version: Deno 2.0.0 I am using Darwin Christians-MacBook-Pro.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 arm64 <img width="1177" alt="Screenshot 2024-10-09 at 22 49 48" src="https://github.com/user-attachments/assets/c72dd473-68fd-4ba2-a67e-8e8d109c85ff">
needs info,node compat,install
low
Minor
2,576,958,404
rust
Emscripten metadata file size is wrong
<!-- 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. --> I tried this code: ```rust std::fs::read("my-file") ``` for a file that is <1MB large. I expected to see this happen: The read should allocate a vec that is as large as the file content. The heap size in Emscripten should not meaningfully change. Instead, this happened: The Emscripten heap grows by 1.8GB I looked into the implementation of fs::read. Since it uses the file metadata size to pre-allocate the output vector, I debug printed the file size, which is around 1.8GB. Since my Rust code is running inside Pyodide 0.25, I also checked Python's os.stat of the file, which reports the correct file size. Reading the file in Python also succeeds without the enormous over-allocation. It seems that this is a Rust-specific bug in getting the correct file size information from Emscripten. ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> My Rust toolchain is pinned to nightly-2024-07-21, the last nightly for 1.81.
P-high,I-unsound,C-bug,T-libs,O-wasi,O-emscripten
medium
Critical
2,576,975,874
deno
Fails with http2 in fastify
Version: Deno 2, Windows 11 This code: ```javascript import Fastify from "fastify"; import { readFile } from "node:fs/promises"; import { join } from "node:path"; const fastify = Fastify({ http2: true, https: { key: await readFile(join(process.cwd(), "localhost-key.pem")), cert: await readFile(join(process.cwd(), "localhost.pem")), }, }); fastify.get("/", (_req, reply) => { reply.send("Hello World"); }); await fastify.listen({ port: 3000, host: "::" }); ``` fails with error: ```bash PS C:\Users\...> deno run -A example.ts error: Uncaught (in promise) Error: Not implemented: http2.createSecureServer at notImplemented (ext:deno_node/_utils.ts:9:9) at Object.createSecureServer (node:http2:1296:3) at getServerInstance (file:///C:/Users/.../node_modules/fastify/lib/server.js:278:24) at createServer (file:///C:/Users/.../node_modules/fastify/lib/server.js:24:18) at fastify (file:///C:/Users/.../node_modules/fastify/fastify.js:181:30) at file:///C:/Users/.../example.ts:5:17 at eventLoopTick (ext:core/01_core.js:175:7) ``` However, it will work without http2 but logs: `Not implemented: Server.setTimeout()`
bug,node compat,node:http
low
Critical
2,576,996,813
deno
Deno panic when configuring import with file:// in workspace
I might be totally misconfiguring things. Saw the Deno 2.0 announcement and decided to try migrating a small npm monorepo to Deno, but ran into a panic when configuring an import to another project in the workspace. Repro: - Clone the `deno` branch from https://github.com/mattjennings/game-engine-2/tree/deno - Run `deno install` - cd into `examples/deno` and run `deno run dev` Output: ```bash RUST_BACKTRACE=1 deno run dev Task dev deno run --watch main.ts Watcher Process started. ============================================================ Deno has panicked. This is a bug in Deno. Please report this at https://github.com/denoland/deno/issues/new. If you can reliably reproduce this panic, include the reproduction steps and re-run with the RUST_BACKTRACE=1 env var set and include the backtrace in your report. Platform: macos aarch64 Version: 2.0.0 Args: ["/Users/mattjennings/.deno/bin/deno", "run", "--watch", "main.ts"] thread 'main' panicked at cli/graph_util.rs:1001:48: called `Result::unwrap()` on an `Err` value: () stack backtrace: 0: _rust_begin_unwind 1: core::panicking::panic_fmt 2: core::result::unwrap_failed 3: <deno::graph_util::FileWatcherReporter as deno_graph::source::Reporter>::on_load 4: deno_graph::graph::Builder::fill::{{closure}} 5: deno_graph::graph::ModuleGraph::build::{{closure}} 6: deno::graph_util::ModuleGraphBuilder::build_graph_with_npm_resolution::{{closure}} 7: deno::module_loader::ModuleLoadPreparer::prepare_module_load::{{closure}} 8: <deno::module_loader::CliModuleLoader<TGraphContainer> as deno_core::modules::loaders::ModuleLoader>::prepare_load::{{closure}} 9: deno_core::modules::recursive_load::RecursiveModuleLoad::prepare::{{closure}} 10: deno::worker::CliMainWorker::execute_main_module_possibly_with_npm::{{closure}} 11: deno::worker::CliMainWorker::run_for_watcher::{{closure}} 12: deno::tools::run::run_script::{{closure}} 13: deno::spawn_subcommand::{{closure}} 14: <deno_unsync::tokio::task::MaskFutureAsSend<F> as core::future::future::Future>::poll 15: tokio::runtime::task::raw::poll 16: deno::main note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ``` This is from a `file://` import in `example/deno/deno.json` ```json "imports": { "game-engine": "file://../../packages/game-engine" } ``` Removing `file://` avoids the panic, but it still fails to find the project, so I'm probably misconfiguring something here. Let me know if there's any more info you need.
bug,cli,workspaces
low
Critical
2,577,004,514
TypeScript
VSCode errors when refactoring JavaScript to new file
Type: <b>Bug</b> I was trying to copy some JavaScript functions to a new file using Refactor. I clicked **Move to file** and got the following notification: ``` <semantic> TypeScript Server Error (5.6.2) Debug Failure. False expression: No interactive refactor arguments available Error: Debug Failure. False expression: No interactive refactor arguments available at Object.getRefactorEditsToMoveToFile [as getEditsForAction] (/home/procode/.vscode-server/bin/d78a74bcdfad14d5d3b1b782f87255d802b57511/extensions/node_modules/typescript/lib/typescript.js:144294:11) at Object.getEditsForRefactor (/home/procode/.vscode-server/bin/d78a74bcdfad14d5d3b1b782f87255d802b57511/extensions/node_modules/typescript/lib/typescript.js:143422:31) at getEditsForRefactor2 (/home/procode/.vscode-server/bin/d78a74bcdfad14d5d3b1b782f87255d802b57511/extensions/node_modules/typescript/lib/typescript.js:150903:32) at Proxy.<anonymous> (/home/procode/.vscode-server/extensions/vue.volar-2.1.6/node_modules/typescript-vue-plugin-bundle/index.js:5:1894) at IpcIOSession.getEditsForRefactor (/home/procode/.vscode-server/bin/d78a74bcdfad14d5d3b1b782f87255d802b57511/extensions/node_modules/typescript/lib/typescript.js:192236:49) at getEditsForRefactor (/home/procode/.vscode-server/bin/d78a74bcdfad14d5d3b1b782f87255d802b57511/extensions/node_modules/typescript/lib/typescript.js:190435:43) at /home/procode/.vscode-server/bin/d78a74bcdfad14d5d3b1b782f87255d802b57511/extensions/node_modules/typescript/lib/typescript.js:192655:15 at IpcIOSession.executeWithRequestId (/home/procode/.vscode-server/bin/d78a74bcdfad14d5d3b1b782f87255d802b57511/extensions/node_modules/typescript/lib/typescript.js:192644:14) at IpcIOSession.executeCommand (/home/procode/.vscode-server/bin/d78a74bcdfad14d5d3b1b782f87255d802b57511/extensions/node_modules/typescript/lib/typescript.js:192653:29) at IpcIOSession.onMessage (/home/procode/.vscode-server/bin/d78a74bcdfad14d5d3b1b782f87255d802b57511/extensions/node_modules/typescript/lib/typescript.js:192701:68) at process.<anonymous> (/home/procode/.vscode-server/bin/d78a74bcdfad14d5d3b1b782f87255d802b57511/extensions/node_modules/typescript/lib/tsserver.js:525:14) at process.emit (node:events:519:28) at emit (node:internal/child_process:951:14) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) ``` This happens when I use Move to existing file, not Move to new file. VS Code version: Code 1.94.0 (d78a74bcdfad14d5d3b1b782f87255d802b57511, 2024-10-02T13:08:12.626Z) OS version: Windows_NT x64 10.0.22631 Modes: Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2 <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (8 x 1190)| |GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|15.77GB (2.26GB free)| |Process Argv|--crash-reporter-id f7f8d6dd-eb4b-4368-b4e3-4ee787923cae| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-24.04| |OS|Linux x64 5.15.153.1-microsoft-standard-WSL2| |CPUs|Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (8 x 0)| |Memory (System)|7.64GB (5.23GB free)| |VM|0%| </details><details><summary>Extensions (38)</summary> Extension|Author (truncated)|Version ---|---|--- vscode-github-actions|git|0.27.0 volar|Vue|2.1.6 rtf|ale|2.8.0 Handlebars|and|0.4.1 icons-carbon|ant|0.2.6 codeswing|cod|0.0.25 vsc-material-theme|Equ|34.7.5 vscode-firefox-debug|fir|2.9.10 codespaces|Git|1.17.3 remotehub|Git|0.64.0 vscode-drawio|hed|1.6.6 fluent-icons|mig|0.0.18 symbols|mig|0.0.20 dotenv|mik|1.0.1 theme-monokai-pro-vscode|mon|1.3.2 vscode-edge-devtools|ms-|2.1.6 jupyter-keymap|ms-|1.1.2 remote-containers|ms-|0.388.0 remote-ssh|ms-|0.115.0 remote-ssh-edit|ms-|0.87.0 remote-wsl|ms-|0.88.4 vscode-remote-extensionpack|ms-|0.25.0 remote-explorer|ms-|0.4.3 remote-repositories|ms-|0.42.0 remote-server|ms-|1.5.2 vs-keybindings|ms-|0.2.1 vscode-speech|ms-|0.10.0 material-icon-theme|PKi|5.11.1 material-product-icons|PKi|1.7.1 sqlite-viewer|qwt|0.7.3 ayu|tea|1.0.5 pdf|tom|1.2.2 windows-terminal|Tyr|0.7.0 roblox-lua|Und|1.0.5 vscode-icons|vsc|12.9.0 JavaScriptSnippets|xab|1.8.0 jetbrains-product-icons|yat|0.0.8 material-theme|zhu|3.17.5 (21 theme extensions excluded) </details><details> <summary>A/B Experiments</summary> ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 vscaat:30438848 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 f3je6385:31013174 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl1:31139838 refactort:31108082 pythonrstrctxt:31112756 flighttreat:31134774 wkspc-onlycs-t:31132770 nativeloc2:31134642 wkspc-ranged-t:31151552 cf971741:31144450 defaultse:31146405 iacca2:31150323 notype1:31151523 5fd0e150:31146321 ``` </details> <!-- generated by issue reporter -->
Needs More Info
low
Critical
2,577,010,842
PowerToys
cannot update 0.84.1
### Microsoft PowerToys version 0.84.0 ### Installation method GitHub ### Running as admin Yes ### Area(s) with issue? General ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/e4c0d8c1-b059-438c-99df-5d3dc9ed3e11) It just go off after small popup really fast. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_ ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,577,019,588
vscode
Debug toolbar trapped in issue reporter
<!-- ⚠️⚠️ 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/No <!-- 🪓 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.95 Insiders - OS Version: macOS Steps to Reproduce: 1. Debug 2. Open Issue Reporter 3. 🐛 the debug toolbar is trapped in the issue reporter ![Image](https://github.com/user-attachments/assets/2c28d645-f58d-4a50-9b01-f3bc1c81f974)
bug,issue-reporter
low
Critical
2,577,022,430
storybook
[Bug]: Code in .md file throws error
### Describe the bug Importing basic markdown into a story works as expected. Including any inline or block code (using "`" or "```") crashes the page with: `Cannot read properties of undefined (reading 'fonts')`. ### Reproduction link https://stackblitz.com/edit/github-wj2kwd?file=src%2Fstories%2FTestBroken.md ### Reproduction steps 1. Go to the stackblitz link above 2. Open the `Test` Example 3. Observe that `Working` works without error 4. Observe that `Broken` throws the above error 5. See `Test.stories.js`, `TestWorking.md`, and `TestBroken.md` for the example source ### System System: OS: macOS 14.7 CPU: (10) arm64 Apple M1 Pro Shell: 5.9 - /bin/zsh Binaries: Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm <----- active pnpm: 9.9.0 - ~/Library/pnpm/pnpm Browsers: Chrome: 129.0.6668.91 Edge: 129.0.2792.79 Safari: 18.0.1 npmGlobalPackages: storybook: 8.1.7 ### Additional context I was eventually able to work around this issue by converting the md files to mdx and adjusting the story usage slightly. However, I would prefer most common (non-MDX) markdown, including code blocks, to work without error.
bug,has workaround,addon: docs,nextjs,sev:S3
low
Critical
2,577,040,148
TypeScript
Uninitialized local check still permits provably erroneous use-before-assign in closure
### 🔎 Search Terms uninitialized, local, use before assign, control flow ### 🕗 Version & Regression Information - This changed in commit or PR https://github.com/microsoft/TypeScript/pull/55887 ### ⏯ Playground Link https://www.typescriptlang.org/play/?ts=5.7.0-dev.20240925#code/DYUwLgBAZg9jBcEDOYBOBLAdgcwNwCh8BjGTFZcAMTggF4IAKASkQDcZ0ATOgPggG98ECOiiNYMAHSgcYABYQAPBACMTAUOHQa9AOQTdBYQF98xgvhAAPAA4xUkfqaA ### 💻 Code ```ts let foo: string; const setFoo = (): void => { if (foo.length < 1) { foo = 'foo'; } }; export {} ``` ### 🙁 Actual behavior No TS Error ### 🙂 Expected behavior Variable 'foo' is used before being assigned.(2454) ### Additional information about the issue (this error _is_ correctly reported if we never assign at all, as below) ```ts let foo: string; const setFoo = (): void => { if (foo.length < 1) { } }; export {} ``` Related, https://github.com/microsoft/TypeScript/issues/60064. Otherwise this can be solved by not considering assignments which occur unconditionally after a read.
Suggestion,Awaiting More Feedback
low
Critical
2,577,058,107
storybook
[Bug]: Cannot read properties of undefined (reading 'navigator') on node with globals
### Describe the bug I have a project containing both server and client code. So I want to run tests also in `node`. When I run `vitest`, I get `Cannot read properties of undefined (reading 'navigator')` error: ```sh TypeError: Cannot read properties of undefined (reading 'navigator') ❯ resetClipboardStubOnView node_modules/.pnpm/@storybook+test@8.3.5_storybook@8.3.5/node_modules/@storybook/test/dist/index.mjs:178:7052 ❯ node_modules/.pnpm/@storybook+test@8.3.5_storybook@8.3.5/node_modules/@storybook/test/dist/index.mjs:178:8238 ``` This occurs when I set `test.globals: true` in `vite.config.ts`. ### Reproduction link https://github.com/cyberuni/sb-test-nav ### Reproduction steps run `pnpm test` ### System npx storybook@latest info Storybook Environment Info: System: OS: macOS 14.7 CPU: (10) arm64 Apple M1 Pro Shell: 5.9 - /bin/zsh Binaries: Node: 22.9.0 - ~/.local/state/fnm_multishells/74613_1728508612022/bin/node Yarn: 1.22.21 - ~/.nvm/versions/node/v20.12.2/bin/yarn npm: 10.8.3 - ~/.local/state/fnm_multishells/74613_1728508612022/bin/npm <----- active pnpm: 8.15.6 - ~/.nvm/versions/node/v20.12.2/bin/pnpm Browsers: Chrome: 129.0.6668.90 Safari: 18.0 npmPackages: @storybook/addon-essentials: ^8.3.5 => 8.3.5 @storybook/addon-interactions: ^8.3.5 => 8.3.5 @storybook/addon-links: ^8.3.5 => 8.3.5 @storybook/addon-onboarding: ^8.3.5 => 8.3.5 @storybook/blocks: ^8.3.5 => 8.3.5 @storybook/react: ^8.3.5 => 8.3.5 @storybook/react-vite: ^8.3.5 => 8.3.5 @storybook/test: ^8.3.5 => 8.3.5 eslint-plugin-storybook: ^0.9.0 => 0.9.0 storybook: ^8.3.5 => 8.3.5 ### Additional context The `@storybook/test` is probably doing some work at load time which is not ideal. It should avoid that or at least check for `window?...`
bug,help wanted,sev:S3,addon: test
low
Critical
2,577,058,889
pytorch
Easier way of seeing dynamic shape specializations in C++?
@Chillee and I were debugging https://github.com/pytorch/pytorch/issues/137560. The problem is that somewhere in C++ we were calling tensor.size() instead of tensor.sym_sizes(), causing the specialization. TORCH_LOGS=+dynamic told us that a dynamic shape specialization happened at the line `dense_mask[row_indices, valid_indices] = 1`, but we were unable to get anything like a C++ stack trace out of it, so we ended up reading C++ code really hard until we spotted the `tensor.size()` call. It would be cool if there were an easier way to spot the specialization (perhaps just a mode to error on specialization in C++ so that we can do a backtrace?) cc @ezyang @chauhang @penguinwu @bobrenjc93
triaged,enhancement,oncall: pt2,module: dynamic shapes
low
Critical
2,577,062,321
flutter
[Impeller] consider allocating textures at step interval sizing and supporting different framebuffer/texture sizes.
we could change render target allocation so that we always allocate textures a particular sizes (256, 512, n + 256 or some other interval) and then update the render target cache to go off of texture size. Like @chinmaygarde mentioned a while back, the render pass size doesn't have to match the texture size (the render pass can be smaller). But have a lot of places that assume render pass size == texture size, so there would be some refactoring. The goal of this change would be to improve cache efficiency when the saveLayer sizes are unstable, like in the example app in https://github.com/flutter/flutter/issues/148496
P3,e: impeller,team-engine,triaged-engine
low
Minor
2,577,095,796
neovim
vim.on_key() can prevent mapping (fixed: can consume the key and)
### Problem This is about a implementing a compatibility layer to provide `vim`'s `popup` API. Without the option to consume the keys, `vim.on_key()` is not suitable for implementing a `popup`'s `filter`. With `vim.on_key()` there's also ``` {key} is the key after mappings have been applied, and {typed} is the key(s) before mappings are applied ``` Which also interferes with correct operation of `popup`'s `filter`, since it may need to see each key as it's entered, not multiple keys. This is likely related to the following. There's a `popup` option `mapping` ``` If the filter consumes all the keys, set the "mapping" property to zero so that mappings do not get in the way ``` In the `vim` code, in `vgetc()` there's a check for `popup_no_mapping` which is missing in the following `neovim` code ``` if (mod_mask) { // no mapping after modifier has been read no_mapping++; ``` (But my analysis could be flawed, since `no_mapping` can be set in various ways) ----- This is related to #30504 and #30542. ### Expected behavior Some things that comes to mind around `vim.on_key()`. Change the signature to ``` on_key(fn: function?, ns_id: integer? [, {options}]): bool? ``` 1. Use the return value to indicate if the key should be discarded and/or has been handled 2. Add `allow_mapping` option to `vim.on_key()`, default `true` For when the `mapping` property on the `popup` is active. 3. Add `enable_return_value_controls_discard` option to `vim.on_key()` Only needed if there's compatibility concerns around (1)? Could also be useful to insure that `on_key` callbacks that do not have this set are invoked first. There's some weirdness possible since, in `vgetc()`, the mappings are done before the callback is executed. So, depending on implementation, when `allow_mapping` is `false` then other uses of `vim.on_key()` might see different arguments than they would otherwise have seen.
enhancement,input,multicursor,mappings
low
Major
2,577,100,925
deno
Some dependencies not being resolved when using RsBuild
Version: Deno 2.0.0 Hi, Take the following RsBuild + SolidJS repo running under Deno: https://github.com/sachaw/rsbuild-issue When running `deno install`, as `"nodeModulesDir": "auto"` is set, it is populated as follows: ![image](https://github.com/user-attachments/assets/d5b71eff-f8a5-4417-9499-d62ed7e16cf5) As can be seen modules like `date-fns` are populated at the root level, and hence are located and compile fine under RsBuild. Now take my next dependency: `@dewars/protobufs` which is published to JSR: It is resolved by my IDE (because of the Deno plugin), but is not populated in my `node_modules` folder, leading RsBuild to fail to resolve it. Ideally I can eventually ditch the whole `node modules` folder, so I'm hoping the solution isn't to copy all of my native deno deps under `node_modules`
bundler-resolution
low
Minor
2,577,105,579
flutter
[Impeller] add all commonly supported pixel formats to dart:ui supported pixel formats
Most of these are not supported by skia, but can be used in impeller for either rendering or for binding in shaders. Considerations: * Document unsupported in Skia backend and throw when attempting to construct * Document unsuppored readback to compressed formats. Add "original" or similar enum. * Document which formats are renderable and throw exceptions if they're bound incorrectly.
P3,e: impeller,team-engine,triaged-engine
low
Major
2,577,117,311
flutter
`Mac_ios microbenchmarks_ios` fails with random seed 225627159
The test and its recent runs: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20microbenchmarks_ios Last 3 failed builds: - https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20microbenchmarks_ios/14122/infra - https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20microbenchmarks_ios/14124/infra - https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20microbenchmarks_ios/14123/infra There is no obvious culprit: - it happens across multiple physical bots - the first commit (I can see) where it failed seems unrelated: https://github.com/flutter/flutter/pull/156375
team-infra,P2,triaged-infra
low
Critical
2,577,188,332
tauri
Running "Hello World" example on Ubuntu fails
### Describe the bug ```git clone``` of the 2.02 version or Tauri. ```cargo run --release --example helloworld``` required an ENORMOUS 649 crates !!! ``` The following warnings were emitted during compilation: warning: soup3-sys@0.5.0: error: failed to run custom build command for `soup3-sys v0.5.0` ``` ### Reproduction As above. ### Expected behavior It should compile or have instructions in the README.md. ### Full `tauri info` output ```text The following warnings were emitted during compilation: warning: soup3-sys@0.5.0: error: failed to run custom build command for `soup3-sys v0.5.0` Caused by: process didn't exit successfully: `/home/resonanz/Github/tauri/target/release/build/soup3-sys-d98c7a7748251da5/build-script-build` (exit status: 1) ``` ``` ### Stack trace _No response_ ### Additional context _No response_
type: bug,platform: Linux,status: needs triage
low
Critical
2,577,191,912
ui
[bug]: Unable to download accordion with `npx shadcn@latest add accordion`
### Describe the bug When I run the command ```bash npx shadcn@latest add accordion ``` I got: ✔ Checking registry. ⠋ Updating tailwind.config.js Something went wrong. Please check the error below for more details. If the problem persists, please open an issue on GitHub. ENOENT: no such file or directory, open '/Users/repo/tailwind.config.js' ``` I'm using tailwind.config.ts instead of js, but I had no problem downloading other components, just the accordion one. ### Affected component/components Accordion ### How to reproduce 1. Have a nextjs repo with `tailwind.config.ts` file 2. run `npx shadcn@latest add accordion` ### Codesandbox/StackBlitz link _No response_ ### Logs ```bash ✔ Checking registry. ⠋ Updating tailwind.config.js Something went wrong. Please check the error below for more details. If the problem persists, please open an issue on GitHub. ENOENT: no such file or directory, open '/Users/repo/dir/tailwind.config.js' ``` ### System Info ```bash Nextjs 14 "devDependencies": { "@babel/core": "^7.24.9", "@babel/preset-env": "^7.24.8", "@babel/preset-typescript": "^7.24.7", "@clerk/testing": "^1.3.5", "@jest/globals": "^29.7.0", "@playwright/test": "^1.47.2", "@tailwindcss/typography": "^0.5.14", "@testing-library/jest-dom": "^6.4.6", "@testing-library/react": "^16.0.0", "@types/jest": "^29.5.12", "@types/node": "^20.14.10", "@types/node-fetch": "^2.6.11", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "autoprefixer": "^10.4.19", "babel-jest": "^29.7.0", "dotenv": "^16.4.5", "eslint": "^8.57.0", "eslint-config-next": "14.2.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-environment-node": "^29.7.0", "jest-playwright-preset": "^4.0.0", "npm-run-all": "^4.1.5", "postcss": "^8.4.39", "tailwindcss": "^3.4.5", "ts-jest": "^29.2.2", "ts-node": "^10.9.2", "typescript": "^5.5.3" }, ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,577,206,695
flutter
3.27 Branch Info
### 3.27 beta branch info ### | Repo | Branch | Commit | g3 CL | | --- | --- | --- | --- | | flutter/flutter | [flutter-3.27-candidate.0](https://github.com/flutter/flutter/tree/flutter-3.27-candidate.0) | https://github.com/flutter/flutter/commit/c78c166e3ecf963ca29ed503e710fd3c71eda5c9 | [cl/684205393](https://critique.corp.google.com/cl/684205393) | | flutter/engine | [flutter-3.27-candidate.0](https://github.com/flutter/engine/tree/flutter-3.27-candidate.0) | https://github.com/flutter/engine/commit/3a95d6e1ddbfb1e71e5f5b0240ae884507f14006 | N/A | | dart-lang/sdk | [3.6.0-334.3.beta](https://github.com/dart-lang/sdk/tree/3.6.0-334.3.beta) | https://github.com/dart-lang/sdk/commit/e7a42fbc90c14c2d2eb1c00d132de202018d3777 | [cl/684002945](https://critique.corp.google.com/cl/684002945) | | google/skia | as needed | https://github.com/google/skia/commit/1349ddc074ad616c6660eb29f75dafe18f3714c0 | N/A | CC @christopherfujino @reidbaker @zanderso
team-release
low
Major
2,577,293,505
electron
[Bug]: `process.exit()` should kill utility process immediately
### Preflight Checklist - [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success. ### Electron Version 33.0.0-beta.9 ### What operating system(s) are you using? macOS ### Operating System Version macOS Sonoma 14.7 ### What arch are you using? arm64 (including Apple Silicon) ### Last Known Working Electron version _No response_ ### Expected Behavior If I call `process.exit()` in a utility process, code execution should stop and the process should be killed **synchronously**. From https://nodejs.org/api/process.html#processexitcode: > The `process.exit()` method instructs Node.js to terminate the process synchronously with an exit status of `code`. The TypeScript signature explicitly states that `process.exit()` must **never** return ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/454deafa05c6a42cf7f18cda2074ca04afad4372/types/node/process.d.ts#L884)): ```typescript interface Process extends EventEmitter { exit(code?: number | string | null | undefined): never; } ``` ### Actual Behavior If I start a utility process with the following JS file, code execution continues after `process.exit()` and the `console.error()` is executed: ```js // utility.js process.exit(1) console.error('Should not be printed') // but will be printed ``` Console output: ``` Should not be printed ``` ### Testcase Gist URL https://gist.github.com/nikwen/90879bd8dd7454f3d3083e1441fe4a58 ### Additional Information ### Consistency * In Node.js worker threads, `process.exit()` causes the process to exit synchronously ([Fiddle](https://gist.github.com/nikwen/68381f48c2fbf03a9759694ca57ad792)). * In Node.js child processes, `process.exit()` causes the process to exit synchronously ([Fiddle](https://gist.github.com/nikwen/735e85b295fc451967112b838f9073df)).
bug :beetle:,platform/all,status/confirmed,has-repro-gist,component/utilityProcess,32-x-y,33-x-y
low
Critical
2,577,295,206
flutter
Tab focus traversal only enters iframeElement once
### Steps to reproduce 1. Run the attached code 2. Press tab repeatedly 3. Observe what UI is focused each time the tab key is pressed. ### Expected results Focus moves from buttons outside to of iFrame to button and password input located inside iFrame. Continually tapping tab causes focus to move from buttons outside iFrame to buttons inside iFrame repeatedly. ### Actual results Focus moves from buttons outside to of iFrame to button and password input located inside iFrame. Continually tapping tab causes focus to move from buttons outside iFrame to buttons inside iFrame **only the first time**. **After that, focus only traverses the buttons outside the iFrame, and focus never moves inside the iFrame.** ### Code sample <details open><summary>Code sample</summary> ```dart import 'dart:js_interop'; import 'dart:ui_web' as ui_web; import 'package:flutter/material.dart'; import 'package:web/web.dart' as web; void main() { WidgetsFlutterBinding.ensureInitialized(); runApp(const TabNavWithIFrame()); } class TabNavWithIFrame extends StatefulWidget { const TabNavWithIFrame({super.key}); @override State<TabNavWithIFrame> createState() => TabNavWithIFrameState(); } class TabNavWithIFrameState extends State<TabNavWithIFrame> { static const _viewType = 'iframeElement'; final _iFrameElement = web.HTMLIFrameElement()..srcdoc = '''<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <form action="/login" method="POST"> <label for="password">Password3:</label> <input type="password" id="password" name="password" required> <button type="submit">Log In</button> </form> </body> </html>''' as JSAny; final Widget _iframeWidget = HtmlElementView( viewType: _viewType, key: UniqueKey(), ); @override void initState() { ui_web.platformViewRegistry.registerViewFactory( _viewType, (int viewId) => _iFrameElement, ); super.initState(); } @override Widget build(BuildContext context) { return MaterialApp( home: Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ ElevatedButton(onPressed: () {}, child: const Text('Press Me 1')), ElevatedButton(onPressed: () {}, child: const Text('Press Me 2')), Expanded( child: _iframeWidget, ), ], ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Showing focus traversal from tapping the tab key</summary> https://github.com/user-attachments/assets/227f30f3-e3b1-4841-b347-0ddbfdbbd6d4 </details> ### Logs <details open><summary>Logs</summary> ```console $ flutter --verbose run lib/main_i_frame.dart -d chrome [ +13 ms] executing: uname -m [ +4 ms] Exit code 0 from: uname -m [ ] x86_64 [ +54 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +41 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +28 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +73 ms] Skipping pub get: version match. [ +233 ms] Launching lib/main_i_frame.dart on Chrome in debug mode... [ +113 ms] Initializing file store [ +6 ms] Skipping target: gen_localizations [ +2 ms] Skipping target: gen_dart_plugin_registrant [ ] Skipping target: _composite [ +1 ms] complete [ ] Updating assets [ +83 ms] Waiting for connection from debug service on Chrome... [ +58 ms] shaderc command: [/home/spencer/fvm/versions/3.24.3/bin/cache/artifacts/engine/linux-x64/impellerc, --sksl, --iplr, --json, --sl=build/flutter_assets/shaders/ink_sparkle.frag, --spirv=build/flutter_assets/shaders/ink_sparkle.frag.spirv, --input=/home/spencer/fvm/versions/3.24.3/packages/flutter/lib/src/material/shaders/ink_sparkle.frag, --input-type=frag, --include=/home/spencer/fvm/versions/3.24.3/packages/flutter/lib/src/material/shaders, --include=/home/spencer/fvm/versions/3.24.3/bin/cache/artifacts/engine/linux-x64/shader_lib] [ +182 ms] Warning: In index.html:39: Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details. [ +2 ms] Warning: In index.html:48: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details. [ ] <- reset [ +4 ms] /home/spencer/fvm/versions/3.24.3/bin/cache/dart-sdk/bin/dartaotruntime --disable-dart-dev /home/spencer/fvm/versions/3.24.3/bin/cache/dart-sdk/bin/snapshots/frontend_server_aot.dart.snapshot --sdk-root /home/spencer/fvm/versions/3.24.3/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --experimental-emit-debug-metadata --output-dill /tmp/flutter_tools.ZJYIEJ/flutter_tool.WGOHLO/app.dill --packages /home/spencer/dev/test_focus_iframe/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root /tmp/flutter_tools.ZJYIEJ/flutter_tools.GFTXQH --filesystem-scheme org-dartlang-app --initialize-from-dill build/80b1a4cf4e7b90e1ab5f72022a0bc624.cache.dill.track.dill --platform file:///home/spencer/fvm/versions/3.24.3/bin/cache/flutter_web_sdk/kernel/ddc_outline_sound.dill --verbosity=error --sound-null-safety [ +10 ms] <- compile org-dartlang-app:/web_entrypoint.dart [+16267 ms] Waiting for connection from debug service on Chrome... (completed in 16.5s) [ ] Synced 43.1MB. [ ] <- accept [ ] Caching compiled dill [ +31 ms] Launching Chromium (url = http://localhost:37117, headless = false, skipCheck = false, debugPort = null) [ ] Will use Chromium executable at /opt/google/chrome/chrome [ +30 ms] Using Google Chrome 126.0.6478.55 [ +51 ms] executing: uname -m [ +8 ms] Exit code 0 from: uname -m [ ] x86_64 [ +31 ms] [CHROME]: [1009/182013.956026:WARNING:chrome_main_linux.cc(80)] Read channel stable from /opt/google/chrome/CHROME_VERSION_EXTRA [ +255 ms] [CHROME]: [ ] [CHROME]: DevTools listening on ws://127.0.0.1:37033/devtools/browser/dc8e7f84-3eb9-4edc-bbba-d68dc7d51243 [ +512 ms] DwdsInjector: Received request for entrypoint at http://localhost:37117/main_module.bootstrap.js [ +3 ms] MetadataProvider: Loading debug metadata... [ +16 ms] MetadataProvider: Loaded debug metadata for module: web_entrypoint.dart [ ] MetadataProvider: Loaded debug metadata for module: web_plugin_registrant.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/test_focus_iframe/main_i_frame.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/helpers/renames.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/helpers/lists.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/web_animations_2.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/server_timing.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_typed_om.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/geometry.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/pointerlock.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/fullscreen.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_view_transitions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webidl.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webcryptoapi.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/video_rvfc.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/vibration.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/trusted_types.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/trust_token_api.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/referrer_policy.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/private_network_access.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/attribution_reporting_api.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/requestidlecallback.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/mediasession.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/screen_capture.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/image_capture.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/media_playback_quality.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/entries_api.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/fido.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/web_otp.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/fedcm.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/digital_identities.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webxr_hand_input.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webvtt.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webtransport.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/websockets.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webrtc_priority.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webrtc_identity.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webrtc_encoded_transform.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webrtc.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/mst_content_hint.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgpu.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_multi_draw.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl1.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_lose_context.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_draw_buffers.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_depth_texture.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_debug_shaders.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_debug_renderer_info.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_compressed_texture_s3tc_srgb.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_compressed_texture_s3tc.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_compressed_texture_pvrtc.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_compressed_texture_etc1.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_compressed_texture_etc.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_compressed_texture_astc.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl_color_buffer_float.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webgl2.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webcodecs_vp9_codec_registration.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webcodecs_hevc_codec_registration.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webcodecs_avc_codec_registration.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webcodecs_av1_codec_registration.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webcodecs.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/webaudio.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/web_bluetooth.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/wasm_js_api.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/url.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/touch_events.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/svg_animations.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/sanitizer_api.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/saa_non_cookie_storage.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/resize_observer.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/reporting.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/pointerevents.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/paint_timing.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ovr_multiview2.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/orientation_sensor.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/generic_sensor.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/orientation_event.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/oes_vertex_array_object.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/oes_texture_half_float_linear.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/oes_texture_half_float.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/oes_texture_float_linear.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/oes_texture_float.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/oes_standard_derivatives.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/oes_fbo_render_mipmap.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/oes_element_index_uint.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/oes_draw_buffers_indexed.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/mediastream_recording.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/mediacapture_transform.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/mediacapture_fromelement.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/mathml_core.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/largest_contentful_paint.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/khr_parallel_shader_compile.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/intersection_observer.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/gyroscope.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/filter_effects.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_texture_norm16.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_texture_filter_anisotropic.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_texture_compression_rgtc.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_texture_compression_bptc.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_srgb.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_shader_texture_lod.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_frag_depth.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_float_blend.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_disjoint_timer_query_webgl2.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_disjoint_timer_query.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_color_buffer_half_float.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_color_buffer_float.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/ext_blend_minmax.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/encoding.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/dom_parsing.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_view_transitions_2.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_transitions_2.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_transitions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_paint_api.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_masking.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_fonts.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_counter_styles.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_contain.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_conditional_5.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_conditional.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_cascade_6.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_cascade.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_animations_2.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/css_animations.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/csp.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/cookie_store.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/console.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/compression.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/angle_instanced_arrays.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/dom/accelerometer.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/helpers/enums.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/helpers/extensions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/web/src/helpers/cross_origin.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/material.dart [ +1 ms] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/widgets/unique_widget.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/painting.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/placeholder_span.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/text_scaler.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/foundation.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/unicode.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/timeline.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/constants.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/_timeline_web.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/meta/meta.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/meta/meta_meta.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/synchronous_future.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/stack_frame.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/object.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/service_extensions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/serialization.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/print.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/_platform_web.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/basic_types.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/persistent_hash_map.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/observer_list.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/node.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/memory_allocations.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/licenses.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/key.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/_isolates_web.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/consolidate_response.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/collections.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/change_notifier.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/capabilities.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/_capabilities_web.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/_bitfield_web.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/binding.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/foundation/annotations.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/undo_manager.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/text_layout_metrics.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/text_editing.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/text_editing_delta.dart [ +1 ms] MetadataProvider: Loaded debug metadata for module: packages/vector_math/vector_math_64.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/scheduler.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/scheduler/ticker.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/scheduler/binding.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/scheduler/priority.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/scheduler/service_extensions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/scheduler/debug.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/collection.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/wrappers.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/union_set_controller.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/union_set.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/queue_list.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/priority_queue.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/utils.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/list_extensions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/equality.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/comparators.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/algorithms.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/iterable_zip.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/iterable_extensions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/functions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/equality_set.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/equality_map.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/combined_wrappers/combined_map.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/combined_wrappers/combined_iterable.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/combined_wrappers/combined_iterator.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/combined_wrappers/combined_list.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/canonicalized_map.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/collection/src/boollist.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/keyboard_key.g.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/keyboard_maps.g.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/binary_messenger.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/service_extensions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/keyboard_inserted_content.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/text_formatter.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/characters/characters.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/characters/src/extensions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/characters/src/characters_impl.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/characters/src/grapheme_clusters/breaks.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/characters/src/grapheme_clusters/table.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/characters/src/grapheme_clusters/constants.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/text_boundary.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/system_sound.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/system_navigator.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/system_chrome.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/spell_check.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/process_text.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/predictive_back_event.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/platform_views.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/gestures.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/velocity_tracker.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/lsq_solver.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/events.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/gesture_settings.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/constants.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/binding.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/pointer_signal_resolver.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/pointer_router.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/hit_test.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/arena.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/debug.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/resampler.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/converter.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/team.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/tap_and_drag.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/tap.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/recognizer.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/scale.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/monodrag.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/drag_details.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/drag.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/multitap.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/multidrag.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/long_press.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/force_press.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/gestures/eager.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/mouse_tracking.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/mouse_cursor.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/live_text.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/haptic_feedback.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/font_loader.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/flavor.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/deferred_component.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/browser_context_menu.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/services/asset_manifest.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/basic_types.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/colors.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/star_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/stadium_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/rounded_rectangle_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/circle_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/borders.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/edge_insets.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/border_radius.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/shape_decoration.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/_network_image_web.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/image_stream.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/image_cache.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/binding.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/shader_warm_up.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/debug.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/web.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/gradient.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/alignment.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/decoration_image.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/box_fit.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/decoration.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/box_shadow.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/box_decoration.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/box_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/paint_utilities.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/oval_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/notched_shapes.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/matrix_utils.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/linear_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/image_resolution.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/image_decoder.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/geometry.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/fractional_offset.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/flutter_logo.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/continuous_rectangle_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/clip.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/painting/beveled_rectangle_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/rendering/service_extensions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/semantics.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/semantics/semantics_service.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/semantics/semantics_event.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/semantics/semantics.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/semantics/binding.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/semantics/debug.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/physics.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/physics/utils.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/physics/tolerance.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/physics/spring_simulation.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/physics/simulation.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/physics/gravity_simulation.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/physics/friction_simulation.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/physics/clamped_simulation.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/widgets/scroll_simulation.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/widgets/service_extensions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/widgets/constants.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/cupertino/constants.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/rendering/table_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/widgets/icon_data.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/user_accounts_drawer_header.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/time.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/colors.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/material_color_utilities.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/utils/string_utils.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/utils/color_utils.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/utils/math_utils.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/temperature/temperature_cache.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/hct/hct.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/hct/viewing_conditions.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/hct/src/hct_solver.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/hct/cam16.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/score/score.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/scheme/scheme_vibrant.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/palettes/tonal_palette.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/dynamiccolor/variant.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/dynamiccolor/src/tone_delta_pair.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/dynamiccolor/src/contrast_curve.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/contrast/contrast.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/dislike/dislike_analyzer.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/scheme/scheme_tonal_spot.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/scheme/scheme_rainbow.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/scheme/scheme_neutral.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/scheme/scheme_monochrome.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/scheme/scheme_fruit_salad.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/scheme/scheme_fidelity.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/scheme/scheme_expressive.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/scheme/scheme_content.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/scheme/scheme.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/palettes/core_palette.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/quantize/quantizer_wu.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/quantize/quantizer_map.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/quantize/quantizer.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/quantize/quantizer_wsmeans.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/quantize/src/point_provider_lab.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/quantize/src/point_provider.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/quantize/quantizer_celebi.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/material_color_utilities/blend/blend.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/material_state.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/input_border.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/constants.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/icons.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/tooltip_visibility.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/floating_action_button_theme.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/material_state_mixin.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/curves.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/bottom_sheet_theme.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/tab_indicator.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/tab_controller.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/drawer_header.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/toggle_buttons.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/time_picker.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/text_form_field.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/text_field.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/text_selection.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/text_selection_toolbar_text_button.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/text_selection_toolbar.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/spell_check_suggestions_toolbar.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/spell_check_suggestions_toolbar_layout_delegate.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/adaptive_text_selection_toolbar.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/desktop_text_selection_toolbar_button.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/desktop_text_selection_toolbar.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/selectable_text.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/magnifier.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/desktop_text_selection.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/dialog.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/switch_list_tile.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/switch.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/shadows.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/stepper.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/selection_area.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/segmented_button.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/search_anchor.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/search.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/reorderable_list.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/refresh_indicator.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/progress_indicator.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/range_slider.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/radio_list_tile.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/predictive_back_page_transitions_builder.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/popup_menu.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/paginated_data_table.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/dropdown.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/data_table_source.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/data_table.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/card.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/page.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/no_splash.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/motion.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/mergeable_material.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/input_date_picker_form_field.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/date.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/input_chip.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/chip.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/grid_tile_bar.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/grid_tile.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/flutter_logo.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/filter_chip.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/expansion_tile.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/expansion_panel.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/expand_icon.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/dropdown_menu.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/date_picker.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/calendar_date_picker.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/back_button.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/circle_avatar.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/choice_chip.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/checkbox_list_tile.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/carousel.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/button_bar.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/bottom_app_bar.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/badge.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/autocomplete.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/arc.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/app.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/animated_icons.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/action_chip.dart [ ] MetadataProvider: Loaded debug metadata for module: packages/flutter/src/material/about.dart [ ] MetadataProvider: Loaded debug metadata (sound null safety) [ +8 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:37117/main_module.bootstrap.js [+3385 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true [ +43 ms] ChromeProxyService: Caching package:flutter/src/widgets/widget_inspector.dart in expression compiler worker [ +29 ms] DevHandler: Debug service listening on ws://127.0.0.1:36029/iSertJWFfFg=/ws [ +20 ms] DevHandler: VmService proxy responded with an error: {jsonrpc: 2.0, id: 10, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 10, params: {streamId: Stdout, includePrivateMembers: false}}}} [ +2 ms] This app is linked to the debug service: ws://127.0.0.1:36029/iSertJWFfFg=/ws [ ] DevHandler: VmService proxy responded with an error: {jsonrpc: 2.0, id: 11, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 11, params: {streamId: Stderr, includePrivateMembers: false}}}} [ +7 ms] DevHandler: VmService proxy responded with an error: {jsonrpc: 2.0, id: 13, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 13, params: {streamId: Isolate, includePrivateMembers: false}}}} [ +2 ms] DevHandler: VmService proxy responded with an error: {jsonrpc: 2.0, id: 14, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 14, params: {streamId: Extension, includePrivateMembers: false}}}} [ +3 ms] Debug service listening on ws://127.0.0.1:36029/iSertJWFfFg=/ws [ +1 ms] 🔥 To hot restart changes while running, press "r" or "R". [ ] For a more detailed help message, press "h". To quit, press "q". [ ] A Dart VM Service on Chrome is available at: http://127.0.0.1:36029/iSertJWFfFg= [ +155 ms] ExpressionEvaluator: Evaluating "() { return true; }" at packages/flutter/src/widgets/unique_widget.dart [ +25 ms] ExpressionEvaluator: Evaluating JS: "function () { try { return (function() { const dart_sdk = require('dart_sdk'); const dart_rti = dart_sdk.dart_rti; const dart = dart_sdk.dart; var T = { VoidTobool: () => (T.VoidTobool = dart.constFn(dart_rti.findType("core|bool()")))() }; return dart.fn(() => true, T.VoidTobool()); }( ))(); } catch (error) { return error.name + ": " + error.message; } }" with scope: {} [ +92 ms] ExpressionEvaluator: Evaluated "() { return true; }" to "{type: boolean, value: true}" [ +196 ms] Height of Platform View type: [iframeElement] may not be set. Defaulting to `height: 100%`. Set `style.height` to any appropriate value to stop this message. [ ] Width of Platform View type: [iframeElement] may not be set. Defaulting to `width: 100%`. Set `style.width` to any appropriate value to stop this message. [ +284 ms] The Flutter DevTools debugger and profiler on Chrome is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:36029/iSertJWFfFg= ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console $ flutter doctor -v [✓] Flutter (Channel stable, 3.24.3, on Pop!_OS 22.04 LTS 6.8.0-76060800daily20240311-generic, locale en_US.UTF-8) • Flutter version 3.24.3 on channel stable at /home/spencer/fvm/versions/3.24.3 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2663184aa7 (4 weeks ago), 2024-09-11 16:27:48 -0500 • Engine revision 36335019a8 • Dart version 3.5.3 • DevTools version 2.37.3 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2) • Android SDK at /home/spencer/Android/Sdk/ • Platform android-34, build-tools 33.0.2 • ANDROID_HOME = /home/spencer/Android/Sdk • ANDROID_SDK_ROOT = /home/spencer/Android/Sdk • Java binary at: /home/spencer/opt/android-studio/jbr/bin/java • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105) • All Android licenses accepted. [✓] Chrome - develop for the web • CHROME_EXECUTABLE = /opt/google/chrome/chrome [✓] Linux toolchain - develop for Linux desktop • Ubuntu clang version 14.0.0-1ubuntu1.1 • cmake version 3.22.1 • ninja version 1.10.1 • pkg-config version 0.29.2 [✓] Android Studio (version 2024.1) • Android Studio at /home/spencer/opt/android-studio-2024.1.1.11/android-studio • Flutter plugin version 80.0.2 • 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) [✓] Android Studio (version 2023.3) • Android Studio at /home/spencer/opt/android-studio-2023.3.1.19/android-studio • Flutter plugin version 79.0.2 • 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-11572160) [✓] Android Studio (version 2022.3) • Android Studio at /home/spencer/opt/android-studio/ • Flutter plugin version 75.1.2 • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • android-studio-dir = /home/spencer/opt/android-studio/ • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105) [✓] Connected device (2 available) • Linux (desktop) • linux • linux-x64 • Pop!_OS 22.04 LTS 6.8.0-76060800daily20240311-generic • Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.55 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
framework,platform-web,f: focus,has reproducible steps,P2,team-web,triaged-web,found in release: 3.24,found in release: 3.26
low
Critical
2,577,325,090
ant-design
优化:Tabs 的下划线 mount 时不应该有动画效果,应该只需要切换的时候有动画
### Reproduction link https://stackblitz.com/edit/react-gs6jhb?file=demo.tsx ### Steps to reproduce 点击按钮 ### What is expected? 初始不应该有动画,只有切换的时候才有动画 ### What is actually happening? 都会有动画 | Environment | Info | | --- | --- | | antd | 5.21.3 | | React | latest | | System | mac | | Browser | chrome | <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Inactive,unconfirmed
low
Minor
2,577,420,322
pytorch
[FEA] Add nvsci support in pytorch multiprocessing module for nvidia jetson devices.
### 🚀 The feature, motivation and pitch Pytorch is wildly used not only on servers but also in edge devices, especially devices with nvidia gpus. NVSCI is a IPC method that for nvidia edge devices that with iGPU, which is Nvidia Drive/Jetson AGX product series. NVSCI is available in x86 and aarch64, the intro doc is in https://developer.nvidia.com/blog/sharing-cuda-resources-through-interoperability-with-nvscibuf-and-nvscisync/ the manual is in https://developer.nvidia.com/nvsci-l4tpdf and more resources in https://developer.nvidia.com/embedded/jetson-linux-r341 PyTorch implements multiprocessing with CUDA IPC. However, on Jetson, CUDA IPC is not supported. If PyTorch adds the NvSCI support, then the multiprocessing feature can work on Jetson. ### Alternatives _No response_ ### Additional context the issue is originally from https://forums.developer.nvidia.com/t/operation-not-supported-of-spawn-method-in-pytorch-multiprocessing-on-jetson-xavier-nx/231548/6 cc @ptrblck @msaroufim
module: cuda,triaged,enhancement,needs design
low
Minor
2,577,444,404
ant-design
RangePicker 增加对 DateMath 表达式的支持
### What problem does this feature solve? DateMath 表达式在相对日期/时间方面的表达更为直观,并且输入也相对简洁。 * 场景1:查询最近10分钟的某项操作日志 现有的范围选择器必须不断地手动去变更开始时间和结束时间(虽然结束时间可以设为23:59:59, 但是开始时间每次查询必须手动变更), 在支持 DateMath 表达式后, RangePicker 只需校验表达式的合法性,具体的时间计算可以交给服务端, 每次查询前就无需再去选择或输入,并且每次查询的时间范围都是正确的; * 场景2:IoT 数据查询 在IoT应用场景下, 数据量大且变化频率较高, 在查询数据时对时间条件比较敏感, DateMath 可以更为高效的进行时间计算, 某些时序数据库甚至直接支持 DateMath ; 参考 grafana-ui 或 elastic-ui 的时间选择器 ### What does the proposed API look like? 增加一个参数,是否启用Datemath allowDatemath: boolean 同时,onChange回调的参数类型需要做兼容 onChange: function(date: moment | string, dateString: string) <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Inactive
low
Minor
2,577,456,018
pytorch
AOT compile `tensor.size()` gives NotImplementedError: No registered serialization name for <class 'torch.Size'> found.
### 🐛 Describe the bug Hi, this happens with aot compile. repro: ```python class TestModel(torch.nn.Module): def forward(self, x): return x.size() model = TestModel().cuda() x = torch.rand(2, 6, 6).cuda() bs = torch.export.dynamic_shapes.Dim("bs", max=128) ep = torch.export.export(model, (x,), dynamic_shapes={"x": {1: bs}}, strict=False) aot_model = torch._inductor.aot_compile(ep.module(), (x,)) ``` error: ``` /scripts/henrylhtsang/repros/pt.py", line 36, in main aot_model = torch._inductor.aot_compile(ep.module(), (x,)) /torch/_inductor/__init__.py", line 170, in aot_compile pytree.treespec_dumps(out_spec) if out_spec is not None else "" /torch/utils/_pytree.py", line 1436, in treespec_dumps json_spec = _SUPPORTED_PROTOCOLS[protocol].treespec_to_json(treespec) /torch/utils/_pytree.py", line 1365, in _treespec_to_json raise NotImplementedError( NotImplementedError: No registered serialization name for <class 'torch.Size'> found. Please update your _register_pytree_node call with a `serialized_type_name` kwarg. ``` ### Versions trunk cc @ezyang @chauhang @penguinwu @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4 @desertfire @chenyang78
triaged,oncall: pt2,export-triaged,oncall: export,module: aotinductor
low
Critical
2,577,458,443
next.js
Could there be a caching issue causing the page to load based on the previous redirection logic when accessing the page?
### Link to the code that reproduces this issue https://github.com/minsu0012/test ### To Reproduce 1. Install npx create-next-app@latest. 2. Install using the app router method. 3. Keep app/layout and delete app/page. 4. Create an app/start folder and virtually create layout.tsx and page.tsx. 5. In next.config.mjs, add redirects with source as `/` and destination as `/start`. 6. When running locally, when you normally enter `/`, you will be moved to `/start`. 7. After changing app/start to app/home, change next.config.mjs destination to /home. 8. When running local, when you enter `/`, you should move to `/home`, but you enter `/start`. When accessing in a new browser window without local work, it correctly redirects to /home. However, if previously accessed /start, it redirects to /start instead of /home. ### Current vs. Expected behavior I added code to redirect to `/start` when entering `/`. When running locally, it normally enters /start. next.config.mjs ``` async redirects() { return [ { source: '/', destination: '/start', permanent: true, }, ]; }, ``` The existing app/start was renamed to app/home, and the redirection part was also modified to point to /home. ``` async redirects() { return [ { source: '/', destination: '/home', permanent: true, }, ]; }, ``` However, if you run it locally and enter `/`, you will be redirected to the `/start` page. ### Provide environment information ```bash I installed it in app router tailiwndcss format with `npx create-next-app@latest`. Packages "dependencies": { "react": "^18", "react-dom": "^18", "next": "14.2.15" }, "devDependencies": { "typescript": "^5", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", "postcss": "^8", "tailwindcss": "^3.4.1", "eslint": "^8", "eslint-config-next": "14.2.15" } ``` Could this be a routing cache issue? How to solve this problem?
create-next-app,bug
low
Minor
2,577,462,005
ant-design
the first parameter of onChange of Date picker miss null type
### Reproduction link [![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/react-ow5nhn?file=demo.tsx) ### Steps to reproduce The type definition of `DatePickerProps['onChange']` is currently `onChange?: (date: ValueType, dateString: string | string[]) => void; `, but in fact, when I delete the form element, `date` is `null`. Therefore, the definition should be added with a `null` type, which should be like this, `onChange?: (date: ValueType | null, dateString: string | string[]) => void; `. ### What is expected? onChange?: (date: ValueType | null, dateString: string | string[]) => void; ### What is actually happening? onChange?: (date: ValueType, dateString: string | string[]) => void; | Environment | Info | | --- | --- | | antd | 5.21.0 | | React | 18.3.1 | | System | mac os | | Browser | chrome | <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Inactive,unconfirmed
low
Minor
2,577,611,674
transformers
trainer resume from checkpoint,the learning rate is not the same as retraining,learning rate is discontinuous
### System Info - Platform: Windows-10 - transformers version: 4.43.4 - Python version: 3.10.11 - PyTorch version (GPU?): 2.3.1+cu121 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give details below) ### Reproduction the Trainer does not set a warmup and the lr_scheduler is set to linear, and the training is continued from an interruption to complete all steps, the learning rates will be different from those when training all steps from the beginning. Here are the specific learning rates: Learning rates for training from the beginning for each step: - Step 1: "learning_rate": 1e-05, - Step 2: "learning_rate": 1e-05, - Step 3: "learning_rate": 9e-06, - Step 4: "learning_rate": 8.000000000000001e-06, - Step 5: "learning_rate": 7e-06, - Step 6: "learning_rate": 6e-06, - Step 7: "learning_rate": 5e-06, - Step 8: "learning_rate": 4.000000000000001e-06, - Step 9: "learning_rate": 3e-06, - Step 10: "learning_rate": 2.0000. If training is continued from a checkpoint at step 5, the learning rates for each step are: - Step 6: "learning_rate": 7e-06, - Step 7: "learning_rate": 7e-06, - Step 8: "learning_rate": 6e-06, - Step 9: "learning_rate": 5e-06, - Step 10: "learning_rate": 4.000000000000001e-06. Why are the learning rates for step 6 and step 7 different when training continues from a checkpoint compared to training from the start? Reproduction steps: 1. Train from the beginning for 10 steps, save a checkpoint for each step, and record the learning rate in each step. 2. Delete the checkpoints for steps 6 through 7 in the folder. 3. Then use `trainer.train(resume_from_checkpoint=True)` to continue training from step 5, and after training is completed, record the learning rate in the new checkpoint. ### Expected behavior Please explain why the learning rate is not continuous as it is when training from the beginning, for example: Step 6: "learning_rate": 6e-06, Step 7: "learning_rate": 5e-06. ........
Good First Issue,trainer,bug
medium
Major
2,577,619,448
tauri
[bug] Desktop file entry in deb package is not good according to spec
### Describe the bug desktop file entry in deb package is not good according to spec. According to [spec](https://specifications.freedesktop.org/desktop-entry-spec/latest/file-naming.html), desktop file name should be DBus well-known name which is reverse DNS convention. However, in deb package, '{product_name}.desktop' is included. I think it should be "{identifier}.desktop" or some other configurable name ### Reproduction just building deb package is enough. I think rpm package will also have same problem but not tested yet. ### Expected behavior _No response_ ### Full `tauri info` output ```text [✔] Environment - OS: Mac OS 15.0.1 arm64 (X64) ✔ Xcode Command Line Tools: installed ✔ rustc: 1.81.0-beta.7 (4a765c0b8 2024-08-28) ✔ cargo: 1.81.0-beta.7 (2dbb1af80 2024-08-20) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: beta-aarch64-apple-darwin (default) - node: 22.6.0 - pnpm: 8.15.4 - npm: 10.8.2 [-] Packages - tauri 🦀: 2.0.1 - tauri-build 🦀: 2.0.1 - wry 🦀: 0.44.1 - tao 🦀: 0.30.3 - tauri-cli 🦀: 2.0.0-rc.3 - @tauri-apps/api : 2.0.1 (outdated, latest: 2.0.2) - @tauri-apps/cli : 2.0.1 (outdated, latest: 2.0.2) [-] Plugins - tauri-plugin-single-instance 🦀: 2.0.1 - @tauri-apps/plugin-single-instance : not installed! - tauri-plugin-updater 🦀: 2.0.2 - @tauri-apps/plugin-updater : not installed! - tauri-plugin-fs 🦀: 2.0.1 - @tauri-apps/plugin-fs : not installed! - tauri-plugin-dialog 🦀: 2.0.1 - @tauri-apps/plugin-dialog : not installed! [-] App - build-type: bundle - CSP: unset - frontendDist: out - devUrl: http://localhost:3030/ - framework: React (Next.js) - bundler: Webpack ``` ### Stack trace _No response_ ### Additional context The tauri info is running on development environment, which is on macOS. vrc-get/vrc-get#1594
type: bug,platform: Linux,status: needs triage
low
Critical
2,577,726,028
excalidraw
Optimization Issues with Pencil Tool Strokes on Page Zoom
Appreciate the fantastic software crafted by the development team. I've come across an issue while using it and would like to report it here. I hope you can consider further enhancements to the handwriting feature. When the page is enlarged, there can be issues with writing using the pencil tool, often resulting in overly smooth strokes. This might be due to the visual effects seen in videos. Is there any plan to address this? If not, could you advise on how to adjust the length of the "guide line" at the pen tip in the video? Thanks! Also, would it be possible to include a feature to disable pressure sensitivity? I'm concerned that this might be causing severe lag during writing after a while. Thanks!
bug,freedraw
low
Minor
2,577,735,250
storybook
Name is not defined for the Combo boxes present on the page in Windows.
### Describe the bug **Title:** Name is not defined for the Combo boxes present on the page in Windows. **Pre-Requisite:** Press F12 key to open developer tool. **Test Environment:** OS: Windows 11 Version 24H2 OS build 26100.1742 Browser: Microsoft New Edge Version129.0.2792.52(Official build) (64-bit) Tool: Developer Tool **Actual Result:** Name is not defined for the 'Size' combo box present on the page in Windows. Screen reader is announcing as '16 combo box collapsed has pop up'. Refer Attachment: https://github.com/user-attachments/assets/f963edd6-8843-4237-aaa5-c628cf087399 ![Image](https://github.com/user-attachments/assets/73efa55a-99b4-4790-adec-23db70436496) **Expected Result:** Name should be defined for the 'Size' combo box present on the page in Windows. Screen reader should announce as '16 size combo box collapsed has pop up'. ### Reproduction link React Web Component Wrappers / Fluent Wrappers / Avatar - Docs ⋅ Storybook (ambitious-cliff-0c8148010.2.azurestaticapps.net) ### Reproduction steps **Repro Steps:** Open URL: [React Web Component Wrappers / Fluent Wrappers / Avatar - Docs ⋅ Storybook (ambitious-cliff-0c8148010.2.azurestaticapps.net)](https://ambitious-cliff-0c8148010.2.azurestaticapps.net/?path=/docs/reactwrappers_react-web-component-wrappers-fluent-wrappers-avatar--docs) in latest Edge browser. Story book page will open. Press tab key from top of the page to reach the 'Size' combo box. Press F12 to open developer tool. Verify in developer tool whether name is defined for the 'Size' combo box or not. ### System OS: Windows 11 Version 24H2 OS build 26100.1742 Browser: Microsoft New Edge Version129.0.2792.52(Official build) (64-bit) ### Additional context _No response_
bug,accessibility,argtypes
low
Critical
2,577,754,050
rust
Tracking Issue for minicore (core prelude stubs test auxiliary)
### Context We have a bunch of `#![no_core]` ui/codegen/assembly tests that roll their own `core` prelude stubs because they need to build (but not run) on a cross-compiled target. But this means: - A bunch of duplicated implementations of `core` prelude stubs scattered in different tests. - A heavy burden on a contributor of possibly having to update *many* tests if a new *required* lang item wants to be added. - Prelude stubs can obfuscate the intent of the test (more things that the reader has to read and mentally filter out). Instead of continuing to add more copies of `core` prelude stubs, let's centralize such `core` prelude stubs into a shared test auxiliary called `minicore`. `minicore` is for `core` prelude stubs specifically. `std` prelude which can include `liballoc` items and such is beyond the scope of `minicore`, because `core` is usable by more tests. This does not preclude adding another `ministd` or `minialloc` for stubs of `std`/`liballoc` respectively. See https://github.com/rust-lang/rust/issues/130375 for more discussions. ### Steps - [x] 1. Open an MCP to add `minicore` test auxiliary. - MCP is accepted: https://github.com/rust-lang/compiler-team/issues/786 - Note that the MCP title specified std/core prelude stubs, but we revised the scope to `core` stubs only. - [x] 2. Implement initial test infra support for `minicore`. - https://github.com/rust-lang/rust/pull/130693 - [x] 3. Adjust rustc-dev-guide docs. - https://github.com/rust-lang/rustc-dev-guide/pull/2097 - [x] 4. ~~Figure out the logistics on how to absorb `core` stubs into `minicore`, then use `minicore` to simplify existing `#![no_core]` tests.~~ - Currently, I think it's better to just have the infra in place to allow newer and changed tests to use `minicore.rs`, it seems like unnecessary churn to also force existing tests to use `minicore.rs` atm. ### Unresolved questions - What do we do with existing `#![no_core]` tests that could benefit from `minicore`?
T-compiler,T-bootstrap,C-tracking-issue,A-test-infra
low
Minor
2,577,791,054
rust
false positive: variable does not need to be mutable
### Summary I had a false positive `unused_mut`, after fixing it - re-running `cargo clippy` still threw the warning. Seems it could have some sort of cache issue as after doing `cargo clean`, the lint no longer threw the warning. ![Image](https://github.com/user-attachments/assets/e2bdc712-99be-4eed-af69-9e1988c7af49) ### Lint Name unused_mut ### Reproducer I haven't managed to reproduce this since, but just a simple: 1. `let (tx, mut rx) = mpsc::unbounded_channel();` 2. run `cargo clippy` 3. remove the `mut` 4. lint still remained 5. `cargo clean` 6. lint now no longer warned ### Version rustc 1.81.0 (eeb90cda1 2024-09-04) binary: rustc commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c commit-date: 2024-09-04 host: x86_64-unknown-linux-gnu release: 1.81.0 LLVM version: 18.1.7 ### Additional Labels _No response_
A-lints,C-bug,S-needs-repro
low
Minor
2,577,791,739
pytorch
DISABLED test_comprehensive_linalg_lu_cuda_float32 (__main__.TestInductorOpInfoCUDA)
Platforms: inductor This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_comprehensive_linalg_lu_cuda_float32&suite=TestInductorOpInfoCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/31327905322). Over the past 3 hours, it has been determined flaky in 3 workflow(s) with 6 failures and 3 successes. **Debugging instructions (after clicking on the recent samples link):** DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs. To find relevant log snippets: 1. Click on the workflow logs linked above 2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work. 3. Grep for `test_comprehensive_linalg_lu_cuda_float32` 4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs. <details><summary>Sample error message</summary> ``` Traceback (most recent call last): File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1140, in test_wrapper return test(*args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1409, in only_fn return fn(self, *args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 2137, in wrapper fn(*args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1210, in dep_fn return fn(slf, *args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1210, in dep_fn return fn(slf, *args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1210, in dep_fn return fn(slf, *args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1530, in wrapper fn(*args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1466, in wrapper fn(*args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/unittest/mock.py", line 1379, in patched return func(*newargs, **newkeywargs) File "/opt/conda/envs/py_3.10/lib/python3.10/contextlib.py", line 79, in inner return func(*args, **kwds) File "/var/lib/jenkins/workspace/test/inductor/test_torchinductor_opinfo.py", line 950, in inner raise e File "/var/lib/jenkins/workspace/test/inductor/test_torchinductor_opinfo.py", line 942, in inner fn(self, device, dtype, op) File "/var/lib/jenkins/workspace/test/inductor/test_torchinductor_opinfo.py", line 1188, in test_comprehensive raise e File "/var/lib/jenkins/workspace/test/inductor/test_torchinductor_opinfo.py", line 1148, in test_comprehensive self.check_model_gpu( File "/opt/conda/envs/py_3.10/lib/python3.10/contextlib.py", line 79, in inner return func(*args, **kwds) File "/var/lib/jenkins/workspace/test/inductor/test_torchinductor.py", line 602, in check_model_gpu check_model( File "/var/lib/jenkins/workspace/test/inductor/test_torchinductor.py", line 443, in check_model actual = run(*example_inputs, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/eval_frame.py", line 487, in _fn return fn(*args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/convert_frame.py", line 1350, in __call__ return self._torchdynamo_orig_callable( File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/convert_frame.py", line 543, in __call__ return _compile( File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/convert_frame.py", line 1000, in _compile raise InternalTorchDynamoError( File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/convert_frame.py", line 963, in _compile guarded_code = compile_inner(code, one_graph, hooks, transform) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/convert_frame.py", line 694, in compile_inner return _compile_inner(code, one_graph, hooks, transform) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_utils_internal.py", line 87, in wrapper_function return function(*args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/convert_frame.py", line 727, in _compile_inner out_code = transform_code_object(code, transform) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/bytecode_transformation.py", line 1337, in transform_code_object transformations(instructions, code_options) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/convert_frame.py", line 243, in _fn torch.cuda.set_rng_state(cuda_rng_state) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/cuda/random.py", line 77, in set_rng_state _lazy_call(cb) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/cuda/__init__.py", line 249, in _lazy_call callable() File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/cuda/random.py", line 75, in cb default_generator.set_state(new_state_copy) torch._dynamo.exc.InternalTorchDynamoError: RuntimeError: CUDA error: unspecified launch failure CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1 Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions. You can suppress this exception and fall back to eager by setting: import torch._dynamo torch._dynamo.config.suppress_errors = True The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 2983, in wrapper method(*args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 2983, in wrapper method(*args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 448, in instantiated_test result = test(self, **param_kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1210, in dep_fn return fn(slf, *args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1530, in wrapper fn(*args, **kwargs) File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1152, in test_wrapper raise e_tracked from e Exception: Caused by sample input at index 3: SampleInput(input=Tensor[size=(6, 5), device="cuda:0", dtype=torch.float32], args=(), kwargs={'pivot': 'True'}, broadcasts_input=False, name='') To execute this test, run the following from the base repo dir: PYTORCH_OPINFO_SAMPLE_INPUT_INDEX=3 python test/inductor/test_torchinductor_opinfo.py TestInductorOpInfoCUDA.test_comprehensive_linalg_lu_cuda_float32 This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0 ``` </details> Test file path: `inductor/test_torchinductor_opinfo.py` cc @clee2000 @wdvr @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov @ezyang @gchanan @zou3519 @msaroufim
triaged,module: flaky-tests,skipped,oncall: pt2,module: inductor
low
Critical
2,577,803,191
fastapi
Question about "Required, can be None" parameter
### Discussed in https://github.com/fastapi/fastapi/discussions/12418 <div type='discussions-op-text'> <sup>Originally posted by **bowenerchen** October 10, 2024</sup> ### First Check - [X] I added a very descriptive title here. - [X] I used the GitHub search to find a similar question and didn't find it. - [X] I searched the FastAPI documentation, with the integrated search. - [X] I already searched in Google "How to X in FastAPI" and didn't find any information. - [X] I already read and followed all the tutorial in the docs and didn't find an answer. - [X] I already checked if it is not related to FastAPI but to [Pydantic](https://github.com/pydantic/pydantic). - [X] I already checked if it is not related to FastAPI but to [Swagger UI](https://github.com/swagger-api/swagger-ui). - [X] I already checked if it is not related to FastAPI but to [ReDoc](https://github.com/Redocly/redoc). ### Commit to Help - [X] I commit to help with one of those options 👆 ### Example Code ```python from typing import Annotated from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items(q: Annotated[str | None, Query(min_length=3)] = ...): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q: results.update({"q": q}) return results ``` ### Description https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#required-can-be-none ![QQ_1728534861112](https://github.com/user-attachments/assets/95e967aa-ea9f-46c1-80c8-f13dc7c52e6c) how to pass a None value to the required query parameter q? ### Operating System macOS ### Operating System Details Sonoma 14.7 M2 Max ### FastAPI Version 0.115.0 ### Pydantic Version 2.5.3 ### Python Version Python 3.12.4 ### Additional Context _No response_</div>
docs
low
Minor
2,577,809,607
PowerToys
Windows keyboard manager doesn't start when I first boot up my computer.
### Microsoft PowerToys version 0.85.1 ### Installation method PowerToys auto-update ### Running as admin Yes ### Area(s) with issue? Keyboard Manager ### Steps to reproduce Windows keyboard manager doesn't start when I first boot up my computer. ### ✔️ Expected Behavior Every time, I have to manually run PowerToys.KeyboardManagerEngine.exe. This needs to be fixed. ### ❌ Actual Behavior Windows keyboard manager doesn't start when I first boot up my computer. ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,577,889,855
godot
CameraAttribute exposure does not consider ambient light, and incorrectly exposes Background
### Tested versions 4.3.stable ### System information Windows 11 - Godot v4.3.stable - Vulkan (Forward+) - dedicated NVIDIA GPU ### Issue description So, there are two problems, both related to the CameraAttribute exposure. 1. Ambient Light Color/Energy does not consider CameraAttribute exposure, Tonemap Exposure works fine. There is a related [issue](https://github.com/godotengine/godot/issues/74899), but it is about SDFGI. In the picture below, the ambient light color is set to magenta. The first line uses CameraAttribute and the second line uses Tonemap. ![screenshot_0](https://github.com/user-attachments/assets/0223a2d2-9c49-427a-9024-8fe52fec5698) 3. CameraAttribute expose Background "faster" than objects. Ambient Light Energy is set to 0 here, and the color of Plane in the scene has been matched with Background to better observe the difference. ![screenshot_1](https://github.com/user-attachments/assets/7e954650-207d-4f8a-9ab0-c1a958ed8358) These two problems make it more difficult to get consistent ambient light from Ambient Light Color when using CameraAttribute for exposure. ### Steps to reproduce 1. Create a scene, add WorldEnvironment, directional light and objects. 2. Select any mode in the Environment Background. 3. Select "Color" or "Sky" in Environment Ambient Light Source. 4. Adjust Exposure Multiplier of CameraAttribute and compare with Tonemap Exposure. ### Minimal reproduction project (MRP) [exposure-test.zip](https://github.com/user-attachments/files/17323608/exposure-test.zip)
bug,topic:rendering,confirmed,topic:3d
low
Minor
2,577,934,851
ant-design
table组件在配置virtual +行合并 + 合并行内容超出当前行高度时,表现出文字重叠的现象
### Reproduction link [![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/react-vpvsjb?file=demo.tsx) ### Steps to reproduce 1. antd-table-[虚拟列表demo](https://ant.design/components/table-cn#table-demo-virtual-list) 2. 修改Group渲染字段内容字数 3. 修改行合并逻辑 ### What is expected? 行合并后的内容高度可以自适应高度 带有边距 ### What is actually happening? 行合并后的内容高度没有自适应高度 | Environment | Info | | --- | --- | | antd | 5.21.3 | | React | 18.3.1 | | System | macOS: 15.0 | | Browser | 129.0.6668.60 (正式版本) (arm64) | <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Inactive,unconfirmed
low
Minor
2,578,009,586
ant-design
Table 开启 virtual 后,格子无法滚动
### Reproduction link [![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/react-v48dwg?file=demo.tsx) ### Steps to reproduce 滚动有滚动条的格子 ### What is expected? 格子可以滚动 ### What is actually happening? 格子无法滚动 | Environment | Info | | --- | --- | | antd | 5.21.3 | | React | latest | | System | mac | | Browser | chrome | <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
🐛 Bug,Inactive
low
Minor
2,578,010,472
next.js
Metadata function does not work as expected in intercepting routes.
### Link to the code that reproduces this issue https://github.com/sato-kazuma-kun/nextjs-intercepting-routes-bug ### To Reproduce 1. Start the application (bun or npm suggested). 2. Navigate to `/` and press the "Login" button. 3. Watch that the title of the document does not change. 4. Check the code in `app/@modal/(.)login/page.tsx` (It exports a metadata function with a title). ### Current vs. Expected behavior Following the steps I expect the title of the page to change to "Login - Bug" but it remains same to the page prior to opening the modal. ### Provide environment information ```bash Operating System: Platform: win32 Arch: x64 Version: Windows 11 Home Single Language Available memory (MB): 5990 Available CPU cores: 8 Binaries: Node: 20.10.0 npm: N/A Yarn: N/A pnpm: N/A Relevant Packages: next: 14.2.4 // There is a newer version (14.2.15) available, upgrade recommended! eslint-config-next: 14.2.1 react: 18.3.1 react-dom: 18.3.1 typescript: 5.0.4 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Metadata, Parallel & Intercepting Routes ### Which stage(s) are affected? (Select all that apply) next dev (local), next start (local) ### Additional context _No response_
bug,Metadata,Parallel & Intercepting Routes
low
Critical
2,578,034,569
deno
Npm OpenPgp is not working on server side in Fresh.js
Version: Deno 1.46.3 npm:openpgp its not working on server side in freshJs for data encryption **getting this error :** ` invalid utf-8 sequence of 1 bytes from index 1` whenever createMessage method call after reading the publicKey.
bug,node compat,crypto
low
Critical
2,578,053,623
ollama
nomic-embed-vision-v1.5
is-it possible to add nomic-ai/nomic-embed-vision-v1.5 to completing with nomic-embed-text-v1.5
model request
low
Minor
2,578,079,014
langchain
KeyError: 'tool_call_id' when there is no Tool message in given chat history (Only System Message)
### Checked other resources - [X] I added a very descriptive title to this issue. - [X] I searched the LangChain documentation with the integrated search. - [X] I used the GitHub search to find a similar question and didn't find it. - [X] I am sure that this is a bug in LangChain rather than my code. - [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package). ### Example Code ```python testTool = TestTool() tools = [ testTool] def createRunnableWithModelName(modelname: str): model = currentModel toolCallingModel = model.bind(tools=tools) toolCallingPromptMessages = [ SystemMessagePromptTemplate( prompt=PromptTemplate( input_variables=[], template="insturctions", template_format="jinja2" ) ), MessagesPlaceholder( variable_name='chat_history', optional=True ), HumanMessagePromptTemplate( prompt=PromptTemplate( input_variables=['input'], template='{input}' ) ), MessagesPlaceholder( variable_name='agent_scratchpad' ) ] prompt = ChatPromptTemplate( messages=toolCallingPromptMessages, ) agent = create_tool_calling_agent(toolCallingModel, tools, prompt) agentExecutor = AgentExecutor( agent=agent, tools=tools, return_intermediate_steps=True ) executor = agentExecutor.with_types(input_type=InputChat) return executor ``` ```error ### Error Message and Stack Trace (if applicable) File "projectPath/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "projectPath/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "projectPath/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "projectPath/lib/python3.11/site-packages/starlette/applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "projectPath/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in __call__ raise exc File "projectPath/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in __call__ await self.app(scope, receive, _send) File "projectPath/lib/python3.11/site-packages/starlette/middleware/cors.py", line 93, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "projectPath/lib/python3.11/site-packages/starlette/middleware/cors.py", line 144, in simple_response await self.app(scope, receive, send) File "projectPath/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "projectPath/lib/python3.11/site-packages/starlette/_exception_handler.py", line 62, in wrapped_app raise exc File "projectPath/lib/python3.11/site-packages/starlette/_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "projectPath/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__ await self.middleware_stack(scope, receive, send) File "projectPath/lib/python3.11/site-packages/starlette/routing.py", line 735, in app await route.handle(scope, receive, send) File "projectPath/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle await self.app(scope, receive, send) File "projectPath/lib/python3.11/site-packages/starlette/routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "projectPath/lib/python3.11/site-packages/starlette/_exception_handler.py", line 62, in wrapped_app raise exc File "projectPath/lib/python3.11/site-packages/starlette/_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "projectPath/lib/python3.11/site-packages/starlette/routing.py", line 73, in app response = await f(request) ^^^^^^^^^^^^^^^^ File "projectPath/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "projectPath/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "projectPath/lib/python3.11/site-packages/langserve/server.py", line 583, in stream_log return await api_handler.stream_log(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "projectPath/lib/python3.11/site-packages/langserve/api_handler.py", line 1237, in stream_log config, input_ = await self._get_config_and_input( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "projectPath/lib/python3.11/site-packages/langserve/api_handler.py", line 841, in _get_config_and_input input_ = schema.model_validate(body.input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "projectPath/lib/python3.11/site-packages/pydantic/main.py", line 596, in model_validate return cls.__pydantic_validator__.validate_python( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "projectPath/lib/python3.11/site-packages/langchain_core/messages/tool.py", line 130, in __init__ super().__init__(content=content, **kwargs) File "projectPath/lib/python3.11/site-packages/langchain_core/messages/base.py", line 76, in __init__ super().__init__(content=content, **kwargs) File "projectPath/lib/python3.11/site-packages/langchain_core/load/serializable.py", line 111, in __init__ super().__init__(*args, **kwargs) File "projectPath/lib/python3.11/site-packages/pydantic/main.py", line 212, in __init__ validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "projectPath/lib/python3.11/site-packages/langchain_core/messages/tool.py", line 122, in coerce_args tool_call_id = values["tool_call_id"] ~~~~~~^^^^^^^^^^^^^^^^ KeyError: 'tool_call_id' ``` ### Description After upgrading to the latest version of all langhcain packages I started to get this error with my langserve server. This error thrown when chat history is not empty and has a system message. Parser tries to parse tool message from system message and throws key error because of that. (I confirm that because I tried the map that it tries to get 'tool_call_id' and it is the system message that I gave) Error both exists while trying from playground and from my own client. ### System Info System Information ------------------ > OS: Darwin > OS Version: Darwin Kernel Version 24.0.0: Mon Aug 12 20:52:18 PDT 2024; root:xnu-11215.1.10~2/RELEASE_ARM64_T8122 > Python Version: 3.11.10 (main, Sep 7 2024, 01:03:31) [Clang 15.0.0 (clang-1500.3.9.4)] Package Information ------------------- > langchain_core: 0.3.10 > langchain: 0.3.3 > langchain_community: 0.3.2 > langsmith: 0.1.133 > langchain_astradb: 0.5.0 > langchain_cli: 0.0.31 > langchain_openai: 0.2.2 > langchain_text_splitters: 0.3.0 > langserve: 0.3.0 Optional packages not installed ------------------------------- > langgraph Other Dependencies ------------------ > aiohttp: 3.10.9 > astrapy: 1.5.2 > async-timeout: Installed. No version info available. > dataclasses-json: 0.6.7 > fastapi: 0.112.4 > gitpython: 3.1.43 > gritql: 0.1.5 > httpx: 0.27.2 > jsonpatch: 1.33 > langserve[all]: Installed. No version info available. > numpy: 1.26.4 > openai: 1.51.2 > orjson: 3.10.7 > packaging: 24.1 > pydantic: 2.9.2 > pydantic-settings: 2.5.2 > PyYAML: 6.0.2 > requests: 2.32.3 > requests-toolbelt: 1.0.0 > SQLAlchemy: 2.0.35 > sse-starlette: 1.8.2 > tenacity: 8.5.0 > tiktoken: 0.8.0 > tomlkit: 0.12.5 > typer[all]: Installed. No version info available. > typing-extensions: 4.12.2 > uvicorn: 0.23.2
🤖:bug,Ɑ: core
low
Critical
2,578,147,793
rust
Implementation of trait "not general enough" in nightly, works fine on stable
<!-- Thank you for filing a regression report! 🐛 A regression is something that changed between versions of Rust but was not supposed to. Please provide a short summary of the regression, along with any information you feel is relevant to replicate it. --> ### Code I tried this (reduced) code: ```rust use tokio::sync::mpsc::{unbounded_channel,UnboundedSender}; pub trait Role: 'static + Sync + Send { type Return : Send; } pub trait BasicRole: 'static + Send + Sync {} impl Role for dyn BasicRole + '_ { type Return = (); } pub struct ReturnEnvelope<R: Role + ?Sized> { pub return_path: Option<R::Return>, } pub fn start() { let (_basic_role_input, mut basic_role_output): (UnboundedSender<ReturnEnvelope<dyn BasicRole>>, _) = unbounded_channel(); let event_loop = async move { let _ = basic_role_output.recv().await; }; let _ = ::tokio::task::spawn(event_loop); } ``` ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=37be08010838c0fec37bb6889fd69b1e)) I expected to see this happen: successful compile. Instead, this happened: I received this error: ``` error: implementation of `Role` is not general enough --> src/lib.rs:22:13 | 22 | let _ = ::tokio::task::spawn(event_loop); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `Role` is not general enough | = note: `Role` would have to be implemented for the type `(dyn BasicRole + '0)`, for any lifetime `'0`... = note: ...but `Role` is actually implemented for the type `(dyn BasicRole + '1)`, for some specific lifetime `'1` ``` This can also be seen on the playground configured to use nightly. I am aware that handling this construct correctly seems to be an outstanding issue, I'm specifically reporting the inconsistency that it does work on stable and not nightly. ### Version it worked on It most recently worked on: 1.81.0 stable (most recent) ### Version with regression `rustc --version --verbose`: ``` rustc 1.83.0-nightly (eb4e23467 2024-10-09) binary: rustc commit-hash: eb4e2346748e1760f74fcaa27b42431e0b95f8f3 commit-date: 2024-10-09 host: x86_64-pc-windows-msvc release: 1.83.0-nightly LLVM version: 19.1.1 ``` However, this has been an issue since at least the 2024-08-17 nightly (feeba198f) <!-- If you know when this regression occurred, please add a line like below, replacing `{channel}` with one of stable, beta, or nightly. --> @rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
P-high,regression-from-stable-to-stable,C-bug,T-types
low
Critical
2,578,158,004
next.js
Image Component flicker when refresh the page
### Link to the code that reproduces this issue https://github.com/jizhi0v0/background-image-flash.git ### To Reproduce 1.Start the application in development (next dev) 2.refresh the page 3.image flash ### Current vs. Expected behavior https://github.com/user-attachments/assets/a6098447-ed5a-4530-ad2b-1dd4aa7e7581 ### Provide environment information ```bash Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.1.0: Mon Sep 30 00:10:38 PDT 2024; root:xnu-11215.40.63~39/RELEASE_ARM64_T6031 Available memory (MB): 36864 Available CPU cores: 14 Binaries: Node: 22.3.0 npm: 10.8.1 Yarn: 1.22.22 pnpm: 9.6.0 Relevant Packages: next: 14.2.15 // Latest available version is detected (14.2.15). eslint-config-next: N/A react: 18.3.1 react-dom: 18.3.1 typescript: 5.6.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Image (next/image) ### Which stage(s) are affected? (Select all that apply) next dev (local) ### Additional context Also exist in latest canary version.
bug,Image (next/image)
low
Minor
2,578,165,157
next.js
URLSearchParams does not survive serialization/deserialization when passed from a client to a Server Action
### Link to the code that reproduces this issue https://codesandbox.io/p/devbox/exciting-meitner-zrdlrs ### To Reproduce 1. Write a Server Action that takes URLSearchParams 2. Try to call it from a client component ### Current vs. Expected behavior When calling `URLSearchParams#toString()` in a Server Action, it yields a malformed output (`foo,bar,next,js`), instead of actual query/search params (`foo=bar&next=js`). ### Provide environment information ```bash Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023 Available memory (MB): 4102 Available CPU cores: 2 Binaries: Node: 20.9.0 npm: 9.8.1 Yarn: 1.22.19 pnpm: 8.10.2 Relevant Packages: next: 15.0.0-canary.182 // Latest available version is detected (15.0.0-canary.182). eslint-config-next: N/A react: 19.0.0-rc-2d16326d-20240930 react-dom: 19.0.0-rc-2d16326d-20240930 typescript: 5.3.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Not sure ### Which stage(s) are affected? (Select all that apply) next dev (local), next build (local), next start (local) ### Additional context _No response_
bug
low
Major
2,578,175,815
rust
RPITIT causes incorrect "dropped while still borrowed" error in some cases
<!-- 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. --> From [this SO question](https://stackoverflow.com/q/79073414/501250), the following code does not compile: ```rust trait Iterable { fn owned_iter(&self) -> impl Iterator<Item = usize> + 'static; } struct B<T> { x: T, } impl<T: Iterable + Clone> Iterable for B<T> { fn owned_iter(&self) -> impl Iterator<Item = usize> + 'static { let y = self.x.clone(); y.owned_iter() // error[E0597]: `y` does not live long enough } } ``` However, boxing the iterator as a trait object allows it to compile: ```rust trait Iterable { fn owned_iter(&self) -> impl Iterator<Item = usize> + 'static; } struct B<T> { x: T, } impl<T: Iterable + Clone> Iterable for B<T> { fn owned_iter(&self) -> impl Iterator<Item = usize> + 'static { let y = self.x.clone(); let b: Box<dyn Iterator<Item = usize>> = Box::new(y.owned_iter()); b } } ``` Notably, not cloning `self.x` and simply returning `self.x.owned_iter()` also works. I don't see any reason why the first code block shouldn't compile, especially while the boxed version and the non-cloning version do. ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` rustc 1.81.0 (eeb90cda1 2024-09-04) binary: rustc commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c commit-date: 2024-09-04 host: x86_64-unknown-linux-gnu release: 1.81.0 LLVM version: 18.1.7 ``` It also fails to compile on 1.83.0-nightly (2024-10-09 eb4e2346748e1760f74f).
C-bug,F-return_position_impl_trait_in_trait
low
Critical
2,578,185,911
pytorch
RuntimeError: function CompiledFunctionBackward returned an incorrect number of gradients (expected 3, got 2)
### 🐛 Describe the bug I have integrate our new accelerator to torch by utilizing torch.compile feature. And it works good for inference. Now am working on giving support for training but it gives me error while calling backward call. It says `File "/home/tiru/work/vsim/lib/python3.10/site-packages/torch/autograd/graph.py", line 744, in _engine_run_backward return Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass RuntimeError: function CompiledFunctionBackward returned an incorrect number of gradients (expected 3, got 2)` As per the documeantation AutoGrade Function will check the number of outputs from backward graph should match with number of inputs in forward graph which required gradient. I am pasting both forward and backward graphs produced by torch dynamo Here. Forward graph `class GraphModule(torch.nn.Module): def forward(self, primals_1: "f32[64, 100]", primals_2: "f32[64]", primals_3: "f32[32, 100]"): # File: /home/tiru/work/tvm/python/torch_pac/utests/test_MLP_train.py:19 in forward, code: x = self.fc1(x) permute: "f32[100, 64]" = torch.ops.aten.permute.default(primals_1, [1, 0]); primals_1 = None mm: "f32[32, 64]" = torch.ops.aten.mm.default(primals_3, permute); permute = None add: "f32[32, 64]" = torch.ops.aten.add.Tensor(mm, primals_2); mm = primals_2 = None return [add, primals_3]` backward graph `class GraphModule(torch.nn.Module): def forward(self, primals_3: "f32[32, 100]", tangents_1: "f32[32, 64]"): # File: /home/tiru/work/tvm/python/torch_pac/utests/test_MLP_train.py:19 in forward, code: x = self.fc1(x) permute_1: "f32[64, 32]" = torch.ops.aten.permute.default(tangents_1, [1, 0]) mm_1: "f32[64, 100]" = torch.ops.aten.mm.default(permute_1, primals_3); permute_1 = primals_3 = None permute_2: "f32[100, 64]" = torch.ops.aten.permute.default(mm_1, [1, 0]); mm_1 = None permute_3: "f32[64, 100]" = torch.ops.aten.permute.default(permute_2, [1, 0]); permute_2 = None sum_1: "f32[1, 64]" = torch.ops.aten.sum.dim_IntList(tangents_1, [0], True); tangents_1 = None view: "f32[64]" = torch.ops.aten.reshape.default(sum_1, [64]); sum_1 = None return [permute_3, view, None]` here the one of the input in forward graph which is primals_3 does have requires_grad is False which means it does not have gradient. so why does auto grade engine considering this as input and giving me this error. ` File "/home/tiru/work/tvm/python/torch_pac/utests/test_MLP_train.py", line 74, in <module> test_MLP_training() File "/home/tiru/work/tvm/python/torch_pac/utests/test_MLP_train.py", line 70, in test_MLP_training loss.backward() File "/home/tiru/work/vsim/lib/python3.10/site-packages/torch/_tensor.py", line 525, in backward torch.autograd.backward( File "/home/tiru/work/vsim/lib/python3.10/site-packages/torch/autograd/__init__.py", line 267, in backward _engine_run_backward( File "/home/tiru/work/vsim/lib/python3.10/site-packages/torch/autograd/graph.py", line 744, in _engine_run_backward return Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass RuntimeError: function CompiledFunctionBackward returned an incorrect number of gradients (expected 3, got 2)` here is thest case i am using for my backend. ` import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import DataLoader, TensorDataset from torch_pac.graph.config import config_ import logging logging.basicConfig() logging.getLogger().setLevel(logging.INFO) class MLP(nn.Module): def __init__(self, input_dim, hidden_dim, output_dim): super(MLP, self).__init__() self.fc1 = nn.Linear(input_dim, hidden_dim) # self.relu = nn.ReLU() # self.fc2 = nn.Linear(hidden_dim, output_dim) def forward(self, x): x = self.fc1(x) # x = self.relu(x) # x = self.fc2(x) return x def test_MLP_training(): input_dim = 100 hidden_dim = 64 output_dim = 10 batch_size = 32 learning_rate = 0.001 epochs = 5 X = torch.randn(100, input_dim) y = torch.randint(0, output_dim, (100,)) dataset = TensorDataset(X, y) dataloader = DataLoader(dataset, batch_size=batch_size, shuffle=True) model = MLP(input_dim, hidden_dim, output_dim) criterion = nn.CrossEntropyLoss() optimizer = optim.Adam(model.parameters(), lr=learning_rate) # model = torch.compile(model) # for epoch in range(epochs): # for data, targets in dataloader: # outputs = model(data) # loss = criterion(outputs, targets) # optimizer.zero_grad() # loss.backward() # optimizer.step() # print(f"cpu : Epoch [{epoch+1}/{epochs}], Loss: {loss.item():.4f}") torch._dynamo.reset() dbg_config={'relay.ext.cpac.dbg_export_IR': True, 'relay.ext.cpac.dbg_export_graphviz': True, 'relay.ext.cpac.dbg_fname_prefix': 'dbg/test_mlp_train/', 'relay.ext.cpac.input_layout_hint' : 'matrix', 'relay.ext.cpac.dbg_export_templates' : False} config_.set_config(dbg_config) model = torch.compile(model,backend="cpac") for epoch in range(epochs): for data, targets in dataloader: outputs = model(data) loss = criterion(outputs, targets) optimizer.zero_grad() loss.backward() optimizer.step() print(f"cpac : Epoch [{epoch+1}/{epochs}], Loss: {loss.item():.4f}") if __name__ == '__main__': test_MLP_training() ` ### Error logs _No response_ ### Minified repro _No response_ ### Versions Collecting environment information... PyTorch version: 2.3.0+cu121 Is debug build: False CUDA used to build PyTorch: 12.1 ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.4 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: Could not collect CMake version: version 3.29.0 Libc version: glibc-2.35 Python version: 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] (64-bit runtime) Python platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 Is CUDA available: True CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA A100 80GB PCIe GPU 1: NVIDIA A100 80GB PCIe Nvidia driver version: 550.54.14 cuDNN version: Probably one of the following: /usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.7 /usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.7 /usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.7 /usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.7 /usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.7 /usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.7 /usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.7 HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 46 bits physical, 57 bits virtual Byte Order: Little Endian CPU(s): 128 On-line CPU(s) list: 0-127 Vendor ID: GenuineIntel Model name: Intel(R) Xeon(R) Gold 6338 CPU @ 2.00GHz CPU family: 6 Model: 106 Thread(s) per core: 2 Core(s) per socket: 32 Socket(s): 2 Stepping: 6 CPU max MHz: 3200.0000 CPU min MHz: 800.0000 BogoMIPS: 4000.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 pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid fsrm md_clear pconfig flush_l1d arch_capabilities Virtualization: VT-x L1d cache: 3 MiB (64 instances) L1i cache: 2 MiB (64 instances) L2 cache: 80 MiB (64 instances) L3 cache: 96 MiB (2 instances) NUMA node(s): 2 NUMA node0 CPU(s): 0-31,64-95 NUMA node1 CPU(s): 32-63,96-127 Vulnerability Gather data sampling: Mitigation; Microcode Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Mitigation; Clear CPU buffers; SMT vulnerable Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] numpy==1.24.4 [pip3] onnx==1.14.0 [pip3] onnx-graphsurgeon==0.3.27 [pip3] onnx2pytorch==0.4.1 [pip3] onnxruntime==1.15.1 [pip3] pytorch-triton==3.0.0+45fff310c8 [pip3] torch==2.3.0 [pip3] torch_pac==0.0.1.dev0 [pip3] torchaudio==2.2.0.dev20240502+cu118 [pip3] torchvision==0.19.0.dev20240502+cu118 [pip3] triton==2.3.0 [conda] Could not collect cc @ezyang @chauhang @penguinwu @zou3519 @bdhirsh @yf225
needs reproduction,triaged,oncall: pt2,module: aotdispatch
low
Critical
2,578,207,679
deno
Support sloppy imports in `deno compile`
Version: Deno 2.0.0 I tried to play around with deno 2.0 by compiling my nest js project with deno. I thought maybe if i can compile the project into one executable binary that would be cool. Its pretty complex project. But i found that deno cannot compile if my import has no `.ts` on it. Maybe its obvious, but that would take a tedious task to add `.ts` in almost every imports this is the error message ```bash deno compile -R src/main.ts --unstable-sloppy-imports error: Module not found "file:///project-dir/src/sentry". Maybe add a '.ts' extension or run with --unstable-sloppy-imports at file:///project-dir/src/main.ts:1:8 ```
feat,compile
low
Critical
2,578,208,877
deno
Node HTTPS Server Requests
Using this code to create a node https server: <img width="1071" alt="image" src="https://github.com/user-attachments/assets/bac84538-bef8-42b1-bd7a-22c24417d44f"> Chrome shows the connection to the server as H2 <img width="1047" alt="image" src="https://github.com/user-attachments/assets/d0178e89-f2e2-4891-af75-40bc9a7b127b"> But Deno request (IncomingMessageForServer) http version is 1.1 and there is no **host** or **:authority** header in the request and requested domain can't be found anywhere in the request: <img width="304" alt="image" src="https://github.com/user-attachments/assets/d3244336-ab44-4f27-bc83-11997b264bc7">
bug,node compat,node:http
low
Minor
2,578,223,827
angular
Image Link for the Tutorial doesn't work.
### Describe the problem that you experienced I was doing the Angular Tutorial. I wondered why the images won't appear. I checked the code multiple times. After some time i checked the url. Then I saw the link was invalid. ### Enter the URL of the topic with the problem https://angular.dev/assets/images/tutorials/common ### Describe what you were looking for in the documentation _No response_ ### Describe the actions that led you to experience the problem _No response_ ### Describe what you want to experience that would fix the problem Fix the link. ### Add a screenshot if that helps illustrate the problem ![Image](https://github.com/user-attachments/assets/0e385e57-62f1-4d58-8c6c-68b0f4a916b1) ### If this problem caused an exception or error, please paste it here _No response_ ### If the problem is browser-specific, please specify the device, OS, browser, and version _No response_ ### Provide any additional information here in as much as detail as you can _No response_
area: docs-infra
low
Critical
2,578,262,278
react
[Compiler Bug]: Compiler modified and broke external react component default export
### What kind of issue is this? - [X] React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization) - [X] babel-plugin-react-compiler (build issue installing or using the Babel plugin) - [ ] eslint-plugin-react-compiler (build issue installing or using the eslint plugin) - [ ] react-compiler-healthcheck (build issue installing or using the healthcheck script) ### Link to repro https://github.com/reinismu/react-native-video-react-compiler-bug ### Repro steps Hi I already raised the issue with `react-native-video` team and they made a workaround for now to use named export. https://github.com/TheWidlarzGroup/react-native-video/issues/4222 ### How often does this bug happen? Every time ### What version of React are you using? 18
Type: Bug,Status: Unconfirmed,Component: Optimizing Compiler
medium
Critical
2,578,271,038
awesome-mac
🎉 Add <ClashX>
### 🪩 Provide a link to the proposed addition [github](https://github.com/MetaCubeX/ClashX.Meta) ### 😳 Explain why it should be added A GUI client for macOS, support mihomo core ### 📖 Additional context _No response_ ### 🧨 Issue Checklist - [X] I have checked for other similar issues - [X] I have explained why this change is important - [X] I have added necessary documentation (if appropriate)
addition
low
Minor
2,578,287,122
pytorch
Triton Dependancy Error while compiling diffusion model on Windows 10 and torch==2.4.1+cu124
### 🐛 Describe the bug Couldn't run inference after using torch.compile() on unet and vae of a diffusion model. It couldn't find an installation of triton. Model works fine without compiling. torch.compile runs smoothly but the program raises error on inference. ### Error logs `raise RuntimeError( torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised: RuntimeError: Cannot find a working triton installation. More information on installing Triton can be found at https://github.com/openai/triton ` ### Minified repro _No response_ ### Versions Collecting environment information... PyTorch version: 2.4.1+cu124 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Microsoft Windows 11 Pro GCC version: Could not collect Clang version: Could not collect CMake version: version 3.30.4 Libc version: N/A Python version: 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] (64-bit runtime) Python platform: Windows-10-10.0.22631-SP0 Is CUDA available: True CUDA runtime version: 11.7.64 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4070 Nvidia driver version: 561.09 cuDNN version: Could not collect HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture=9 CurrentClockSpeed=3400 DeviceID=CPU0 Family=198 L2CacheSize=24576 L2CacheSpeed= Manufacturer=GenuineIntel MaxClockSpeed=3400 Name=13th Gen Intel(R) Core(TM) i7-13700K ProcessorType=3 Revision= Versions of relevant libraries: [pip3] numpy==1.26.4 [pip3] torch==2.4.1+cu124 [pip3] torchaudio==2.4.1+cu124 [pip3] torchvision==0.19.1+cu124 [conda] _anaconda_depends 2024.02 py311_mkl_1 [conda] blas 1.0 mkl [conda] mkl 2023.1.0 h6b88ed4_46358 [conda] mkl-service 2.4.0 py311h2bbff1b_1 [conda] mkl_fft 1.3.8 py311h2bbff1b_0 [conda] mkl_random 1.2.4 py311h59b6b97_0 [conda] numpy 1.26.4 py311hdab7c0b_0 [conda] numpy-base 1.26.4 py311hd01c5d8_0 [conda] numpydoc 1.5.0 py311haa95532_0 cc @peterjc123 @mszhanyi @skyline75489 @nbcsm @iremyux @Blackhex @ezyang @chauhang @penguinwu
module: windows,triaged,oncall: pt2
low
Critical
2,578,301,115
awesome-mac
🎉 Add <Wox>
### 🪩 Provide a link to the proposed addition [homepage](https://wox-launcher.github.io/Wox/#/) [github](https://github.com/Wox-launcher/Wox) ### 😳 Explain why it should be added .Wox is a cross-platform launcher that simply works. It's an alternative to Alfred and Launchy ### 📖 Additional context _No response_ ### 🧨 Issue Checklist - [X] I have checked for other similar issues - [X] I have explained why this change is important - [X] I have added necessary documentation (if appropriate)
addition
low
Minor
2,578,301,585
pytorch
[inductor][cpu]float32 and AMP performance regression in 2024-09-30 nightly release
### 🐛 Describe the bug <p>AMP static shape CPP wrapper</p><table border="1" class="dataframe table"> <thead> <tr style="text-align: right;"> <th>suite</th> <th>name</th> <th>thread</th> <th>batch_size_new</th> <th>speed_up_new</th> <th>inductor_new</th> <th>eager_new</th> <th>compilation_latency_new</th> <th>batch_size_old</th> <th>speed_up_old</th> <th>inductor_old</th> <th>eager_old</th> <th>compilation_latency_old</th> <th>Ratio Speedup(New/old)</th> <th>Eager Ratio(old/new)</th> <th>Inductor Ratio(old/new)</th> <th>Compilation_latency_Ratio(old/new)</th> </tr> </thead> <tbody> <tr> <td>huggingface</td> <td>MT5ForConditionalGeneration</td> <td>multiple</td> <td>16</td> <td>1.899827</td> <td>0.090072809</td> <td>0.171122754504043</td> <td>45.883297</td> <td>16</td> <td>2.4942</td> <td>0.055549301</td> <td>0.13855106655420002</td> <td>45.724342</td> <td>0.76</td> <td>0.81</td> <td>0.62</td> <td>1.0</td> </tr> <tr> <td>huggingface</td> <td>MT5ForConditionalGeneration</td> <td>single</td> <td>1</td> <td>1.837071</td> <td>0.19298464899999998</td> <td>0.35452650212307896</td> <td>39.713272</td> <td>1</td> <td>2.537298</td> <td>0.103872977</td> <td>0.263556696796146</td> <td>39.3119</td> <td>0.72</td> <td>0.74</td> <td>0.54</td> <td>0.99</td> </tr> <tr> <td>timm_models</td> <td>mixnet_l</td> <td>single</td> <td>1</td> <td>2.105185</td> <td>0.019725155999999997</td> <td>0.04152510253386</td> <td>65.146177</td> <td>1</td> <td>2.522811</td> <td>0.016682802</td> <td>0.042087556396422</td> <td>65.383152</td> <td>0.83</td> <td>1.01</td> <td>0.85</td> <td>1.0</td> </tr> <tr> <td>timm_models</td> <td>tf_mixnet_l</td> <td>single</td> <td>1</td> <td>2.095595</td> <td>0.020231463999999998</td> <td>0.042396954801079995</td> <td>67.225121</td> <td>1</td> <td>2.469998</td> <td>0.017577774</td> <td>0.043417066624452</td> <td>67.388258</td> <td>0.85</td> <td>1.02</td> <td>0.87</td> <td>1.0</td> </tr> </tbody> </table> <p>AMP dynamic shape CPP wrapper</p><table border="1" class="dataframe table"> <thead> <tr style="text-align: right;"> <th>suite</th> <th>name</th> <th>thread</th> <th>batch_size_new</th> <th>speed_up_new</th> <th>inductor_new</th> <th>eager_new</th> <th>compilation_latency_new</th> <th>batch_size_old</th> <th>speed_up_old</th> <th>inductor_old</th> <th>eager_old</th> <th>compilation_latency_old</th> <th>Ratio Speedup(New/old)</th> <th>Eager Ratio(old/new)</th> <th>Inductor Ratio(old/new)</th> <th>Compilation_latency_Ratio(old/new)</th> </tr> </thead> <tbody> <tr> <td>huggingface</td> <td>MT5ForConditionalGeneration</td> <td>multiple</td> <td>16</td> <td>1.919121</td> <td>0.090016383</td> <td>0.172752330959343</td> <td>57.494503</td> <td>16</td> <td>2.466627</td> <td>0.05597329</td> <td>0.13806522839283</td> <td>56.685157</td> <td>0.78</td> <td>0.8</td> <td>0.62</td> <td>0.99</td> </tr> <tr> <td>huggingface</td> <td>MT5ForConditionalGeneration</td> <td>single</td> <td>1</td> <td>1.851317</td> <td>0.192209617</td> <td>0.35584093151558904</td> <td>39.647622</td> <td>1</td> <td>2.521299</td> <td>0.103176363</td> <td>0.260138460855537</td> <td>39.168673</td> <td>0.73</td> <td>0.73</td> <td>0.54</td> <td>0.99</td> </tr> <tr> <td>timm_models</td> <td>mixnet_l</td> <td>single</td> <td>1</td> <td>2.136226</td> <td>0.019517589999999998</td> <td>0.04169398321534</td> <td>65.203767</td> <td>1</td> <td>2.511199</td> <td>0.016638161</td> <td>0.04178173326503899</td> <td>65.253212</td> <td>0.85</td> <td>1.0</td> <td>0.85</td> <td>1.0</td> </tr> <tr> <td>timm_models</td> <td>tf_mixnet_l</td> <td>single</td> <td>1</td> <td>2.115886</td> <td>0.020487329</td> <td>0.043348852608494</td> <td>67.197244</td> <td>1</td> <td>2.469767</td> <td>0.01748348</td> <td>0.043180121949159996</td> <td>67.360533</td> <td>0.86</td> <td>1.0</td> <td>0.85</td> <td>1.0</td> </tr> </tbody> </table> <p>float32 static shape cpp wrapper</p><table border="1" class="dataframe table"> <thead> <tr style="text-align: right;"> <th>suite</th> <th>name</th> <th>thread</th> <th>batch_size_new</th> <th>speed_up_new</th> <th>inductor_new</th> <th>eager_new</th> <th>compilation_latency_new</th> <th>batch_size_old</th> <th>speed_up_old</th> <th>inductor_old</th> <th>eager_old</th> <th>compilation_latency_old</th> <th>Ratio Speedup(New/old)</th> <th>Eager Ratio(old/new)</th> <th>Inductor Ratio(old/new)</th> <th>Compilation_latency_Ratio(old/new)</th> </tr> </thead> <tbody> <tr> <td>huggingface</td> <td>MT5ForConditionalGeneration</td> <td>multiple</td> <td>16</td> <td>1.198074</td> <td>0.278960618</td> <td>0.334215463449732</td> <td>39.408188</td> <td>16</td> <td>1.228448</td> <td>0.226442445</td> <td>0.27817276867536</td> <td>38.770564</td> <td>0.98</td> <td>0.83</td> <td>0.81</td> <td>0.98</td> </tr> <tr> <td>timm_models</td> <td>hrnet_w18</td> <td>multiple</td> <td>128</td> <td>0.810532</td> <td>1.429737979</td> <td>1.158848383594828</td> <td>283.746136</td> <td>128</td> <td>2.630196</td> <td>0.432910821</td> <td>1.1386403097509161</td> <td>279.00639</td> <td>0.31</td> <td>0.98</td> <td>0.3</td> <td>0.98</td> </tr> <tr> <td>timm_models</td> <td>resnest101e</td> <td>multiple</td> <td>64</td> <td>1.427756</td> <td>2.730684505</td> <td>3.8987511861207804</td> <td>82.86019</td> <td>64</td> <td>2.226839</td> <td>0.48641531</td> <td>1.08316858250509</td> <td>70.529618</td> <td>0.64</td> <td>0.28</td> <td>0.18</td> <td>0.85</td> </tr> <tr> <td>timm_models</td> <td>swsl_resnext101_32x16d</td> <td>multiple</td> <td>32</td> <td>0.074879</td> <td>17.274334944</td> <td>1.293484926271776</td> <td>119.443088</td> <td>32</td> <td>1.58248</td> <td>0.648969584</td> <td>1.0269813872883202</td> <td>36.292802</td> <td>0.05</td> <td>0.79</td> <td>0.04</td> <td>0.3</td> </tr> <tr> <td>huggingface</td> <td>MT5ForConditionalGeneration</td> <td>single</td> <td>1</td> <td>1.205384</td> <td>0.393816785</td> <td>0.47470045157044</td> <td>40.736825</td> <td>1</td> <td>1.253551</td> <td>0.303664971</td> <td>0.380659528062021</td> <td>39.91097</td> <td>0.96</td> <td>0.8</td> <td>0.77</td> <td>0.98</td> </tr> <tr> <td>timm_models</td> <td>hrnet_w18</td> <td>single</td> <td>1</td> <td>0.607728</td> <td>0.29277504</td> <td>0.17792758950912</td> <td>285.149956</td> <td>1</td> <td>2.059248</td> <td>0.08616655799999999</td> <td>0.177438312228384</td> <td>284.411099</td> <td>0.3</td> <td>1.0</td> <td>0.29</td> <td>1.0</td> </tr> <tr> <td>timm_models</td> <td>resnest101e</td> <td>single</td> <td>1</td> <td>0.988869</td> <td>1.087499603</td> <td>1.0753946449190068</td> <td>84.459431</td> <td>1</td> <td>1.66091</td> <td>0.16280488299999998</td> <td>0.27040425822353</td> <td>79.59341</td> <td>0.6</td> <td>0.25</td> <td>0.15</td> <td>0.94</td> </tr> <tr> <td>timm_models</td> <td>swin_base_patch4_window7_224</td> <td>single</td> <td>1</td> <td>1.285946</td> <td>0.223065622</td> <td>0.286850344348412</td> <td>53.396126</td> <td>1</td> <td>1.329989</td> <td>0.192888425</td> <td>0.256539483477325</td> <td>52.928668</td> <td>0.97</td> <td>0.89</td> <td>0.86</td> <td>0.99</td> </tr> <tr> <td>timm_models</td> <td>swsl_resnext101_32x16d</td> <td>single</td> <td>1</td> <td>0.066824</td> <td>13.58569782</td> <td>0.9078506711236799</td> <td>102.925062</td> <td>1</td> <td>1.376259</td> <td>0.434066423</td> <td>0.5973878212515569</td> <td>37.044493</td> <td>0.05</td> <td>0.66</td> <td>0.03</td> <td>0.36</td> </tr> </tbody> </table> <p>float32 dynamic shape cpp wrapper</p><table border="1" class="dataframe table"> <thead> <tr style="text-align: right;"> <th>suite</th> <th>name</th> <th>thread</th> <th>batch_size_new</th> <th>speed_up_new</th> <th>inductor_new</th> <th>eager_new</th> <th>compilation_latency_new</th> <th>batch_size_old</th> <th>speed_up_old</th> <th>inductor_old</th> <th>eager_old</th> <th>compilation_latency_old</th> <th>Ratio Speedup(New/old)</th> <th>Eager Ratio(old/new)</th> <th>Inductor Ratio(old/new)</th> <th>Compilation_latency_Ratio(old/new)</th> </tr> </thead> <tbody> <tr> <td>huggingface</td> <td>MT5ForConditionalGeneration</td> <td>multiple</td> <td>16</td> <td>1.139748</td> <td>0.285818051</td> <td>0.325760551991148</td> <td>48.502399</td> <td>16</td> <td>1.154438</td> <td>0.251020448</td> <td>0.28978754394822404</td> <td>47.97883</td> <td>0.99</td> <td>0.89</td> <td>0.88</td> <td>0.99</td> </tr> <tr> <td>timm_models</td> <td>hrnet_w18</td> <td>multiple</td> <td>128</td> <td>0.80241</td> <td>1.4433276780000002</td> <td>1.15814056210398</td> <td>308.789275</td> <td>128</td> <td>2.529114</td> <td>0.461317411</td> <td>1.166724322603854</td> <td>303.674067</td> <td>0.32</td> <td>1.01</td> <td>0.32</td> <td>0.98</td> </tr> <tr> <td>timm_models</td> <td>resnest101e</td> <td>multiple</td> <td>64</td> <td>1.429491</td> <td>2.724671846</td> <td>3.894893881810386</td> <td>97.602245</td> <td>64</td> <td>2.227772</td> <td>0.49908957400000004</td> <td>1.111857778449128</td> <td>87.189224</td> <td>0.64</td> <td>0.29</td> <td>0.18</td> <td>0.89</td> </tr> <tr> <td>timm_models</td> <td>swsl_resnext101_32x16d</td> <td>multiple</td> <td>32</td> <td>0.07378</td> <td>17.296593144</td> <td>1.2761426421643198</td> <td>127.440781</td> <td>32</td> <td>1.531398</td> <td>0.6789950189999999</td> <td>1.0398116141065619</td> <td>45.248668</td> <td>0.05</td> <td>0.81</td> <td>0.04</td> <td>0.36</td> </tr> <tr> <td>huggingface</td> <td>MT5ForConditionalGeneration</td> <td>single</td> <td>1</td> <td>1.208728</td> <td>0.39571599500000004</td> <td>0.47831300320436004</td> <td>40.998376</td> <td>1</td> <td>1.253549</td> <td>0.303047896</td> <td>0.37988538698290397</td> <td>40.43493</td> <td>0.96</td> <td>0.79</td> <td>0.77</td> <td>0.99</td> </tr> <tr> <td>timm_models</td> <td>hrnet_w18</td> <td>single</td> <td>1</td> <td>0.610165</td> <td>0.29299386600000005</td> <td>0.17877460224789002</td> <td>288.631683</td> <td>1</td> <td>2.056979</td> <td>0.087144289</td> <td>0.179253972442931</td> <td>286.437858</td> <td>0.3</td> <td>1.0</td> <td>0.3</td> <td>0.99</td> </tr> <tr> <td>timm_models</td> <td>resnest101e</td> <td>single</td> <td>1</td> <td>0.990263</td> <td>1.08877909</td> <td>1.0781776480006702</td> <td>85.452358</td> <td>1</td> <td>1.663022</td> <td>0.164732632</td> <td>0.273953991133904</td> <td>80.585222</td> <td>0.6</td> <td>0.25</td> <td>0.15</td> <td>0.94</td> </tr> <tr> <td>timm_models</td> <td>swin_base_patch4_window7_224</td> <td>single</td> <td>1</td> <td>1.291988</td> <td>0.223867965</td> <td>0.28923472436442</td> <td>53.800244</td> <td>1</td> <td>1.334749</td> <td>0.194363569</td> <td>0.259426579359181</td> <td>53.587757</td> <td>0.97</td> <td>0.9</td> <td>0.87</td> <td>1.0</td> </tr> <tr> <td>timm_models</td> <td>swsl_resnext101_32x16d</td> <td>single</td> <td>1</td> <td>0.067207</td> <td>13.58369564</td> <td>0.91291943287748</td> <td>103.362895</td> <td>1</td> <td>1.371726</td> <td>0.43848101</td> <td>0.60147580192326</td> <td>37.397681</td> <td>0.05</td> <td>0.66</td> <td>0.03</td> <td>0.36</td> </tr> </tbody> </table> the bad commit 2a178a69820124a3643abac05757cec3a5788295 ``` /workspace/pytorch# bash inductor_single_run.sh multiple inference performance huggingface MT5ForConditionalGeneration float32 first static cpp Testing with cpp wrapper. Testing with freezing on. multi-threads testing.... /opt/conda/lib/python3.8/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( loading model: 0it [00:02, ?it/s] cpu eval MT5ForConditionalGeneration running benchmark: 100%|██████████████████████████████████████████████████████████| 50/50 [00:21<00:00, 2.30it/s] 1.240x WARNING:common:Trying to call the empty_gpu_cache for device: cpu, which is not in list [cuda, xpu] dev,name,batch_size,speedup,abs_latency,compilation_latency,compression_ratio,eager_peak_mem,dynamo_peak_mem,calls_captured,unique_graphs,graph_breaks,unique_graph_breaks,autograd_captures,autograd_compiles,cudagraph_skips cpu,MT5ForConditionalGeneration,16,1.239957,192.141957,36.548632,0.962392,910.594458,946.178048,1174,1,0,0,0,0,0 ``` the last good commit: 6300eb1dc7b7b59ebffde52ec266fc9200339ff7 ``` /workspace/pytorch# bash inductor_single_run.sh multiple inference performance huggingface MT5ForConditionalGeneration float32 first static cpp Testing with cpp wrapper. Testing with freezing on. multi-threads testing.... /opt/conda/lib/python3.8/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( loading model: 0it [00:02, ?it/s] cpu eval MT5ForConditionalGeneration running benchmark: 100%|██████████████████████████████████████████████████████████| 50/50 [00:18<00:00, 2.73it/s] 1.269x WARNING:common:Trying to call the empty_gpu_cache for device: cpu, which is not in list [cuda, xpu] dev,name,batch_size,speedup,abs_latency,compilation_latency,compression_ratio,eager_peak_mem,dynamo_peak_mem,calls_captured,unique_graphs,graph_breaks,unique_graph_breaks,autograd_captures,autograd_compiles,cudagraph_skips cpu,MT5ForConditionalGeneration,16,1.269200,159.506385,36.092898,0.962646,910.764851,946.105549,1174,1,0,0,0,0,0 ``` ### Versions </table><p>SW info</p><table border="1" class="dataframe table"> <thead> <tr style="text-align: right;"> <th>name</th> <th>target_branch</th> <th>target_commit</th> <th>refer_branch</th> <th>refer_commit</th> </tr> </thead> <tbody> <tr> <td>torchbench</td> <td>main</td> <td>23512dbe</td> <td>main</td> <td>23512dbe</td> </tr> <tr> <td>torch</td> <td>main</td> <td>1d6e0412f5205b1cd709e034526d7f21d6f2d56f</td> <td>main</td> <td>9731ccb9e0c9f09dcd3435a47fc40fe6fb960504</td> </tr> <tr> <td>torchvision</td> <td>main</td> <td>0.19.0a0+d23a6e1</td> <td>main</td> <td>0.19.0a0+d23a6e1</td> </tr> <tr> <td>torchtext</td> <td>main</td> <td>0.16.0a0+b0ebddc</td> <td>main</td> <td>0.16.0a0+b0ebddc</td> </tr> <tr> <td>torchaudio</td> <td>main</td> <td>2.5.0a0+ba696ea</td> <td>main</td> <td>2.5.0a0+ba696ea</td> </tr> <tr> <td>torchdata</td> <td>main</td> <td>0.7.1a0+0790338</td> <td>main</td> <td>0.7.1a0+0790338</td> </tr> <tr> <td>dynamo_benchmarks</td> <td>main</td> <td>nightly</td> <td>main</td> <td>nightly</td> </tr> </tbody> </table> </table> Repro: [inductor_single_run.sh](https://github.com/chuanqi129/inductor-tools/blob//main/scripts/modelbench/inductor_single_run.sh) bash inductor_single_run.sh multiple inference performance huggingface MT5ForConditionalGeneration float32 first static cpp Suspected guilty commit: https://github.com/pytorch/pytorch/commit/2a178a69820124a3643abac05757cec3a5788295 [huggingface-MT5ForConditionalGeneration-inference-float32-static-cpp-multiple-performance-drop_guilty_commit.log](https://github.com/user-attachments/files/17326256/huggingface-MT5ForConditionalGeneration-inference-float32-static-cpp-multiple-performance-drop_guilty_commit.log) cc @ezyang @chauhang @penguinwu @WeizhuoZhang-intel @chuanqi129
oncall: pt2,oncall: cpu inductor
low
Critical
2,578,334,590
godot
MultiplayerSynchronizer throws error when synchronizing Node changes on first peer connection
### Tested versions Reproducible in v4.3.stable.arch_linux ### System information Godot v4.3.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Sat, 05 Oct 2024 17:53:31 +0000 - Wayland - GLES3 (Compatibility) - AMD Radeon RX 7600 (radeonsi, navi33, LLVM 18.1.8, DRM 3.54, 6.6.54-1-lts) - 13th Gen Intel(R) Core(TM) i9-13900T (32 Threads) ### Issue description The `MultiplayerSynchronizer` throws an error on the third peer that it can't find the second peer's Player Node and the same for any subsequent peers except the host. The synchronization doesn't work for those nodes then. I don't understand why it throws that error. My expectation is that it shouldn't and synchronize properly. ``` E 0:00:02:0346 get_node: Node not found: "Network/Players/1994578314/MultiplayerSynchronizer" (relative to "/root"). <C++ Error> Method/function failed. Returning: nullptr <C++ Source> scene/main/node.cpp:1792 @ get_node() ``` ``` E 0:00:02:0346 process_simplify_path: Parameter "node" is null. <C++ Source> modules/multiplayer/scene_cache_interface.cpp:118 @ process_simplify_path() ``` ![20241010_11h50m10s_grim](https://github.com/user-attachments/assets/a6ec45be-8aa2-4061-ac23-c998d4fd34d9) ### Steps to reproduce Run the project. Click `Host` in one window and `Join` in the others. Observe the error and check the `score` value for each Player in the `Remote` SceneTree tab. In all Sessions every Player Node should have their score set to 1, but it isn't. ### Minimal reproduction project (MRP) [bug-multiplayersynchronizer-playerstate.zip](https://github.com/user-attachments/files/17326390/bug-multiplayersynchronizer-playerstate.zip)
bug,topic:multiplayer
low
Critical
2,578,348,983
tensorflow
tf.custom_gradient for function with kwarg shows unexpected behavior
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.17.0 ### Custom code No ### OS platform and distribution Ubuntu 22.04.5 LTS ### Mobile device _No response_ ### Python version 3.12.7 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version 12.3/8 ### GPU model and memory _No response_ ### Current behavior? I have a function that takes two tensors as inputs, one as argument and one as keyword argument. The function has a custom gradient. When ``tape.gradient`` for both input tensors with respect to the output of the function is called, TensorFlow throws an error, saying that only one gradient is expect and not two. When the function is called with both inputs as arguments (and not one of them as kwarg), no error is thrown. ### Standalone code to reproduce the issue ```shell @tf.custom_gradient def func(x, y=0): z = 2*x + y def grad(dz): dx = 2*dz dy = dz return dx, dy return z, grad x = tf.constant(2.) y = tf.constant(3.) with tf.GradientTape() as tape: tape.watch([x, y]) z = func(x, y=y) #func(x, y) does not generate the error grads = tape.gradient(z, [x, y]) ``` ### Relevant log output ```shell --------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[129], line 14 12 tape.watch([x, y]) 13 z = func(x, y=y) ---> 14 grads = tape.gradient(z, [x, y]) File ~/.local/lib/python3.12/site-packages/tensorflow/python/eager/backprop.py:1066, in GradientTape.gradient(self, target, sources, output_gradients, unconnected_gradients) 1060 output_gradients = ( 1061 composite_tensor_gradient.get_flat_tensors_for_gradients( 1062 output_gradients)) 1063 output_gradients = [None if x is None else ops.convert_to_tensor(x) 1064 for x in output_gradients] -> 1066 flat_grad = imperative_grad.imperative_grad( 1067 self._tape, 1068 flat_targets, 1069 flat_sources, 1070 output_gradients=output_gradients, 1071 sources_raw=flat_sources_raw, 1072 unconnected_gradients=unconnected_gradients) 1074 if not self._persistent: 1075 # Keep track of watched variables before setting tape to None 1076 self._watched_variables = self._tape.watched_variables() File ~/.local/lib/python3.12/site-packages/tensorflow/python/eager/imperative_grad.py:67, in imperative_grad(tape, target, sources, output_gradients, sources_raw, unconnected_gradients) 63 except ValueError: 64 raise ValueError( 65 "Unknown value for unconnected_gradients: %r" % unconnected_gradients) ---> 67 return pywrap_tfe.TFE_Py_TapeGradient( 68 tape._tape, # pylint: disable=protected-access 69 target, 70 sources, 71 output_gradients, 72 sources_raw, 73 compat.as_str(unconnected_gradients.value)) File ~/.local/lib/python3.12/site-packages/tensorflow/python/ops/custom_gradient.py:588, in _eager_mode_decorator.<locals>.actual_grad_fn(*result_grad_components) 585 flat_grads = composite_tensor_gradient.get_flat_tensors_for_gradients( 586 nest.flatten(input_grads)) 587 if len(flat_grads) != arg_count: --> 588 raise ValueError( 589 f"custom_gradient function expected to return {arg_count} " 590 f"gradients, but returned {len(flat_grads)} instead.") 591 return flat_grads + variable_grads ValueError: custom_gradient function expected to return 1 gradients, but returned 2 instead. ```
stat:awaiting tensorflower,type:bug,comp:ops,2.17
medium
Critical
2,578,430,912
excalidraw
optimize eraser performance
- likely related to checking hitbox of all non-deleted elements except just visible ones. - more optims can likely be done as well https://excalidraw.com/#json=e9Z_OVliTSgIkoO5RehPa,3fMgD5xu7AiNsSkZUTHflQ
performance ⚡️
low
Major
2,578,438,285
deno
Deno install --config flag does not support remote configuration files
# Deno Install Command: Support for Remote Configuration Files ## Version Deno 2.0.0 ## Issue Description The `deno install` command's `--config` flag currently only accepts local file paths, limiting its functionality when installing CLI tools with remotely hosted source code and configuration files. ## Expected vs. Current Behavior ### Expected The `--config` flag should accept URLs, allowing for a streamlined installation process of remotely hosted CLI tools. ### Current The `--config` flag only accepts local file paths, causing installation failures when attempting to use a URL. ## Example Commands ### Desired (Not Currently Supported) ``` deno install -Afg --config https://example-server-url/deno.json --import-map https://example-server-url/import_map.json https://example-server-url/main.ts ``` ### Current Workaround 1. Fetch `deno.json` from the server 2. Save it locally 3. Run: ``` deno install -Afg --config ./deno.json --import-map https://example-server-url/import_map.json https://example-server-url/main.ts ``` ## Impact This limitation complicates the installation process for CLI tools relying on remote configuration files, affecting developers who maintain or use such tools. ## Suggested Enhancement Implement support for remote URLs in the `--config` flag of the `deno install` command to allow for a more flexible and streamlined installation process. ## Additional Information - The `--import-map` flag already supports remote URLs, suggesting similar functionality could be implemented for `--config`. - This enhancement aligns with Deno's philosophy of supporting URL-based imports and configurations. Thank you for considering this enhancement to improve the Deno installation process.
cli,suggestion
low
Critical
2,578,472,890
PowerToys
Quick Accent: In Esperanto, marked 'u' is not 'u-caron' but rather 'u-breve'
### Microsoft PowerToys version 0.85.1 ### Installation method PowerToys auto-update ### Running as admin Yes ### Area(s) with issue? Quick Accent ### Steps to reproduce 1. Use Quick Accent with a set of Esperanto 2. Input 'u' and add accent ### ✔️ Expected Behavior 'ŭ' (u-breve) (U+016D) - https://www.akademio-de-esperanto.org/fundamento/gramatiko_angla.html - https://vortaro.net/#%C5%AD_kd - https://en.wikipedia.org/wiki/%C5%AC ### ❌ Actual Behavior 'ǔ' (u-caron) (U+01D4) ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,578,491,480
tauri
[bug] WebviewWindowBuilder fullscreen() and size() don't work.
### Describe the bug I tries to cover all monitors with fullscreen windows to display graphs on them. I have multiple monitors with different resolutions, framerates and scale factors. However, the approach from examples works only for the primary monitor. The windows on secondary monitors stay small, borderless and in random positions. However, setting windows to fullscreen after the window was built works. P.S. While we are here, please `#[derive(PatialEq)]` on tauri::window::Monitor. ### Reproduction This does not work: windows on secondary monitors remain small. Uncomment the commented line to make it work. ```rust tauri::Builder::default() .setup(move |app| { // Build the primary window let primary_window = tauri::WebviewWindowBuilder::new( app, "primary", tauri::WebviewUrl::App("index.html".into()), ) .fullscreen(true) .build()?; if need_multiscreen { let monitors = primary_window.available_monitors()?; let primary_monitor = primary_window.current_monitor()?.unwrap(); for (i, monitor) in monitors.iter().enumerate() { if !compare_monitors(&primary_monitor, monitor) { dbg!(&monitor); let label = format!("extra{}", i); let pos = calculate_window_position(monitor); let secondary_window = tauri::WebviewWindowBuilder::new( app, label, tauri::WebviewUrl::App("index.html".into()), ) .position(pos.0, pos.1) .fullscreen(true) .build()?; // Uncomment here // let secondary_window = // tauri::WebviewWindowBuilder::new( // app, // label, // tauri::WebviewUrl::App("index.html".into()), // ) // .position(pos.0, pos.1) // .build()?; // secondary_window.set_fullscreen(true); } } } std::result::Result::Ok(()) }) .run(tauri::generate_context!()) .expect("error while running app"); Ok(()) ``` ### Expected behavior _No response_ ### Full `tauri info` output ```text [✔] Environment - OS: Windows 10.0.22631 x86_64 (X64) ✔ WebView2: 129.0.2792.79 ✔ MSVC: Visual Studio Community 2022 ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04) ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN) - node: 22.9.0 - npm: 10.8.3 [-] Packages - tauri 🦀: 2.0.2 - tauri-build 🦀: 2.0.1 - wry 🦀: 0.44.1 - tao 🦀: 0.30.3 - tauri-cli 🦀: 2.0.2 [-] Plugins - tauri-plugin-shell 🦀: 2.0.1 [-] App - build-type: bundle - CSP: unset - frontendDist: ../src ``` ### Stack trace _No response_ ### Additional context _No response_
type: bug,platform: Windows,status: needs triage
low
Critical
2,578,533,827
TypeScript
Completion should suggest enum keys on some conditions
### 🔍 Search Terms "enum", "enum keys", "completion" ### ✅ 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 Suggest enum keys completions without having to spell out the enum identifier. For example, input `CRE` should be offered completion `State.CREATED`. This completion can be limited to places where the enum type is expected, like a function argument or an object literal. ### 📃 Motivating Example ```typescript enum State { CREATED, CLOSED, } function f(v : State) {} f(CRE ) // Expect completion on CRE ``` ### 💻 Use Cases 1. What do you want to use this for? better DX 2. What shortcomings exist with current approaches? Have to first write the enum before enum key completions are offered. 3. What workarounds are you using in the meantime? no
Suggestion,Domain: Completion Lists,Awaiting More Feedback
low
Minor
2,578,579,283
kubernetes
kube-apiserver: High pod churn causes APIServer OOM
### What happened? The `kube-apiserver` memory usage is too high. The node has 512GB of memory, but the `kube-apiserver` is using as much as 326GB. Profiling with Go revealed that `StreamWatcher ` accounts for 84.49% of the memory usage. memory usage: ![image](https://github.com/user-attachments/assets/62fc8809-eefa-4a0c-86a1-1812ea6602b4) ![Image](https://github.com/user-attachments/assets/922d5dfd-4662-452d-b691-65f942454fba) flame graph: ![image](https://github.com/user-attachments/assets/485fb809-38dc-4133-847d-d621dd8811b2) golang profliing heap: [kube-apiserver.heap.zip](https://github.com/user-attachments/files/17327281/kube-apiserver.heap.zip) golang profliing cpu: [kube-apiserver.cpu.zip](https://github.com/user-attachments/files/17327286/kube-apiserver.cpu.zip) cluster nodes: 4.6K ### What did you expect to happen? `kube-apiserver` memory remains at a low memory watermark. ### How can we reproduce it (as minimally and precisely as possible)? None ### Anything else we need to know? None ### Kubernetes version [release-1.17](https://github.com/kubernetes/kubernetes/tree/release-1.17) commit ID: 8885823091bd6419bb2b0b83617a0a6fe0aed8cd ### 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/support,sig/api-machinery,triage/needs-information
medium
Major
2,578,675,173
ui
[bug]: shadcn cli isn't installing devDependencies
### Describe the bug When adding a component with shadcn-cli, the devDependencies in the json file do not install. ### Affected component/components CLI ### How to reproduce `npx shadcn@latest init "https://raw.githubusercontent.com/ChrisGambrell/shadcn-registry/31c4b339b9005f4ef5cccaf6e913581fd2e157f6/registry.json"` Check the package.json and see that the expected `@tailwindcss/typography`, `@types/bcryptjs`, and `prisma` are not installed. ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash Apple M1 Max; macOS 15.0.1 (24A348) ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,578,677,667
langchain
Warning when using the structured output method 'json_schema'.
### Checked other resources - [X] I added a very descriptive title to this issue. - [X] I searched the [LangGraph](https://langchain-ai.github.io/langgraph/)/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 LangGraph/LangChain rather than my code. - [X] I am sure this is better as an issue [rather than a GitHub discussion](https://github.com/langchain-ai/langgraph/discussions/new/choose), since this is a LangGraph bug and not a design question. ### Example Code ```python import operator from typing import TypedDict, Annotated, Sequence, Literal from langchain_openai import ChatOpenAI from langchain_core.prompts import ChatPromptTemplate from langchain_core.messages import BaseMessage from langgraph.graph import END, StateGraph from pydantic import BaseModel llm = ChatOpenAI(model='gpt-4o-mini') class Decision(BaseModel): next: Literal['animals', 'car_dealer'] class AgentState(TypedDict): """Defining the internal state structure of the agent graph.""" messages: Annotated[Sequence[BaseMessage], operator.add] next: str prompt1 = ChatPromptTemplate.from_messages([('placeholder', '{messages}'), ('system', 'Given the question, which agent should act next?')]) supervisor = prompt1 | llm.with_structured_output(Decision, method="json_schema") prompt2 = ChatPromptTemplate.from_messages( [('system', 'you are an animal expert agent'), ('placeholder', '{messages}')]) animal_agent = prompt2 | llm | (lambda x: {'messages': [x.content]}) prompt3 = ChatPromptTemplate.from_messages( [('system', 'you are a car expert agent'), ('placeholder', '{messages}')]) car_agent = prompt3 | llm | (lambda x: {'messages': [x.content]}) workflow = StateGraph(AgentState) workflow.add_node("supervisor", supervisor) workflow.add_node("animals", animal_agent) workflow.add_node("car_dealer", car_agent) conditional_map = {k: k for k in ['car_dealer', 'animals']} conditional_map["FINISH"] = END workflow.add_conditional_edges("supervisor", lambda x: x["next"], conditional_map) workflow.set_entry_point("supervisor") graph = workflow.compile(debug=False) ``` ### Error Message and Stack Trace (if applicable) ```shell Failed to use model_dump to serialize <class 'pydantic._internal._model_construction.ModelMetaclass'> to JSON: TypeError("BaseModel.model_dump() missing 1 required positional argument: 'self'") Failed to use dict to serialize <class 'pydantic._internal._model_construction.ModelMetaclass'> to JSON: TypeError("BaseModel.dict() missing 1 required positional argument: 'self'") Failed to use model_dump to serialize <class 'pydantic._internal._model_construction.ModelMetaclass'> to JSON: TypeError("BaseModel.model_dump() missing 1 required positional argument: 'self'") Failed to use dict to serialize <class 'pydantic._internal._model_construction.ModelMetaclass'> to JSON: TypeError("BaseModel.dict() missing 1 required positional argument: 'self'") ``` ### Description Hi, I'm trying to use OpenAI's structured output feature as a supervisor node in Langgraph. However, when I invoke the graph for the first time, I get the warnings above. They disappear when I invoke the graph a second time. Here's a minimal example to reproduce the issue. ### System Info langchain==0.3.2 langchain-community==0.3.1 langchain-core==0.3.9 langchain-openai==0.2.2 langchain-text-splitters==0.3.0 langgraph==0.2.34 Python 3.12.6 MacOS
🤖:bug,investigate
low
Critical
2,578,770,267
angular
origin entry in HTTP_TRANSFER_CACHE_ORIGIN_MAP doesn't allow empty value
### Which @angular/* package(s) are the source of the bug? common ### Is this a regression? No ### Description While trying to use `HTTP_TRANSFER_CACHE_ORIGIN_MAP` InjectionToken for providing different endpoint origins on server and client side, we faced and issue where the client endpoint (the value of a map's property) has to stay empty. Example: ``` { provide: HTTP_TRANSFER_CACHE_ORIGIN_MAP, useValue: { 'https://internal.endpoint:8000': '' } } ``` On server side, Angular should request from a network-internal endpoint origin, whereas the endpoint is mapped to the root when accessing it publicly on client-side, so only the pathname without any origin has to be used. BUT, the above configuration unfortunately won't work with emtpy values, as those are considered invalid, because of just doing a falsy check instead of checking against null/undefined. See https://github.com/angular/angular/blob/main/packages/common/http/src/transfer_cache.ts#L401 So, in our case we aren't able to use this very handy functionality, forcing us to continue using our existing custom transfer-cache interceptor, we actually planned to get rid of after migrating to NG18. Highly appreciating a fix that also allows empty origins for the client-side. ### Please provide a link to a minimal reproduction of the bug _No response_ ### Please provide the exception or error you saw _No response_ ### Please provide the environment you discovered this bug in (run `ng version`) Angular CLI: 18.2.0 Node: 20.17.0 Package Manager: npm 10.8.2 OS: linux x64 Angular: 18.2.7 ... animations, cdk, common, compiler, compiler-cli, core, forms ... google-maps, language-service, platform-browser ... platform-browser-dynamic, platform-server, router, ssr ... youtube-player Package Version --------------------------------------------------------- @angular-devkit/architect 0.1802.7 @angular-devkit/build-angular 18.2.7 @angular-devkit/core 18.2.7 @angular-devkit/schematics 18.2.7 @angular/cli 18.2.0 @schematics/angular 18.2.7 ng-packagr 18.2.1 rxjs 7.8.1 typescript 5.5.4 zone.js 0.15.0 ### Anything else? _No response_
area: common/http,server: http cache
low
Critical
2,578,775,317
PowerToys
New+ Number of Templates is Limited
### Description of the new feature / enhancement It looks like you can only have 16 Templates with New+, at least on my system. This is a useful PowerToy, but I have a need for many more than 16 templates! If I have more than 16 templates in my Templates Folder, the 17th and later Template just don't show up in the New+ menu. ### Scenario when this would be used? This would be useful in many contexts - in my case, for example, I have around 50 or so template documents I'd like to include, but as of now it appears that I'm limited to 16 templates. ### Supporting information _No response_
Needs-Triage
low
Minor
2,578,783,619
TypeScript
Regression: incorrect return type when disabled strictNullChecks
### 🔎 Search Terms "ts7011", "strictnullchecks" ### 🕗 Version & Regression Information - This changed between versions 5.6.3 and 5.7.0-beta (also in 5.7.0-dev.20241010) When disabled `strictNullChecks` in `tsconfig.json` error `TS7011: Function expression, which lacks return-type annotation, implicitly has an T return type` ### ⏯ Playground Link https://www.typescriptlang.org/play/?strict=false&strictNullChecks=false&alwaysStrict=false&noEmitHelpers=true&noUnusedLocals=true&esModuleInterop=false&declaration=false&importHelpers=true&experimentalDecorators=true&target=6&module=6&suppressImplicitAnyIndexErrors=true&strictBuiltinIteratorReturn=true&ts=5.7.0-dev.20241010#code/CYUwxgNghgTiAEAzArgOzAFwJYHtXwHcsJgxZgAVHAJRAHMBRADwAcAKAZwC54OMYsqOgEoetRq3gAfeKmQQIAbgBQYPH3gx5IDvAC88ANoByKMYA08YwCNjAXQB0iaBgCyUdlogI9APkLEpORU4sye2sLSMoZ2wopAA ### 💻 Code ```ts declare function wildcardToRegExp(s: string): RegExp | null; const rules = ['a', 'b'].flatMap(rule => wildcardToRegExp(rule) || []); // if flatMap<RegExp> - no error ``` ### 🙁 Actual behavior TS7011: Function expression, which lacks return-type annotation, implicitly has an 'RegExp | any[]' return type. ### 🙂 Expected behavior No error ### Additional information about the issue _No response_
Help Wanted,Possible Improvement
low
Critical
2,578,818,758
node
Wrong error annotation when commonjs `require`s an ES module
### Version - `^22.4.0` - `main` with the `--no-experimental-require-module` flag. ### Platform ```text macOS arm64 ``` ### Subsystem esm,module ### What steps will reproduce the bug? ```bash mkdir undefined && cd undefined echo '{"type":"module"}' > package.json echo "import nothing from 'somewhere'" > app.js echo "require('./app.js')" > test.cjs node test.cjs ``` ### How often does it reproduce? Is there a required condition? It starts to happen with v22.4.0. v20.x and <=22.3.0 are not affected. ### What is the expected behavior? Why is that the expected behavior? ``` $ node test.cjs /Users/mzasso/git/test/undefined/test.cjs:1 require('./app.js') ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/mzasso/git/test/undefined/app.js from /Users/mzasso/git/test/undefined/test.cjs not supported. Instead change the require of app.js in /Users/mzasso/git/test/undefined/test.cjs to a dynamic import() which is available in all CommonJS modules. at Object.<anonymous> (/Users/mzasso/git/test/undefined/test.cjs:1:1) { code: 'ERR_REQUIRE_ESM' } Node.js v22.3.0 ``` ### What do you see instead? ``` $ node test.cjs /Users/mzasso/git/test/undefined/test.cjs:315 undefined ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/mzasso/git/test/undefined/app.js from /Users/mzasso/git/test/undefined/test.cjs not supported. Instead change the require of app.js in /Users/mzasso/git/test/undefined/test.cjs to a dynamic import() which is available in all CommonJS modules. at TracingChannel.traceSync (node:diagnostics_channel:315:14) at Object.<anonymous> (/Users/mzasso/git/test/undefined/test.cjs:1:1) { code: 'ERR_REQUIRE_ESM' } Node.js v22.4.0 ``` ### Additional information As you can see, this seems to be caused by the presence of `TracingChannel.traceSync` in the stack trace.
confirmed-bug
low
Critical
2,578,876,972
vscode
crashes
Type: <b>Bug</b> dont show errors VS Code version: Code 1.94.1 (Universal) (e10f2369d0d9614a452462f2e01cdc4aa9486296, 2024-10-05T05:44:32.189Z) OS version: Darwin arm64 23.6.0 Modes: <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|Apple M1 (8 x 2400)| |GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off| |Load (avg)|7, 8, 7| |Memory (System)|8.00GB (2.03GB free)| |Process Argv|--crash-reporter-id f056cf85-1da5-4da6-a04b-fff5b8de04b7| |Screen Reader|no| |VM|0%| </details><details><summary>Extensions (16)</summary> Extension|Author (truncated)|Version ---|---|--- vscode-tailwindcss|bra|0.12.11 vscode-eslint|dba|3.0.10 gitlens|eam|15.6.0 prettier-vscode|esb|11.0.0 auto-close-tag|for|0.5.15 auto-rename-tag|for|0.1.10 copilot|Git|1.237.0 copilot-chat|Git|0.21.1 debugpy|ms-|2024.10.0 python|ms-|2024.16.1 vscode-pylance|ms-|2024.10.1 material-icon-theme|PKi|5.11.1 prisma|Pri|5.20.0 vscode-wakatime|Wak|24.6.2 console-ninja|Wal|1.0.363 JavaScriptSnippets|xab|1.8.0 (1 theme extensions excluded) </details><details> <summary>A/B Experiments</summary> ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 jg8ic977:31013176 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 2f103344:31071589 impr_priority:31102340 nativerepl2:31139839 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-t:31132770 wkspc-ranged-t:31151552 cf971741:31144450 defaultse:31146405 iacca1:31150322 showchatpanel:31153267 5fd0e150:31146321 ``` </details> <!-- generated by issue reporter -->
info-needed,triage-needed,stale
low
Critical
2,578,882,527
rust
Open source library I work on (`proof-of-sql`) doesn't compile due to rustc error
<!-- Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for how to create smaller examples. http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/ --> ### Code Here is what was being compiled: https://github.com/spaceandtimelabs/sxt-proof-of-sql/pull/252/commits/f949012b404c97435d73c6bbae2cdd69f371ceec ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: rustc 1.81.0 (eeb90cda1 2024-09-04) binary: rustc commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c commit-date: 2024-09-04 host: x86_64-unknown-linux-gnu release: 1.81.0 LLVM version: 18.1.7 ### Error output ``` thread 'rustc' panicked at compiler/rustc_middle/src/query/on_disk_cache.rs:520:5: assertion `left == right` failed left: 13907096687038349567 right: 1002111927320821928687967599834759150 stack backtrace: 0: 0x737f0b78a3e5 - std::backtrace_rs::backtrace::libunwind::trace::h649ab3318d3445c5 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 1: 0x737f0b78a3e5 - std::backtrace_rs::backtrace::trace_unsynchronized::hf4bb60c3387150c3 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x737f0b78a3e5 - std::sys::backtrace::_print_fmt::hd9186c800e44bd00 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:65:5 3: 0x737f0b78a3e5 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h1b9dad2a88e955ff at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:40:26 4: 0x737f0b7d9eeb - core::fmt::rt::Argument::fmt::h351a7824f737a6a0 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/rt.rs:173:76 5: 0x737f0b7d9eeb - core::fmt::write::h4b5a1270214bc4a7 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/mod.rs:1182:21 6: 0x737f0b77ef6f - std::io::Write::write_fmt::hd04af345a50c312d at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/io/mod.rs:1827:15 7: 0x737f0b78cbd1 - std::sys::backtrace::BacktraceLock::print::h68d41b51481bce5c at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:43:9 8: 0x737f0b78cbd1 - std::panicking::default_hook::{{closure}}::h96ab15e9936be7ed at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:269:22 9: 0x737f0b78c8ac - std::panicking::default_hook::h3cacb9c27561ad33 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:296:9 10: 0x737f07e93420 - std[1f2242ed6435445e]::panicking::update_hook::<alloc[7b1462a1eb55c293]::boxed::Box<rustc_driver_impl[8683aa37472b7dde]::install_ice_hook::{closure#0}>>::{closure#0} 11: 0x737f0b78d59f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hce7569f4ca5d1b64 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2084:9 12: 0x737f0b78d59f - std::panicking::rust_panic_with_hook::hfe205f6954b2c97b at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:808:13 13: 0x737f0b78d1c7 - std::panicking::begin_panic_handler::{{closure}}::h6cb44b3a50f28c44 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:674:13 14: 0x737f0b78a8a9 - std::sys::backtrace::__rust_end_short_backtrace::hf1c1f2a92799bb0e at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:168:18 15: 0x737f0b78ce54 - rust_begin_unwind at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:665:5 16: 0x737f0b7d64a3 - core::panicking::panic_fmt::h3d8fc78294164da7 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:74:14 17: 0x737f0b7d69ae - core::panicking::assert_failed_inner::h19a8ffbd06abbe27 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:410:17 18: 0x737f0842ed17 - core[3cad2706d8bdcdc4]::panicking::assert_failed::<u128, u128> 19: 0x737f0a4ee143 - <rustc_middle[ba2289ab3ae064d4]::query::on_disk_cache::OnDiskCache>::new 20: 0x737f0a27c6b6 - rustc_incremental[cb93a23d220c04fe]::persist::load::load_query_result_cache 21: 0x737f0a27d569 - <rustc_interface[53a414ae04dc6ffb]::queries::Queries>::global_ctxt 22: 0x737f0a12bf3f - rustc_interface[53a414ae04dc6ffb]::interface::run_compiler::<core[3cad2706d8bdcdc4]::result::Result<(), rustc_span[28a649581f99a5bd]::ErrorGuaranteed>, rustc_driver_impl[8683aa37472b7dde]::run_compiler::{closure#0}>::{closure#1} 23: 0x737f0a07395b - std[1f2242ed6435445e]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[53a414ae04dc6ffb]::util::run_in_thread_with_globals<rustc_interface[53a414ae04dc6ffb]::interface::run_compiler<core[3cad2706d8bdcdc4]::result::Result<(), rustc_span[28a649581f99a5bd]::ErrorGuaranteed>, rustc_driver_impl[8683aa37472b7dde]::run_compiler::{closure#0}>::{closure#1}, core[3cad2706d8bdcdc4]::result::Result<(), rustc_span[28a649581f99a5bd]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3cad2706d8bdcdc4]::result::Result<(), rustc_span[28a649581f99a5bd]::ErrorGuaranteed>> 24: 0x737f0a07372a - <<std[1f2242ed6435445e]::thread::Builder>::spawn_unchecked_<rustc_interface[53a414ae04dc6ffb]::util::run_in_thread_with_globals<rustc_interface[53a414ae04dc6ffb]::interface::run_compiler<core[3cad2706d8bdcdc4]::result::Result<(), rustc_span[28a649581f99a5bd]::ErrorGuaranteed>, rustc_driver_impl[8683aa37472b7dde]::run_compiler::{closure#0}>::{closure#1}, core[3cad2706d8bdcdc4]::result::Result<(), rustc_span[28a649581f99a5bd]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3cad2706d8bdcdc4]::result::Result<(), rustc_span[28a649581f99a5bd]::ErrorGuaranteed>>::{closure#1} as core[3cad2706d8bdcdc4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 25: 0x737f0b7975fb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha1963004222e7822 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2070:9 26: 0x737f0b7975fb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h1086ced1f7c494c2 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2070:9 27: 0x737f0b7975fb - std::sys::pal::unix::thread::Thread::new::thread_start::ha8af9c992ef0b208 at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/pal/unix/thread.rs:108:17 28: 0x737f04894ac3 - start_thread at ./nptl/pthread_create.c:442:8 29: 0x737f04926850 - __GI___clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 30: 0x0 - <unknown> error: the compiler unexpectedly panicked. this is a bug. 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: rustc 1.81.0 (eeb90cda1 2024-09-04) running on x86_64-unknown-linux-gnu note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C linker=/usr/bin/clang -C incremental=[REDACTED] -C link-arg=-fuse-ld=lld note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack ``` <!-- Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your environment. E.g. `RUST_BACKTRACE=1 cargo build`. --> <details><summary><strong>Backtrace</strong></summary> <p> ``` <backtrace> ``` </p> </details>
I-ICE,T-compiler,A-incr-comp,C-bug,S-needs-repro
low
Critical
2,578,886,473
TypeScript
Indicate in the editor that a type is explicitly `any`
### 🔍 Search Terms any marker editor ### ✅ 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 Types that are explicitly set to `any` are sometimes hard to distinguish from actually typed variables in the editor. You might be adopting types while still having a lot of `any` around and then it would be helpful to call `any` out more explicitly in the editor. ### 📃 Motivating Example I am now using the extension https://marketplace.visualstudio.com/items?itemName=danvk.any-xray which does this: ![Image](https://github.com/user-attachments/assets/36646902-dc50-4f43-88ac-20c508f21dd0) ### 💻 Use Cases 1. What do you want to use this for? Seeing explicit `any` types easily so that I can work on adding types. 3. What shortcomings exist with current approaches? I can disable explicit any by producing errors but that is very aggressive. 5. What workarounds are you using in the meantime? Hovering over the type.
Suggestion,Awaiting More Feedback
low
Critical
2,578,894,888
next.js
Using a parallel route slot with dynamic route, in parallel to a catch-all route causes non-turbo dev server and build to fail.
### Link to the code that reproduces this issue https://github.com/ItsWendell/nextjs-14.2.15-catch-all-parallel-routes-dynamic-segments-build-issues-repo ### To Reproduce - Create a catch-all route - Create a parallel route slot somewhere with a dynamic path Reproduction: Clone this repository 1. Run npm install 2. Run npm run dev --turbo and visit http://localhost:3000/ 3. Press the "Lets visit a blog post that contains a slot with a dynamic parallel route." button, press "Start slotting" to visit a dynamic slot within that blog page / layout 4. See that it works pretty well, now let's make it fail: 5. Run npm run build, the build will fail with error: `ENOENT: no such file or directory, open '/Projects/parallel-routes-catch-all/.next/server/app/(blog)/blog/[slug]/@info/info/[infoId]/page_client-reference-manifest.js'` 6. Run npm run dev (without turbo) see that it fails as soon as you click the "Start slotting" button with a similar error: `ENOENT: no such file or directory, open '/Projects/parallel-routes-catch-all/.next/server/app/(blog)/blog/[slug]/@info/info/[infoId]/page_client-reference-manifest.js'` ### Current vs. Expected behavior I expect `next build` to compile a valid version, since it works sucessfully in next dev --turbo as I expected. So that I can use the parallel routes together with catch-all routes, as next dev --turbo shows, it should have higher priority than the catch-all route. ### Provide environment information ```bash Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Wed Oct 9 05:26:29 UTC 2024 Available memory (MB): 31561 Available CPU cores: 8 Binaries: Node: 22.8.0 npm: 10.8.2 Yarn: N/A pnpm: N/A Relevant Packages: next: 14.2.15 // Latest available version is detected (14.2.15). eslint-config-next: 14.2.15 react: 18.3.1 react-dom: 18.3.1 typescript: 5.6.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Module Resolution, Parallel & Intercepting Routes ### Which stage(s) are affected? (Select all that apply) next dev (local), next build (local), next start (local) ### Additional context I tested against latest canary `[15.0.0-canary.182](https://www.npmjs.com/package/next/v/15.0.0-canary.182)` too, and the latest stable `14.2.15`. ### Workaround I found a work around: Instead of using an required catch-all route I've replaced the catch-all route with a non-optional catch all route `[[...slug]]` vs `[...slug]`, this seems to continue the build. Not optimal because in some cases you want to have e.g. a seperate page.tsx and a catch-all for all other pages, but we can work around that. This issue is still relevant, since this behavior should be the same with an optional catch all route.
bug,linear: next,Module Resolution,Parallel & Intercepting Routes
low
Critical
2,578,921,786
PowerToys
Have no administrator privileges when starting the Mouse Without Borders service
### Microsoft PowerToys version 0.85.1 ### Installation method GitHub ### Running as admin Yes ### Area(s) with issue? Mouse Without Borders ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/8912b53a-1d15-409c-96ed-dc48af58b71c) 1.Open GitHub in Google Chrome to download. 2.Run the PowerToys installer as an administrator. 3.When opening, right-click and select "Run as administrator." Why does it show that I don't have administrator privileges when starting the Mouse Without Borders service? ### ✔️ Expected Behavior I want to open "Use Service" normally. ### ❌ Actual Behavior _No response_ ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,579,017,100
Python
add travelling salesman problem
### Feature description adding of travelling salesman problem to learn and understand concepts and algorithms of dynamic programming
enhancement
medium
Minor
2,579,040,105
pytorch
libtroch_cuda.so is missing in TORCH_LIBRARIES and TORCH_CUDA_LIBRARIES in PyTorch CMake
`libtroch_cuda.so` is missing in `TORCH_LIBRARIES` and `TORCH_CUDA_LIBRARIES` in PyTorch [CMake](https://github.com/pytorch/pytorch/blob/575f260229a1e691b70d4aff9bd2d919b902c395/cmake/TorchConfig.cmake.in#L136) if build flag `BUILD_SHARED_LIBS` is enabled, for example ```CMAKE find_package(Torch REQUIRED) # libtorch_cuda.so is missing in TORCH_CUDA_LIBRARIES and TORCH_LIBRARIES message(STATUS ${TORCH_CUDA_LIBRARIES} ${TORCH_LIBRARIES}) ``` The impact is the user can't find `libtorch_cuda.so` via PyTorch CMake. They need to find it by themselves. This is not a friendly user experience. cc @malfet @seemethere @ptrblck @msaroufim
module: build,module: cuda,triaged
low
Minor
2,579,045,455
vscode
VS Code erroneously registers itself with as a .SVGZ handler
Type: <b>Bug</b> Upon installation on Microsoft Windows, Visual Studio Code registers itself as a handler for `.svgz` files. This is an egregious action because Visual Studio Code cannot handle this binary file type. **Edit (2024-10-12):** I've found one part of VSCode's source code responsible for this erroneous file association: <https://github.com/microsoft/vscode/blob/main/build/win32/code.iss#L1120-L1124> **Steps to reproduce:** 1. Create a virtual machine with a clean version of a supported version of Windows 10 2. Download and install `VSCodeSetup-x64-1.94.1.exe`. Use the defaults. 3. Create a `.svgz` file on your desktop. The fastest way to that is to open PowerShell 5.1 and issue the following command: ```PowerShell [Convert]::FromBase64String('H4sIAAAAAAAACxXMMQqEMBBG4av8zPbOGGOKJUlh5RnshN1VIa6iwfH4Krzy4/n9GHDO6b8HGnNe38yqWmhVLNvARkT4FoRj+mqznIEEgsrcUfRrn0f8ppQCvWxd984SPoHm0sGhNDDS2o44+ucRLyei7ABrAAAA') | Set-Content 'Test.svgz' -Encoding Byte ``` 4. Double-click the newly created `.svgz` file. **Expected result:** Windows should inform the user that no app has been registered to handle this file type. **Actual result:** Visual Studio Code launches, attempts to open the file, and fails. VS Code version: Code 1.94.1 (e10f2369d0d9614a452462f2e01cdc4aa9486296, 2024-10-05T05:44:32.189Z) OS version: Windows_NT x64 10.0.19045 Modes: <!-- generated by issue reporter -->
bug,install-update,windows
low
Critical
2,579,140,423
Python
New Folder Creation
### Feature description I plan to create a new folder named 'Binary Search Problems', where I will add important problems solved using Binary Search. Please assign this task to me under Hacktoberfest 2024.
enhancement
medium
Minor
2,579,172,974
bitcoin
scriptpubkeyman fuzz target TopUp is slow (3/N)
Follow-up to https://github.com/bitcoin/bitcoin/issues/30476 and https://github.com/bitcoin/bitcoin/issues/30541: Found by OSS-Fuzz: https://issues.oss-fuzz.com/issues/369374541 Probably a duplicate of, or similarity with https://github.com/bitcoin/bitcoin/issues/30498 File: [clusterfuzz-testcase-scriptpubkeyman-6582005385461760.not.txt](https://github.com/user-attachments/files/17330258/clusterfuzz-testcase-scriptpubkeyman-6582005385461760.not.txt) ``` $ FUZZ=scriptpubkeyman perf record -g --call-graph dwarf ./bld-cmake/src/test/fuzz/fuzz -runs=1 /tmp/clusterfuzz-testcase-scriptpubkeyman-6582005385461760.not.txt $ hotspot ./perf.data ``` ![Screenshot from 2024-10-10 17-19-24](https://github.com/user-attachments/assets/29918851-b1da-45d2-908f-8264e51a0f53)
Tests
low
Major
2,579,178,573
pytorch
[Intel GPU] The failures do not block new pull request merge if the failures are also in the main branch for Intel GPU
### 🚀 The feature, motivation and pitch In general, the failures do not block new pull request merge if the failures are also in the main branch. For most CI flows, the statement is TRUE. However, it does not work for Intel GPU. We need to enable this feature for Intel GPU to facilitate the process of pull request merge. ### Alternatives _No response_ ### Additional context _No response_ cc @gujinghui @fengyuan14 @guangyey
triaged,module: xpu
low
Critical
2,579,186,330
next.js
An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
### Verify canary release - [X] I verified that the issue exists in the latest Next.js canary release ### Provide environment information ```bash Using : nextjs 14 zod tailwind css shadcn Ui app running on digitalocena ``` ### Which example does this report relate to? Server Side Component Error ### What browser are you using? (if relevant) Microsoft Edge ### How are you deploying your application? (if relevant) Using git action on digital ocean (web app) ### Describe the Bug An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error. my server action function ![serverside](https://github.com/user-attachments/assets/bc9b33c9-2778-4069-880e-f55571d1161d) login page function:(client side) ![loginpage](https://github.com/user-attachments/assets/2bf43576-def7-4fae-a7dd-cfa4e099cc3d) This error only happens in production ### Expected Behavior ![Screenshot (114)](https://github.com/user-attachments/assets/9a8a5798-6837-461b-a23f-e2be6be15f61) and this what I get ![Screenshot (115)](https://github.com/user-attachments/assets/25c4b4d5-e0a4-4f9f-b69f-e9aa62fc4963) ### To Reproduce This error message is printed in the console ⨯ lib\actions\authUserActions.ts (39:15) @ login ⨯ Error: Invalid email or password at login (./lib/actions/authUserActions.ts:52:15) digest: "740006343" 37 | return {message: "Login successful"} 38 | }catch(error: any){ > 39 | throw new Error(error.message); | ^ 40 | } 41 | }
examples
low
Critical
2,579,194,489
ant-design
Support buildOptionText in Pagination
### What problem does this feature solve? Hey! I was trying to solve the problem of localization in Russian. Strings in Russian with 1 and 3 are declined differently than the others, and I need to provide for this. I saw in the source files that Option has this feature, but I can't use it. This improvement will help those who are interested like me to solve the problem of localization for their own language. ### What does the proposed API look like? <Pagination {...props} buildOptionText={...}> <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Inactive,unconfirmed
low
Minor
2,579,205,607
vscode
Inline Diff without "Toggle Changes" on is not showing all deleted lines, can be confusing
- VS Code Version: 1.72.2 - OS Version: Linux, macOS, recent versions Steps to Reproduce: 1. Ask copilot (Cmd+I) to delete lines 2. Get a seemingly empty diff 3. Use the down arrow button, select "Toggle Changes" 4. See the deleted lines Shouldn't "Toggle Changes" be the default or at least it be an option to keep it on?
feature-request,inline-chat
low
Minor
2,579,226,509
ollama
I hope Image analyze model, Qwen/Qwen2-VL-72B-Instruct
Qwen/Qwen2-VL-72B-Instruct Ollama brothers. plz.
model request
low
Minor
2,579,267,678
godot
Android mono export with 2 or more cpu architectures fails
### Tested versions 4.4.dev [842f98239713fd10cfd648cd6aa3781895f289eb] ### System information Linux Pop OS 22.04 ### Issue description Note: I have a fix in my fork and will have a PR shortly. Exporting an android mono build with 2 or more cpu architectures fails. This is due to libSystem.Security.Cryptography.Native.Android.jar being included twice in the export. 1 per cpu architecture. However, jars are cpu agnostic. Attempting to include 2 causes conflicts as Android attempts to load both. This was introduced in this PR here: https://github.com/godotengine/godot/pull/88803 Here is my error log: ``` ERROR: Export: Building of Android project failed, check output for the error: > Configure project : WARNING: The option setting 'android.overridePathCheck=true' is experimental. The current default is 'false'. > Task :validateJavaVersion UP-TO-DATE > Task :clean UP-TO-DATE > Task :assetPacks:installTime:clean UP-TO-DATE > Task :preBuild UP-TO-DATE > Task :preMonoDebugBuild UP-TO-DATE > Task :mergeMonoDebugNativeDebugMetadata NO-SOURCE > Task :checkKotlinGradlePluginConfigurationErrors > Task :generateMonoDebugBuildConfig > Task :generateMonoDebugResValues > Task :checkMonoDebugAarMetadata > Task :mapMonoDebugSourceSetPaths > Task :generateMonoDebugResources > Task :mergeMonoDebugResources > Task :packageMonoDebugResources > Task :createMonoDebugCompatibleScreenManifests > Task :extractDeepLinksMonoDebug > Task :parseMonoDebugLocalResources > Task :processMonoDebugMainManifest /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/src/debug/AndroidManifest.xml:13:5-132 Warning: uses-feature#android.hardware.vulkan.level was tagged at AndroidManifest.xml:13 to replace another declaration but no other declaration present /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/src/debug/AndroidManifest.xml:14:5-140 Warning: uses-feature#android.hardware.vulkan.version was tagged at AndroidManifest.xml:14 to replace another declaration but no other declaration present > Task :processMonoDebugManifest > Task :javaPreCompileMonoDebug > Task :mergeMonoDebugShaders > Task :compileMonoDebugShaders NO-SOURCE > Task :generateMonoDebugAssets UP-TO-DATE > Task :mergeMonoDebugAssets > Task :checkMonoDebugDuplicateClasses > Task :compressMonoDebugAssets > Task :mergeMonoDebugJniLibFolders > Task :mergeLibDexMonoDebug > Task :validateSigningMonoDebug > Task :writeMonoDebugAppMetadata > Task :writeMonoDebugSigningConfigVersions > Task :processMonoDebugManifestForPackage > Task :desugarMonoDebugFileDependencies > Task :processMonoDebugResources > Task :compileMonoDebugKotlin NO-SOURCE > Task :mergeExtDexMonoDebug FAILED ERROR: /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/build/intermediates/external_file_lib_dex_archives/monoDebug/0_jetified-libSystem.Security.Cryptography.Native.Android.jar: D8: Type net.dot.android.crypto.DotnetProxyTrustManager is defined multiple times: /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/build/intermediates/external_file_lib_dex_archives/monoDebug/0_jetified-libSystem.Security.Cryptography.Native.Android.jar:classes.dex, /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/build/intermediates/external_file_lib_dex_archives/monoDebug/2_jetified-libSystem.Security.Cryptography.Native.Android.jar:classes.dex com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes. Type net.dot.android.crypto.DotnetProxyTrustManager is defined multiple times: /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/build/intermediates/external_file_lib_dex_archives/monoDebug/0_jetified-libSystem.Security.Cryptography.Native.Android.jar:classes.dex, /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/build/intermediates/external_file_lib_dex_archives/monoDebug/2_jetified-libSystem.Security.Cryptography.Native.Android.jar:classes.dex at com.android.builder.dexing.D8DexArchiveMerger.getMergingExceptionToRethrow(D8DexArchiveMerger.java:159) at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:147) at com.android.build.gradle.internal.tasks.DexMergingWorkAction.merge(DexMergingTask.kt:891) at com.android.build.gradle.internal.tasks.DexMergingWorkAction.run(DexMergingTask.kt:835) at com.android.build.gradle.internal.profile.ProfileAwareWorkAction.execute(ProfileAwareWorkAction.kt:74) at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63) at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66) at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62) at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100) at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62) at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44) at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41) at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59) at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:170) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162) at org.gradle.internal.Factories$1.create(Factories.java:31) at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:249) at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:109) at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:114) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/build/intermediates/external_file_lib_dex_archives/monoDebug/0_jetified-libSystem.Security.Cryptography.Native.Android.jar:classes.dex at Version.fakeStackEntry(Version_8.2.33.java:0) at com.android.tools.r8.T.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:5) at com.android.tools.r8.utils.S0.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:82) at com.android.tools.r8.utils.S0.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:32) at com.android.tools.r8.utils.S0.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:31) at com.android.tools.r8.utils.S0.b(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:2) at com.android.tools.r8.D8.run(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:11) at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:145) ... 38 more Caused by: com.android.tools.r8.utils.b: Type net.dot.android.crypto.DotnetProxyTrustManager is defined multiple times: /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/build/intermediates/external_file_lib_dex_archives/monoDebug/0_jetified-libSystem.Security.Cryptography.Native.Android.jar:classes.dex, /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/build/intermediates/external_file_lib_dex_archives/monoDebug/2_jetified-libSystem.Security.Cryptography.Native.Android.jar:classes.dex at com.android.tools.r8.utils.Q2.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:21) at com.android.tools.r8.utils.D2.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:54) at com.android.tools.r8.utils.D2.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:10) at java.base/java.util.concurrent.ConcurrentHashMap.merge(ConcurrentHashMap.java:2056) at com.android.tools.r8.utils.D2.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:6) at com.android.tools.r8.graph.m4$a.d(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:6) at com.android.tools.r8.dex.c.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:61) at com.android.tools.r8.dex.c.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:12) at com.android.tools.r8.dex.c.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:9) at com.android.tools.r8.D8.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:45) at com.android.tools.r8.D8.d(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:17) at com.android.tools.r8.D8.b(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:1) at com.android.tools.r8.utils.S0.a(R8_8.2.33_429c93fd24a535127db6f4e2628eb18f2f978e02f99f55740728d6b22bef16dd:28) ... 41 more > Task :compileMonoDebugJavaWithJavac > Task :mergeMonoDebugNativeLibs FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':mergeExtDexMonoDebug'. > A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingTaskDelegate > There was a failure while executing work items > A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingWorkAction > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes. Type net.dot.android.crypto.DotnetProxyTrustManager is defined multiple times: /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/build/intermediates/external_file_lib_dex_archives/monoDebug/0_jetified-libSystem.Security.Cryptography.Native.Android.jar:classes.dex, /home/tcroc/dev/BlockyBallOT/blockyball-godot/android/app/build/build/intermediates/external_file_lib_dex_archives/monoDebug/2_jetified-libSystem.Security.Cryptography.Native.Android.jar:classes.dex * 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 13s 30 actionable tasks: 28 executed, 2 up-to-date at: add_message (./editor/export/editor_export_platform.h:235) export: end ERROR: Project export for preset "Android APK" failed. at: _fs_changed (editor/editor_node.cpp:1049) loading_editor_layout: begin: Loading editor steps: 5 loading_editor_layout: step 0: Loading editor layout... loading_editor_layout: end ``` ### Steps to reproduce 1. Use a mono build of godot 2. Set up and android export preset (I did apk) 3. Configure to use a gradle build (nice find @raulsntos) 4. Configure it for 2 or more architectures (I did x86_64 and arm64) 5. Export and see that it errors ### Minimal reproduction project (MRP) N/A
bug,platform:android,topic:dotnet
low
Critical
2,579,270,179
godot
Favorite files disappear
### Tested versions v3.6.stable.official [de2f0f147] ### System information w10 64 ### Issue description Files added to favorites as a script disappear from favorites after a few editor restarts and computer shutdowns. I can't say when exactly they do, but it's obvious that they disappear. Folders can also disappear, although it seems less frequent. It just happened to me right now. ![Captura](https://github.com/user-attachments/assets/8c655e62-fe0d-4ecf-bd4f-bb5c2dbc0eb8) ### Steps to reproduce Add a script as a favorite. Use the editor as normal. Check after a while that the file remains as a favorite. ### Minimal reproduction project (MRP) ...
bug,topic:editor
low
Minor
2,579,270,432
langchain
AttributeError: 'VectorStoreRetriever' object has no attribute 'embeddings'
### 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 from langchain.schema.document import Document from langchain_core.vectorstores import VectorStoreRetriever from langchain.retrievers import WikipediaRetriever from typing import List class RerankRetriever(VectorStoreRetriever): vectorstore: VectorStoreRetriever def get_relevant_documents(self, query: str) -> List[Document]: docs = self.vectorstore.get_relevant_documents(query=query) candidates = [doc.page_content for doc in docs] queries = [query]*len(candidates) features = tokenizer_rerank(queries, candidates, padding=True, truncation=True, return_tensors="pt").to(device) with torch.no_grad(): scores = model_rerank(**features).logits values, indices = torch.sum(scores, dim=1).sort() # relevant_docs = docs[indices[0]] return [docs[indices[0]],docs[indices[1]]] class RerankWikiRetriever(VectorStoreRetriever): vectorstore: WikipediaRetriever def get_relevant_documents(self, query: str) -> List[Document]: docs = self.vectorstore.get_relevant_documents(query=query) candidates = [doc.page_content for doc in docs] queries = [query]*len(candidates) features = tokenizer_rerank(queries, candidates, padding=True, truncation=True, return_tensors="pt").to(device) with torch.no_grad(): scores = model_rerank(**features).logits values, indices = torch.sum(scores, dim=1).sort() # relevant_docs = docs[indices[0]] return [docs[indices[0]],docs[indices[1]]] from langchain.retrievers import WikipediaRetriever from langchain.vectorstores import Qdrant from langchain.llms import HuggingFacePipeline from qdrant_client import QdrantClient from langchain.prompts import PromptTemplate from langchain.embeddings import HuggingFaceInferenceAPIEmbeddings from langchain.chains import RetrievalQA,MultiRetrievalQAChain from langchain.llms import VLLM from langchain.llms import HuggingFaceHub class LLMServe: def __init__(self) -> None: self.embeddings = self.load_embeddings() self.current_source = "wiki" self.retriever = self.load_retriever(retriever_name = self.current_source,embeddings=self.embeddings) self.pipe = self.load_model_pipeline(max_new_tokens=300) self.prompt = self.load_prompt_template() self.rag_pipeline = self.load_rag_pipeline(llm=self.pipe, retriever=self.retriever, prompt=self.prompt) def load_embeddings(self): embeddings = HuggingFaceInferenceAPIEmbeddings( model_name=EMBEDDINGS_MODEL_NAME, api_key = HUGGINGFACE_API_KEY, #model_kwargs = {'device': "auto"} ) return embeddings def load_retriever(self,retriever_name,embeddings): retriever=None if retriever_name == "wiki": retriever = RerankWikiRetriever(vectorstore = WikipediaRetriever(lang="vi", doc_content_chars_max=800,top_k_results=15)) else: client = QdrantClient( url=QDRANT_URL,api_key=QDRANT_API_KEY, prefer_grpc=False ) db = Qdrant(client=client, embeddings=embeddings, collection_name=QDRANT_COLLECTION_NAME) retriever = RerankRetriever(vectorstore = db.as_retriever(search_kwargs={"k":15})) return retriever def load_model_pipeline(self,max_new_tokens=100): llm = VLLM( model=GENERATE_MODEL_NAME, trust_remote_code=True, # mandatory for hf models max_new_tokens=max_new_tokens, # temperature=1.0, # top_k=50, # top_p=0.9, top_k=10, top_p=0.95, temperature=0.4, dtype="half", vllm_kwargs={"quantization": "awq"} ) return llm def load_prompt_template(self): # query_template = "Bạn là một trợ lý của trường Đại học Nguyễn Tất Thành. Hãy trả lời câu hỏi sau dựa trên ngữ cảnh, nếu ngữ cảnh không cung cấp câu trả lời hoặc không chắc chắn hãy trả lời 'Tôi không biết thông tin này, tuy nhiên đoạn thông tin dưới phần tham khảo có thể có câu trả lời cho bạn!' đừng cố tạo ra câu trả lời không có trong ngữ cảnh.\nNgữ cảnh: {context} \nCâu hỏi: {question}\nTrả lời: " # query_template = "Tham khảo ngữ cảnh:{context}\n\n### Câu hỏi:{question}\n\n### Trả lời:" query_template = "Bạn là một chatbot thông minh trả lời câu hỏi dựa trên ngữ cảnh (context).\n\n### Context:{context} \n\n### Human: {question}\n\n### Assistant:" prompt = PromptTemplate(template=query_template, input_variables= ["context","question"]) return prompt def load_rag_pipeline(self,llm,retriever,prompt): rag_pipeline = RetrievalQA.from_chain_type( llm=llm, chain_type='stuff', retriever=retriever, chain_type_kwargs={ "prompt": prompt }, return_source_documents=True) return rag_pipeline def rag(self,source): if source == self.current_source: return self.rag_pipeline else: self.retriever = self.load_retriever(retriever_name=source,embeddings=self.embeddings) self.rag_pipeline = self.load_rag_pipeline(llm=self.pipe, retriever=self.retriever, prompt=self.prompt) self.current_source = source return self.rag_pipeline app = LLMServe() from typing import Union from fastapi.middleware.cors import CORSMiddleware from fastapi.responses import JSONResponse from fastapi.encoders import jsonable_encoder from fastapi import FastAPI origins = ["*"] app_api = FastAPI() app_api.add_middleware( CORSMiddleware, allow_origins=origins, allow_credentials=True, allow_methods=["*"], allow_headers=["*"], ) @app_api.get("/") def read_root(): return "API RAG" @app_api.get("/rag/{source}") async def read_item(source: str, q: str | None = None): if q: data = app.rag(source=source)(q) sources = [] for docs in data["source_documents"]: sources.append(docs.to_json()["kwargs"]) res = { "result" : data["result"], "source_documents":sources } return JSONResponse(content=jsonable_encoder(res)) return None import nest_asyncio from pyngrok import ngrok import uvicorn ngrok.set_auth_token(NGROK_TOKEN) ngrok_tunnel = ngrok.connect(8000,domain=NGROK_STATIC_DOMAIN) print('Public URL:', ngrok_tunnel.public_url) nest_asyncio.apply() uvicorn.run(app_api, port=8000) ### Error Message and Stack Trace (if applicable) AttributeError: 'VectorStoreRetriever' object has no attribute 'embeddings' ### Description I encountered this error while trying to create a server on Google Colab to run my application. It successfully generated a public URL, but when I made a request to that URL, I encountered the error mentioned above. This is my first time asking questions like this, so if I missed any details, please let me know. Thank you very much. ### System Info Public URL: https://natural-glider-willingly.ngrok-free.app/ INFO: Started server process [218] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://127.0.0.1:8000/ (Press CTRL+C to quit) INFO: 42.114.173.251:0 - "GET /rag/HUMG_db_v1?q=%C4%91i%E1%BB%81u%20ki%E1%BB%87n%20x%C3%A9t%20h%E1%BB%8Dc%20b%E1%BB%95ng HTTP/1.1" 500 Internal Server Error <ipython-input-18-8f96afeb003a>:40: LangChainDeprecationWarning: The class `Qdrant` was deprecated in LangChain 0.0.37 and will be removed in 1.0. An updated version of the class exists in the :class:`~langchain-qdrant package and should be used instead. To use it run `pip install -U :class:`~langchain-qdrant` and import as `from :class:`~langchain_qdrant import Qdrant``. db = Qdrant(client=client, <ipython-input-20-e07d1200679f>:23: LangChainDeprecationWarning: The method `Chain.__call__` was deprecated in langchain 0.1.0 and will be removed in 1.0. Use :meth:`~invoke` instead. data = app.rag(source=source)(q) ERROR: Exception in ASGI application Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 401, in run_asgi result = await app( # type: ignore[func-returns-value] File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 187, in __call__ raise exc File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 165, in __call__ await self.app(scope, receive, _send) File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 85, in __call__ await self.app(scope, receive, send) File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 62, in wrapped_app raise exc File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 715, in __call__ await self.middleware_stack(scope, receive, send) File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 735, in app await route.handle(scope, receive, send) File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 288, in handle await self.app(scope, receive, send) File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 62, in wrapped_app raise exc File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 73, in app response = await f(request) File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 301, in app raw_response = await run_endpoint_function( File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function return await dependant.call(**values) File "<ipython-input-20-e07d1200679f>", line 23, in read_item data = app.rag(source=source)(q) File "/usr/local/lib/python3.10/dist-packages/langchain_core/_api/deprecation.py", line 182, in warning_emitting_wrapper return wrapped(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/langchain/chains/base.py", line 389, in __call__ return self.invoke( File "/usr/local/lib/python3.10/dist-packages/langchain/chains/base.py", line 170, in invoke raise e File "/usr/local/lib/python3.10/dist-packages/langchain/chains/base.py", line 160, in invoke self._call(inputs, run_manager=run_manager) File "/usr/local/lib/python3.10/dist-packages/langchain/chains/retrieval_qa/base.py", line 151, in _call docs = self._get_docs(question, run_manager=_run_manager) File "/usr/local/lib/python3.10/dist-packages/langchain/chains/retrieval_qa/base.py", line 271, in _get_docs return self.retriever.invoke( File "/usr/local/lib/python3.10/dist-packages/langchain_core/retrievers.py", line 227, in invoke **self._get_ls_params(**kwargs), File "/usr/local/lib/python3.10/dist-packages/langchain_core/vectorstores/base.py", line 1063, in _get_ls_params if self.vectorstore.embeddings: File "/usr/local/lib/python3.10/dist-packages/pydantic/main.py", line 856, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'VectorStoreRetriever' object has no attribute 'embeddings'
Ɑ: vector store,investigate
low
Critical
2,579,285,138
godot
The selected tile is indistinguishable if it uses certain colors
### Tested versions v3.6.stable.official [de2f0f147] ### System information w10 64 ### Issue description As you can see in the video, it is almost impossible to distinguish which tile is selected if the tile uses certain colors, in this case the tile has a color something like mustard. https://github.com/user-attachments/assets/72639462-6379-44a8-8da0-87032fe6b8c6 Can you tell me which of the two tiles is currently selected? ![Captura2](https://github.com/user-attachments/assets/ec6877b5-05f7-45b0-8c32-2d6344c2eb5f) ### Steps to reproduce Create a tileset where the tiles use different colors. Try selecting a tile as you can see in the video using the selection arrows and with the "Region" option activated. ### Minimal reproduction project (MRP) ...
bug,topic:editor,usability,topic:2d
low
Minor
2,579,336,474
go
cmd/vet: improve the frame pointer check
The `framepointer` check from `go vet` is currently quite conservative. Since Go 1.21, frame pointers have become more load-bearing in the Go runtime. They're now used on amd64 and arm64 to collect call stacks for the execution tracer and the block & mutex profilers. Now, frame pointer bugs can crash Go programs, whereas before they would merely result in broken call stacks for external profilers like Linux `perf`. For example, #69629 was ultimately caused by a bug in [programatically-generated amd64 assembly](https://github.com/dgryski/go-metro/blob/adc40b04c140ccfcbb2d243f40ca26a196eccd0d/metro_amd64.s) which clobbered the frame pointer register. As of Go 1.23.2, `go vet` misses that frame pointer bug. This is because the frame pointer is clobbered after a branch instruction, and the check [aborts if it reaches a branch](https://cs.opensource.google/go/go/+/master:src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go;l=85;drc=7634f0755c98f25228e3904ed760089c3b199c5d). I think we should try to expand the number of bugs the `framepointer` check can catch. For example, arm64 support would be good. We also might be able to drop that branch check, or flag assembly that writes to `rbp` without a `push rbp` near the beginning and a `pop rbp` before returning. These kinds of ideas should of course be tested against existing open source Go assembly code, since I assume there is little (if any?) tolerance for false positives in `go vet` tools.
help wanted,NeedsInvestigation,FeatureRequest,compiler/runtime
low
Critical