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,743,816,985
ant-design
在 iPad 17.7 下的 table 横向滚动条在固定列的问题
### Reproduction link [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-8cxn4d?file=%2Findex.js%3A18%2C16) ### Steps to reproduce 用 ipad 左滑右滑表格 看滚动条 ### What is expected? 滚动条不被固定列挡住 ### What is actually happening? 滚动条被固定列挡住 | Environment | Info | | --- | --- | | antd | 4.24.11 | | React | 17.0.2 | | System | iPad OS 17.7.1 | | Browser | Chrome 131 | --- 可能是 ipad 17.7 的问题 ipad 17.6 无此问题 <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
help wanted,📱Mobile Device
low
Minor
2,743,822,686
PowerToys
Counter overflow may need better tips.
![Image](https://github.com/user-attachments/assets/322f61ba-92ae-45a5-8af7-9b99b83b0da1)
Product-PowerToys Run,Needs-Triage
low
Minor
2,743,855,440
node
HTTP/1.0 responses missing Content-Length
### Version v22.10.0 ### Platform ```text Darwin ... 24.2.0 Darwin Kernel Version 24.2.0: ...; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000 arm64 arm Darwin ``` ### Subsystem http ### What steps will reproduce the bug? Start a simple HTTP server. ``` import http from "node:http"; http.createServer(function (req, res) { res.end("hello"); }).listen(3000); ``` Send it an HTTP/1.0 request using cURL. ``` $ curl --http1.0 -XGET -I 127.0.0.1:3000 HTTP/1.1 200 OK Date: Tue, 17 Dec 2024 03:26:02 GMT Connection: close ``` ### How often does it reproduce? Is there a required condition? Consistently reproducible. ### What is the expected behavior? Why is that the expected behavior? I would expect the response to include a `Content-Length` header. ### What do you see instead? The response does not include a `Content-Length` header. ### Additional information If we instead send an HTTP/1.1 request (either with or without `Keep-Alive`), the `Content-Length` header is included. ``` $ curl --http1.1 -XGET -I 127.0.0.1:3000 HTTP/1.1 200 OK Date: Tue, 17 Dec 2024 03:31:41 GMT Connection: keep-alive Keep-Alive: timeout=5 Content-Length: 5 $ curl --http1.1 -H"Connection: close" -XGET -I 127.0.0.1:3000 HTTP/1.1 200 OK Date: Tue, 17 Dec 2024 03:32:35 GMT Connection: close Content-Length: 5 ``` This seems strange. I would expect to see a `Content-Length` header regardless of whether the request was HTTP/1.0 or HTTP/1.1. Attaching a debugger, the HTTP/1.0 request triggers the former clause and the HTTP/1.1 request triggers the latter clause in the following HTTP server code. https://github.com/nodejs/node/blob/2cd385ef6714b24b62edf22dd2ddd756eee9d16b/lib/_http_outgoing.js#L553-L559
http
low
Critical
2,743,865,056
vscode
Do not write system default settings to user settings files.
<!-- ⚠️⚠️ 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 **Yes** <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.96 - OS Version: Windows 10 19044 Steps to Reproduce: Do not write system default settings to user settings files. Hello friends! The new version of `VSCode` will force system defaults to be written to the user's settings file `Open User Settings (JSON)`, which actually violates the basic principle that user settings take precedence over system defaults, and also causes great confusion to the user settings file. So please write system defaults to other files other than the user settings file `Open User Settings (JSON)`. ![Image](https://github.com/user-attachments/assets/2b8ee652-fee9-4d92-bb65-a17e43a2c2ae) For example, in the user settings file `setting.json` file, the new version of `VSCode` now forces a lot of this kind of code to be written, and this kind of code is not set or defined by the user himself, so this completely violates the basic principle that user settings take precedence over system defaults, and also causes great confusion to the user settings file. So please write the system defaults to other files other than the user settings file `Open User Settings (JSON)`. ``` "accessibility.signalOptions.volume": 70, "accessibility.signals.lineHasError": { "sound": "auto" }, "accessibility.signals.lineHasWarning": { "sound": "off" }, "accessibility.signals.lineHasFoldedArea": { "sound": "auto" }, "accessibility.signals.lineHasBreakpoint": { "sound": "auto" }, "accessibility.signals.lineHasInlineSuggestion": { "sound": "auto" }, "accessibility.signals.terminalQuickFix": { "sound": "auto" }, "accessibility.signals.onDebugBreak": { "sound": "auto" }, "accessibility.signals.noInlayHints": { "sound": "auto" }, "accessibility.signals.taskCompleted": { "sound": "auto" }, "accessibility.signals.taskFailed": { "sound": "auto" }, "accessibility.signals.terminalBell": { "sound": "off" }, "terminal.integrated.enableVisualBell": false, ``` The above is just a small list of system default settings. There are still a lot of system default settings that are forced to be written to the user settings file `Open User Settings (JSON)` and mixed with user settings. In fact, `VSCode` already provides a system default settings file, see: ![Image](https://github.com/user-attachments/assets/5de0560e-25ec-435f-b599-bf128bab3d91)
info-needed,config
low
Critical
2,743,919,334
vscode
Please improve the default style of the checkbox to make it more consistent with the custom theme style and keep the same theme appearance style.
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> Please improve the default style of the checkbox to make it more consistent with the custom theme style and keep the same theme appearance style. Hello friends! Please improve the default style of the checkbox to make it more consistent with the custom theme style and keep the same theme appearance style. For example: ![Image](https://github.com/user-attachments/assets/689e03f9-52b2-4c85-889c-1ba78003b007) ![Image](https://github.com/user-attachments/assets/ca506f0b-d856-4dd3-87f7-ee6c0415b855) ![Image](https://github.com/user-attachments/assets/2ab01f3c-b0e6-425e-b0ed-541ab1b574d5) The background color, foreground color, border color, checkbox size, checkbox rounded size and other styles of the checkbox need to be improved.
feature-request,debug,themes
low
Minor
2,743,920,022
rust
When subtyping can switch out trait impls, `Pin::new`’s check for `Target: Unpin` becomes insufficient
Below, `Marker1` is a subtype of `Marker2`; this means we can also coerce `Pin<CustomType<Marker1>>` to `Pin<CustomType<Marker2>>` for any covariant `CustomType`. If we now write different `Deref` implementations for `CustomType` for `Marker1` vs. `Marker2`, then we can switch out the `Target` underneath a `Pin`, breaking `Pin::new`’s soundness. This *does* run into the `coherence_leak_check` warning easily, though as far as I understand that warning is supposed to go away eventually, and already was weakened recently [the below code doesn’t hit any warning at all anymore, since 1.84]. ```rust use std::{ marker::PhantomData, ops::{Deref, DerefMut}, pin::Pin, }; struct S<'a, T, Marker>(&'a mut T, PhantomData<Marker>); type Marker1 = for<'a> fn(&'a ()); type Marker2 = fn(&'static ()); impl<T> Deref for S<'_, T, Marker1> { type Target = (); fn deref(&self) -> &() { &() } } struct Wrap<T>(T); impl<T: Deref> Deref for Wrap<T> { type Target = T::Target; fn deref(&self) -> &Self::Target { &self.0 } } // with this difference in the `Wrap<…>`-nesting, // it seems that [since Rust 1.84], this impl will // even avoid the `coherence_leak_check` lint impl<T> Deref for Wrap<S<'_, T, Marker2>> { type Target = T; fn deref(&self) -> &T { self.0 .0 } } impl<T> DerefMut for Wrap<S<'_, T, Marker2>> { fn deref_mut(&mut self) -> &mut T { self.0 .0 } } // obviously a “working” function with this signature is problematic pub fn unsound_pin<T>(x: T, callback: impl FnOnce(Pin<&mut T>)) -> T { let mut x = x; let w = Wrap(S(&mut x, PhantomData)); let ps: Pin<Wrap<S<'_, T, Marker1>>> = Pin::new(w); // accepted, since Target = (): Unpin let ps: Pin<Wrap<S<'_, T, Marker2>>> = ps; // subtyping coercion; but now Target = T callback(Pin::as_mut(&mut { ps })); x } //////////////////////////////////////////////////////////////////////////////////////////////////// // everything below here just exploitation of `unsound_pin` to get a segfault use std::{ future::Future, mem, sync::Arc, task::{Context, Poll, Wake}, }; fn yield_now() -> impl Future<Output = ()> { struct Yield(bool); impl Future for Yield { type Output = (); fn poll(mut self: Pin<&mut Self>, _cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { if matches!(mem::replace(&mut *self, Yield(true)), Yield(true)) { Poll::Ready(()) } else { Poll::Pending } } } Yield(false) } fn main() { let fut = async { let x = &&0; let reference = &x; yield_now().await; // future will be moved here dbg!(reference); }; struct Waker; impl Wake for Waker { fn wake(self: std::sync::Arc<Self>) {} } let waker = Arc::new(Waker).into(); let mut cx = Context::from_waker(&waker); let fut = unsound_pin(fut, |fut| { let _ = fut.poll(&mut cx); }); // moving `fut` vvv after the first poll above, then polling again let _ = Box::pin(fut).as_mut().poll(&mut cx); } ``` ``` $ cargo run Compiling play v0.1.0 (/home/…/play) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s Running `target/debug/play` [src/main.rs:85:9] reference = [1] 1834892 segmentation fault (core dumped) cargo run ``` ([playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=00171a9a045f22ee3da0b941db0e3efa)) Unlike #85099, this one has nothing to do with unsizing. @rustbot label A-pin, I-unsound, T-types, T-libs-api *(I’m roughly guessing appropriate `T-…` labels; feel free to adjust these, like e.g. if `T-compiler` seems relevant)*
P-medium,T-libs-api,I-unsound,C-bug,A-pin,T-types
low
Critical
2,743,938,738
excalidraw
frame add background color
null
enhancement
low
Minor
2,744,022,584
pytorch
Error in DTensor uneven shard view op
### 🐛 Describe the bug **Description**: There seems to be an issue when reshaping/viewing an unevenly sharded DTensor. **Code to Reproduce:** torchrun --nproc_per_node=4 test.py In this test case has 512 elements on ranks 0-2 and 0 elements on rank 3. The error occurs during the view operation. ``` import torch from torch.distributed._tensor import Replicate, Shard, distribute_tensor, DTensor from torch.distributed.device_mesh import init_device_mesh from datetime import timedelta import torch.nn as nn new_mesh = init_device_mesh("cuda", [4], mesh_dim_names=["tp"]) x=torch.randn((6,256),dtype=torch.float32,device="cuda") def a(x): d_x = DTensor.from_local(x, device_mesh=new_mesh, placements=[Replicate()]) d_x = d_x.redistribute(device_mesh=new_mesh, placements=[Shard(dim=0)]) d_x = d_x.view(-1) return d_x out=a(x) ``` **Error log:** For ranks 0-2: ``` [rank0]: File "/opt/tiger/test.py", line 13, in a [rank0]: d_x = d_x.view(-1) [rank0]: ^^^^^^^^^^^^ [rank0]: File "/usr/local/lib/python3.11/dist-packages/torch/_compile.py", line 31, in inner [rank0]: return disable_fn(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/usr/local/lib/python3.11/dist-packages/torch/_dynamo/eval_frame.py", line 600, in _fn [rank0]: return fn(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^ [rank0]: File "/usr/local/lib/python3.11/dist-packages/torch/distributed/_tensor/api.py", line 309, in __torch_dispatch__ [rank0]: return DTensor._op_dispatcher.dispatch( [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/usr/local/lib/python3.11/dist-packages/torch/distributed/_tensor/_dispatch.py", line 205, in dispatch [rank0]: local_results = op_call(*local_tensor_args, **op_info.local_kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/usr/local/lib/python3.11/dist-packages/torch/_ops.py", line 667, in __call__ [rank0]: return self_._op(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: RuntimeError: shape '[384]' is invalid for input of size 512 ``` For rank 3: ``` RuntimeError: shape '[384]' is invalid for input of size 0 ``` cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @tianyu-l @XilunWu
oncall: distributed,module: dtensor
low
Critical
2,744,034,045
pytorch
DISABLED test_disable_external_correlation (__main__.TestProfiler)
Platforms: rocm This test was disabled because it is failing on main branch ([recent examples](https://torch-ci.com/failure?failureCaptures=%5B%22profiler%2Ftest_profiler.py%3A%3ATestProfiler%3A%3Atest_disable_external_correlation%22%5D)). The test is failing on ROCm https://github.com/pytorch/pytorch/pull/143314 cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @sraikund16
module: rocm,triaged,skipped
low
Critical
2,744,073,998
rust
Error mentions invalid nested HRTB: `&mut for<'a> fn(for<'a> fn(&'a ()))`
### Code ```Rust // Note: F1 and F2 are subtypes of each other. Not sure if relevant. type F1 = fn(fn(&'static ())); type F2 = for<'a> fn(fn(&'a ())); fn foo(a: &mut F1) { let _: &mut F2 = a; } ``` ### Current output ```Shell Compiling playground v0.0.1 (/playground) error[E0308]: mismatched types --> src/lib.rs:6:22 | 6 | let _: &mut F2 = a; | ^ one type is more general than the other | = note: expected mutable reference `&mut for<'a> fn(for<'a> fn(&'a ()))` found mutable reference `&mut fn(fn(&()))` For more information about this error, try `rustc --explain E0308`. error: could not compile `playground` (lib) due to 1 previous error ``` ### Desired output ```Shell Compiling playground v0.0.1 (/playground) error[E0308]: mismatched types --> src/lib.rs:6:22 | 6 | let _: &mut F2 = a; | ^ one type is more general than the other | = note: expected mutable reference `&mut for<'a> fn(fn(&'a ()))` found mutable reference `&mut fn(fn(&()))` For more information about this error, try `rustc --explain E0308`. error: could not compile `playground` (lib) due to 1 previous error ``` ### Rationale and extra context The error prints `&mut for<'a> fn(for<'a> fn(&'a ()))`, which has nested `for<'a>` HRTB binders, which is illegal syntax. ### Other cases ```Rust // Using a *mut instead of &mut produces the correct error type F1 = fn(fn(&'static ())); type F2 = for<'a> fn(fn(&'a ())); fn foo(a: *mut F1) { let _: *mut F2 = a; } ``` ### Rust Version ```Shell Reproduced issue on the playground with stable rust `1.83.0` and nightly rust `1.85.0-nightly (2024-12-16 6d9f6ae36ae1299d6126)` ``` ### Anything else? _No response_
A-pretty,A-diagnostics,T-compiler,D-incorrect,A-higher-ranked
low
Critical
2,744,082,855
PowerToys
Powertoys opens elevated after installing update, even if "Always run as administrator" is switched off
### Microsoft PowerToys version 0.87.0 ### Installation method PowerToys auto-update ### Running as admin No ### Area(s) with issue? General ### Steps to reproduce I am running PowerToys on my local windows account which is not an administrator for the PC. Whenever PowerToys finds a new Update, it shows a button to download it, which I click on. After downloading, the installer asks for admin permissions (which I give to it by typing the password) and installs the new PowerToys update. ### ✔️ Expected Behavior After the installation has finished, I expect PowerToys to re-open unelevated, as this was the previous setting ### ❌ Actual Behavior In reality, PowerToys starts elevated, because it still has the admin rights from the installer. (I am thinking that this has something to do with PowerToys also forgetting all my settings after an update, which I then have to restore by clicking Restore from Backup; but this is a topic for another issue) ### Other Software _No response_
Issue-Bug,Needs-Triage,Needs-Team-Response
low
Minor
2,744,101,357
angular
Inputs on Component decorator do not support signal signals.
### Which @angular/* package(s) are the source of the bug? core ### Is this a regression? No ### Description Hi Team, We are trying to migrate to signal inputs on a number of our base components. We have encountered an issue using the inputs array in the component decorator to expose the inputs in the base class. We are able to get the data to flow the component to the base class using attribute binding and the inputs array. However, the mechanism by which Angular does this does not seem to be able to detect that the base class is using signal inputs and the raw value is set in the base class. For example if we do something like this - <component [context]="{ entity: 'job }" />. We expect that in the base class this will be set into the input signal. However, we find this that context property is now just an object. { context: { entity: 'job' }} It appears that the mechanism used to set the exposed inputs on components is not aware of signal inputs whilst the mechanism used for host directives is. In my example I have included an simple inherited component and a component exposing inputs via host directives. Kind Regards, Tarek ### Please provide a link to a minimal reproduction of the bug https://stackblitz.com/edit/stackblitz-starters-rrxvfhpf?file=src%2Fmain.ts ### Please provide the exception or error you saw ```true The error is form the example above. More specifically from the InheritComponent example. ERROR TypeError: this.context is not a function at Object.fn (inherit.component.ts:25:44) Whilst in the HostDirectiveComponent I created I do not get an error and calling context() returns the value passed to the component because it is correctly set into the input signal. ``` ### Please provide the environment you discovered this bug in (run `ng version`) ```true Angular CLI: 19.0.5 Node: 20.18.1 Package Manager: bun 1.1.38 OS: darwin arm64 Angular: 19.0.4 ... animations, common, compiler, compiler-cli, core, forms ... localize, platform-browser, platform-browser-dynamic ... platform-server, router Package Version --------------------------------------------------------- @angular-devkit/architect 0.1900.2 @angular-devkit/build-angular 19.0.5 @angular-devkit/core 19.0.5 @angular-devkit/schematics 19.0.5 @angular/build 19.0.2 @angular/cdk 19.0.3 @angular/cdk-experimental 19.0.3 @angular/cli 19.0.5 @angular/ssr 19.0.5 @schematics/angular 19.0.5 rxjs 7.8.1 typescript 5.5.3 zone.js 0.15.0 ``` ### Anything else? _No response_
hotlist: error messages,area: core,core: inputs / outputs,P4,bug
low
Critical
2,744,138,141
react
Bug: Redundant Operation in getEntangledLanes Function Doesn't Modify entangledLanes as Intended
**Description:** In the `getEntangledLanes` function, there appears to be a redundant operation inside the `if` statement that doesn't alter the value of `entangledLanes` as intended. This might be a bug or oversight in the implementation. **Code Snippet:** ```javascript export function getEntangledLanes(root: FiberRoot, renderLanes: Lanes): Lanes { let entangledLanes = renderLanes; if ((entangledLanes & InputContinuousLane) !== NoLanes) { // When updates are sync by default, we entangle continuous priority updates // and default updates, so they render in the same batch. The only reason // they use separate lanes is because continuous updates should interrupt // transitions, but default updates should not. entangledLanes |= entangledLanes & DefaultLane; } // ... rest of the function ... } ``` **Problem Description:** In the `if` statement, the intention seems to be to entangle `DefaultLane` with `InputContinuousLane` when `entangledLanes` includes `InputContinuousLane`, so they render in the same batch. However, the operation: ```javascript entangledLanes |= entangledLanes & DefaultLane; ``` is effectively a no-op and doesn't change `entangledLanes`. This means that `DefaultLane` is not being properly entangled as intended.
Status: Unconfirmed
medium
Critical
2,744,159,268
ui
[bug]: Component docs page resets when package manager tabs are switched in command snippet box
### Describe the bug In the docs website there are command snippet boxes with tabs to select desired package manager (pnpm | npm | yran | bun). Clicking any of these tabs will resets the entire documentation component instead of re-rendering the snippets only. ### Affected component/components Any ### How to reproduce 1. Go to doc page for any component. e.g. https://ui.shadcn.com/docs/components/label 2. Scroll to "Installation" section 3. Switch to "Manual" tab in (CLI | Manual) tab bar 4. In the command box switch the package manager 5. You are now unexpectedly in the "CLI" tab instead of the "Manual" tab you chose ### Codesandbox/StackBlitz link https://ui.shadcn.com/docs/components/label ### Logs _No response_ ### System Info ```bash Chromium 131 ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,744,177,396
deno
Enable direct execution of tasks in the `deno task` command using the up/down arrow keys
Currently, the `deno task` command only displays a list of available tasks. However, it would be even more convenient if we could use the up/down arrow keys to select a task and execute it directly. ``` $ deno task Available tasks: - dev deno serve server.ts - build esbuild index.ts ```
suggestion,task runner
low
Minor
2,744,181,025
vscode
In Terminal view, the 'Next/Previous Match' search function conflicts with the redirection triggered by Ctrl+Left Click.
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.96.0 - OS Version: Windows 11 x64 In Terminal view,the 'Next/Previous Match' search function conflicts with the redirection triggered by Ctrl+Left Click. When Ctrl+Click is used during a search, clicking 'Next Match' immediately jumps to the first match instead of proceeding as expected. Steps to Reproduce: 1. Enter multiple characters in the Terminal. 2. Press Ctrl+F to search for the characters. 3. Use 'Next Match' to move the search position to the middle. 4. Press Ctrl+Click on any word. 5. Click 'Next Match' again. Expected: Next Match Goes to the next position to the middle. Actual: Next Match: Go to the first one.
bug,terminal-find
low
Critical
2,744,211,758
material-ui
Slow intelligent Vscode when install @mui/icons-material v6
### Steps to reproduce Steps: 1. Install @mui/icons-material 2. Try importing suggestions for anything in your project, but it takes 3-4 seconds to get the result. ### Current behavior https://github.com/user-attachments/assets/33db8009-af50-416a-856a-56ea6f062985 ### Expected behavior Expected suggestion faster https://github.com/user-attachments/assets/9b9c063e-7f27-46df-946d-09c9b9b96128 ### Context Packages and configs: `package.json` ![image](https://github.com/user-attachments/assets/71709237-7171-467a-8f95-983ecfc39e14) `tsconfig.app.json` ![image](https://github.com/user-attachments/assets/e5edaf18-27a5-4e0e-91c7-f75d5eecddd7) `tsconfig.node.json` ![image](https://github.com/user-attachments/assets/ac96e500-e06a-443d-a200-27dfc77e73f7) Using: Vite + React swc **Search keywords**: Slow intelligent Vscode
performance,waiting for 👍,typescript,package: icons
low
Major
2,744,218,505
svelte
Fade-in transition showing flash of visible content before fading in
### Describe the bug In Svelte 5 (doesn't happen in Svelte 4) when you have an element that fades in with a Svelte transition there will be a flash of content before it disappears and then the fade-in happens as normal. Possibly related to https://github.com/sveltejs/svelte/issues/13882 Am I doing something wrong, or is this an actual bug? It only started happening in my project after upgrading to Svelte 5. ### Reproduction REPL https://svelte.dev/playground/510da9e8fd0f45fb85593cef8ce0f095?version=5.14.1 Click Start (the flash should happen _almost_ always) ### Logs _No response_ ### System Info ```shell System: OS: macOS 15.1.1 CPU: (10) arm64 Apple M1 Max Memory: 58.11 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.11.0 - ~/.volta/tools/image/node/22.11.0/bin/node npm: 10.9.0 - ~/.volta/tools/image/node/22.11.0/bin/npm pnpm: 9.11.0 - ~/Library/pnpm/pnpm bun: 1.1.38 - ~/src/interactive-deeptime/node_modules/.bin/bun Browsers: Brave Browser: 125.1.66.110 Chrome: 131.0.6778.140 Edge: 131.0.2903.99 Safari: 18.1.1 npmPackages: svelte: ^5 => 5.14.1 ``` ### Severity blocking an upgrade
bug,transition/animation
low
Critical
2,744,267,089
pytorch
Running decompositions over torch.export program adds one more output to the graph result
### 🐛 Describe the bug On running the decomposition over the exported program through the torch.export it manipulates the graph such that the no. of results returned by the manipulated graph are 1 more than the original graph. Below is the code to repro the issue: ``` import torch from torch.export import export class Mod(torch.nn.Module): def forward(self, x, noise): res = torch.ops.aten.rrelu_with_noise( x, noise, 0.4, 0.6, True ) return torch.mean(res) example_args = (torch.randn(10, 10), torch.randn(10, 10)) exported_program: torch.export.ExportedProgram = export( Mod(), args=example_args ) print("Exported program:\n", exported_program) decomposed_program = exported_program.run_decompositions([]) print("Decomposed program:\n", decomposed_program) ``` Original Graph: ``` class GraphModule(torch.nn.Module): def forward(self, x: "f32[10, 10]", noise: "f32[10, 10]"): # File: /home/vivek-pc/work/torch-mlir-vivek/fx_repro.py:6 in forward, code: res = torch.ops.aten.rrelu_with_noise( rrelu_with_noise: "f32[10, 10]" = torch.ops.aten.rrelu_with_noise.default(x, noise, 0.4, 0.6, True); x = noise = None # File: /home/vivek-pc/work/torch-mlir-vivek/fx_repro.py:9 in forward, code: return torch.mean(res) mean: "f32[]" = torch.ops.aten.mean.default(rrelu_with_noise); rrelu_with_noise = None return (mean,) Graph signature: ExportGraphSignature(input_specs=[InputSpec(kind=<InputKind.USER_INPUT: 1>, arg=TensorArgument(name='x'), target=None, persistent=None), InputSpec(kind=<InputKind.USER_INPUT: 1>, arg=TensorArgument(name='noise'), target=None, persistent=None)], output_specs=[OutputSpec(kind=<OutputKind.USER_OUTPUT: 1>, arg=TensorArgument(name='mean'), target=None)]) Range constraints: {} ``` Decomposed Graph: ``` class GraphModule(torch.nn.Module): def forward(self, x: "f32[10, 10]", noise: "f32[10, 10]"): # File: /home/vivek-pc/work/torch-mlir-vivek/fx_repro.py:6 in forward, code: res = torch.ops.aten.rrelu_with_noise( rrelu_with_noise_functional = torch.ops.aten.rrelu_with_noise_functional.default(x, noise, 0.4, 0.6, True); x = noise = None getitem: "f32[10, 10]" = rrelu_with_noise_functional[0] getitem_1: "f32[10, 10]" = rrelu_with_noise_functional[1]; rrelu_with_noise_functional = None # File: /home/vivek-pc/work/torch-mlir-vivek/fx_repro.py:9 in forward, code: return torch.mean(res) mean: "f32[]" = torch.ops.aten.mean.default(getitem); getitem = None return (getitem_1, mean) Graph signature: ExportGraphSignature(input_specs=[InputSpec(kind=<InputKind.USER_INPUT: 1>, arg=TensorArgument(name='x'), target=None, persistent=None), InputSpec(kind=<InputKind.USER_INPUT: 1>, arg=TensorArgument(name='noise'), target=None, persistent=None)], output_specs=[OutputSpec(kind=<OutputKind.USER_INPUT_MUTATION: 6>, arg=TensorArgument(name='getitem_1'), target='noise'), OutputSpec(kind=<OutputKind.USER_OUTPUT: 1>, arg=TensorArgument(name='mean'), target=None)]) Range constraints: {} ``` ### Versions Collecting environment information... PyTorch version: 2.6.0.dev20241216+cpu Is debug build: False CUDA used to build PyTorch: Could not collect ROCM used to build PyTorch: N/A OS: Ubuntu 24.04.1 LTS (x86_64) GCC version: Could not collect Clang version: 18.1.3 (1ubuntu1) CMake version: version 3.31.1 Libc version: glibc-2.39 Python version: 3.12.3 (main, Nov 6 2024, 18:32:19) [GCC 13.2.0] (64-bit runtime) Python platform: Linux-6.8.0-50-generic-x86_64-with-glibc2.39 Is CUDA available: False CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: N/A GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3090 Nvidia driver version: 550.120 cuDNN version: Could not collect HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 32 On-line CPU(s) list: 0-31 Vendor ID: AuthenticAMD Model name: AMD Ryzen 9 5950X 16-Core Processor CPU family: 25 Model: 33 Thread(s) per core: 2 Core(s) per socket: 16 Socket(s): 1 Stepping: 0 Frequency boost: enabled CPU(s) scaling MHz: 51% CPU max MHz: 5083.3979 CPU min MHz: 2200.0000 BogoMIPS: 6787.31 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm debug_swap L1d cache: 512 KiB (16 instances) L1i cache: 512 KiB (16 instances) L2 cache: 8 MiB (16 instances) L3 cache: 64 MiB (2 instances) NUMA node(s): 1 NUMA node0 CPU(s): 0-31 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Reg file data sampling: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Mitigation; Safe RET Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] numpy==2.2.0rc1 [pip3] onnx==1.16.1 [pip3] torch==2.6.0.dev20241216+cpu [pip3] torchvision==0.22.0.dev20241216+cpu [conda] Could not collect cc @chauhang @penguinwu @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4
oncall: pt2,oncall: export
low
Critical
2,744,288,635
yt-dlp
[CSPAN] add support for `/program/` URLs
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm reporting that yt-dlp is broken on a **supported** site - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command) - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Region Belgium ### Provide a description that is worded well enough to be understood I tried to download via `yt-dlp https://www.c-span.org/program/book-tv/the-ai-mirror-how-to-reclaim-our-humanity-in-an-age-of-machine-thinking/645280 ` on latest today, namely `2024.12.13` but I got a `ERROR: Unsupported URL` Yet, if I add a UA and referrer URL with the m3u8, e.g. `yt-dlp https://m3u8-0.c-spanvideo.org/program/program.645280.tsc.m3u8 --referer https://www.c-span.org/program/book-tv/the-ai-mirror-how-to-reclaim-our-humanity-in-an-age-of-machine-thinking/645280 --user-agent "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36"` it does work. I understand it might not be feasible, or appropriate to fake the UserAgent, as I didn't see anything related to `m3u8` from the source code of the page, to do so automatically but then I would suggest that the error message could help the user still get the content. I found the solution via https://gist.github.com/cemerson/57be14a554d2f94f243189867d11abd2 namely UA with referer URL. ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell fabien@debian2080ti:~$ yt-dlp -vU https://www.c-span.org/program/book-tv/the-ai-mirror-how-to-reclaim-our-humanity-in-an-age-of-machine-thinking/645280 [debug] Command-line config: ['-vU', 'https://www.c-span.org/program/book-tv/the-ai-mirror-how-to-reclaim-our-humanity-in-an-age-of-machine-thinking/645280'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [542166962] (zip) [debug] Python 3.11.2 (CPython x86_64 64bit) - Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 (OpenSSL 3.0.15 3 Sep 2024, glibc 2.36) [debug] exe versions: ffmpeg 5.1.6-0 (setts), ffprobe 5.1.6-0 [debug] Optional libraries: brotli-1.0.9, certifi-2022.09.24, pyxattr-0.8.1, requests-2.28.1, secretstorage-3.3.3, sqlite3-3.40.1, urllib3-1.26.12 [debug] Proxy map: {} [debug] Request Handlers: urllib [debug] Loaded 1837 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: [email protected] from yt-dlp/yt-dlp yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp) [generic] Extracting URL: https://www.c-span.org/program/book-tv/the-ai-mirror-how-to-reclaim-our-humanity-in-an-age-of-machine-thinking/645280 [generic] 645280: Downloading webpage WARNING: [generic] Falling back on generic information extractor [generic] 645280: Extracting information [debug] Looking for embeds ERROR: Unsupported URL: https://www.c-span.org/program/book-tv/the-ai-mirror-how-to-reclaim-our-humanity-in-an-age-of-machine-thinking/645280 Traceback (most recent call last): File "/home/fabien/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1624, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/fabien/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1759, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/home/fabien/bin/yt-dlp/yt_dlp/extractor/common.py", line 742, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/fabien/bin/yt-dlp/yt_dlp/extractor/generic.py", line 2553, in _real_extract raise UnsupportedError(url) yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.c-span.org/program/book-tv/the-ai-mirror-how-to-reclaim-our-humanity-in-an-age-of-machine-thinking/645280 fabien@debian2080ti:~$ ```
site-enhancement,triage
low
Critical
2,744,318,898
kubernetes
devicemanager stuck in Allocate RPC and causing all new coming pods pending on admitting
### What happened? After created pod with device request, its state always be `Pending`, even though it was scheduled. And at the same time, new coming pod (without device request) on the same node is on `Pending` state too. After a bit investigation with goroutines, devicemanager was stucking in `Allocate` RPC, and wait device plugin's response: ![image](https://github.com/user-attachments/assets/0a97e9ef-5341-4fd7-89bb-d4d210c3f00f) Accroding to this stack, pod admitting is stucked obviously. ### What did you expect to happen? Device plugins' bug or out-of-service, should not lead kubelet pod admit procedure blocking. ### How can we reproduce it (as minimally and precisely as possible)? Reproduct it with https://github.com/kube-HPC/k8s-dummy-device-plugin. Add some sleep time in `Allocate` call: ![image](https://github.com/user-attachments/assets/9a1b021a-27a1-43a1-af73-0f6426e7f169) ![image](https://github.com/user-attachments/assets/501dd05e-10f8-4327-825b-16554896c0b6) pod with dummy device and new coming pod without dummy device are in `Pending` state: ![image](https://github.com/user-attachments/assets/d73c63a5-ae7c-405c-9dc6-bce45076a01e) After running out sleep time, all pod return to `Running` state: ![image](https://github.com/user-attachments/assets/212bcc69-df04-490f-8fad-24c8be5e4ce2) ### Anything else we need to know? NA ### Kubernetes version <details> ```console v1.25 ``` </details> ### Cloud provider <details> </details> ### OS version <details> ```console CentOS ``` </details> ### Install tools <details> kubeadm </details> ### Container runtime (CRI) and version (if applicable) <details> cri-o </details> ### Related plugins (CNI, CSI, ...) and versions (if applicable) <details> </details>
kind/bug,sig/node,priority/important-longterm,triage/accepted
low
Critical
2,744,335,422
flutter
Add selectedLabelStyle and unselectedLabelStyle to BottomNavigationBarItem
### Use case When I switch pages on the homepage of my app, since the theme is blue, I hope to change the corresponding label color of the BottomNavigationBar below to blue as well. This may result in multiple label styles. However, to achieve this currently, I need to do ```dart selectedLabelStyle: _selectedIndex == 1 ? TextStyle(color: Colors.red, fontSize: 40) : TextStyle(color: Colors.green, fontSize: 20), ``` It's not very convenient. It would be great if we could add specific style controls within the BottomNavigationBarItem. I found the activeIcon property, but there's no way to control the label style. ### Proposal I suggest adding two properties (selectedLabelStyle and unselectedLabelStyle) to BottomNavigationBarItem. These properties would have a higher priority than those in BottomNavigationBar. When they are empty, the styles from BottomNavigationBar's selectedLabelStyle and unselectedLabelStyle would be used instead. ```dart BottomNavigationBarItem( icon: Icon(Icons.person), label: 'label', selectedLabelStyle: TextStyle(color: Colors.red, fontSize: 20), unselectedLabelStyle: TextStyle(color: Colors.green, fontSize: 20), ), ```
c: new feature,framework,f: material design,c: proposal,P3,team-design,triaged-design
low
Minor
2,744,382,217
angular
`typeof` does not narrow in templates
### Which @angular/* package(s) are the source of the bug? compiler ### Is this a regression? Yes ### Description I am using @if (with the same behavior observed for *ngIf) to check a variable’s type. While the TypeScript linter accepts this type check without issues, the Angular compiler (ng build and ng serve) fails to compile. However, if I replace the inline type check with a TypeScript type-guarding function, everything works as expected. I don’t see a clear difference between the two approaches, so I suspect this might be a bug. ### Please provide a link to a minimal reproduction of the bug https://stackblitz.com/edit/stackblitz-starters-lk71pysu?file=src%2Fmain.ts&view=editor ### Please provide the exception or error you saw ```true ✘ [ERROR] NG2: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. [plugin angular-compiler] ``` ### Please provide the environment you discovered this bug in (run `ng version`) ```true Angular CLI: 19.0.5 Node: 22.12.0 Package Manager: pnpm 8.12.1 OS: darwin x64 Angular: 19.0.4 ... animations, common, compiler, compiler-cli, core, forms ... localize, platform-browser, platform-browser-dynamic, router Package Version ------------------------------------------------------------ @angular-devkit/architect 0.1900.5 @angular-devkit/build-angular 19.0.5 @angular-devkit/core 19.0.5 @angular-devkit/schematics 19.0.5 @angular/cdk 19.0.3 @angular/cli 19.0.5 @angular/material 19.0.3 @angular/material-moment-adapter 19.0.3 @schematics/angular 19.0.5 rxjs 6.6.7 typescript 5.6.3 zone.js 0.15.0 ``` ### Anything else? _No response_
area: compiler,compiler: template type-checking,state: blocked on upstream
low
Critical
2,744,414,336
rust
closure upvars disable `unused_assignments` lint
```rust fn main() { let mut overwritten = false; let _ = || overwritten = true; } ``` does not trigger any lints while ```rust fn main() { let mut overwritten = false; if false { overwritten = true; } } ``` results in ``` warning: variable `overwritten` is assigned to, but never used --> src/main.rs:2:13 | 2 | let mut overwritten = false; | ^^^^^^^^^^^ | = note: consider using `_overwritten` instead = note: `#[warn(unused_variables)]` on by default ``` The `unused_variables` and lint should look into nested closures here. <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":null}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->
A-lints,T-compiler,C-bug,L-unused_variables,L-false-negative
low
Minor
2,744,454,460
godot
Skeleton2D SkeletonModification Execution Mode set to physics_process causes flickering/jitter.
### Tested versions Reproduced in: - v4.3 stable - v4.4 dev 5 ### System information Godot v4.3.stable - Pop!_OS 22.04 LTS - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 6800 XT (RADV NAVI21) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads) ### Issue description **What I got** I was messing around with prototyping/benchmarking performance of 2d skeletons and found out that Setting skeletonModification execution mode to physics_process bricks the animation and causes flickering/jitter. **What I Expected:** Can set execution_mode to physics_process and it works the same as process, although with assuredly better performance because it would be running at the physics tick rate rather than unlimited. _Side note_ _(optional reading)_: 2D skeleton performance seems okay, I can get 200 skeletons at 60fps, however animation doesn't seem to make much difference which makes me think the overhead from nodes is more of a bottleneck (or even when the skeleton isn't moving it is processing?)... I don't think you can sidestep that with the Rendering server because the Bone2Ds need to be attached to the SceneTree? I assume... I wonder if one optimization would be to have the bone2Ds be internal/able to be setup/assigned within the skeleton2d and then set remote transforms/paths in it? ### Steps to reproduce 1. Open up minimal project provided below. 2. Change execution_mode on the SkeletonModification2D in Skeleton2D. 3. Observe flickering like in video below: https://github.com/user-attachments/assets/9bc2f442-5f7c-442e-8cc1-cf4d74b9d3e2 Additionally can try running animation in animation player and/or dragging around the right_hand node2d which has inverse kinematics setup. ### Minimal reproduction project (MRP) [skeleton2d_process_example.zip](https://github.com/user-attachments/files/18163363/skeleton2d_process_example.zip) I don't know why the project zipped is 6.9MB its only half a MB unzipped...
bug,topic:animation,topic:2d
low
Major
2,744,467,687
godot
Cannot compile Godot with Address Sanitizer with default features
### Tested versions Git 4.4 - 4364ed6ccd001cbfe7cb781d074100695c878d90 ### System information Ubuntu 22.04 CI ### Issue description https://github.com/qarmin/GodotBuilds/actions/runs/12363022765 When trying to compile Godot with Address Sanitizer on Ubuntu 22.04 CI, then I got this error when linking ``` modules/libmodule_raycast.linuxbsd.editor.dev.x86_64.san.a(rtcore.linuxbsd.editor.dev.x86_64.san.o): in function `_GLOBAL__sub_I_rtcNewDevice': /usr/include/c++/11/iostream:74:(.text.startup+0x18): relocation truncated to fit: R_X86_64_PC32 against `.bss' modules/libmodule_raycast.linuxbsd.editor.dev.x86_64.san.a(rtcore.linuxbsd.editor.dev.x86_64.san.o): in function `__static_initialization_and_destruction_0': /home/runner/work/GodotBuilds/GodotBuilds/godot/thirdparty/embree/kernels/common/rtcore.cpp:20:(.text.startup+0x3d): relocation truncated to fit: R_X86_64_PC32 against `.bss' modules/libmodule_raycast.linuxbsd.editor.dev.x86_64.san.a(scene.linuxbsd.editor.dev.x86_64.san.o): in function `_GLOBAL__sub_I__ZN6embree17missing_rtcCommitEv': /usr/include/c++/11/iostream:74:(.text.startup+0xf): relocation truncated to fit: R_X86_64_PC32 against `.bss' modules/libmodule_raycast.linuxbsd.editor.dev.x86_64.san.a(scene_verify.linuxbsd.editor.dev.x86_64.san.o): in function `_GLOBAL__sub_I__ZN6embree5Scene21checkIfModifiedAndSetEv': /usr/include/c++/11/iostream:74:(.text.startup+0xf): relocation truncated to fit: R_X86_64_PC32 against `.bss' modules/libmodule_raycast.linuxbsd.editor.dev.x86_64.san.a(geometry.linuxbsd.editor.dev.x86_64.san.o): in function `_GLOBAL__sub_I__ZN6embree8Geometry11gtype_namesE': /usr/include/c++/11/iostream:74:(.text.startup+0xf): relocation truncated to fit: R_X86_64_PC32 against `.bss' modules/libmodule_raycast.linuxbsd.editor.dev.x86_64.san.a(scene_triangle_mesh.linuxbsd.editor.dev.x86_64.san.o): in function `embree::RawBufferView::operator=(embree::RawBufferView const&)': /home/runner/work/GodotBuilds/GodotBuilds/godot/thirdparty/embree/kernels/common/buffer.h:128:(.text.unlikely+0x17a): relocation truncated to fit: R_X86_64_PC32 against symbol `__ubsan_vptr_type_cache' defined in .dynbss section in /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /home/runner/work/GodotBuilds/GodotBuilds/godot/thirdparty/embree/kernels/common/buffer.h:128:(.text.unlikely+0x196): relocation truncated to fit: R_X86_64_PC32 against symbol `__ubsan_vptr_type_cache' defined in .dynbss section in /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o modules/libmodule_raycast.linuxbsd.editor.dev.x86_64.san.a(scene_triangle_mesh.linuxbsd.editor.dev.x86_64.san.o): in function `embree::RawBufferView::RawBufferView(embree::RawBufferView&&)': /home/runner/work/GodotBuilds/GodotBuilds/godot/thirdparty/embree/kernels/common/buffer.h:128:(.text.unlikely+0x1ca): relocation truncated to fit: R_X86_64_PC32 against symbol `__ubsan_vptr_type_cache' defined in .dynbss section in /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /home/runner/work/GodotBuilds/GodotBuilds/godot/thirdparty/embree/kernels/common/buffer.h:128:(.text.unlikely+0x20a): relocation truncated to fit: R_X86_64_PC32 against symbol `__ubsan_vptr_type_cache' defined in .dynbss section in /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o modules/libmodule_raycast.linuxbsd.editor.dev.x86_64.san.a(scene_triangle_mesh.linuxbsd.editor.dev.x86_64.san.o): in function `_GLOBAL__sub_I__ZN6embree12TriangleMeshC2EPNS_6DeviceE': /usr/include/c++/11/iostream:74:(.text.startup+0xf): relocation truncated to fit: R_X86_64_PC32 against `.bss' modules/libmodule_raycast.linuxbsd.editor.dev.x86_64.san.a(bvh4_factory.linuxbsd.editor.dev.x86_64.san.o): in function `_GLOBAL__sub_I__ZN6embree27BVH4ColliderUserGeom_error2Ev': /usr/include/c++/11/iostream:74:(.text.startup+0xf): additional relocation overflows omitted from the output /usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.a(cxx11-locale-inst.o): in function `_GLOBAL__sub_I_cxx11_locale_inst.cc': (.text.startup._GLOBAL__sub_I_cxx11_locale_inst.cc+0x7): failed to convert GOTPCREL relocation against '_ZGVNSt7__cxx119money_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE'; relink with --no-relax (.text.startup._GLOBAL__sub_I_cxx11_locale_inst.cc+0x16): failed to convert GOTPCREL relocation against '_ZGVNSt7__cxx119money_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE'; relink with --no-relax (.text.startup._GLOBAL__sub_I_cxx11_locale_inst.cc+0x25): failed to convert GOTPCREL relocation against '_ZGVNSt7__cxx1110moneypunctIcLb0EE2idE'; relink with --no-relax (.text.startup._GLOBAL__sub_I_cxx11_locale_inst.cc+0x34): failed to convert GOTPCREL relocation against '_ZGVNSt7__cxx1110moneypunctIcLb1EE2idE'; relink with --no-relax (.text.startup._GLOBAL__sub_I_cxx11_locale_inst.cc+0x43): failed to convert GOTPCREL relocation against '_ZGVNSt7__cxx118numpunctIcE2idE'; relink with --no-relax (.text.startup._GLOBAL__sub_I_cxx11_locale_inst.cc+0x52): failed to convert GOTPCREL relocation against '_ZGVNSt7__cxx118time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE'; relink with --no-relax (.text.startup._GLOBAL__sub_I_cxx11_locale_inst.cc+0x61): failed to convert GOTPCREL relocation against '_ZGVNSt7__cxx118messagesIcE2idE'; relink with --no-relax (.text.startup._GLOBAL__sub_I_cxx11_locale_inst.cc+0x70): failed to convert GOTPCREL relocation against '_ZGVNSt7__cxx117collateIcE2idE'; relink with --no-relax collect2: error: ld returned 1 exit status scons: *** [bin/godot.linuxbsd.editor.dev.x86_64.san] Error 1 scons: building terminated because of errors. ``` when using ``` scons dev_build=yes module_basis_universal_enabled=no module_bmp_enabled=no module_camera_enabled=no module_csg_enabled=no module_cvtt_enabled=no module_dds_enabled=no module_denoise_enabled=no module_enet_enabled=no module_etcpak_enabled=no module_glslang_enabled=no module_gltf_enabled=no module_gridmap_enabled=no module_hdr_enabled=no module_jpg_enabled=no module_jsonrpc_enabled=no module_lightmapper_rd_enabled=no module_mbedtls_enabled=no module_meshoptimizer_enabled=no module_minimp3_enabled=no module_mobile_vr_enabled=no module_multiplayer_enabled=no module_noise_enabled=no module_ogg_enabled=no module_openxr_enabled=no module_raycast_enabled=no module_regex_enabled=no module_squish_enabled=no module_tga_enabled=no module_theora_enabled=no module_tinyexr_enabled=no module_upnp_enabled=no module_vhacd_enabled=no module_vorbis_enabled=no module_webp_enabled=no module_webrtc_enabled=no module_websocket_enabled=no module_webxr_enabled=no module_xatlas_unwrap_enabled=no use_ubsan=yes use_asan=yes target=editor -j2 ``` instead, then compilation succeed ### Steps to reproduce Compile Godot on Ubuntu 22.04.5 ``` scons dev_build=yes use_ubsan=yes use_asan=yes tests=yes target=editor -j2 ``` ### Minimal reproduction project (MRP) N/A
bug,topic:buildsystem
low
Critical
2,744,488,387
flutter
[Accessibility] Problem with text scaling on ios
### Steps to reproduce 1. Use Flutter 3.24.5 or newer; 2. Create a new project; 3. Build for web; 4. Publish on a web server; 5. Using chrome on Ios, try to increase text size using chrome zoom text setting ### Expected results On all Flutter versions using a new project, should increase and decrease text size using chrome zoom text setting. ### Actual results It is working with Flutter 3.22.2 but not with Flutter 3.24.5 or Flutter 3.27.1. We also have the same problem using add-to-app feature, only in iOS. On android it works well. ### Code sample <details open><summary>Code sample with Flutter 3.22.2</summary> Flutter 3.22.2 example: https://github.com/gianlucainnocente/flutter-3222 </details> <details open><summary>Code sample with Flutter 3.27.1</summary> Flutter 3.27.1 example: https://github.com/gianlucainnocente/flutter-3271 </details> ### Screenshots or Video Flutter 3.22.2: http://vps-1a54a8e7.vps.ovh.net/322 Flutter 3.24.5: http://vps-1a54a8e7.vps.ovh.net/324 Flutter 3.27.1: http://vps-1a54a8e7.vps.ovh.net/327 ### Logs _No response_ ### Flutter Doctor output <details open><summary>Doctor output 3.22.2</summary> ```console [✓] Flutter (Channel stable, 3.22.2, on macOS 15.1.1 24B2091 darwin-arm64, locale it-IT) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.2) [✓] Android Studio (version 2022.1) [✓] IntelliJ IDEA Ultimate Edition (version 2024.2.4) [✓] VS Code (version 1.96.0) [✓] Network resources ``` </details> <details open><summary>Doctor output 3.27.1</summary> ```console [✓] Flutter (Channel stable, 3.27.1, on macOS 15.1.1 24B2091 darwin-arm64, locale it-IT) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.2) [✓] Android Studio (version 2022.1) [✓] IntelliJ IDEA Ultimate Edition (version 2024.2.4) [✓] VS Code (version 1.96.0) ``` </details>
c: regression,a: accessibility,platform-web,e: web_canvaskit,has reproducible steps,P2,e: web_skwasm,team-web,triaged-web,browser: chrome-ios,found in release: 3.27,found in release: 3.28
low
Minor
2,744,506,866
ant-design
Uncontrolled input value unexpectedly cleared on first focus/blur
### Reproduction link [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/basic-usage-antd-5-22-5-forked-jwzxwr?file=%2Fdemo.tsx) ### Steps to reproduce click on input ### What is expected? keep input value equal to "test" ### What is actually happening? input value cleared on focus / blur | Environment | Info | | --- | --- | | antd | undefined | | React | 18 | | System | macOs | | Browser | chrome | <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
unconfirmed
low
Minor
2,744,509,719
excalidraw
Support for React 19
I have a project in Nextjs 14 and i like to migrate to Nextjs 15. It's possible to add support for React 19 ?. Thanks
react
low
Major
2,744,530,972
flutter
[webview_flutter] Google keyboard is losing focus when editing a label with `contenteditable=false`
### Steps to reproduce **Title**: Focus lost when cursor enters a label tag inside a contenteditable div using Google Keyboard in Flutter WebView **Description:** I am rendering the following HTML content inside a WebView in my Flutter project using the webview_flutter package. The issue occurs specifically when using the Google Keyboard (Gboard) on Android devices. **Problem:** When the Google Keyboard cursor reaches the label tag inside the contenteditable div, the focus is immediately lost. This issue only happens with the Google Keyboard, other keyboards work as expected. **Steps to Reproduce:** 1] Use a Flutter app with webview_flutter to render the below HTML. 2] Open the app on an Android device using the Google Keyboard (Gboard). 3] Start typing within the contenteditable div. 4] Move the cursor towards the <label> tag. 5] Observe that the focus is lost. ### Expected results The focus should remain inside the contenteditable div even when the cursor moves over the label tag. ### Actual results The focus is lost when the cursor interacts with the label element. ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:webview_flutter/webview_flutter.dart'; class WebViewWidgetExample extends StatefulWidget { const WebViewWidgetExample({super.key}); @override State<WebViewWidgetExample> createState() => WebViewWidgetExampleState(); } class WebViewWidgetExampleState extends State<WebViewWidgetExample> { final WebViewController _controller = WebViewController(); final Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers = { Factory(() => EagerGestureRecognizer()) }; @override void initState() { super.initState(); grossDescriptionHtmlViewAndroid(); } @override dispose() { super.dispose(); } Future<void> grossDescriptionHtmlViewAndroid() async { _controller ..setJavaScriptMode(JavaScriptMode.unrestricted) ..setNavigationDelegate( NavigationDelegate( onPageFinished: (initialUrl) {}, onPageStarted: (url) {}, onWebResourceError: (error) {}, ), ) ..enableZoom(false) ..addJavaScriptChannel( "onChange", onMessageReceived: (content) {}, ) ..loadHtmlString( ''' <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <style> .grossDescription { height: 300px; font-size: 16px; line-height: 1.6; overflow-y: scroll; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #8fbce1 #ffff; outline: none; cursor: text !important; } .grossDescription::-webkit-scrollbar { width: 6px; /* Width of the scrollbar */ height: 6px; /* Height of the horizontal scrollbar */ } .grossDescription::-webkit-scrollbar-track { background: #bfd5e7; /* Background of the scroll track */ } .grossDescription::-webkit-scrollbar-thumb { background: #8fbce1; /* Color of the scrollbar thumb */ border-radius: 10px; /* Rounded corners of the scrollbar thumb */ } </style> <body> <div id="editable-div" class="grossDescription" contenteditable="true" inputmode="text" oninput="notifyOnChange(this.innerHTML);notifyOnChange(this.innerText)"> Hello, this is editable <label contenteditable="false">This is non-editable</label> This is editable </div> <script> </script> </body> </html> ''', ); } @override Widget build(BuildContext context) { return SafeArea( child: Scaffold( appBar: AppBar( backgroundColor: Colors.blue, title: const Text("Web view Example"), ), body: Padding( padding: const EdgeInsets.all(8.0), child: Card( margin: EdgeInsets.zero, elevation: 4, shape: const RoundedRectangleBorder( side: BorderSide( color: Colors.grey, ), ), child: WebViewWidget( controller: _controller, gestureRecognizers: gestureRecognizers, ), ), ), ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> [Upload media here] </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary> [√] Flutter (Channel stable, 3.19.0, on Microsoft Windows [Version 10.0.19045.3930], locale en-IN) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.1) [√] Android Studio (version 2024.1) [√] VS Code (version 1.96.2) [√] Connected device (4 available) [√] Network resources • No issues found! </summary> ```console [Paste your output here] ``` </details>
a: text input,platform-android,p: webview,package,f: focus,has reproducible steps,P3,team-android,triaged-android,found in release: 3.27,found in release: 3.28
low
Critical
2,744,537,763
neovim
Unable to open swap file when using UNC path
### Problem neovim supports partially UNC paths. In particular, if a file is in a path that must be accessed through an UNC path, nvim creates an error message that it is not able to create a swap file. References: * https://googleprojectzero.blogspot.com/2016/02/the-definitive-guide-on-win32-to-nt.html * https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file ### Steps to reproduce From git-bash (for simplicity, path and file can be created from powershell too) ~~~~ mkdir /c/test. # trailing dot echo Hello > /c/test./file.txt # file can be opened with vim packaged in git-bash without issues vim /c/test./file.txt # opens file.txt without errors/warnings vim '\\?\C:\test.\file.txt' # opens file.txt without errors/warnings ~~~~ from PowerShell and cmd (or even git-bash): ~~~~ nvim --clean \\?\C:\test.\file.txt # opens file.txt with(!) errors/warnings ~~~~ Shows following error message ~~~~ E303: Unable to open swap file for "\\?\C:\test.\file.txt", recovery impossible Press ENTER or type command to continue ~~~~ After pressing enter, it is possible to view, edit and save changes to `file.txt` ### Expected behavior No error message. ### Nvim version (nvim -v) NVIM v0.10.1 Build type: Release LuaJIT 2.1.1713484068 Run "nvim -V1 -v" for more info ### Vim (not Nvim) behaves the same? no, VIM - Vi IMproved 9.1 packaged for git-bash ### Operating system/version Windows 11 ### Terminal name/version powershell, cmd ### $TERM environment variable $TERM is not defined ### Installation installer
bug,platform:windows,filesystem
low
Critical
2,744,550,442
react
[React 19] The namespace type in @types/react/index.d.ts causes problems.
## Summary Hello, I am creating a service using monorepo structure via pnpm. The development environment is as follows: -pnpm - @types/react18 - @types/react19 - react18 - react19 --- my-monorepo/ ├── package.json ├── node_modules/ │ └── .pnpm/ └── apps/ ├── project-a/ │ ├── package.json │ └── node_modules/ │ ├── react/ # React 18 │ │ └── ... │ └── @types/ │ └── react/ # @types/react 18 └── project-b/ ├── package.json └── node_modules/ ├── react/ # React 19 └── @types/ └── react/ # @types/react 19 I am working on a project with the above structure. A type error related to `ReactNode` occurs in apps/project-b using `react v19`. The cause of the problem I thought was This problem occurred because the `declare namespace React` statement declared in `index.d.ts` inside `root/node_modules/@types+react18` and `root/node_modules/@types+react19` were merged due to hoist in the package manager. I think. This is an error caused by the type of react. Would you recognize this as a problem? --- ![image](https://github.com/user-attachments/assets/7df35f93-dfeb-47de-8ebb-fbee2ac71ab8) ![image](https://github.com/user-attachments/assets/ed800d32-9055-414e-9bb1-f563ef9fd1a5)
React 19
medium
Critical
2,744,557,124
vscode
Terminal size is wrong
I see this from time to time but I don't know how to reproduce... This time I was able to record at least and it shows that somehow the terminal layed out with wrong dimensions, its container is higher than the terminal itself leading to the gap at the bottom https://github.com/user-attachments/assets/73fcdc90-4646-40ce-931c-5287545da89c
bug,terminal-layout
low
Minor
2,744,573,941
yt-dlp
[YouTube] Request for new meta field "format_lmt"
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm requesting a site-specific feature - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Region Australia ### Example URLs https://www.youtube.com/watch?v=8UVNT4wvIGY ### Provide a description that is worded well enough to be understood Most (if not all) YouTube formats have a "lastModified" property, which is a timestamp in unix epoch format. This timestamp is also embedded within the format's url under the "lmt" key. I've found this timestamp to be a fairly reliable way of distinguishing between different encodings of a format (which occur either when YouTube re-encodes formats for internal reasons or when a video is modified after upload). I'd like to be able to use the timestamp within my file names as well as with the --print and --print-to-file options. If there was an additional option to display the timestamps as part of the formats table that would be a bonus. BTW, the "lmt" value is already saved in info-json files created by yt-dlp, but only as a part of the format url and not as an individual field itself. While I'm not sure if this would be considered worth the effort it would be possible to extract the lmt timestamps from the format urls and thus make an "lmt" field available even with existing info-json files. Verbose output is probably not of much use but shows a couple of format urls with their embedded "lmt" values. ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [X] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell [debug] Command-line config: ['-vU', '--print', 'urls', '-f', '356+251', 'https://www.youtube.com/watch?v=8UVNT4wvIGY'] [debug] User config "C:\Users\uvbun\AppData\Roaming\yt-dlp\config.txt": ['-o', 'ID.[%(id)s].av.%(height)sp.[%(format_id)s].%(ext)s', '-o', 'infojson:ID.[%(id)s].%(ext)s', '--concurrent-fragments', '4', '--retries', '8', '--fragment-retries', '8', '--abort-on-unavailable-fragment', '--no-overwrites', '--no-continue', '--keep-video', '--fixup', 'never', '--no-check-formats', '--live-from-start', '--downloader', 'aria2c', '--cookies-from-browser', 'firefox:General-002::none', '--sleep-requests', '1', '--sleep-subtitles', '4', '-S', 'hasvid,+hasaud,+proto,hdr,vcodec,height,fps,lang,quality', '--extractor-args', 'youtube:player_client=tv,web_creator', '--alias', 'tt', '-o tt.[%(id)s].av.%(height)sp.[%(format_id)s].%(ext)s', '--alias', 'all-clients', '--extractor-args youtube:player_client=all', '--alias', 'ios-clients', '--extractor-args youtube:player_client=tv,web_creator,ios', '--alias', 'view,-X', '-F --extractor-args youtube:player_client={0}', '--alias', 'view-alt-clients', '-F --extractor-args youtube:player_client=web_embedded,mweb,ios', '--alias', 'view-ios-client', '-F --extractor-args youtube:player_client=ios', '--alias', 'view-web-client', '-F --extractor-args youtube:player_client=web', '--alias', 'view-web-clients', '-F --extractor-args youtube:player_client=web_embedded,mweb', '--alias', 'yt-subs', '--config-locations C:\\\\Tools\\\\Configs\\\\yt-dlp\\\\yt-subs.cfg', '--alias', 'subs', '-o yt.[%(id)s].tt.sub.%(ext)s --skip-download --write-subs', '--alias', 'autocaps', '-o yt.[%(id)s].tt.auto.%(ext)s --skip-download --write-auto-subs', '--alias', 'autocaps-n', '--downloader native -o yt.[%(id)s].tt.auto.%(ext)s --skip-download --write-auto-subs', '--alias', 'read-cookies', '--no-cookies-from-browser --cookies "C:\\Tools\\Data\\Cookies\\yt-dlp-browser-cookies.txt"', '--alias', 'write-cookies', '--cookies "C:\\Tools\\Data\\Cookies\\yt-dlp-browser-cookies.txt"', '--alias', 'skip-cookies', '--no-cookies-from-browser'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version [email protected] from yt-dlp/yt-dlp-nightly-builds [d298693b1] (win_exe) [debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1t 7 Feb 2023) [debug] exe versions: ffmpeg N-116527-g9a2171318d-20240804 (setts), ffprobe N-116527-g9a2171318d-20240804, phantomjs 2.1.1 [debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.12.14, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.2.3, websockets-14.1 [debug] Proxy map: {} Extracting cookies from firefox [debug] Extracting cookies from: "C:\Users\...\AppData\Roaming\Mozilla\Firefox\Profiles\General-002\cookies.sqlite" [debug] Only loading cookies not belonging to any container Extracted 1465 cookies from firefox [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1837 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest Latest version: [email protected] from yt-dlp/yt-dlp-nightly-builds yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp-nightly-builds) [youtube] Extracting URL: https://www.youtube.com/watch?v=8UVNT4wvIGY [youtube] 8UVNT4wvIGY: Downloading webpage [debug] [youtube] Extracted SAPISID cookie [youtube] Sleeping 1.0 seconds ... [youtube] 8UVNT4wvIGY: Downloading tv player API JSON [youtube] Sleeping 1.0 seconds ... [youtube] 8UVNT4wvIGY: Downloading web creator player API JSON [debug] [youtube] Extracting signature function js_03dbdfab_107 [debug] Loading youtube-sigfuncs.js_03dbdfab_107 from cache [debug] Loading youtube-nsig.03dbdfab from cache [debug] [youtube] Decrypted nsig xrKixouipMwYIveQl => rk1ex7lAapaklg [debug] Loading youtube-nsig.03dbdfab from cache [debug] [youtube] Decrypted nsig NQ69zsLao8knYPpDP => XhFnQPwXZRmsQA [debug] [youtube] Extracting signature function js_03dbdfab_103 [debug] Loading youtube-sigfuncs.js_03dbdfab_103 from cache [debug] Sort order given by user: hasvid, +hasaud, +proto, hdr, vcodec, height, fps, lang, quality [debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec, channels, acodec, lang, proto [debug] Formats sorted by: hasvid, ie_pref, +hasaud, +proto, hdr, vcodec, height, fps, lang, quality, res, source, channels, acodec, size, br, asr, vext, aext, id [info] 8UVNT4wvIGY: Downloading 1 format(s): 356+251 https://rr4---sn-n02xgavv250-hxae.googlevideo.com/videoplayback?expire=1734451903&ei=X05hZ8OLHK7G9fwPvNKC4As&ip=125.253.110.59&id=o-AGKs_9sZ4B_-2SlGJsmK7yzIWWqTnCNRn1Ah11fHKeZu&itag=356&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C356%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1734430303%2C&mh=v2&mm=31%2C29&mn=sn-n02xgavv250-hxae%2Csn-hxa7zn7s&ms=au%2Crdu&mv=m&mvi=4&pl=22&rms=au%2Cau&ctier=A&pfa=5&initcwndbps=3167500&hightc=yes&siu=1&bui=AfMhrI94Dc5ghYVP-mbMi_hcfnk6KmxYstd2VhzR-pnpDQURHdFGfnogVYP7f5I_YZuywsVWUw&vprv=1&svpuc=1&mime=video%2Fwebm&ns=bOpSqeq3bHo3hyvwF0Axsr4Q&rqh=1&gir=yes&clen=44680176&dur=243.880&lmt=1713941333662117&mt=1734429921&fvip=1&keepalive=yes&lmw=1&fexp=51326932%2C51335594&c=TVHTML5&sefc=1&txp=4532434&n=XhFnQPwXZRmsQA&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cctier%2Cpfa%2Chightc%2Csiu%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRgIhALJe6milQBFmwrIiXJ7nhFJmN77u6vxGBGC4kd4ISpoJAiEA0FXUKfenxQ3AI7hs_F1mLl1sR0XqDGNImfTaSpzrSwk%3D&sig=AJfQdSswRAIgUyWvHwaKX8WD7lNqtvmAAaw1vTUsjUXrI6FIVFZYxLACIFIa5GZdM2m6yFVC13idX3QO12Mb_P20AnXrAuwOs9Jo https://rr4---sn-n02xgavv250-hxae.googlevideo.com/videoplayback?expire=1734451903&ei=X05hZ8OLHK7G9fwPvNKC4As&ip=125.253.110.59&id=o-AGKs_9sZ4B_-2SlGJsmK7yzIWWqTnCNRn1Ah11fHKeZu&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1734430303%2C&mh=v2&mm=31%2C29&mn=sn-n02xgavv250-hxae%2Csn-hxa7zn7s&ms=au%2Crdu&mv=m&mvi=4&pl=22&rms=au%2Cau&ctier=A&pfa=5&initcwndbps=3167500&hightc=yes&siu=1&bui=AfMhrI94Dc5ghYVP-mbMi_hcfnk6KmxYstd2VhzR-pnpDQURHdFGfnogVYP7f5I_YZuywsVWUw&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=bOpSqeq3bHo3hyvwF0Axsr4Q&rqh=1&gir=yes&clen=3949970&dur=243.901&lmt=1713940635356788&mt=1734429921&fvip=1&keepalive=yes&lmw=1&fexp=51326932%2C51335594&c=TVHTML5&sefc=1&txp=4532434&n=XhFnQPwXZRmsQA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cctier%2Cpfa%2Chightc%2Csiu%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRgIhALJe6milQBFmwrIiXJ7nhFJmN77u6vxGBGC4kd4ISpoJAiEA0FXUKfenxQ3AI7hs_F1mLl1sR0XqDGNImfTaSpzrSwk%3D&sig=AJfQdSswRQIhAIVQ_UTET4udsZ9Ts72B5bl7yYop-T2Ei4Dcz9YEmRfWAiBUclNVBjyWFYjzUCa_hJxHq7RHBJpQIKZG7et_wYCi4g%3D%3D ```
site-enhancement,triage
low
Critical
2,744,578,191
PowerToys
[Update] Installer crashes because of missing permissions
### Microsoft PowerToys version 0.86.0 ### Installation method GitHub ### Running as admin None ### Area(s) with issue? Installer ### Steps to reproduce 1. Disable UAC in Group Policies completely. ![Image](https://github.com/user-attachments/assets/1b7a56f0-e390-48cb-b793-683337b62480) 3. Log-in using a normal user account (no admin permissions). 4. Search for updates in Settings. 5. Press "Install button". ### ✔️ Expected Behavior The "Install" button is disabled because of the missing permissions or the setup complains correctly about the missing permissions. ### ❌ Actual Behavior I can press the install button in settings and the the setups crashes silently without error message. [PowerToysReport_2024-12-17-11-39-17.zip](https://github.com/user-attachments/files/18164203/PowerToysReport_2024-12-17-11-39-17.zip) ### Other Software _No response_
Issue-Bug,Area-Setup/Install,Status-Reproducible
low
Critical
2,744,587,048
PowerToys
Continuously resetting results
### Microsoft PowerToys version 0.87.0 ### Installation method PowerToys auto-update ### Running as admin Yes ### Area(s) with issue? PowerToys Run ### Steps to reproduce Open PowerToys Run and either have plugin hints or the result list that is scrollable, try scrolling and it will reset back to the top almost instantly. Scrolling scenarios: ![Image](https://github.com/user-attachments/assets/a27b5ce7-d3b3-4341-bc06-3d6dbbabc7cb) ![Image](https://github.com/user-attachments/assets/10a1eb47-2155-4405-94de-15c794e36430) ### ✔️ Expected Behavior Scroll down and stay down, including when reopening with the same prompt in the search field. ### ❌ Actual Behavior Scrolling resets to the top of the list continuously and it becomes impossible to read anything below or properly select it. ### Other Software _No response_
Issue-Bug,Needs-Triage,Needs-Team-Response
low
Minor
2,744,596,204
TypeScript
Refactoring 'Move to file' imports undefined from source file
### 🔎 Search Terms "move to file imports undefined", "refactor", "move to a new file imports undefined" ### 🕗 Version & Regression Information This changed between versions 5.7.1-rc and 5.7.2 ### ⏯ Playground Link https://www.typescriptlang.org/play/?#code/KYDwDg9gTgLgBAYwgOwM7wG4EMoEssBGANsHALxwCuyAJsAGa7LA0DcQA ### 💻 Code ```ts export const variable = undefined; ``` ### 🙁 Actual behavior When applying the **Move to file** or **Move to a new file** refactoring, the resulting file incorrectly imports an undefined value from the original module. For example, if the original file is named orig.ts, the refactored file will output ```ts import { undefined } from "./orig"; export const variable = undefined; ``` ### 🙂 Expected behavior **undefined** is an internal type and should not be imported. The correct output should be: ```ts export const variable = undefined; ``` ### Additional information about the issue _No response_
Bug
low
Minor
2,744,622,076
transformers
Multi-GPU training crashes with IterableDataset and different length input (e.g. Next token prediction)
### System Info - `transformers` version: 4.46.3 - Platform: Linux-6.6.20-aufs-1-x86_64-with-glibc2.36 - Python version: 3.11.2 - Huggingface_hub version: 0.26.1 - Safetensors version: 0.4.5 - Accelerate version: 1.2.1 - Accelerate config: not found - PyTorch version (GPU?): 2.5.1+cu124 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using distributed or parallel set-up in script?: yes, DDP. multi-gpu - Using GPU in script?: yes - GPU type: NVIDIA RTX A5000 ### Who can help? @muellerz @SunMarc ### 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 I am using Trainer with hf `IterableDataset`. using multi-gpu training with at least 2 gpus. I found out that i need `--accelerator_config {"split_batches":true}` for it work with varying length input (e.g. NTP prediction). I got this from https://github.com/huggingface/transformers/issues/26548 I am still having crashes in my case. from what I understand the problem arises because my dataset has a reminder when considering the batch size. I am getting the following stacktrace: ``` rank1]: Traceback (most recent call last): [rank1]: File "/cs/labs/oabend/avishai.elma/src/train_multimodal_multistream.py", line 249, in <module> [rank1]: main() [rank1]: File "/cs/labs/oabend/avishai.elma/src/train_multimodal_multistream.py", line 235, in main [rank1]: trainer.train() [rank1]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/transformers/trainer.py", line 2123, in train [rank1]: return inner_training_loop( [rank1]: ^^^^^^^^^^^^^^^^^^^^ [rank1]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/transformers/trainer.py", line 2427, in _inner_training_loop [rank1]: batch_samples, num_items_in_batch = self.get_batch_samples(epoch_iterator, num_batches) [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank1]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/transformers/trainer.py", line 5045, in get_batch_samples [rank1]: batch_samples += [next(epoch_iterator)] [rank1]: ^^^^^^^^^^^^^^^^^^^^ [rank1]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/accelerate/data_loader.py", line 842, in __iter__ [rank1]: batch = concatenate([batch, first_batch], dim=0) [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank1]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/accelerate/utils/operations.py", line 621, in concatenate [rank1]: return type(data[0])({k: concatenate([d[k] for d in data], dim=dim) for k in data[0].keys()}) [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank1]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/accelerate/utils/operations.py", line 621, in <dictcomp> [rank1]: return type(data[0])({k: concatenate([d[k] for d in data], dim=dim) for k in data[0].keys()}) [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank1]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/accelerate/utils/operations.py", line 624, in concatenate [rank1]: return torch.cat(data, dim=dim) [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^ [rank1]: RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 1008 but got size 1000 for tensor number 1 in the list. [rank0]: Traceback (most recent call last): [rank0]: File "/cs/labs/oabend/avishai.elma/src/train_multimodal_multistream.py", line 249, in <module> [rank0]: main() [rank0]: File "/cs/labs/oabend/avishai.elma/src/train_multimodal_multistream.py", line 235, in main [rank0]: trainer.train() [rank0]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/transformers/trainer.py", line 2123, in train [rank0]: return inner_training_loop( [rank0]: ^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/transformers/trainer.py", line 2427, in _inner_training_loop [rank0]: batch_samples, num_items_in_batch = self.get_batch_samples(epoch_iterator, num_batches) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/transformers/trainer.py", line 5045, in get_batch_samples [rank0]: batch_samples += [next(epoch_iterator)] [rank0]: ^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/accelerate/data_loader.py", line 842, in __iter__ [rank0]: batch = concatenate([batch, first_batch], dim=0) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/accelerate/utils/operations.py", line 621, in concatenate [rank0]: return type(data[0])({k: concatenate([d[k] for d in data], dim=dim) for k in data[0].keys()}) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/accelerate/utils/operations.py", line 621, in <dictcomp> [rank0]: return type(data[0])({k: concatenate([d[k] for d in data], dim=dim) for k in data[0].keys()}) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/accelerate/utils/operations.py", line 624, in concatenate [rank0]: return torch.cat(data, dim=dim) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 1008 but got size 1000 for tensor number 1 in the list. 0%| | 3/43040 [01:02<248:43:41, 20.81s/it] [rank0]:[W1217 12:41:08.453747481 ProcessGroupNCCL.cpp:1250] Warning: WARNING: process group has NOT been destroyed before we destruct ProcessGroupNCCL. On normal program exit, the application should call destroy_process_group to ensure that any pending NCCL operations have finished in this process. In rare cases this process can exit before this point and block the progress of another member of the process group. This constraint has always been present, but this warning has only been added since PyTorch 2.4 (function operator()) W1217 12:41:24.654000 1980229 torch/distributed/elastic/multiprocessing/api.py:897] Sending process 1980456 closing signal SIGTERM E1217 12:41:24.771000 1980229 torch/distributed/elastic/multiprocessing/api.py:869] failed (exitcode: 1) local_rank: 1 (pid: 1980457) of binary: /cs/labs/oabend/avishai.elma/.lab_env_v3/bin/python Traceback (most recent call last): File "/cs/labs/oabend/avishai.elma/.lab_env_v3/bin/torchrun", line 8, in <module> sys.exit(main()) ^^^^^^ File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 355, in wrapper return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/torch/distributed/run.py", line 919, in main run(args) File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/torch/distributed/run.py", line 910, in run elastic_launch( File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/torch/distributed/launcher/api.py", line 138, in __call__ return launch_agent(self._config, self._entrypoint, list(args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cs/labs/oabend/avishai.elma/.lab_env_v3/lib/python3.11/site-packages/torch/distributed/launcher/api.py", line 269, in launch_agent raise ChildFailedError( torch.distributed.elastic.multiprocessing.errors.ChildFailedError: ============================================================ train_multimodal_multistream.py FAILED ------------------------------------------------------------ Failures: <NO_OTHER_FAILURES> ------------------------------------------------------------ Root Cause (first observed failure): [0]: time : 2024-12-17_12:41:24 host : binky-03.cs.huji.ac.il rank : 1 (local_rank: 1) exitcode : 1 (pid: 1980457) error_file: <N/A> traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html ============================================================ ``` from what i understand this is because of those lines https://github.com/huggingface/accelerate/blob/200c9eb7833cfa505907f6f224ebf5a275aa6d92/src/accelerate/data_loader.py#L840-L844 so i noticed that droping the remeinder might fix the issue. but it didn't help. this is probably because dataloader_drop_last doesn't get used when using `IterableDataset` https://github.com/huggingface/transformers/blob/5d7739f15a6e50de416977fe2cc9cb516d67edda/src/transformers/trainer.py#L997-L1009 ### Expected behavior Multi-gpu training should not crash when using iterable dataset
bug
low
Critical
2,744,643,905
flutter
[go_router] Allow Circular routes to add nested routes
### Steps to reproduce 1. Run app 2. See the error Go Router didn't allow circular route (A route which contain itself, recursively). On my app, i want to use go router and only the 'go' api because i also target web. I've an e-commerce app. My product pages display several buttons to open many other product pages. When I go to a product page and then I go back, I expect to go back to my previous product page. That's why I try to have a circular route... I can't and won't use 'push' because of its web limitation and because of my actual architecture using only 'go'. ### Expected results No stack overflow ### Actual results Stack overflow ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; void main() => runApp(const MyApp()); class ProductRoute extends GoRoute { ProductRoute() : super( path: 'product/:id', builder: (BuildContext context, GoRouterState state) { return ProductScreen( id: state.pathParameters['id']!, ); }, routes: [ ProductRoute(), ], ); } class HomeRoute extends GoRoute { HomeRoute({ super.routes, }) : super( path: '/', builder: (BuildContext context, GoRouterState state) { return const HomeScreen(); }, ); } /// The route configuration. final GoRouter _router = GoRouter( routes: <RouteBase>[ HomeRoute( routes: <RouteBase>[ ProductRoute(), ], ), ], ); /// The main app. class MyApp extends StatelessWidget { /// Constructs a [MyApp] const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp.router( routerConfig: _router, ); } } /// The home screen class HomeScreen extends StatelessWidget { /// Constructs a [HomeScreen] const HomeScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Home Screen')), body: Center( child: ElevatedButton( onPressed: () => context.go('/product/0'), child: const Text('Go to the Details screen'), ), ), ); } } class ProductScreen extends StatelessWidget { const ProductScreen({ required this.id, super.key, }); final String id; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Details Screen')), body: Center( child: ElevatedButton( onPressed: () => context.go('/product/${DateTime.now().millisecondsSinceEpoch}'), child: Text('See similar product of $id'), ), ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> ![image](https://github.com/user-attachments/assets/cae489f3-e982-4b05-924b-3c5d51c97ea0) </details> ### Logs <details open><summary>Logs</summary> ```console ======== Exception caught by widgets library ======================================================= The following StackOverflowError was thrown building MyApp(dirty): Stack Overflow The relevant error-causing widget was: MyApp MyApp:file:///Users/earminjon/Documents/projects/untitled/lib/main.dart:4:29 When the exception was thrown, this was the stack: #0 new ProductRoute (package:untitled/main.dart:7:3) #1 new ProductRoute (package:untitled/main.dart:16:13) #2 new ProductRoute (package:untitled/main.dart:16:13) #3 new ProductRoute (package:untitled/main.dart:16:13) #4 new ProductRoute (package:untitled/main.dart:16:13) #5 new ProductRoute (package:untitled/main.dart:16:13) #6 new ProductRoute (package:untitled/main.dart:16:13) #7 new ProductRoute (package:untitled/main.dart:16:13) #8 new ProductRoute (package:untitled/main.dart:16:13) #9 new ProductRoute (package:untitled/main.dart:16:13) #10 new ProductRoute (package:untitled/main.dart:16:13) #11 new ProductRoute (package:untitled/main.dart:16:13) #12 new ProductRoute (package:untitled/main.dart:16:13) #13 new ProductRoute (package:untitled/main.dart:16:13) #14 new ProductRoute (package:untitled/main.dart:16:13) #15 new ProductRoute (package:untitled/main.dart:16:13) #16 new ProductRoute (package:untitled/main.dart:16:13) #17 new ProductRoute (package:untitled/main.dart:16:13) #18 new ProductRoute (package:untitled/main.dart:16:13) #19 new ProductRoute (package:untitled/main.dart:16:13) #20 new ProductRoute (package:untitled/main.dart:16:13) #21 new ProductRoute (package:untitled/main.dart:16:13) #22 new ProductRoute (package:untitled/main.dart:16:13) #23 new ProductRoute (package:untitled/main.dart:16:13) #24 new ProductRoute (package:untitled/main.dart:16:13) #25 new ProductRoute (package:untitled/main.dart:16:13) #26 new ProductRoute (package:untitled/main.dart:16:13) #27 new ProductRoute (package:untitled/main.dart:16:13) #28 new ProductRoute (package:untitled/main.dart:16:13) #29 new ProductRoute (package:untitled/main.dart:16:13) #30 new ProductRoute (package:untitled/main.dart:16:13) #31 new ProductRoute (package:untitled/main.dart:16:13) #32 new ProductRoute (package:untitled/main.dart:16:13) #33 new ProductRoute (package:untitled/main.dart:16:13) #34 new ProductRoute (package:untitled/main.dart:16:13) #35 new ProductRoute (package:untitled/main.dart:16:13) #36 new ProductRoute (package:untitled/main.dart:16:13) #37 new ProductRoute (package:untitled/main.dart:16:13) #38 new ProductRoute (package:untitled/main.dart:16:13) #39 new ProductRoute (package:untitled/main.dart:16:13) #40 new ProductRoute (package:untitled/main.dart:16:13) #41 new ProductRoute (package:untitled/main.dart:16:13) #42 new ProductRoute (package:untitled/main.dart:16:13) #43 new ProductRoute (package:untitled/main.dart:16:13) ... ... #20592 new ProductRoute (package:untitled/main.dart:16:13) #20593 new ProductRoute (package:untitled/main.dart:16:13) #20594 new ProductRoute (package:untitled/main.dart:16:13) #20595 new ProductRoute (package:untitled/main.dart:16:13) #20596 new ProductRoute (package:untitled/main.dart:16:13) #20597 new ProductRoute (package:untitled/main.dart:16:13) #20598 new ProductRoute (package:untitled/main.dart:16:13) #20599 new ProductRoute (package:untitled/main.dart:16:13) #20600 new ProductRoute (package:untitled/main.dart:16:13) #20601 new ProductRoute (package:untitled/main.dart:16:13) #20602 new ProductRoute (package:untitled/main.dart:16:13) #20603 new ProductRoute (package:untitled/main.dart:16:13) #20604 new ProductRoute (package:untitled/main.dart:16:13) #20605 new ProductRoute (package:untitled/main.dart:16:13) #20606 new ProductRoute (package:untitled/main.dart:16:13) #20607 new ProductRoute (package:untitled/main.dart:16:13) #20608 new ProductRoute (package:untitled/main.dart:16:13) #20609 new ProductRoute (package:untitled/main.dart:16:13) #20610 new ProductRoute (package:untitled/main.dart:16:13) #20611 new ProductRoute (package:untitled/main.dart:16:13) #20612 new ProductRoute (package:untitled/main.dart:16:13) #20613 new ProductRoute (package:untitled/main.dart:16:13) #20614 new ProductRoute (package:untitled/main.dart:16:13) #20615 _router (package:untitled/main.dart:37:9) #20616 _router (package:untitled/main.dart) #20617 MyApp.build (package:untitled/main.dart:51:21) #20618 StatelessElement.build (package:flutter/src/widgets/framework.dart:5687:49) #20619 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5617:15) #20620 Element.rebuild (package:flutter/src/widgets/framework.dart:5333:7) #20621 BuildScope._tryRebuild (package:flutter/src/widgets/framework.dart:2693:15) #20622 BuildScope._flushDirtyElements (package:flutter/src/widgets/framework.dart:2752:11) #20623 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:3048:18) #20624 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:1162:21) #20625 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:468:5) #20626 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397:15) #20627 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1318:9) #20628 SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1040:9) #20629 PlatformDispatcher.scheduleWarmUpFrame.<anonymous closure> (dart:ui/platform_dispatcher.dart:837:16) #20633 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12) (elided 3 frames from class _Timer and dart:async-patch) ==================================================================================================== Reloaded 0 libraries in 128ms (compile: 7 ms, reload: 0 ms, reassemble: 73 ms). D/EGL_emulation( 4080): app_time_stats: avg=2565.73ms min=2565.73ms max=2565.73ms count=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/earminjon/fvm/versions/3.24.3 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2663184aa7 (3 months 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/earminjon/Library/Android/Sdk • Platform android-35, build-tools 35.0.0 • ANDROID_HOME = /Users/earminjon/Library/Android/Sdk • Java binary at: /Users/earminjon/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 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.1) • Android Studio at /Users/earminjon/Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314) [✓] Android Studio (version 2023.2) • Android Studio at /Users/perso/Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874) [✓] IntelliJ IDEA Ultimate Edition (version 2024.2.3) • IntelliJ at /Users/earminjon/Applications/IntelliJ IDEA Ultimate.app • Flutter plugin version 83.0.3 • Dart plugin version 242.24931 [✓] Connected device (4 available) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 15 (API 35) (emulator) • macOS (desktop) • macos • darwin-arm64 • macOS 15.0.1 24A348 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.0.1 24A348 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.140 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
package,c: proposal,P3,p: go_router,team-go_router,triaged-go_router
low
Critical
2,744,645,851
flutter
"flutter attach --debug-url" fails to attach to Windows app
### Steps to reproduce 1. Create a new app with `flutter create` 2. Run the app on Windows with `flutter run -d win` 3. Copy the URL of the VM Service that is printed 4. Try attaching in another terminal with `flutter attach --debug-url http://127.0.0.1:50334/_LZNB-xaZEg=/` ### Expected results `flutter attach` should successfully attach to the running VM/application. ### Actual results ``` PS D:\Dev\Test Projects\dartcode_5371> flutter attach --debug-url http://127.0.0.1:50334/_LZNB-xaZEg=/ Error connecting to the service protocol: failed to connect to http://127.0.0.1:61528/_LZNB-xaZEg=/ HttpException: Connection closed before full header was received, uri = http://127.0.0.1:61528/_LZNB-xaZEg=/ws ``` ### Code sample N/A ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> ![image](https://github.com/user-attachments/assets/630e0948-7d68-43cf-a7b2-0d2061bfe2c0) </details> ### Logs <details open><summary>Logs</summary> ```console PS D:\Dev\Test Projects\dartcode_5371> flutter attach -v --debug-url http://127.0.0.1:50334/_LZNB-xaZEg=/ [ +2 ms] Could not interpret results of "git describe": 3.27.0-1.0.pre.669 [ +112 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. [ +23 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. [ +18 ms] executing: C:\Users\danny\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l [ +30 ms] List of devices attached 09011JEC209409 device product:sunfish model:Pixel_4a device:sunfish transport_id:1 [ +17 ms] executing: C:\Users\danny\AppData\Local\Android\sdk\platform-tools\adb.exe -s 09011JEC209409 forward tcp:0 tcp:50334 [ +6 ms] C:\Users\danny\AppData\Local\Android\sdk\platform-tools\adb.exe -s 09011JEC209409 shell getprop [ +18 ms] 61639 [ +46 ms] Connecting to service protocol: http://127.0.0.1:61639/_LZNB-xaZEg=/ [ +21 ms] Fail to connect to service protocol: http://127.0.0.1:61639/_LZNB-xaZEg=/: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:61639/_LZNB-xaZEg=/ws [ +1 ms] Error connecting to the service protocol: failed to connect to http://127.0.0.1:61639/_LZNB-xaZEg=/ HttpException: Connection closed before full header was received, uri = http://127.0.0.1:61639/_LZNB-xaZEg=/ws [ +1 ms] executing: C:\Users\danny\AppData\Local\Android\sdk\platform-tools\adb.exe -s 09011JEC209409 forward --list [ +18 ms] Exit code 0 from: C:\Users\danny\AppData\Local\Android\sdk\platform-tools\adb.exe -s 09011JEC209409 forward --list [ ] 09011JEC209409 tcp:61639 tcp:50334 [ ] executing: C:\Users\danny\AppData\Local\Android\sdk\platform-tools\adb.exe -s 09011JEC209409 forward --remove tcp:61639 [ +22 ms] "flutter attach" took 243ms. ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console PS D:\Dev\Test Projects\dartcode_5371> flutter doctor -v [!] Flutter (Channel master, 3.27.0-1.0.pre.669, on Microsoft Windows [Version 10.0.26100.2605], locale en-GB) • Flutter version 3.27.0-1.0.pre.669 on channel master at D:\Dev\Google\Flutter\Flutter main ! Warning: `dart` on your path resolves to D:\Tools\Dart\Stable\bin\dart.exe, which is not inside your current Flutter SDK checkout at D:\Dev\Google\Flutter\Flutter main. Consider adding D:\Dev\Google\Flutter\Flutter main\bin to the front of your path. • Upstream repository [email protected]:DanTup/flutter.git • FLUTTER_GIT_URL = [email protected]:DanTup/flutter.git • Framework revision a0ba2decab (3 weeks ago), 2024-11-29 18:20:31 +1000 • Engine revision d7be573a5e • Dart version 3.7.0 (build 3.7.0-188.0.dev) • DevTools version 2.41.0-dev.2 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades. [✓] Windows Version (11 Pro 64-bit, 24H2, 2009) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc3) • Android SDK at C:\Users\danny\AppData\Local\Android\sdk • Platform android-35, build-tools 35.0.0-rc3 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java This is the JDK bundled with the latest Android Studio installation on this machine. To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`. • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.5) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.10.35122.118 • Windows 10 SDK version 10.0.22621.0 [✓] Android Studio (version 2023.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874) [✓] VS Code (version 1.96.0) • VS Code at C:\Users\danny\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.103.20241202 [✓] VS Code (version 1.93.0-insider) • VS Code at C:\Users\danny\AppData\Local\Programs\Microsoft VS Code Insiders • Flutter extension version 3.95.20240801 [✓] Connected device (4 available) • Pixel 4a (mobile) • 09011JEC209409 • android-arm64 • Android 13 (API 33) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.2605] • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.140 • Edge (web) • edge • web-javascript • Microsoft Edge 127.0.2651.86 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ``` </details>
tool,P2,team-tool,triaged-tool
low
Critical
2,744,660,293
react-native
draw Over(Overlay) other apps not working in background and kill mode.
### Description previously we are using react-native -'0.73' , newArchEnabled= 'false' draw Over(Overlay) other app is working for foreground ,background and kill mode. We did using native modules. Now , when we upgrade to react-native -'0.76.5' newArchEnabled= 'true'.draw Over(Overlay) other app is not working in background and kill mode. ### Steps to reproduce 1.Send FCM Notification. 2. keep your app in background and kill mode .you will get notification but not get overlay ### React Native Version 0.76.5 ### Affected Platforms Runtime - Android, Runtime - iOS ### Areas Other (please specify) ### Output of `npx react-native info` ```text ext { buildToolsVersion = "35.0.0" minSdkVersion = 24 compileSdkVersion = 35 targetSdkVersion = 34 ndkVersion = "26.1.10909125" kotlinVersion = "1.9.24" } ``` ### Stacktrace or Logs ```text Exception in native call java.lang.RuntimeException: Could not invoke UIManager.createView at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:381) at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:146) at com.facebook.jni.NativeRunnable.run(Native Method) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at com.facebook.react.bridge.queue.MessageQueueThreadImpl.lambda$startNewBackgroundThread$2(MessageQueueThreadImpl.java:217) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0) at java.lang.Thread.run(Thread.java:1012) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372) at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:146)  at com.facebook.jni.NativeRunnable.run(Native Method)  at android.os.Handler.handleCallback(Handler.java:958)  at android.os.Handler.dispatchMessage(Handler.java:99)  at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)  at android.os.Looper.loopOnce(Looper.java:230)  at android.os.Looper.loop(Looper.java:319)  at com.facebook.react.bridge.queue.MessageQueueThreadImpl.lambda$startNewBackgroundThread$2(MessageQueueThreadImpl.java:217)  at com.facebook.react.bridge.queue.MessageQueueThreadImpl$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)  at java.lang.Thread.run(Thread.java:1012)  Caused by: java.lang.AssertionError: Root node with tag 171 doesn't exist at com.facebook.infer.annotation.Assertions.assertNotNull(Assertions.java:19) at com.facebook.react.uimanager.UIImplementation.createView(UIImplementation.java:251) at com.facebook.react.uimanager.UIManagerModule.createView(UIManagerModule.java:438) at java.lang.reflect.Method.invoke(Native Method)  at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)  at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:146)  at com.facebook.jni.NativeRunnable.run(Native Method)  at android.os.Handler.handleCallback(Handler.java:958)  at android.os.Handler.dispatchMessage(Handler.java:99)  at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)  at android.os.Looper.loopOnce(Looper.java:230)  at android.os.Looper.loop(Looper.java:319)  at com.facebook.react.bridge.queue.MessageQueueThreadImpl.lambda$startNewBackgroundThread$2(MessageQueueThreadImpl.java:217)  at com.facebook.react.bridge.queue.MessageQueueThreadImpl$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)  at java.lang.Thread.run(Thread.java:1012)  2024-12-17 13:24:18.296 10777-10777 unknown:ReactNative com.remindnmore.app E Unable to launch redbox because react activity is not available, here is the error that redbox would've displayed: Could not invoke UIManager.createView null Root node with tag 171 doesn't exist 'Failed to print error: ', 'Exception in HostFunction: Could not enqueue microtask because they are disabled in this runtime' ``` ### Reproducer https://snack.expo.dev/@paragzip/cranky-orange-pastry?platform=android ### Screenshots and Videos ![396391368-0108e206-5ccd-41b0-bfa6-38ac400593fa](https://github.com/user-attachments/assets/32cc8f94-929e-43df-afec-6004b0f2ee04)
Needs: Triage :mag:,Type: New Architecture
low
Critical
2,744,677,265
storybook
Unhandled error message could be more helpful
When using the testing module, any unhandled error can be seen in Storybook: <img width="759" alt="Image" src="https://github.com/user-attachments/assets/3c9344e4-495d-435d-879a-041de2c89280" /> However, the error message in the terminal is **far more useful** for debugging my failed test: ``` storybook/test: ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ Vitest caught 1 unhandled error during the test run. This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. storybook/test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ TypeError: handleSubmit is not a function ❯ onSubmit src/stories/CreateAccount.tsx:67:52 storybook/test: 65| <div className='form-wrapper'> 66| <h2>Create Account</h2> 67| <form onSubmit={(e) => {e.preventDefault(); handleSubmit();}} … | ^ 68| <div className='fullName'> 69| <InputField storybook/test: storybook/test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ``` Can we pipe this error message instead of (or in addition to??) the stack trace?
feature request,addon: test
low
Critical
2,744,711,320
flutter
Feature request: TabBarView.builder
We have `PageView.builder` however we do not have `TabBarView.builder`. ### Rationale Context: My specific app's PageView/TabBarView needs around 800k children. The reason I would like TabBarView.builder is due to the way that TabBarView and PageView handle animating to pages. `TabBarView` simply animates along the axis by 1 page regardless of which page you are animating to -this means there are no unnecessary page builds. `PageView` however animates the entire range of pages between the current page and the desired page. When handling such a large number of pages this because unfeasible. --- NB: This was requested by in 2019 (#26957) but locked due to inactivity.
framework,f: material design,c: proposal,P3,team-design,triaged-design
low
Minor
2,744,723,714
PowerToys
PWA doesn't launch with Workspace
### Microsoft PowerToys version 0.87.0 ### Installation method PowerToys auto-update ### Running as admin No ### Area(s) with issue? Workspaces ### Steps to reproduce create a workspace with a minimum width skype window and a PWA host in Edge. Create a Desktop shortcut (and move it to Start|Programs and pin it to Start - why oh, why does Workspaces not do this? Who on Earth clutters their desktop with icon? Monsters!). Launch workspace from any shortcut or direct in Workspaces App. Skype launches, PWA does not, no Edge window appears either. [PowerToysReport_2024-12-17-11-27-55.zip](https://github.com/user-attachments/files/18164942/PowerToysReport_2024-12-17-11-27-55.zip) ### ✔️ Expected Behavior PWA should launch as advertised. ### ❌ Actual Behavior PWA does not launch I have workspaces for two different PWAs, neither works as expected ### Other Software Edge Version 131.0.2903.99 (Official build) (64-bit) Skype for Desktop 8.134
Issue-Bug,Needs-Triage,Needs-Team-Response,Product-Workspaces
low
Major
2,744,723,885
flutter
Tapping same BottomNavigationBar item does not show background fill animation
### Steps to reproduce 1. Create a BottomNavigationBar and assign a backgroundColor to each BottomNavigationBarItem. 2. Change the background when tapped. ### Expected results Animate the background transition. ### Actual results Directly switch the background. ### Code sample <details open><summary>Code sample</summary> ```dart BottomNavigationBar( items: [ const BottomNavigationBarItem( icon: Icon(Icons.home), label: 'Home', // backgroundColor: Colors.green ), BottomNavigationBarItem( icon: const Icon(Icons.search), label: 'Search', backgroundColor: backgroundColor, ), const BottomNavigationBarItem( icon: Icon(Icons.library_books), label: 'Library', backgroundColor: Colors.deepPurple), const BottomNavigationBarItem( icon: Icon(Icons.person), label: 'Profile', backgroundColor: Colors.greenAccent, ), ], currentIndex: _selectedIndex, onTap: (index){ count += 1; setState(() { backgroundColor = count % 2 == 0 ? Colors.green : Colors.black; _selectedIndex = index; }); }, type: BottomNavigationBarType.shifting, backgroundColor: Colors.yellow, selectedItemColor: Colors.teal, unselectedItemColor: Colors.blue, showSelectedLabels: true, showUnselectedLabels: true, ) ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> Switch to the same item: | Switch to a different item :-: | :-: <video src='https://github.com/user-attachments/assets/454a9107-05e6-4855-bfc0-13caab2a041d' width=180/> | <video src='https://github.com/user-attachments/assets/f857fe47-5865-4b36-b6ff-5592fa412577' width=180/> </details> ### Logs _No response_ ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.27.0, on macOS 14.0 23A344 darwin-arm64 (Rosetta), locale zh-Hans-CN) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.3) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.2) [✓] VS Code (version 1.95.0) [✓] Connected device (4 available) [✓] Network resources • No issues found! ``` </details>
c: new feature,framework,f: material design,has reproducible steps,P3,team-design,triaged-design,found in release: 3.27,found in release: 3.28
low
Minor
2,744,757,610
tensorflow
Aborted (core dumped) in `LearnedUnigramCandidateSampler`
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf2.17.0 tf2.16.1 ### Custom code Yes ### OS platform and distribution Ubuntu 20.04 ### Mobile device _No response_ ### Python version 3.11 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? On specific inputs,`tf.raw_ops.LearnedUnigramCandidateSampler` triggers crash. ### Standalone code to reproduce the issue ```shell import tensorflow as tf true_classes = tf.constant([], dtype=tf.int64) num_true = 3590707793247644003 num_sampled = 126 unique = False range_max = 186785497093039093 seed = 8997 seed2 = 0 tf.raw_ops.LearnedUnigramCandidateSampler( true_classes=true_classes, num_true=num_true, num_sampled=num_sampled, unique=unique, range_max=range_max, seed=seed, seed2=seed2, name=None ) ``` ### Relevant log output ```shell 2024-12-17 11:36:29.305345: W tensorflow/core/framework/op_kernel.cc:1816] OP_REQUIRES failed at candidate_sampler_ops.cc:37 : INVALID_ARGUMENT: Attr num_true has value 3590707793247644003 out of range for an int32 2024-12-17 11:36:29.305378: F external/local_tsl/tsl/lib/random/weighted_picker.cc:28] Check failed: N >= 0 (0 vs. -2090015755) Aborted (core dumped) ```
stat:awaiting tensorflower,type:bug,comp:ops,2.17
medium
Critical
2,744,764,213
deno
zsh: illegal hardware instruction deno run a.ts
Version: Deno 2.1.2 OS: Mac OS a.ts ```ts export class Case { constructor() { get() as any; } @doc method() {} } function get() {} function doc(args: any): any {} console.log(1); ``` `deno run a.ts` terminal Output `zsh: illegal hardware instruction deno run a.ts` When I comment out the third or fifth line, this bug will not appear ```ts export class Case { constructor() { // get() as any; } // @doc method() {} } function get() {} function doc(args: any): any {} console.log(1); ```
bug,upstream,swc
low
Critical
2,744,773,832
flutter
Focus traversal into nested scrollable wrongly prevented
### Steps to reproduce 1. Run example with `flutter run -d chrome` 2. Press tab to move focus to the topmost button 3. Move focus down with arrowDown key on your keyboard Observe focus is moved down 1 row with each press, alternating between the fullwidth buttons and items in horizontal ListViews 4. Scroll down so neither top or bottom is visible 5. Move focus up or down with keys Observe focus skips over items in the horizontal ListViews ### Expected results Focus traversal behaves consistently when inside the same scrollable, no matter the scroll position ### Actual results Focus traversal only enters nested scrollables when at start or end of the outer scollable ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return const MaterialApp(debugShowCheckedModeBanner: false, home: Test()); } } class Test extends StatelessWidget { const Test({super.key}); @override Widget build(BuildContext context) { return Shortcuts( shortcuts: { LogicalKeySet(LogicalKeyboardKey.arrowLeft): const DirectionalFocusIntent(TraversalDirection.left), LogicalKeySet(LogicalKeyboardKey.arrowRight): const DirectionalFocusIntent(TraversalDirection.right), LogicalKeySet(LogicalKeyboardKey.arrowUp): const DirectionalFocusIntent(TraversalDirection.up), LogicalKeySet(LogicalKeyboardKey.arrowDown): const DirectionalFocusIntent(TraversalDirection.down), }, child: Center( child: ListView.builder( scrollDirection: Axis.vertical, itemCount: 30, itemBuilder: (context, i) { if (i % 2 == 0) { return ElevatedButton( onPressed: () {}, child: Text('Button $i')); } else { return SizedBox( height: 100, child: ListView.builder( scrollDirection: Axis.horizontal, itemCount: 15, itemBuilder: (context, j) { return ElevatedButton( onPressed: () {}, child: Text('Button ${j}')); }, )); } }))); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> https://github.com/user-attachments/assets/5fee3262-bd52-4e73-aae8-f2e6e2d55982 </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console $ flutter doctor -v [✓] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.26100.2605], locale en-GB) • Flutter version 3.27.1 on channel stable at C:\Baze\deps\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 17025dd882 (18 hours ago), 2024-12-17 03:23:09 +0900 • Engine revision cb4b5fff73 • Dart version 3.6.0 • DevTools version 2.40.2 [✓] Windows Version (Installed version of Windows is version 10 or higher) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\emilshes\AppData\Local\Android\sdk • Platform android-34, build-tools 34.0.0 • Java binary at: C:/jdk-17\bin\java • Java version OpenJDK Runtime Environment (build 17.0.2+8-86) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.0) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.12.35506.116 • Windows 10 SDK version 10.0.20348.0 ✗ Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components: MSVC v142 - VS 2019 C++ x64/x86 build tools - If there are multiple build tool versions available, install the latest C++ CMake tools for Windows Windows 10 SDK [✓] Android Studio (version 2024.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11) [✓] VS Code (version 1.95.3) • VS Code at C:\Users\emilshes\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.102.0 [✓] Connected device (4 available) • SML 5051W (mobile) • 10.40.14.111:5555 • android-arm • Android 9 (API 28) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.2605] • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.140 • Edge (web) • edge • web-javascript • Microsoft Edge 131.0.2903.99 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ``` </details>
framework,a: accessibility,f: focus,has reproducible steps,P2,team-framework,triaged-framework,found in release: 3.27,found in release: 3.28
low
Critical
2,744,788,049
vscode
Add option to ignore URL in link in text-to-speech
This is related to https://github.com/microsoft/vscode/issues/214481#issuecomment-2545979234 When performing speech synthesis through text-to-speech, currently the URL in hyperlinks is read out loud, which is not very reasonable. It would be nice to have a option to avoid reading the content of the URL. ![Image](https://github.com/user-attachments/assets/31dc9242-1ed8-4b9c-8320-2c5de25e87f0)
feature-request,workbench-voice
low
Minor
2,744,818,270
tensorflow
custom loss function only receives one/first output from model declaring multiple outputs
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.18.0 ### Custom code Yes ### OS platform and distribution CentOS8_64 ### Mobile device _No response_ ### Python version 3.9.20 ### Bazel version _No response_ ### GCC/compiler version 11.5.0 ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Declare a model with 2 named outputs, one for the bounding box and the second for the label classification. Implicit declaration of loss functions in the compile configuration works ok. Explicit declaration of a custom_loss function in the compile configuration calls the custom_loss function, but it only receives the first output (bbox), not the expected two (bbox + labels) ### Standalone code to reproduce the issue ```shell Model as (num_classes = 6 for ex): bbox= layers.Dense(4, name="bbox")(features) classification_output = layers.Dense(num_classes, name="classification", activation="softmax")(features) model = keras.Model(inputs=inputs, outputs=[bbox, classification_output], name='vit_object_detector_with_class') # Dictionary for bounding box loss bbox_loss_dict = { "mse_loss": tf.keras.losses.MeanSquaredError(), # Mean Squared Error (for bounding box regression) "mae_loss": tf.keras.losses.MeanAbsoluteError() # Mean Absolute Error (alternative for bounding boxes) } # Dictionary for classification loss class_loss_dict = { "sparse_categorical_crossentropy": tf.keras.losses.SparseCategoricalCrossentropy(from_logits=False), # Cross-entropy loss for multi-class classification "categorical_crossentropy": tf.keras.losses.CategoricalCrossentropy(from_logits=False) # Another option for multi-class classification if using one-hot encoded labels } Implicit declaration of configuration, inclusive the losses that works ok: model.compile( optimizer='adam', # or any optimizer loss={ "bbox": bbox_loss_dict["mse_loss"], "classification": class_loss_dict["sparse_categorical_crossentropy"] }, loss_weights={ "bbox": 1.0, "classification": 1.5 }, metrics={ "bbox": ["mse", "mae"], "classification": ["accuracy"] } ) #Training: targets = { "bbox": bbox_target, # shape, for ex: (640,4) "classification": class_target # shape for ex: (640,) } model.fit(x_train, targets, epochs=10, batch_size=32) #That training works correctly. #Now, if declaring explicitly a custom_loss function: def custom_loss(y_true, y_pred): bbox_true = y_true[0] # Bounding boxes ground truth class_true = y_true[1] # Class labels ground truth bbox_pred = y_pred[0] # Bounding box predictions class_pred = y_pred[1] # Class predictions ...... etc and declaring the configuration as: model.compile(optimizer='adam', loss=custom_loss, metrics=["accuracy"]) the custom_loss function only receives the bbox data (y_pred.shape = (32,4)) but not the label classification. It should be something like: y_pred.shape = [(32,4),(32,)] ``` ### Relevant log output _No response_
type:support,TF 2.18
low
Critical
2,744,834,193
react-native
Modal is covering Element inspector
### Description Looks like this was fixed in the past but is currently broken. https://github.com/facebook/react-native/issues/8193 ### Steps to reproduce Open dev tools. Select element inspector. Open your react native modal. Element inspector vanishes, or (if modal isn't full screen) can't be clicked on. ### React Native Version 0.76.5 ### Output of `npx react-native info` ```text System: OS: Windows 11 10.0.22631 CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Memory: 15.20 GB / 31.92 GB Binaries: Node: version: 20.18.0 path: C:\Program Files\nodejs\node.EXE Yarn: version: 1.22.22 path: ~\AppData\Roaming\npm\yarn.CMD npm: version: 10.9.0 path: C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: API Levels: - "30" - "34" - "35" Build Tools: - 33.0.1 - 34.0.0 - 35.0.0 System Images: - android-35 | Google Play Intel x86_64 Atom Android NDK: Not Found Windows SDK: Not Found IDEs: Android Studio: AI-242.23339.11.2421.12700392 Visual Studio: Not Found Languages: Java: version: 17.0.12 path: C:\Program Files\Microsoft\jdk-17.0.12.7-hotspot\bin\javac.EXE Ruby: Not Found npmPackages: "@react-native-community/cli": installed: 15.1.3 wanted: latest react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.76.5 wanted: 0.76.5 react-native-windows: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: true iOS: hermesEnabled: Not found newArchEnabled: Not found ``` ### Screenshots and Videos https://github.com/user-attachments/assets/b88e3c2e-4071-49fb-a2e9-378bf3806cac
Component: Modal,Debugger,Needs: Author Feedback,Needs: Repro
low
Critical
2,744,847,141
vscode
Source control shows all files as deleted when another window is opened with git difftool
When diffing a file against another branch with VS Code as the configured git difftool and then opening a folder within the repository with VS Code, Source Control shows all files of the repository as deleted while there are actually no changes. I can reproduce this bug with [this minimal repository](https://github.com/thabse/vscode-issue-repro). - Configure VS code as git difftool. - Clone the repository. - When in the main branch, in the root folder of the repository run `git difftool dev folder/inner.txt`. - Open another VS Code instance in parallel by opening the "folder" directory from the repository. - In the Source Control tree of the second instance, all files are now shown as deleted (except the file that is being diffed) while `git status` shows no changes. ![Image](https://github.com/user-attachments/assets/b74bb662-4e59-471b-8174-b5d1e2209188) ``` $ git status On branch main Your branch is up to date with 'origin/main'. nothing to commit, working tree clean ``` In summary, I can reproduce the bug with the following commands. ``` git clone [email protected]:thabse/vscode-issue-repro.git cd vscode-issue-repro git difftool dev folder/inner.txt code folder/ ``` ------- My global .gitconfig has the following difftool configuration ``` [difftool "vscode"] cmd = code --wait --diff $LOCAL $REMOTE ``` ------- Type: <b>Bug</b> VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z) OS version: Windows_NT x64 10.0.22621 Modes: Extensions: none<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 962ge761:30959799 pythonnoceb:30805159 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 dvdeprecation:31068756 dwnewjupytercf:31046870 2f103344:31071589 nativerepl1:31139838 pythonrstrctxt:31112756 nativeloc2:31192216 cf971741:31144450 iacca1:31171482 notype1cf:31157160 5fd0e150:31155592 dwcopilot:31170013 stablechunks:31184530 6074i472:31201624 ``` </details> <!-- generated by issue reporter -->
bug,info-needed,git
low
Critical
2,744,855,072
PowerToys
Hosts File Editor: Adds no whitespace option
### Microsoft PowerToys version 0.87.0 ### Installation method WinGet ### Running as admin Yes ### Area(s) with issue? Hosts File Editor ### Steps to reproduce Create or modify any hosts file entry or simply enabling/disabling them. ### ✔️ Expected Behavior creates or modifies any entry without adding leading spaces for every entry. ### ❌ Actual Behavior creates or modifies entries with two leading spaces for every entry. Those leading spaces cause issues with some software, e.g. squid. ### Other Software Squid proxy (4.14)
Help Wanted,Good first issue,Status-In progress,Issue-Feature,Product-Hosts File Editor
low
Minor
2,744,889,162
tauri
Multiple windows with different menu not working as expected
### Discussed in https://github.com/tauri-apps/tauri/discussions/11990 <div type='discussions-op-text'> <sup>Originally posted by **shalapatil** December 17, 2024</sup> I am working on tauri app with next js. tauri::Builder::default() .setup(|app| { let app_handle = app.handle(); // Create the "main" window with its menu let main_window = WindowBuilder::new( &app_handle, "main".to_string(), tauri::WindowUrl::App("/".into()), ) .menu(create_main_menu()) // Attach the main menu .visible(false) // Hidden by default .build()?; println!("Main window created: {:?}", main_window); // Create the "onboarding" window with its menu let onboarding_window = WindowBuilder::new( &app_handle, "onboarding".to_string(), tauri::WindowUrl::App("/onboarding".into()), ) .menu(create_onboarding_menu()) // Attach the onboarding menu .build()?; println!("Onboarding window created: {:?}", onboarding_window); Ok(()) }) .run(tauri::generate_context!()) .expect("error while running Tauri application"); Onboarding window is created at last. onboarding menu is only getting shown for main window as well. What could be the issue? thank you!</div>
type: bug,status: needs triage
low
Critical
2,744,913,131
PowerToys
New+ bug shortcut create new folder w10
### Microsoft PowerToys version 0.87.0 ### Installation method PowerToys auto-update ### Running as admin None ### Area(s) with issue? New+ ### Steps to reproduce When New+ is enabled, I can't use the shortcut to create new folders (Ctrl+Shift+N) because it opens the New+ folder ### ✔️ Expected Behavior Another shortcut to open the New+ folder ### ❌ Actual Behavior I can't use the shortcut to create new folders while New+ is enabled ### Other Software _No response_
Issue-Bug,Resolution-Fix Committed,Priority-1,Status-Reproducible,Product-New+
low
Critical
2,744,932,571
react
[React 19] Suspense throttling behavior (`FALLBACK_THROTTLE_MS`) kicks in too often
<!-- Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest version of the relevant React packages to make sure your issue has not already been fixed. --> React version: 19.0.0 Related Issues: #30408, #31697 This may be the intended behavior, but I'm opening this issue anyway because enough discussion hasn't been done in the related issues IMO and the current behavior still feels poor to me in that it makes it too easy to slow down actual user experience. ## Steps To Reproduce <details> <summary>Code</summary> ```jsx const zero = Promise.resolve(0); function getNumber(num) { return new Promise((resolve) => { setTimeout(() => resolve(num), 100); }); } function App() { const [count, setCount] = useState(zero); const countValue = use(count); useEffect(() => { console.log("countValue =", countValue, Date.now()); }, [countValue]); return ( <button onClick={() => { console.log("click", Date.now()); setCount(getNumber(countValue + 1)); }} > count is {countValue} </button> ); } ``` </details> In short, when a rerendering suspends, you always have to wait for 300ms even if underlying data fetching has finished sooner. In the attached example, when user pushes the button, a new Promise is passed to `use()`, which triggers Suspense. Even though that Promise resolves exactly after 100ms, the UI is updated only after 300ms. I experienced this issue when using [Jotai](https://jotai.org/), a Suspense-based state management library. Given that the throttling behavior kicks in even in this simplest situation, it seems impossible to implement a user experience that involves Suspension and is quicker than 300ms regardless of, say, user's network speed. **Link to code example:** https://codesandbox.io/p/sandbox/4f4r94 ## The current behavior Almost always need to wait for 300ms. ## The expected behavior Maybe some better heuristic for enabling the throttling behavior? It would also be very nice to make this configurable.
Type: Discussion,React 19
medium
Critical
2,744,937,701
node
[feature] Option/flag for process.cwd( ) to return the actual PWD with symlinks, not real path
### What is the problem this feature will solve? Certain software such as docker or VS Code relies on the actual path, not real path. In case we use NodeJS based scripts - we would like to know from what actual folder this code is running. Unfortunately process.cwd( ) does not work. This code `node -p 'process.cwd()'` returns path without symlink. Flags like `--preserve-symlinks` or `NODE_PRESERVE_SYMLINKS=1` do not help to solve the problem. ### What is the feature you are proposing to solve the problem? Please introduce a flag and what is more important environment variable to force process.cwd to follow the actual path, not realpath. Environment variable is needed for scenarios when we cannot already change scripts, but we can force node to work different by changing it. ### What alternatives have you considered? Alternative solution now is to use process.env.PWD, but it's OS dependent, so will not work in Windows ### Related issues This will solve directly this issue: https://github.com/devcontainers/cli/issues/932 And as a result will help to solve following problems: https://github.com/microsoft/vscode-remote-release/issues/10301 https://github.com/docker/for-win/issues/14380 Thanks!
feature request
low
Minor
2,744,972,782
godot
Godot and the risks of nontrivial relocatability
Godot currently has hidden assumptions about trivial relocatability. Let's gather knowledge about relocations in this issue, and see how we can best handle them ## Tested versions All versions are affected. ## About Relocations _Relocation_ of an object means moving it to a different position in memory. Relocation may commonly be implemented by `memcpy` with subsequent non-destructing deallocation of the old memory. Calls to `realloc` may trigger the same operation. This brings us to _trivial relocation_: - An object is _trivially relocatable_ if the above operations are _correct_. - An object is _not trivially relocatable_ if the above operation is incorrect, such as if: - The object has a pointer to itself. - The object uses relative pointers. - Other examples can be found [here](https://open-std.org/JTC1/SC22/WG21/docs/papers/2020/p1144r5.html#non-trivial-samples). A violation of nontrivial relocatability is undefined behavior, and will likely lead to a crash. The verb 'relocate' was introduced rather recently, and is (i believe) part of C++23: https://open-std.org/JTC1/SC22/WG21/docs/papers/2020/p1144r5.html Using C++17, we do not have access to its APIs. ## How to handle non-trivial relocatability If an object is not trivially relocatable, it needs to be moved using _relocation semantics_ instead. For example (pseudocode): ```c++ if constexpr (std::is_trivially_relocatable<T>) { realloc(array, new_size); } else { // Not trivially relocatable T *new_array = alloc(new_size); for (int i = 0; i < size; i++) { new_array[i] = relocate(array[i]); } } ``` In the common case, `relocate` may be implemented as `std::move`. ## Examples of code violating nontrivial relocatability - `CowData`, through use of `realloc`, affecting `Vector`. - `LocalVector`, through use of `realloc`. - `HashSet`, through use of `realloc`. - `AHashMap`, through use of `realloc`. - `PagedAllocator`, through use of `realloc`. - `PagedArrayPool`, through use of `realloc`. I'm sure there are more examples; please comment to expand the list. ## Examples of nontrivially relocatable types I don't know of any, please comment to expand the list. GDExtension users may have their own nontrivially relocatable types. ## Practical Proposal to move forwards To have safe relocation dynamics, we need to either avoid nontrivial relocation entirely (inefficient) or introduce relocation structures into the Godot codebase. I don't think Godot has many nontrivially relocatable types. It is questionable whether we want to sacrifice time to implement relocation-safe versions of code, especially since the trivially relocatable path should not be changed, as it is faster. Instead, I propose we document such limitations, and statically safeguard incompatible types such as `CowData` against nontrivially relocatable element types. We can remove this limitation if needed later.
bug,discussion,topic:core,needs testing
low
Critical
2,744,986,384
vscode
`vscode://vscode-remote/wsl+<distro>/path/to/file` des not use already open window
Type: <b>Bug</b> Try opening a file on the WSL filesystem, let's say /home/USERNAME/.profile, using this URI: `vscode://file/home/USERNAME/.profile`. Instead of opening the intended file, I get an error dialog complaining that `\home\USERNAME\.profile` (with backslashes!) does not exist. This is rather unfortunate. I asked ChatGPT for a workaround but its recommended solution (use `vscode://vscode-remote/wsl+<distro>/path/to/file`) does not work correctly: it closes the WSL instance of VS Code, creating a brand new instance with *just* the designated file, and also doesn't solve the problem of links generated by tools assuming a local VS code instance. Extension version: 0.88.5 VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z) OS version: Windows_NT x64 10.0.26100 Modes: Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2 <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)| |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)|31.60GB (14.05GB free)| |Process Argv|--folder-uri=vscode-remote://wsl+Ubuntu/home/gvanrossum/TypeAgent --remote=wsl+Ubuntu --crash-reporter-id 51308fcb-286e-416b-bcf9-7695a190b373| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.167.4-microsoft-standard-WSL2| |CPUs|Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 0)| |Memory (System)|15.42GB (13.47GB free)| |VM|0%| </details><details> <summary>A/B Experiments</summary> ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 dvdeprecation:31068756 dwnewjupytercf:31046870 nativerepl2:31139839 pythonrstrctxt:31112756 nativeloc1:31192215 cf971741:31144450 iacca1:31171482 notype1cf:31157160 5fd0e150:31155592 dwcopilot:31170013 stablechunks:31184530 ``` </details> <!-- generated by issue reporter -->
bug,opener
low
Critical
2,745,003,363
ui
[bug]: Popover Content not working within the use of Dialog Content
### Describe the bug 1) I have an issue where i have a link which has longer text and i needed to open them separately in dialog and showing them. 2) Now when i added Popover and all of its related components with className of (truncate) on PopoverTrigger such that when i click on that truncated line the Popover opens and i can select and copy the whole link from there but, now the issue is that i can't click on any content on the Popover Content. ![dialog and popover mixture issue](https://github.com/user-attachments/assets/507cdaf8-e130-4a8b-9768-56274b55d402) ### Affected component/components PopoverContent ### How to reproduce ``` <Dialog> <DialogTrigger>Some</DialogTrigger> <DialogContent> <Popover modal> <PopoverTrigger className="w-40 truncate hover:text-muted-foreground/90"> // Supposed to be link that is truncated lorem50 can be used for demo </PopoverTrigger> <PopoverContent align="start"> // Supposed to be the whole link lorem50 can be used for demo </PopoverContent> </Popover> </DialogContent> </Dialog> ``` ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash Google Chrome, Windows ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,745,020,936
deno
SSH SFTP "Signature verification failed"
Version: Deno 2.1.4 Hi, I'm using the `ssh2` npm package to connect to an sftp server. Very much like https://github.com/denoland/deno/issues/24118 but without the mention of a missing digest, I can't initiate the connection properly using this code : ```typescript import { Client } from "npm:ssh2@latest"; const conn = new Client(); conn.on("error", function (err: Error) { console.log("SSH - Connection Error: " + err); }); conn.on("ready", () => { console.log("Client :: ready"); conn.sftp((err: Error, sftp) => { if (err) throw err; sftp.readdir("export", (err: Error, list: string[]) => { if (err) throw err; console.dir(list); conn.end(); }); }); }).connect({ host: <host>, port: 22, username: <user>, password: <pwd>, algorithms: { kex: [ "diffie-hellman-group14-sha1", "diffie-hellman-group1-sha1", ] }, debug: console.log, }); ``` ``` Socket connected Remote ident: 'SSH-2.0-2.0' Outbound: Sending KEXINIT Inbound: Handshake in progress <handshake> Outbound: Sending KEXDH_INIT Received DH Reply Host accepted by default (no verification) Host accepted (verified) Outbound: Sending NEWKEYS Inbound: NEWKEYS Verifying signature ... Signature verification failed Outbound: Sending DISCONNECT (3) SSH - Connection Error: Error: Handshake failed: signature verification failed Socket ended Socket closed ``` When using nodejs: ``` Socket connected Remote ident: 'SSH-2.0-2.0' Outbound: Sending KEXINIT Inbound: Handshake in progress <handshake> Outbound: Sending KEXDH_INIT Received DH Reply Host accepted by default (no verification) Host accepted (verified) Outbound: Sending NEWKEYS Inbound: NEWKEYS Verifying signature ... Verified signature Handshake completed ``` The same is true using `npm:[email protected]`
bug,node compat
low
Critical
2,745,061,853
PowerToys
[Run] XamlParseException: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception
### Microsoft PowerToys version .0.87.0.0 ### Installation method GitHub ### Running as admin No ### Area(s) with issue? General ### Steps to reproduce Version: 0.87.0.0 OS Version: Microsoft Windows NT 10.0.26100.0 IntPtr Length: 8 x64: True Date: 17-Dec-24 9:13:25 AM Exception: System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception. ---> System.ArgumentException: Item has already been added. Key in dictionary: 'SystemColorWindowColorBrush' Key being added: 'SystemColorWindowColorBrush' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Windows.ResourceDictionary.SetKeys(IList`1 keyCollection, IServiceProvider serviceProvider) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value) --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverterCore(Stream stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter, Boolean isUnsafe) at MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStreamCore(Stream s, ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter, Boolean isUnsafe) at System.Windows.ResourceDictionary.set_Source(Uri value) at System.Windows.ThemeManager.GetThemeDictionary(ThemeMode themeMode) at System.Windows.ThemeManager.ApplyFluentOnWindow(Window window) at System.Windows.ThemeManager.OnWindowThemeChanged(Window window, ThemeMode oldThemeMode, ThemeMode newThemeMode) at System.Windows.Window.CreateSourceWindow(Boolean duringShow) at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ### ✔️ Expected Behavior Version: 0.87.0.0 OS Version: Microsoft Windows NT 10.0.26100.0 IntPtr Length: 8 x64: True Date: 17-Dec-24 9:13:25 AM Exception: System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception. ---> System.ArgumentException: Item has already been added. Key in dictionary: 'SystemColorWindowColorBrush' Key being added: 'SystemColorWindowColorBrush' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Windows.ResourceDictionary.SetKeys(IList`1 keyCollection, IServiceProvider serviceProvider) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value) --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverterCore(Stream stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter, Boolean isUnsafe) at MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStreamCore(Stream s, ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter, Boolean isUnsafe) at System.Windows.ResourceDictionary.set_Source(Uri value) at System.Windows.ThemeManager.GetThemeDictionary(ThemeMode themeMode) at System.Windows.ThemeManager.ApplyFluentOnWindow(Window window) at System.Windows.ThemeManager.OnWindowThemeChanged(Window window, ThemeMode oldThemeMode, ThemeMode newThemeMode) at System.Windows.Window.CreateSourceWindow(Boolean duringShow) at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ### ❌ Actual Behavior Version: 0.87.0.0 OS Version: Microsoft Windows NT 10.0.26100.0 IntPtr Length: 8 x64: True Date: 17-Dec-24 9:13:25 AM Exception: System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception. ---> System.ArgumentException: Item has already been added. Key in dictionary: 'SystemColorWindowColorBrush' Key being added: 'SystemColorWindowColorBrush' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Windows.ResourceDictionary.SetKeys(IList`1 keyCollection, IServiceProvider serviceProvider) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value) --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverterCore(Stream stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter, Boolean isUnsafe) at MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStreamCore(Stream s, ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter, Boolean isUnsafe) at System.Windows.ResourceDictionary.set_Source(Uri value) at System.Windows.ThemeManager.GetThemeDictionary(ThemeMode themeMode) at System.Windows.ThemeManager.ApplyFluentOnWindow(Window window) at System.Windows.ThemeManager.OnWindowThemeChanged(Window window, ThemeMode oldThemeMode, ThemeMode newThemeMode) at System.Windows.Window.CreateSourceWindow(Boolean duringShow) at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ### Other Software _No response_
Issue-Bug,Product-PowerToys Run,Resolution-Fix Committed,External Dependency,Priority-0,Severity-High
low
Major
2,745,066,306
vscode
cannot type the ` character
Type: <b>Bug</b> I'm on a mac using an italian keyboard and to type the \` character I have to use option + \\, this combo produce the \` character (and this combo, weirdly, works in this dialog). Suddendly, after one vscode update (two or three updates ago) it stopped working. I mainly use for markdown files. VS Code version: Code 1.96.0 (Universal) (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z) OS version: Darwin x64 21.6.0 Modes: <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)| |GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<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)|3, 3, 3| |Memory (System)|32.00GB (0.04GB free)| |Process Argv|--crash-reporter-id e5bb3d3a-f76f-47f2-993c-5b5587befe18| |Screen Reader|no| |VM|0%| </details><details><summary>Extensions (89)</summary> Extension|Author (truncated)|Version ---|---|--- vscode-generate-getter-setter|DSK|0.5.0 create-jsconfig|Tom|0.2.0 Bookmarks|ale|13.5.0 Handlebars|and|0.4.1 swagger-viewer|Arj|3.1.2 npm-intellisense|chr|1.4.5 path-intellisense|chr|2.10.0 vscode-svgviewer|css|2.0.0 dart-code|Dar|3.102.0 flutter|Dar|3.102.0 vscode-eslint|dba|3.0.10 confluence-markup|den|1.0.4 emulate|Die|1.6.0 githistory|don|0.6.20 xml|Dot|2.5.1 gitlens|eam|16.0.5 EditorConfig|Edi|0.16.4 prettier-vscode|esb|11.0.0 vscode-mysql|for|0.5.0 fs-flutter-snippets|fra|0.1.3 vscode-javac|geo|0.2.46 copilot|Git|1.252.0 copilot-chat|Git|0.23.1 go|gol|0.44.0 vscode-test-explorer|hbe|2.22.1 svgeditor|hen|2.9.0 jenkinsfile-support|ivo|1.1.0 elixir-ls|Jak|0.25.0 swift|Kas|0.2.0 dart|kev|0.1.0 restructuredtext|lex|190.4.5 vscode-python-test-adapter|lit|0.8.2 Kotlin|mat|1.7.1 dotenv|mik|1.0.1 file-downloader|min|1.0.13 ecdc|mit|1.8.0 prettify-json|moh|0.0.3 vscode-azureresourcegroups|ms-|0.9.9 vscode-docker|ms-|1.29.3 vscode-kubernetes-tools|ms-|1.3.18 debugpy|ms-|2024.14.0 isort|ms-|2023.10.1 python|ms-|2024.22.0 vscode-pylance|ms-|2024.12.1 jupyter|ms-|2024.11.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.21 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-containers|ms-|0.394.0 remote-ssh|ms-|0.116.1 remote-ssh-edit|ms-|0.87.0 azure-account|ms-|0.12.0 hexeditor|ms-|1.11.1 remote-explorer|ms-|0.4.3 remote-server|ms-|1.5.2 test-adapter-converter|ms-|0.2.1 debugger-for-ios-web|msj|0.1.2 vetur|oct|0.37.3 prisma|Pri|6.0.0 java|red|1.37.0 vscode-commons|red|0.0.6 vscode-microprofile|red|0.13.0 vscode-quarkus|red|1.20.0 vscode-yaml|red|1.15.0 nunjucks|ron|0.3.1 vscode-nginx|sha|0.6.0 ruby-lsp|Sho|0.8.16 velocity|sod|0.3.0 vscode-taskexplorer|spm|2.13.2 code-spell-checker|str|4.0.21 vcl|tho|0.1.2 python-extended-snippets|tus|0.0.1 sort-lines|Tyr|1.12.0 intellicode-api-usage-examples|Vis|0.2.9 vscodeintellicode|Vis|1.3.2 vscode-gradle|vsc|3.16.4 vscode-java-debug|vsc|0.58.1 vscode-java-dependency|vsc|0.24.1 vscode-java-pack|vsc|0.29.0 vscode-java-test|vsc|0.43.0 vscode-maven|vsc|0.44.0 vscode-icons|vsc|12.10.0 volar|Vue|2.1.10 vscode-todo-highlight|way|1.0.5 jinja|who|0.0.8 JavaScriptSnippets|xab|1.8.0 vscode-intelli-refactor|ypr|0.1.2 markdown-pdf|yza|1.5.0 </details><details> <summary>A/B Experiments</summary> ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythonnoceb:30805159 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 dvdeprecation:31068756 dwnewjupytercf:31046870 2f103344:31071589 nativerepl1:31139838 pythonrstrctxt:31112756 nativeloc2:31192216 cf971741:31144450 iacca1:31171482 notype1cf:31157160 5fd0e150:31155592 dwcopilot:31170013 stablechunks:31184530 6074i472:31201624 ``` </details> <!-- generated by issue reporter -->
info-needed
low
Critical
2,745,090,891
next.js
Server-actions redirect not HTTP RFC compliant
### Link to the code that reproduces this issue https://github.com/Netail/repro-server-action-redirect ### To Reproduce 1. Have a service in your infrastructure which checks if responses are HTTP compliant, (e.g. in a load balancer - in our case F5's load-balancer) 2. Create an app with a server-action 3. In the server-action perform a `redirect()` ### Current vs. Expected behavior A server action redirect returns with a 303, which is fine, but instead of a `location` header (according to the HTTP/303 spec), they send back a `x-action-redirect` header with the url. When you have something in your infrastructure which checks responses against the HTTP RFC, it will prevent the response from reaching the client. In our case F5's HTTP RFC non-compliance prevented server-action redirects from reaching the client, thus resulting in no-response back from the server-action. The thing is, we could whitelist the response if it contains the `x-action-redirect` header, but what if this naming changes? Then the will break again ### Provide environment information ```bash Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000 Available memory (MB): 32768 Available CPU cores: 10 Binaries: Node: 22.11.0 npm: 10.9.0 Yarn: 1.22.22 pnpm: 9.6.0 Relevant Packages: next: 14.2.18 // An outdated version detected (latest is 15.1.0), upgrade is highly recommended! eslint-config-next: N/A react: 18.3.1 react-dom: 18.3.1 typescript: 5.5.4 Next.js Config: output: standalone ``` ### Which area(s) are affected? (Select all that apply) Navigation, Upstream ### Which stage(s) are affected? (Select all that apply) Other (Deployed) ### Additional context Still the case for Next 15, if I check the codebase
Upstream,Navigation
low
Minor
2,745,100,855
tauri
[bug] MacOS - Codesigning and notarization issue when using ExternalBin
### Describe the bug We are in the process of distributing 2 different Tauri applications for multiple architecture, one is still on V1 while the other is V2. When building a release version for MacOS we're getting notarization errors the moment we add 1 or more sidecar's via the `externalBin` property. Both the applications successfully build and notarized when the `externalBin` property is removed from the configuration. I've tested this also with a clean project and a clean binary (prints hello world) where I also followed the steps defined in [https://v2.tauri.app/develop/sidecar/](https://v2.tauri.app/develop/sidecar/) and [https://v2.tauri.app/plugin/shell/](https://v2.tauri.app/plugin/shell/) ### Reproduction I've created a basic setup here [https://github.com/GillesPlatteeuw/tauri-sidecar-test/tree/main](https://github.com/GillesPlatteeuw/tauri-sidecar-test/tree/main) To reproduce the error i've created a tauri application with ``` yarn create tauri-app ``` The frontend framework does not really matter in this case I've created the test binary via rust `cargo new test_binary` and created a release executable via `cargo build --release`. I've copied over the binary to the `binaries` folder and renamed it with the correct target triple appended. I then followed the documentation to add a sidecar binary. [https://v2.tauri.app/develop/sidecar/](https://v2.tauri.app/develop/sidecar/) and [https://v2.tauri.app/plugin/shell/](https://v2.tauri.app/plugin/shell/) Then make sure you've updated the `tauri.conf.json` with the MacOS specific configuration for signing and notarization, i've redacted our signing identity with *** in the example below ( tauri.conf.json > bundle > macOS) ``` "macOS": { "signingIdentity": "***", "hardenedRuntime": true, "minimumSystemVersion": "10.13" } ``` Finally you can run `yarn tauri build -- --verbose` to build, codesign, notarize and bundle. ### Expected behavior Have a valid codesigned and notarized bundled application (DMG) ### Full `tauri info` output ```text $ tauri info [✔] Environment - OS: Mac OS 15.0.1 arm64 (X64) ✔ Xcode Command Line Tools: installed ✔ rustc: 1.82.0 (f6e511eec 2024-10-15) ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: stable-aarch64-apple-darwin (default) - node: 23.3.0 - yarn: 1.22.22 - npm: 10.9.0 [-] Packages - tauri 🦀: 2.1.1 - tauri-build 🦀: 2.0.3 - wry 🦀: 0.47.2 - tao 🦀: 0.30.8 - tauri-cli 🦀: 1.5.11 - @tauri-apps/api : 2.1.1 - @tauri-apps/cli : 2.1.0 [-] Plugins - tauri-plugin-shell 🦀: 2.2.0 - @tauri-apps/plugin-shell : 2.2.0 [-] App - build-type: bundle - CSP: unset - frontendDist: ../dist - devUrl: http://localhost:1420/ - framework: SolidJS - bundler: Vite ``` ``` ### Stack trace ```text The error we're getting on all of our projects is the following (I've stripped our developer identity with *) $ tauri build --verbose Debug [ignore::gitignore] opened gitignore file: /var/folders/nj/wss671w55fqg4q7_81y1rj0m0000gn/T/.gitignore Debug [globset] built glob set; 0 literals, 2 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes Debug [ignore::gitignore] opened gitignore file: /Users/gilles/_git/binary-app/.gitignore Debug [globset] built glob set; 0 literals, 2 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes Debug [ignore::walk] ignoring /Users/gilles/_git/binary-app/.DS_Store: Ignore(IgnoreMatch(Hidden)) Debug [ignore::walk] ignoring /Users/gilles/_git/binary-app/node_modules: Ignore(IgnoreMatch(Gitignore(Glob { from: Some("/Users/gilles/_git/binary-app/.gitignore"), original: "node_modules", actual: "**/node_modules", is_whitelist: false, is_only_dir: false }))) Debug [ignore::walk] ignoring /Users/gilles/_git/binary-app/.gitignore: Ignore(IgnoreMatch(Hidden)) Debug [ignore::gitignore] opened gitignore file: /Users/gilles/_git/binary-app/src-tauri/.gitignore Debug [globset] built glob set; 2 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes Running [tauri_cli::helpers] beforeBuildCommand `yarn build` Debug [tauri_cli::helpers] Setting environment for hook {"TAURI_ENV_PLATFORM_VERSION": "15.0.1", "TAURI_ENV_FAMILY": "unix", "TAURI_ENV_PLATFORM": "darwin", "TAURI_ENV_ARCH": "aarch64", "TAURI_ENV_TARGET_TRIPLE": "aarch64-apple-darwin"} Running [tauri_cli] Command `sh -c yarn build` $ vite build vite v6.0.3 building for production... ✓ 10 modules transformed. dist/index.html 0.60 kB │ gzip: 0.36 kB dist/assets/logo-BKhbptE1.svg 1.60 kB │ gzip: 0.55 kB dist/assets/index-BuP8cbzy.css 1.37 kB │ gzip: 0.65 kB dist/assets/index-jMxP8T_C.js 8.39 kB │ gzip: 3.53 kB ✓ built in 110ms Running [tauri_cli] Command `cargo build --bins --features tauri/custom-protocol,tauri/native-tls --release` ... .... (Rust compilation output) ... Finished `release` profile [optimized] target(s) in 33.36s Built [tauri_cli::build] application at: /Users/gilles/_git/binary-app/src-tauri/target/release/binary-app Bundling [tauri_bundler::bundle::macos::app] binary-app.app (/Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app) Running [tauri_bundler::bundle::common] Command `xattr -crs /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app` Signing [tauri_bundler::bundle::macos::sign] with identity "*****************************" Signing with identity "*****************************" Signing /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app/Contents/MacOS/test_binary Running [tauri_macos_sign] Command `codesign --force -s ***************************** --options runtime /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app/Contents/MacOS/test_binary` /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app/Contents/MacOS/test_binary: replacing existing signature Signing with identity "*****************************" Signing /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app/Contents/MacOS/binary-app Running [tauri_macos_sign] Command `codesign --force -s ***************************** --options runtime /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app/Contents/MacOS/binary-app` /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app/Contents/MacOS/binary-app: replacing existing signature Signing with identity "*****************************" Signing /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app Running [tauri_macos_sign] Command `codesign --force -s ***************************** --options runtime /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app` /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app: replacing existing signature Running [tauri_macos_sign] Command `ditto -c -k --keepParent --sequesterRsrc /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app /var/folders/nj/wss671w55fqg4q7_81y1rj0m0000gn/T/.tmpPPynUE/binary-app.zip` Signing with identity "*****************************" Signing /var/folders/nj/wss671w55fqg4q7_81y1rj0m0000gn/T/.tmpPPynUE/binary-app.zip Running [tauri_macos_sign] Command `codesign --force -s ***************************** /var/folders/nj/wss671w55fqg4q7_81y1rj0m0000gn/T/.tmpPPynUE/binary-app.zip` Notarizing /Users/gilles/_git/binary-app/src-tauri/target/release/bundle/macos/binary-app.app failed to bundle project: Finished with status Invalid for id f96d2728-295a-4fce-b17c-95bd52de9d00 (Processing complete) Log: { "logFormatVersion": 1, "jobId": "f96d2728-295a-4fce-b17c-95bd52de9d00", "status": "Invalid", "statusSummary": "Archive contains critical validation errors", "statusCode": 4000, "archiveFilename": "binary-app.zip", "uploadDate": "2024-12-17T13:02:50.901Z", "sha256": "b0c2ce73a9a49ad35bdf7d2cf3e315727b43eda9128006bee39ccad481b2ecf6", "ticketContents": null, "issues": [ { "severity": "error", "code": null, "path": "binary-app.zip/binary-app.app/Contents/MacOS/binary-app", "message": "The signature of the binary is invalid.", "docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087735", "architecture": "arm64" } ] } Error [tauri_cli_node] failed to bundle project: Finished with status Invalid for id f96d2728-295a-4fce-b17c-95bd52de9d00 (Processing complete) Log: { "logFormatVersion": 1, "jobId": "f96d2728-295a-4fce-b17c-95bd52de9d00", "status": "Invalid", "statusSummary": "Archive contains critical validation errors", "statusCode": 4000, "archiveFilename": "binary-app.zip", "uploadDate": "2024-12-17T13:02:50.901Z", "sha256": "b0c2ce73a9a49ad35bdf7d2cf3e315727b43eda9128006bee39ccad481b2ecf6", "ticketContents": null, "issues": [ { "severity": "error", "code": null, "path": "binary-app.zip/binary-app.app/Contents/MacOS/binary-app", "message": "The signature of the binary is invalid.", "docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087735", "architecture": "arm64" } ] } ``` ``` ### Additional context Windows code signing works without any trouble.
type: bug,status: needs triage
low
Critical
2,745,161,231
flutter
Flutter 3.27.1 with Impeller enabled not running on VanillaIceCream preview image Android Emulator.
### Steps to reproduce 1. Download latest Android Studio 2. Download latest Android SDK and Emulator 3. Create new Flutter project 4. Upgrade Gradle plugin to 8.7.3 using Android Studio assistant 5. Run the project ### Expected results The project runs and the app is shown on the emulator ### Actual results The project runs but the app is stuck in the splash screen. ### Code sample Any new project. ### Screenshots or Video _No response_ ### Logs <details open><summary>Logs</summary> ```console ✓ Built build/app/outputs/flutter-apk/app-debug.apk Installing build/app/outputs/flutter-apk/app-debug.apk... I/flutter (16651): [IMPORTANT:flutter/shell/platform/android/android_context_vk_impeller.cc(60)] Using the Impeller rendering backend (Vulkan). ``` Android Logcat: ```console 2024-12-17 11:57:54.353 16651-16651 platform com.example.prueba E Failed to open rendernode: No such file or directory ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.1, on macOS 15.2 24C101 darwin-arm64, locale es-419) • Flutter version 3.27.1 on channel stable at /Users/rubenlopez/fvm/versions/3.27.1 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 17025dd882 (20 hours ago), 2024-12-17 03:23:09 +0900 • Engine revision cb4b5fff73 • Dart version 3.6.0 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc3) • Android SDK at /Users/rubenlopez/Library/Android/sdk • Platform android-35, build-tools 35.0.0-rc3 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.16.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11) [✓] Android Studio (version 2023.3) • Android Studio at /Users/rubenlopez/Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160) [✓] IntelliJ IDEA Ultimate Edition (version 2024.3.1) • IntelliJ at /Users/rubenlopez/Applications/IntelliJ IDEA Ultimate.app • Flutter plugin version 83.0.4 • Dart plugin version 243.23177 [✓] VS Code (version 1.95.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.100.0 [✓] Connected device (6 available) • SM A035M (mobile) • R9HT905W5TL • android-arm64 • Android 13 (API 33) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator) • iPhone de Ruben (mobile) • 00008110-000E6D5E36F8401E • ios • iOS 18.2 22C152 • macOS (desktop) • macos • darwin-arm64 • macOS 15.2 24C101 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.2 24C101 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.140 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
P3,e: impeller,team-engine,triaged-engine
medium
Critical
2,745,181,846
TypeScript
Add Error.isError() to ESNext lib
### ⚙ Compilation target ESNext ### ⚙ Library ESNext ### Missing / Incorrect Definition ```ts interface ErrorConstructor { /** * Indicates whether the argument provided is a built-in Error instance or not. */ isError(error: unknown): error is Error; } ``` ### Sample Code ```TypeScript try { // ... } catch (e) { if (Error.isError(e)) { // ... } } ``` ### Documentation Link See https://github.com/tc39/proposal-is-error
Bug,Help Wanted,Domain: lib.d.ts
low
Critical
2,745,220,271
tauri
[bug] RPM installer places resources in wrong path
### Describe the bug DEB and MSI correctly place resources in the system, but RPM does not. It seems that the configuration (`bundle` -> `resources`) for generating RPM is used incorrectly. Before running the build command, I place my resources next to `tauri.conf.json` in the `res` folder. My config: ```json "resources": { "res/resources/first.db": "resources/first.db", "res/resources/second.bin": "resources/second.bin", "res/resources/third.db": "resources/third.db", "res/resources/fourth.db": "resources/fourth.db" }, ``` I want the installer to place my resources in the same way that almost all installers do: - `<res-base>/resources/first.db` - `<res-base>/resources/second.bin` - `<res-base>/resources/third.db` - `<res-base>/resources/fourth.db` But RPM does like that: - `<res-base>/res/resources/first.db` - `<res-base>/res/resources/second.bin` - `<res-base>/res/resources/third.db` - `<res-base>/res/resources/fourth.db` After installing such RPM I get a non-working application. As a bonus here we see that the resource directories differ even without installing: ![image](https://github.com/user-attachments/assets/850f7273-71eb-4aa0-9181-f92055261625) ### Reproduction 1. Clone repo https://github.com/livwvil/tauri2-rpm-build-problem 2. Switch to the `resources-problem` branch 3. Use `build:image` and `build:container` commands to produce bundles ### Expected behavior _No response_ ### Full `tauri info` output ```text All correct ``` ### Stack trace _No response_ ### Additional context _No response_
type: bug,good first issue,platform: Linux,scope: bundler,status: needs triage
low
Critical
2,745,226,048
flutter
Slow Vulkan performance on API 35 Android Emulator images.
### Steps to reproduce Create the demo app with : ``` flutter create my_app flutter run ``` ### Expected results Demo app and no logs ### Actual results Logs are filled with `exportSyncFdForQSRILocked `when pressing "+" button. ### Code sample ``` import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( // This is the theme of your application. // // TRY THIS: Try running your application with "flutter run". You'll see // the application has a purple toolbar. Then, without quitting the app, // try changing the seedColor in the colorScheme below to Colors.green // and then invoke "hot reload" (save your changes or press the "hot // reload" button in a Flutter-supported IDE, or press "r" if you used // the command line to start the app). // // Notice that the counter didn't reset back to zero; the application // state is not lost during the reload. To reset the state, use hot // restart instead. // // This works for code too, not just values: Most code changes can be // tested with just a hot reload. colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), home: const MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({super.key, required this.title}); // This widget is the home page of your application. It is stateful, meaning // that it has a State object (defined below) that contains fields that affect // how it looks. // This class is the configuration for the state. It holds the values (in this // case the title) provided by the parent (in this case the App widget) and // used by the build method of the State. Fields in a Widget subclass are // always marked "final". final String title; @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { int _counter = 0; void _incrementCounter() { setState(() { // This call to setState tells the Flutter framework that something has // changed in this State, which causes it to rerun the build method below // so that the display can reflect the updated values. If we changed // _counter without calling setState(), then the build method would not be // called again, and so nothing would appear to happen. _counter++; }); } @override Widget build(BuildContext context) { // This method is rerun every time setState is called, for instance as done // by the _incrementCounter method above. // // The Flutter framework has been optimized to make rerunning build methods // fast, so that you can just rebuild anything that needs updating rather // than having to individually change instances of widgets. return Scaffold( appBar: AppBar( // TRY THIS: Try changing the color here to a specific color (to // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar // change color while the other colors stay the same. backgroundColor: Theme.of(context).colorScheme.inversePrimary, // Here we take the value from the MyHomePage object that was created by // the App.build method, and use it to set our appbar title. title: Text(widget.title), ), body: Center( // Center is a layout widget. It takes a single child and positions it // in the middle of the parent. child: Column( // Column is also a layout widget. It takes a list of children and // arranges them vertically. By default, it sizes itself to fit its // children horizontally, and tries to be as tall as its parent. // // Column has various properties to control how it sizes itself and // how it positions its children. Here we use mainAxisAlignment to // center the children vertically; the main axis here is the vertical // axis because Columns are vertical (the cross axis would be // horizontal). // // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint" // action in the IDE, or press "p" in the console), to see the // wireframe for each widget. mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ const Text( 'You have pushed the button this many times:', ), Text( '$_counter', style: Theme.of(context).textTheme.headlineMedium, ), ], ), ), floatingActionButton: FloatingActionButton( onPressed: _incrementCounter, tooltip: 'Increment', child: const Icon(Icons.add), ), // This trailing comma makes auto-formatting nicer for build methods. ); } } ``` ### Screenshots or Video ![Capture d'écran 2024-12-17 162128](https://github.com/user-attachments/assets/a96b6eab-32d4-45a4-9ee7-202e95a44c1f) ### Logs _No response_ ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.1, on Microsoft Windows [version 10.0.22631.4602], locale fr-FR) • Flutter version 3.27.1 on channel stable at C:\Users\anthony\dev\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 17025dd882 (21 hours ago), 2024-12-17 03:23:09 +0900 • Engine revision cb4b5fff73 • Dart version 3.6.0 • DevTools version 2.40.2 [✓] Windows Version (Installed version of Windows is version 10 or higher) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at C:\Users\bob\AppData\Local\Android\sdk • Platform android-35, build-tools 35.0.0 • Java binary at: D:\Program Files\Java\jdk-17\bin\java • Java version Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [✓] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.12.0) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools • Visual Studio Build Tools 2022 version 17.12.35506.116 • Windows 10 SDK version 10.0.22621.0 [✓] Android Studio (version 2024.2) • Android Studio at D:\Program Files\Android\Android Studio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11) [✓] VS Code (version 1.96.0) • VS Code at C:\Users\bob\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.102.0 [✓] Connected device (4 available) • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 15 (API 35) (emulator) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [version 10.0.22631.4602] • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.140 • Edge (web) • edge • web-javascript • Microsoft Edge 131.0.2903.70 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
P3,e: impeller,team-engine,triaged-engine
medium
Critical
2,745,277,192
rust
rustdoc: Quick way to collapse all impl blocks
The primary motivation of #130612 was to provide an easy way to overview the different kinds of impls on a type. #132155 fulfills the layout aspect of the motivation, but there is no way (to my knowledge) to quickly collapse all impl blocks with one click. The user has to manually click collapse on each one. There should be a quick and convenient way to collapse (and expand) all the impl blocks to make it convenient to overview them. The question is what would be the best way. Here are some possibilities: 1. Change the behavior of the summary button to also collapse impl blocks. Would this be desirable or annoying for users? 2. Add another button. Would it clutter the UI too much? 3. Add an alternate way to use the summary button. For example a shift+click could also collapse/expand impl blocks. A hover tooltip on the button could inform the user about this alternate usage.
C-enhancement,A-rustdoc-ui,T-rustdoc-frontend
low
Minor
2,745,306,957
vscode
Show code actions for the problems even when the file is not open
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.96.0 - OS Version: Windows 11 Pro Steps to Reproduce: 1. Add a file with a "problem" and some server fixes 2. Close that file 3. Restart the cache for the server (close vscode and reopen) 4. You can now have any _other_ file opened here. If you try to right-click the problems it'll only show "Copy" options 5. As soon as you open the file you can right-click on the "problem" and you'll see the list of fixes from the server 6. Now you can close it and whatever (maybe cache or something?) that list will always show https://github.com/user-attachments/assets/1b28b600-c09d-40a9-bc32-f4376916a745 I've asked @DanTup (the maintainer of the Dart-Code extension - for Dart) and he said there are no requests to the server until you open that file. Is this intended behaviour or a bug?
feature-request,error-list
low
Critical
2,745,352,459
godot
Android: Export: Godot Blue Background apear on exported apk.
### Tested versions Godot 4.3, 4.4+ ### System information Android 14 - Compatibility Renderer ### Issue description In first splash screen (screen that apear before main splash screen) background color is blue. expecting it black or any way to customize the color. Sometimes it doesn't match with game theme Video: https://github.com/user-attachments/assets/44f0d2bf-fc64-4d36-89b1-f1345c21df88 Screenshot: ![Image](https://github.com/user-attachments/assets/b54f1673-8911-4160-9f70-960ca1b16d5d) ### Steps to reproduce Exported game to apk ### Minimal reproduction project (MRP) Example App: https://play.google.com/store/apps/details?id=com.mw_games.play2race
enhancement,platform:android,documentation,topic:export
low
Major
2,745,364,179
vscode
"Undo" history lost after "Save as".
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> Version: 1.94.2 (user setup) Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427 Date: 2024-10-09T16:08:44.566Z Electron: 30.5.1 ElectronBuildId: 10262041 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.26100 I opened a 180MB csv file intending to cut it down to a few lines to produce a smaller sample from it. Then instead of "save as" i pressed ctrl+s by habit and overwrote the full file. But that shouldn't have been fatal - undo should have been available to return the editing buffer to before cutting out the extra lines. Unfortunately, it wasn't - undo/redo just switched between an entirely blank file (even tho the file never was blank) and the end state after several edits, no in-between state.
bug,undo-redo
low
Critical
2,745,393,905
react-native
[New Arch] RTL to LTR of vise versa Layout Direction Change Requires App Termination to Apply
# Description When toggling RTL layout direction dynamically using I18nManager.forceRTL(true) or switching between languages in the system settings, the Yoga layout engine does not immediately apply the updated layout direction. Even with a forced app restart (e.g., via RNRestart), the changes are not respected. A complete termination and relaunch of the app is required for the changes to take effect. This creates significant friction for users and developers aiming to support dynamic language and layout changes for right-to-left (RTL) languages. # Report - [x] I have searched [existing issues](https://github.com/facebook/yoga/issues) and this is not a duplicate # Issues and Steps to Reproduce Toggle RTL programmatically: ```js I18nManager.forceRTL(true); I18nManager.allowRTL(true); RNRestart.Restart(); ``` Alternatively, change the device language to an RTL language (e.g., Arabic ) in the app settings. ( assuming you added such functionality ) Observe that the layout direction does not change immediately. Terminate the app completely and relaunch it manually. Only then does the layout respect the RTL direction. # Expected Behavior the layout direction should change. # Actual Behavior the layout direction does not change. [related react-native Issue ](https://github.com/facebook/react-native/issues/45661)
Needs: Repro,Needs: Attention
low
Major
2,745,418,842
TypeScript
`as enum` assertion for object literals
### 🔍 Search Terms enum, object literal, type-stripping ### ✅ 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 ### Context While TypeScript already allows declaring runtime enums values: ```ts export enum Compass { N = "N", S = "S", E = "E", W = "W", } ``` This is not standard JavaScript, and does not work in Node.js unless [`--experimental-transform-types`](https://nodejs.org/api/cli.html#--experimental-transform-types) is passed. An alternative "pure JS" pattern from the TypeScript handbook is: ```ts export const Compass = { N: "N", S: "S", E: "E", W: "W", } as const; export type Compass = typeof Compass[keyof typeof Compass]; ``` https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums There are two downsides to this pattern: - `typeof X[keyof typeof X]` is both verbose and not beginner friendly. - The type aliases are not nominal, they are a _plain_ union type. ### ⭐ Suggestion Introduce some new syntax to TypeScript to help with the object-literal-as-enum pattern. For example would be allowing `as enum`: ```ts export const Compass = { N: "N", S: "S", E: "E", W: "W", } as enum; ``` (from #59658) An alternative design could be allowing an `enum` type annotation on `const` variable declarations `export const Compass: enum = {...}`. This annotation would effectively be the same as writing: ```ts /** secret internal type - here to get nominal typing */ declare const enum __Compass__ { N = "N", S = "S", E = "E", W = "W", } export const Compass = { N: "N" as __Compass__.N, S: "S" as __Compass__.S, E: "E" as __Compass__.E, W: "W" as __Compass__.W, } as const; export type Compass = __Compass__; ``` ### Rules The `enum` annotation would only be permitted for object literals that are - in a declarative position - have compile-time constant key+values - all values are either strings, numbers, or references to constant strings/numbers. i.e. the object literal would follow very similar rules that are applied to `const enum C {}` syntax ```ts // @ts-expect-error foo({ a: "a" } as enum); class C { // @ts-expect-error f: enum = {} } const o = { // @ts-expect-error p: Math.random() } as enum; ``` ### Benefits - The standard JS of an object lieral with the type-checking of an `enum` - An explicit marker for tools such as linters to provide extra checks (e.g. enum naming conventions) ### Downsides While this object literal as enum pattern is popular in codebases that avoid non-standard runtime syntax it does not have all the features available with `enum` syntax such as self-reference during construction. `__proto__: null` is currently not supported #38385 making it difficult to avoid object literals from inheriting non-enum properties resulting in false positives with `key in MyEnum`. ### 📃 Motivating Example ```ts export const Compass = { N: "N", S: "S", E: "E", W: "W", } as enum; Object.freeze(Compass); export function reverse(c: Compass): Compass { if (c === Compass.N) return Compass.S; if (c === Compass.S) return Compass.N; if (c === Compass.E) return Compass.W; if (c === Compass.W) return Compass.E; throw new Error("unreachable code was run"); } ``` The above module will work out-of-the-box in Node.js (assuming https://github.com/nodejs/typescript/issues/17). ### 💻 Use Cases 1. What do you want to use this for? Creating an enum like value using standard Object literal syntax with some of the type system benefits that `enum` syntax has. 2. What shortcomings exist with current approaches? - `typeof Foo[keyof typeof Foo]` is not beginner friendly and is not a nominal type 3. What workarounds are you using in the meantime? One workaround is to have a small utility for emulating an enum like nominal type from an object literal ([playground](https://www.typescriptlang.org/play/?ts=5.7.2#code/FAEwpgxgNghgTmABBA9gOwM4BdEFE0CuAtgMoCeRAXIgWgJYCOBSGFARilANzBZkAOSfMQBicFEQA8AFURgAHljBoQGRAG8AvgD5EAXkSyFSlWvWIA2v3H9q2OHTQBzALrVHAMzBw8iTYgB+X2o0MAA3bx5gD1oILDp0PEIpVEwcI0VlVUQAJUgUOBBJe0cnABpEEudEAB9EZLZvbW0ACgxBCGppAEpqcwQYEHQoMksAa0RHRDGwMhQPQzdDCzGXRAAyDUthUgolmbmF6X9-dWBEC8QELAI4NEqOxBg1GDQyHk1gYAV+ApxU7CIADCEn4zzUBh2LTOFwActQAESwhEVEiIkgovCI3CYgDqiNxCOAmm6PB+f0QfEEwNB4P0SVE4ikVLA8xpRDBGAw2h4QA)). The `"literal" & { __key__: val }` trick _works_ but results in _noisey_ types when displayed to the developer (e.g. in an error message)
Suggestion,Awaiting More Feedback
low
Critical
2,745,425,973
PowerToys
[Registry Preview] Allow the "Open Key" button to open a new Registry Editor window for each key
### Description of the new feature / enhancement Selecting a key in the upper right pane and then clicking the "Open Key" button should be able to open a new Registry Editor window for each key. ### Scenario when this would be used? The user would be able to view multiple registry keys, each in its own window. ### Supporting information According to [this answer](https://superuser.com/a/1655754) on Super User, the `/m` command line argument will allow multiple instances of Registry Editor to be open at a time.
Idea-Enhancement,Needs-Triage,Product-Registry Preview
low
Minor
2,745,465,831
create-react-app
Dependency update required: cross-spawn
### **Description:** Versions of the package cross-spawn before 7.0.5 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper input sanitization. An attacker can increase the CPU usage and crash the program by crafting a very large and well crafted string. ### **Debug Logs:** npm list cross-spawn |─ [email protected] │ └─ cross-spawn@npm:7.0.3
needs triage,issue: bug report
low
Critical
2,745,469,708
flutter
Regression in bench_material3_semantics.skwasm_st.Semantics.GetFragment.average
https://flutter-flutter-perf.skia.org/e/?keys=X536476b25af6aaa0074a2f262f6290ba&selected=commit%3D43729%26name%3D%252Carch%253Dintel%252Cbranch%253Dmaster%252Cconfig%253Ddefault%252Cdevice_type%253Dnone%252Cdevice_version%253Dnone%252Chost_type%253Dlinux%252Csub_result%253Dbench_material3_semantics.skwasm_st.Semantics.GetFragment.average%252Ctest%253Dweb_benchmarks_skwasm_st%252C&xbaroffset=43729 Happened on dart/skia roll.
c: regression,P1,team-web,triaged-web
medium
Minor
2,745,558,501
rust
Possible nightly rustdoc doc generation time / size regression
<!-- 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 published my crate to crates.io, but I found the server does not generate documentation properly. My crate is cryptocol and its link is https://docs.rs/cryptocol/0.8.5/cryptocol/. However, the webpage https://docs.rs/cryptocol/0.8.5/cryptocol/number/big_uint/struct.BigUInt.html#struct.BigUInt is failed to be generated. At the site, https://github.com/rust-lang/docs.rs/issues/2676 , it is recommended to toss the issue here because it is considered that the reason is related to that fact that `cargo +nightly docs` does not work properly. I tried this code: ```bash cargo +nightly docs ``` I expected to see this happen: All the webpages will be generated properly. Especially, /home/youngho/shared/rust-target/doc/cryptocol/number/big_uint/struct.BigUInt.html should be properly generated. So, for offline test, when I execute `cargo +nightly docs`, it should generate all the webpages fine as executing `cargo doc`. Instead, this happened: For offline test, when I execute `cargo +nightly docs`, it keeps running but never ends. It looks that the cargo falls into infinite loop. However, when I execute `cargo doc`, it generated all the webpages fine. ### 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`: ``` cargo 1.83.0 (5ffbef321 2024-10-29) rustc 1.83.0 (90b35a623 2024-11-26) rustdoc 1.83.0 (90b35a623 2024-11-26) $ rustc --version --verbose rustc 1.83.0 (90b35a623 2024-11-26) binary: rustc commit-hash: 90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf commit-date: 2024-11-26 host: x86_64-unknown-linux-gnu release: 1.83.0 LLVM version: 19.1.1 ``` I feel it strange about why it takes so irrationally long and generates irrationally big size of file. (Somebody said that if you wait for an hour, it generates 60 MB-sized struct.BigUInt.html, but I haven't wait for that long time.) BigUInt.rs of version 0.8.4 is 2.9 MB in size while BigUInt.rs of version 0.8.5 is 4.0 MB. The change (1.1 MB) in size makes huge difference. There must be a size threshold that cargo cannot deal with files. <!-- Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your environment. E.g. `RUST_BACKTRACE=1 cargo build`. --> <details><summary>backtrace</summary> <p> ``` ``` </p> </details>
T-rustdoc,C-bug,E-needs-bisection,E-needs-mcve
medium
Critical
2,745,562,627
puppeteer
"[extensions.spec] extensions can evaluate in the service worker" is failing on Windows
The test is new after migrating the test extension from MV2 to MV3. For some reason it fails consistently on Windows.
bug,confirmed,P3
low
Minor
2,745,589,789
go
crypto/cipher: TestFIPSServiceIndicator failures [consistent failure]
``` #!watchflakes default <- pkg == "crypto/cipher" && test == "TestFIPSServiceIndicator" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8728285308007724929)): === RUN TestFIPSServiceIndicator gcm_test.go:769: expected service indicator true for 000000000000000000000000 gcm_test.go:770: expected service indicator true for 000000000000000000000001 gcm_test.go:771: expected service indicator true for 000000000000000000000064 gcm_test.go:772: expected service indicator true for 000000000000000000000100 gcm_test.go:773: expected service indicator true for 000000000000000000010000 gcm_test.go:774: expected service indicator true for 000000000000000001000000 gcm_test.go:775: expected service indicator true for 000000000000000100000000 gcm_test.go:776: expected service indicator true for 000000000000010000000000 gcm_test.go:777: expected service indicator true for 000000000001000000000000 gcm_test.go:778: expected service indicator true for 000000000100000000000000 gcm_test.go:783: expected service indicator true for 000000000000000000000001 gcm_test.go:788: expected service indicator true for 0102030405060708090a0b0c gcm_test.go:789: expected service indicator true for 0102030405060708090a0b0d gcm_test.go:794: expected service indicator true for 01020304ffffffffffffff00 gcm_test.go:795: expected service indicator true for 01020304ffffffffffffffff gcm_test.go:797: expected service indicator true for 010203040000000000000000 gcm_test.go:798: expected service indicator true for 01020304fffffffffffffefe gcm_test.go:803: expected service indicator true for 01020304ffffffffffffffff --- FAIL: TestFIPSServiceIndicator (0.00s) — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation
low
Critical
2,745,589,888
go
cmd/cgo/internal/testsanitizers: TestMSAN/msan_fail failures
``` #!watchflakes default <- pkg == "cmd/cgo/internal/testsanitizers" && test == "TestMSAN/msan_fail" ``` Issue created automatically to collect these failures. Example ([log](https://ci.chromium.org/b/8728289129408827713)): === RUN TestMSAN/msan_fail === PAUSE TestMSAN/msan_fail === CONT TestMSAN/msan_fail — [watchflakes](https://go.dev/wiki/Watchflakes)
NeedsInvestigation
low
Critical
2,745,624,094
godot
PWA does not work offline (bugfix found)
### Tested versions v4.3.stable.official [77dcf97d8] ### System information Godot v4.3.stable - Windows 10 - Compatibility ### Issue description An exported PWA application does not work offline. The Issues was identified as a typo in the exported project_name.service.worker.js file where the service worker does not cache itself duo to a typo. In the project_name.service.worker.js file under `const CACHED_FILES =` the same file is misspelled as project_name.worker.js (the .service is missing from the filename. this causes the service worker not to cache itself and make offline PWA impossible). ### Steps to reproduce 1. create a new project "project_name" 2. Create a new UI scene displaying a label "Hello World". Center it 3. Set up the Export template for web and enabled the PWA option and exported it to a folder called export (export project not export pck). 4. Set the Offline Page option in the export template to the .html file of the application (not the .offline.html file) 5. Delete the old export and do a new export 6. MANUAL BUGFIX: (do to fix current bug) in the project_name.service.worker.js file under `const CACHED_FILES =` the same file is misspelled as project_name.worker.js (the .service is missing from the filename. this causes the service worker not to cache itself and make offline PWA impossible) 7. now serve the exported PWA by opening the export folder with cmd and use `python -m http.server` (python needs to be installed for this to work) 8. Go to localhost:8000 and open the project_name.html file. you see the hello world app 9. Install the PWA from the browser bar and stick to taskbar (this does not work in firefox to my knowledge. I tested it with edge and brave working) 10. Close the locally installed PWA 11. Shut down the python webserver with Ctrl + C 12. reopen the local PWA (this only works if you did step 6 and changed project_name.worker.js to project_name.service.worker.js otherwise you will get a site not reachable error) TL;DT: the exported project_name.service.worker.js has a typo in the line `const CACHED_FILES = ...` where the `.service` is missing in the project_name.service.worker.js -> adding it manually fixes the offline functionality ### Minimal reproduction project (MRP) [MRP with fixed service worker.zip](https://github.com/user-attachments/files/18169418/MRP.with.fixed.service.worker.zip)
bug,platform:web,topic:export
low
Critical
2,745,644,193
godot
Blank window with empty title when running empty project with export template and custom command line arguments
### Tested versions Reproducible v4.3 ### System information Godot Engine v4.3.stable.gentoo.77dcf97d8 - https://godotengine.org Vulkan 1.3.277 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 2060 SUPER ### Issue description The editor (`godot -e`) opens a blank window title "broken" ### Steps to reproduce Open the godot editor, with any --video-driver settings ### Minimal reproduction project (MRP) empty project ***** Update: https://github.com/godotengine/godot/issues/100519#issuecomment-2549548410
bug,topic:core
medium
Critical
2,745,761,977
PowerToys
mouse without borders no longer connects to the other pc
### Microsoft PowerToys version 0.87.0 ### Installation method PowerToys auto-update ### Running as admin Yes ### Area(s) with issue? Mouse Without Borders ### Steps to reproduce mouse without borders no longer connects to the other pc. happens siince last 2 updates. in the admin panel on device layout both devices cycle through the connection process (as indicated by yellow , orange and blue borders on the pc icons) continuously and never complete a connection. On pc is windows 10 the other is the latest version of windows 11. ### ✔️ Expected Behavior mouse without borders no longer connects to the other pc. happens siince last 2 updates. in the admin panel on device layout both devices cycle through the connection process (as indicated by yellow , orange and blue borders on the pc icons) continuously and never complete a connection. On pc is windows 10 the other is the latest version of windows 11. ### ❌ Actual Behavior mouse without borders no longer connects to the other pc. happens siince last 2 updates. in the admin panel on device layout both devices cycle through the connection process (as indicated by yellow , orange and blue borders on the pc icons) continuously and never complete a connection. On pc is windows 10 the other is the latest version of windows 11. ### Other Software _No response_
Issue-Bug,Needs-Triage,Product-Mouse Without Borders
low
Minor
2,745,803,785
angular
Hydration resiliency: Detect patterns that cause performance regressions with hydration
### Which @angular/* package(s) are the source of the bug? core, compiler ### Is this a regression? No ### Description Hydration fully supports using `isPlatformBrowser()` inside control flow, and this will not break hydration. However it does have a negative impact on user experience. Doing this will result in a brief display of the server rendered content, followed by a re-render and update of the other branch of the control flow. We should be able to detect these types of cases with something like a template diagnostic that will warn users of this and provide better guidance / links to the documentation. ### Please provide a link to a minimal reproduction of the bug _No response_ ### Please provide the exception or error you saw ```true ``` ### Please provide the environment you discovered this bug in (run `ng version`) ```true ``` ### Anything else? _No response_
area: core,core: hydration
low
Critical
2,745,815,313
angular
Hydration resiliency: third party scripts that modify DOM and improved error messages
### Which @angular/* package(s) are the source of the bug? core ### Is this a regression? No ### Description Right now hydration mismatch errors will point directly to the HTML source where the mismatch occurred. This is very helpful in the case that the developer caused this mismatch. If a third party script did, it may be less helpful. Can we improve the error messages to point also to documentation around third party scripts? Or maybe even detect if it was generated by a script and make suggestions of using something like `afterNextRender()` to delay the execution of that script? ### Please provide a link to a minimal reproduction of the bug _No response_ ### Please provide the exception or error you saw ```true ``` ### Please provide the environment you discovered this bug in (run `ng version`) ```true ``` ### Anything else? _No response_
area: core,core: hydration
low
Critical
2,745,817,468
flutter
PaginatedDataTable: arrowHeadColor breaks differentiation between states (enabled/disabled)
### Steps to reproduce Put code below in dartpad. **In paginated_data_table.dart Line 530 and following -> Shouldn't the colour be set to the IconButton instead of the Icon?** ### Expected results If it is not possible to turn back to the first page, the symbol should be lighter than if it is possible to turn back. ### Actual results The icons for paging have no disabled "state" ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(MaterialApp(home: MyPaginatedTable())); } class MyPaginatedTable extends StatelessWidget { final List<Map<String, dynamic>> _data = List.generate( 50, (index) => {"id": index + 1, "name": "Item ${index + 1}"}, ); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("Pagination Test")), body: PaginatedDataTable( header: Text('Test Table'), rowsPerPage: 10, // arrowHeadColor: Colors.black, // Setzt die aktive Pfeilfarbe columns: [ DataColumn(label: Text('ID')), DataColumn(label: Text('Name')), ], source: _MyDataSource(_data), ), ); } } class _MyDataSource extends DataTableSource { final List<Map<String, dynamic>> _data; _MyDataSource(this._data); @override DataRow getRow(int index) { final item = _data[index]; return DataRow.byIndex( index: index, cells: [ DataCell(Text(item['id'].toString())), DataCell(Text(item['name'])), ], ); } @override int get rowCount => _data.length; @override bool get isRowCountApproximate => false; @override int get selectedRowCount => 0; } ``` </details>
framework,f: material design,has reproducible steps,P2,team-design,triaged-design,found in release: 3.27,found in release: 3.28
low
Minor
2,745,818,362
pytorch
[Inductor test failure] torch:inductor/test_select_algorithm TestSelectAlgorithm.test_convolution1 with cuda 12.6.3
### 🐛 Describe the bug This is Qianli from Google. Our GPU team is testing the release of cuda 12.6.3 and noticed a test failure from inductor in our internal infra. I don't have a dev box setup to fully mirror this issue in a OSS env, but please see the error log and see if anything in the recent cuda change could cause this error. The current internal cuda version used by us is 12.0, and from https://pytorch.org/, it seems that pytorch support 12.4. This potentially indicate that the behavior change happens between 12.4 and 12.6.3. In the passing run, the info log looks like below, somehow the pass of triton_convolution2d_48 failed. ``` [test/inductor/test_select_algorithm](http://test/inductor/test_select_algorithm).py::TestSelectAlgorithm::test_convolution1 AUTOTUNE convolution(2x33x34x41, 34x33x3x3) convolution 0.0436 ms 100.0% triton_convolution2d_46 0.0592 ms 73.7% ALLOW_TF32=False, BLOCK_K=16, BLOCK_M=64, BLOCK_N=64, GROUPS=1, KERNEL_H=3, KERNEL_W=3, PADDING_H=4, PADDING_W=5, STRIDE_H=2, STRIDE_W=3, UNROLL=False, num_stages=2, num_warps=4 triton_convolution2d_50 0.0749 ms 58.2% ALLOW_TF32=False, BLOCK_K=32, BLOCK_M=64, BLOCK_N=64, GROUPS=1, KERNEL_H=3, KERNEL_W=3, PADDING_H=4, PADDING_W=5, STRIDE_H=2, STRIDE_W=3, UNROLL=False, num_stages=2, num_warps=4 triton_convolution2d_51 0.1000 ms 43.6% ALLOW_TF32=False, BLOCK_K=32, BLOCK_M=64, BLOCK_N=64, GROUPS=1, KERNEL_H=3, KERNEL_W=3, PADDING_H=4, PADDING_W=5, STRIDE_H=2, STRIDE_W=3, UNROLL=False, num_stages=2, num_warps=8 triton_convolution2d_49 0.1172 ms 37.2% ALLOW_TF32=False, BLOCK_K=32, BLOCK_M=128, BLOCK_N=64, GROUPS=1, KERNEL_H=3, KERNEL_W=3, PADDING_H=4, PADDING_W=5, STRIDE_H=2, STRIDE_W=3, UNROLL=False, num_stages=2, num_warps=8 triton_convolution2d_52 0.1977 ms 22.1% ALLOW_TF32=False, BLOCK_K=32, BLOCK_M=256, BLOCK_N=64, GROUPS=1, KERNEL_H=3, KERNEL_W=3, PADDING_H=4, PADDING_W=5, STRIDE_H=2, STRIDE_W=3, UNROLL=False, num_stages=2, num_warps=8 triton_convolution2d_47 0.2401 ms 18.2% ALLOW_TF32=False, BLOCK_K=16, BLOCK_M=256, BLOCK_N=64, GROUPS=1, KERNEL_H=3, KERNEL_W=3, PADDING_H=4, PADDING_W=5, STRIDE_H=2, STRIDE_W=3, UNROLL=False, num_stages=2, num_warps=4 triton_convolution2d_48 0.2537 ms 17.2% ALLOW_TF32=False, BLOCK_K=16, BLOCK_M=1024, BLOCK_N=16, GROUPS=1, KERNEL_H=3, KERNEL_W=3, PADDING_H=4, PADDING_W=5, STRIDE_H=2, STRIDE_W=3, UNROLL=False, num_stages=1, num_warps=8 frames [('total', 1), ('ok', 1)] stats [('calls_captured', 2), ('unique_graphs', 1)] aot_autograd [('total', 1), ('ok', 1)] ``` ### Error logs Traceback (most recent call last): File "torch/test/inductor/test_select_algorithm.py", line 264, in test_convolution1 foo( File "torch/_dynamo/eval_frame.py", line 556, in _fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/convert_frame.py", line 1404, in __call__ return self._torchdynamo_orig_callable( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/convert_frame.py", line 1188, in __call__ result = self._inner_convert( ^^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/convert_frame.py", line 549, in __call__ return _compile( ^^^^^^^^^ File "torch/_dynamo/convert_frame.py", line 985, in _compile guarded_code = compile_inner(code, one_graph, hooks, transform) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/convert_frame.py", line 712, in compile_inner return _compile_inner(code, one_graph, hooks, transform) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_utils_internal.py", line 95, in wrapper_function return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/convert_frame.py", line 747, in _compile_inner out_code = transform_code_object(code, transform) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/bytecode_transformation.py", line 1348, in transform_code_object transformations(instructions, code_options) File "torch/_dynamo/convert_frame.py", line 233, in _fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/convert_frame.py", line 664, in transform tracer.run() File "torch/_dynamo/symbolic_convert.py", line 2841, in run super().run() File "torch/_dynamo/symbolic_convert.py", line 1032, in run while self.step(): ^^^^^^^^^^^ File "torch/_dynamo/symbolic_convert.py", line 944, in step self.dispatch_table[inst.opcode](self, inst) File "torch/_dynamo/symbolic_convert.py", line 3021, in RETURN_VALUE self._return(inst) File "torch/_dynamo/symbolic_convert.py", line 3006, in _return self.output.compile_subgraph( File "torch/_dynamo/output_graph.py", line 1077, in compile_subgraph self.compile_and_call_fx_graph(tx, list(reversed(stack_values)), root) File "torch/_dynamo/output_graph.py", line 1349, in compile_and_call_fx_graph compiled_fn = self.call_user_compiler(gm) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/output_graph.py", line 1399, in call_user_compiler return self._call_user_compiler(gm) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/output_graph.py", line 1448, in _call_user_compiler raise BackendCompilerFailed(self.compiler_fn, e).with_traceback( File "torch/_dynamo/output_graph.py", line 1429, in _call_user_compiler compiled_fn = compiler_fn(gm, self.example_inputs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/repro/after_dynamo.py", line 130, in __call__ compiled_gm = compiler_fn(gm, example_inputs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/__init__.py", line 2304, in __call__ return compile_fx(model_, inputs_, config_patches=self.config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/compile_fx.py", line 1733, in compile_fx return aot_autograd( ^^^^^^^^^^^^^ File "torch/_dynamo/backends/common.py", line 72, in __call__ cg = aot_module_simplified(gm, example_inputs, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_functorch/aot_autograd.py", line 1103, in aot_module_simplified compiled_fn = dispatch_and_compile() ^^^^^^^^^^^^^^^^^^^^^^ File "torch/_functorch/aot_autograd.py", line 1079, in dispatch_and_compile compiled_fn, _ = create_aot_dispatcher_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_functorch/aot_autograd.py", line 527, in create_aot_dispatcher_function return _create_aot_dispatcher_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_functorch/aot_autograd.py", line 778, in _create_aot_dispatcher_function compiled_fn, fw_metadata = compiler_fn( ^^^^^^^^^^^^ File "torch/_functorch/_aot_autograd/jit_compile_runtime_wrappers.py", line 197, in aot_dispatch_base compiled_fw = compiler(fw_module, updated_flat_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/compile_fx.py", line 1546, in fw_compiler_base return _fw_compiler_base(model, example_inputs, is_inference) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/compile_fx.py", line 1615, in _fw_compiler_base return inner_compile( ^^^^^^^^^^^^^^ File "torch/_inductor/compile_fx.py", line 599, in compile_fx_inner return wrap_compiler_debug(_compile_fx_inner, compiler_name="inductor")( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_dynamo/repro/after_aot.py", line 102, in debug_wrapper inner_compiled_fn = compiler_fn(gm, example_inputs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/compile_fx.py", line 756, in _compile_fx_inner compiled_graph = FxGraphCache.load( ^^^^^^^^^^^^^^^^^^ File "torch/_inductor/codecache.py", line 1577, in load compiled_graph = compile_fx_fn( ^^^^^^^^^^^^^^ File "torch/_inductor/compile_fx.py", line 663, in codegen_and_compile compiled_graph = fx_codegen_and_compile(gm, example_inputs, **fx_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/compile_fx.py", line 974, in fx_codegen_and_compile compiled_fn = graph.compile_to_fn() ^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/graph.py", line 2019, in compile_to_fn return self._compile_to_fn() ^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/graph.py", line 2051, in _compile_to_fn return self.compile_to_module().call ^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/graph.py", line 1957, in compile_to_module return self._compile_to_module() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/graph.py", line 1963, in _compile_to_module self.codegen_with_cpp_wrapper() if self.cpp_wrapper else self.codegen() ^^^^^^^^^^^^^^ File "torch/_inductor/graph.py", line 1894, in codegen self.scheduler = Scheduler(self.operations) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/scheduler.py", line 1763, in __init__ self._init(nodes) File "torch/_inductor/scheduler.py", line 1833, in _init self.nodes = self.fuse_nodes(self.nodes) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/scheduler.py", line 2326, in fuse_nodes nodes = self.fuse_nodes_once(nodes) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/scheduler.py", line 2622, in fuse_nodes_once if not self.speedup_by_fusion(node1, node2): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/scheduler.py", line 2519, in speedup_by_fusion choice_timings = multi_node.choice_timings ^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/ir.py", line 4252, in choice_timings self._choice_timings = self._choice_timings_fn() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/select_algorithm.py", line 1468, in get_timings timings = do_autotuning(precompile_fn) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/select_algorithm.py", line 1433, in do_autotuning timings = self.lookup( ^^^^^^^^^^^^ File "torch/test/inductor/test_select_algorithm.py", line 26, in skip_cache return benchmark(choices) ^^^^^^^^^^^^^^^^^^ File "torch/_inductor/select_algorithm.py", line 1418, in autotune return make_benchmark_fn()(choices) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "torch/_inductor/select_algorithm.py", line 1611, in benchmark_in_current_process raise AssertionError( # noqa: B904 torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised: AssertionError: Incorrect result from choice TritonTemplateCaller(/tmp/tmpojnhspqd/lu/cluvzbjsxripzemg5ihr3rxsnjpiin5vvwg3ejwznf7th2yegd42.py, ALLOW_TF32=False, BLOCK_K=16, BLOCK_M=1024, BLOCK_N=16, GROUPS=1, KERNEL_H=3, KERNEL_W=3, PADDING_H=4, PADDING_W=5, STRIDE_H=2, STRIDE_W=3, UNROLL=False, num_stages=1, num_warps=8) Tensor-likes are not close! Mismatched elements: 19584 / 23120 (84.7%) Greatest absolute difference: 132.32015991210938 at index (0, 22, 4, 13) (up to 0.0001 allowed) Greatest relative difference: inf at index (0, 0, 1, 0) (up to 0.0001 allowed) You can suppress this exception and fall back to eager by setting: import torch._dynamo torch._dynamo.config.suppress_errors = True To execute this test, run the following from the base repo dir: PYTORCH_TEST_WITH_ASAN=1 PYTORCH_TEST_WITH_UBSAN=1 python test/inductor/test_select_algorithm.py TestSelectAlgorithm.test_convolution1 This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0 ### Versions Torch version: commit hash f4ce9ac29d524fae51b6d8e300c4cab016fc8f18 closest_version: "ciflow/periodic/0b13bdd877f7b612ab2990e327ab3b40242945bf" cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov
needs reproduction,triaged,oncall: pt2,module: inductor
medium
Critical
2,745,825,993
vscode
Remote-SSH connection failure when "PATH" contains "${workspaceRoot}" in "terminal.integrated.env.windows"
Version : 1.61.1 (user setup) Commit: c13f1abb110fc756f9b3a6f16670df9cd9d4cf63 Date: 2021-10-14T01:19:42.089Z Electron: 13.5.1 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.19043 (win10 64bit) Remote-SSH Version: `v0.65.8` oepnssh installed: ``` > where ssh C:\Windows\System32\OpenSSH\ssh.exe ``` Steps to Reproduce: 1. include `${workspaceRoot}` element into your `settings.json` -> `terminal.integrated.env.windows` -> `PATH` ``` // for example: "terminal.integrated.env.windows": { "PATH": "${env:PATH};${workspaceRoot}" }, ``` 2. connect to some host via Remote-SSH(ex: Connect to Host in New Window) -> **connection failure**. - connection target host : Linux - connecting to same host via `ssh.exe` in command prompt results success. 3. remove `${workspaceRoot}` from "PATH" and try connect again -> **connection success**. **error log**: ``` [16:17:13.044] Log Level: 2 [16:17:13.053] [email protected] [16:17:13.053] win32 x64 [16:17:13.055] SSH Resolver called for "ssh-remote+xxx-dev-cs8", attempt 1 [16:17:13.056] "remote.SSH.useLocalServer": false [16:17:13.056] "remote.SSH.showLoginTerminal": false [16:17:13.057] "remote.SSH.remotePlatform": {"xxx-dev-cs8":"linux"} [16:17:13.057] "remote.SSH.path": undefined [16:17:13.057] "remote.SSH.configFile": undefined [16:17:13.058] "remote.SSH.useFlock": true [16:17:13.058] "remote.SSH.lockfilesInTmp": false [16:17:13.058] "remote.SSH.localServerDownload": auto [16:17:13.059] "remote.SSH.remoteServerListenOnSocket": false [16:17:13.062] "remote.SSH.showLoginTerminal": false [16:17:13.062] "remote.SSH.defaultExtensions": [] [16:17:13.062] "remote.SSH.loglevel": 2 [16:17:13.063] SSH Resolver called for host: xxx-dev-cs8 [16:17:13.063] Setting up SSH remote "xxx-dev-cs8" [16:17:13.090] Using commit id "c13f1abb110fc756f9b3a6f16670df9cd9d4cf63" and quality "stable" for server [16:17:13.095] Install and start server if needed [16:17:13.106] Checking ssh with "ssh -V" [16:17:13.170] > OpenSSH_for_Win [16:17:13.170] > dows_8.1p1, LibreSSL 3.0.2 [16:17:13.180] Running script with connection command: ssh -T -D 58730 "xxx-dev-cs8" bash [16:17:13.184] Terminal shell path: C:\WINDOWS\System32\cmd.exe [16:17:13.440] > 'ssh' は、内部コマンドまたは外部コマンド、 > 操作可能なプログラムまたはバッチ ファイルとして認識されていません。 ^^^^^^^^^^ # this is japanese cmd.exe error message, saying "cmd.exe couldn't find ssh executable in PATH environment." > ]0;C:\WINDOWS\System32\cmd.exe [16:17:13.440] Got some output, clearing connection timeout [16:17:14.711] "install" terminal command done [16:17:14.712] Install terminal quit with output: ]0;C:\WINDOWS\System32\cmd.exe [16:17:14.713] Received install output: ]0;C:\WINDOWS\System32\cmd.exe [16:17:14.714] Failed to parse remote port from server output [16:17:14.715] Resolver error: Error: at Function.Create (c:\Users\xxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.8\out\extension.js:1:397041) at Object.t.handleInstallOutput (c:\Users\xxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.8\out\extension.js:1:395684) at Object.t.tryInstall (c:\Users\xxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.8\out\extension.js:1:489314) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async c:\Users\xxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.8\out\extension.js:1:453110 at async Object.t.withShowDetailsEvent (c:\Users\xxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.8\out\extension.js:1:456460) at async Object.t.resolve (c:\Users\xxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.8\out\extension.js:1:454189) at async c:\Users\xxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.8\out\extension.js:1:526942 [16:17:14.726] ------ ```
bug,help wanted,remote,terminal-process
low
Critical
2,745,840,562
vscode
`terminal.shellIntegration.executeCommand` doesn't execute the command in new shells in Powershell 7 on macOS
Type: <b>Bug</b> ### Steps to reproduce 1. Set PowerShell 7 as default shell in VS Code for Mac. In my case I installed Powershell 7 with Homebrew ```jsonc // settings.json { "terminal.integrated.defaultProfile.osx": "pwsh", } ``` 2. Create a simple project to launch it, like a node project: ```javascript // index.js import http from 'http'; const server = http.createServer((req, res) => { res.writeHead(200, { 'Content-Type': 'text/plain' }); res.end('Hello, World!'); }); server.listen(3000, () => { console.log('Server running at http://localhost:3000'); }); ``` 3. Add a launch.json to start the program: ```jsonc // .vscode/launch.json { "version": "0.2.0", "configurations": [ { "name": "Launch Program", "command": "node ./index.js", "request": "launch", "type": "node-terminal" }, ] } ``` 4. Launch the program (F5) and see. ### Result It doesn't start unless you click Enter in the terminal https://github.com/user-attachments/assets/e292490c-684d-43c6-a014-f23ffcdb1f51 ### Extra info If you change the default terminal to bash or other shell, it works fine and starts immediately. https://github.com/user-attachments/assets/b20f6d13-7281-44ff-b864-7f59bbd0b50b It works fine in Windows VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z) OS version: Darwin arm64 24.1.0 Modes: <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|Apple M3 (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)|3, 3, 4| |Memory (System)|8.00GB (0.12GB free)| |Process Argv|./source/mt/mediotiempo-web/ --crash-reporter-id 47cfacf9-941c-410d-9458-3633353a7a87| |Screen Reader|no| |VM|0%| </details><details><summary>Extensions (27)</summary> Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 vscode-nginx-conf|ahm|0.3.5 aws-toolkit-vscode|ama|3.37.0 astro-vscode|ast|2.15.4 vscode-tailwindcss|bra|0.12.15 codeium|Cod|1.24.8 csharpier-vscode|csh|1.8.0 vscode-eslint|dba|3.0.10 gitlens|eam|16.0.4 EditorConfig|Edi|0.16.4 minifyall|jos|2.10.0 rainbow-csv|mec|3.13.0 vscode-docker|ms-|1.29.3 csdevkit|ms-|1.13.9 csharp|ms-|2.55.29 vscode-dotnet-runtime|ms-|2.2.3 remote-containers|ms-|0.388.0 live-server|ms-|0.4.15 powershell|ms-|2024.4.0 npm-outdated|msk|2.2.0 visualsvg|rag|1.0.3 vscode-xml|red|0.27.2 vscode-yaml|red|1.15.0 code-spell-checker|str|4.0.21 code-spell-checker-spanish|str|2.3.5 sort-json|Thi|19.1.2 markdown-all-in-one|yzh|3.6.2 (1 theme extensions excluded) </details><details> <summary>A/B Experiments</summary> ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 dvdeprecation:31068756 dwnewjupytercf:31046870 nativerepl2:31139839 pythonrstrctxt:31112756 nativeloc2:31192216 cf971741:31144450 iacca1:31171482 notype1cf:31157160 5fd0e150:31155592 dwcopilot:31170013 stablechunks:31184530 ``` </details> <!-- generated by issue reporter -->
bug,terminal-shell-pwsh
low
Critical
2,745,847,779
vscode
Clicking URLs in terminal while connecting are opened only after connecting
<!-- Please search existing issues to avoid creating duplicates, and review our troubleshooting tips: https://code.visualstudio.com/docs/remote/troubleshooting --> <!-- Please attach logs to help us diagnose your issue. Learn more here: https://code.visualstudio.com/docs/remote/troubleshooting#_reporting-issues and here: https://code.visualstudio.com/docs/remote/vscode-server#_where-can-i-provide-feedback-or-report-an-issue --> <!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ --> - VSCode Version: 1.88.1 - Local OS Version: Linux x64 6.5.0-28-generic - Remote OS Version: Linux 4.18.0-513.24.1.el8_9.x86_64 x86_64 - Remote Extension/Connection Type: Server <!-- If your bug is related to Remote-SSH, please use the SSH-specific reporter: https://github.com/microsoft/vscode-remote-release/issues/new?assignees=eleanorjboyd&labels=ssh&template=a_remote_ssh_bug_form.yml&title=%5BRemote-SSH+Bug%5D%3A+ --> I'm not sure which of the remote development plugins causes this, that's why I'm opening a general issue. Apologies if this is the wrong spot. The remote machine I'm connecting to requires 2FA. The terminal shows a URL to visit, which handles the 2FA procedure. The problem is that when I CTRL+click on the URL, it doesn't open. It only opens *after* the procedure is done. I assume there is some blocking / waiting going that doesn't allow this event to go through directly. - Logs: ``` Logging in as <username> from <redacted>. Please open https://<2fa_link> to complete logon. ``` Steps to Reproduce: 1. Try to connect to machine. 2. Get prompted to go to 2FA link. 3. Click link. 4. Nothing happens. 5. Copy link manually and complete 2FA procedure. 6. Setup continues as normal. 7. The link opens (from the original click). <!-- Check to see if the problem is general, with a specific extension, or only happens when remote --> Does this issue occur when you try this locally?: No Does this issue occur when you try this locally and all extensions are disabled?: No <!-- If your issue only appears in Codespaces, please visit: https://github.com/github/feedback/discussions/categories/codespaces-feedback -->
bug,help wanted,remote,confirmation-pending,terminal-links
low
Critical
2,745,853,716
pytorch
[PassRate] TorchBench training PassRate is less than 100
### 🐛 Describe the bug Umbrella Task for the < 100 TorchBench PassRate https://hud.pytorch.org/benchmark/compilers ![Screenshot 2024-12-17 at 20 28 13](https://github.com/user-attachments/assets/212780be-d6d3-4923-9b72-9cdb337d6c6d) ### Versions master cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @chauhang @penguinwu
high priority,triaged,oncall: pt2
low
Critical
2,745,857,101
vscode
remote-cli `code` command works in bash, but zsh or tmux
<!-- Please search existing issues to avoid creating duplicates, and review our troubleshooting tips: https://code.visualstudio.com/docs/remote/troubleshooting --> <!-- Please attach logs to help us diagnose your issue. Learn more here: https://code.visualstudio.com/docs/remote/troubleshooting#_reporting-issues and here: https://code.visualstudio.com/docs/remote/vscode-server#_where-can-i-provide-feedback-or-report-an-issue --> <!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ --> Version: 1.71.0 (Universal) Commit: 784b0177c56c607789f9638da7b6bf3230d47a8c Date: 2022-09-01T07:25:38.437Z Electron: 19.0.12 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Darwin arm64 21.6.0 Sandboxed: No - VSCode Version: 1.71.0 (Universal) - Local OS Version: Darwin arm64 21.6.0 - Remote OS Version: - Remote Extension/Connection Type: SSH - Logs: n/a Steps to Reproduce: 0. Ensure that `terminal.integrated.inheritEnv` is set to true (the default). 1. Connect to remote machine via VSCode SSH. 2. Open a bash terminal. Run `code`. Observe that it works. 3. Open a zsh terminal. (Select from the dropdown menu on the "+" button.) Run `code`. Observe that it fails. 4. Try the same for tmux. Observe that it fails as well. <!-- Check to see if the problem is general, with a specific extension, or only happens when remote --> Does this issue occur when you try this locally?: No Does this issue occur when you try this locally and all extensions are disabled?: Yes <!-- If your issue only appears in Codespaces, please visit: https://github.com/github/feedback/discussions/categories/codespaces-feedback --> It appears as though PATH is propagating correctly for bash, but not the other two: ``` # bash my-machine:~$ echo $PATH /home/sam.ainsworth/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/home/sam.ainsworth/.vscode-server/bin/784b0177c56c607789f9638da7b6bf3230d47a8c/bin/remote-cli:/home/sam.ainsworth/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/go/bin # zsh ❯ echo $PATH /home/sam.ainsworth/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/go/bin # tmux sam.ainsworth@cs-satze7x4cv-gpu-1662050665:~$ echo $PATH /home/sam.ainsworth/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/go/bin ``` Opening a bash terminal and then running zsh from within that terminal works. Why is VSCode propagating different environment variables to different shells? Potentially related: https://github.com/microsoft/vscode-remote-release/issues/4460
bug,remote,workbench-cli,terminal-process
low
Major
2,745,874,234
deno
test.describe not implemented
Version: Deno 2.1.4 I attempted to run one of Astro's tests with Deno and hit this: ``` error: Uncaught (in promise) Error: Not implemented: test.describe at notImplemented (ext:deno_node/_utils.ts:9:9) at describe (node:test:145:3) at file:///Users/matthew/dev/astro/packages/astro/test/astro-basic.test.js:6:1 ``` Test file: https://github.com/withastro/astro/blob/main/packages/astro/test/astro-basic.test.js
bug,node compat,node:test
low
Critical
2,745,882,272
material-ui
[Autocomplete] Autocomplete Popper position breaks when container height changes
### Steps to reproduce Steps: 1. Open this link to live example: https://codesandbox.io/p/sandbox/fnxpf9 2. Choose at least one of the options in the Autocomplete 3. Autocomplete's Popper's position is not recalculated properly **Important**: The issue can only be observed if `disableCloseOnSelect` is set to `true` ### Current behavior Popper position stays the same and does not follow the input. When a condition is met that collapse is retracting, popper's position gets recalculated to the where it should have been on the previous render ### Expected behavior Popper should "stick" to Autocomplete input no matter the Autocomplete position ### Context I am aware of the fact that Popper's position for Autocomplete is always 'fixed'. I have tried to use `slotProps` to set `transition: true` for the popper, but it causes it to default to top left position of the screen regardless of `anchorEl` if `disablePortal=true`. It also starts throwing warnings that "Empty string was passed to getElementById" from useAutocomplete.ts (which I'm not using). The reason I was trying to use the `transition` prop is that from my many attempts to fix this, I've got one case where it did fix the issue, but I could not reproduce it since then. In any case this is very frustrating. Browsers: Firefox, Chromium ### Your environment <details> <summary><code>npx @mui/envinfo</code></summary> ``` System: OS: Linux 6.11 Manjaro Linux Binaries: Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm pnpm: 9.10.0 - /usr/bin/pnpm Browsers: Chrome: Not Found npmPackages: @emotion/react: ^11.11.4 => 11.13.3 @emotion/styled: ^11.11.5 => 11.13.0 @mui/base: ^5.0.0-beta.66 => 5.0.0-beta.66 @mui/core-downloads-tracker: 6.2.0 @mui/icons-material: ^6.2.0 => 6.2.0 @mui/lab: 6.0.0-beta.19 => 6.0.0-beta.19 @mui/material: ^6.2.0 => 6.2.0 @mui/private-theming: 6.2.0 @mui/styled-engine: 6.2.0 @mui/system: ^6.2.0 => 6.2.0 @mui/types: 7.2.19 @mui/utils: 6.2.0 @mui/x-data-grid: ^7.15.0 => 7.22.2 @mui/x-date-pickers: 7.22.2 @mui/x-internals: 7.21.0 @types/react: ^18.2.79 => 18.3.12 react: ^18.2.0 => 18.3.1 react-dom: ^18.3.0 => 18.3.1 styled-components: ^6.1.8 => 6.1.13 typescript: ^5.4.5 => 5.6.3 ``` </details> **Search keywords**: autocomplete popper collapse transition
waiting for 👍,package: material-ui,component: autocomplete
low
Major
2,745,884,702
langchain
Chroma is not ephemeral when persisted_directory=None
### Checked other resources - [X] I added a very descriptive title to this issue. - [X] I searched the LangChain documentation with the integrated search. - [X] I used the GitHub search to find a similar question and didn't find it. - [X] I am sure that this is a bug in LangChain rather than my code. - [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package). ### Example Code ```python from langchain.vectorstores import Chroma from langchain_community.vectorstores.utils import filter_complex_metadata from langchain_openai import OpenAIEmbeddings def retrieval_gpt_generate(query: str, retrieved_documents: List[Document], ): texts = text_splitter.split_documents(retrieved_documents) embeddings = OpenAIEmbeddings(openai_api_key=constants.OPENAI_API_KEY, max_retries=1000) docsearch = Chroma.from_documents(filter_complex_metadata(texts), embeddings, persist_directory=None) doc_retriever = docsearch.as_retriever(search_kwargs={"k": 5}) topk_relevant_passages = doc_retriever.get_relevant_documents(query) return topk_relevant_passages for each new {query, retrieved_documents}: topk_relevant_passages = retrieval_gpt_generate(query, retrieved_documents) print(topk_relevant_passages) ``` ### Error Message and Stack Trace (if applicable) _No response_ ### Description The `topk_relevant_passages` includes the one from the previous iteration, that is, it would use the previous retrieved_documents. I am pretty sure the retrieved_documents input is entirely different in each iteration. I checked the intermediate docsearch, it is persisted. But I believe by setting `persist_directory=None`, the RAG should be ephemeral in-memory. ### System Info Passage1 Passage2 # Using the source from the previous iteration (it shouldn’t) Passage3 ...
Ɑ: vector store,🤖:bug
low
Critical
2,745,889,165
vscode
[Remote-SSH Bug]: `rejected promise not handled within 1 second: CodeExpectedError: Could not find pty 7 on pty host`
### Is there an existing issue for this bug? - [x] I have searched the existing issues ### Required Troubleshooting Steps - [x] I have followed these troubleshooting steps - [x] I have tried both values of the `remote.SSH.useLocalServer` setting [(more info here)](https://github.com/microsoft/vscode-remote-release/wiki/Remote-SSH-troubleshooting#troubleshooting-steps) ### Connect Locally It doesn’t connect successfully (same error message) ### -> using powershell on windows as shell the generated ssh command is wrong ``` [11:45:24.114] Generated SSH command: 'type "C:\Users\user\AppData\Local\Temp\vscode-linux-multi-line-command-gpuclass-636793360.sh" | "C:\Program Files\OpenSSH\ssh.exe" -D 60261 gpuclass sh' ``` Instead the command should be ```powershell type "C:\Users\user\AppData\Local\Temp\vscode-linux-multi-line-command-gpuclass-636793360.sh" | & "C:\Program Files\OpenSSH\ssh.exe" -D 60261 gpuclass sh ``` with an `&` before the ssh command otherwise the arguments are not passed correctly For cmd.exe the generated command is correct Here is the error I am getting in a terminal with the same command ```powershell type "C:\Users\user\AppData\Local\Temp\vscode-linux-multi-line-command-gpuclass-636793360.sh" | "C:\Program Files\OpenSSH\ssh.exe" -D 60261 gpuclass sh At line:1 char:132 + ... puclass-636793360.sh" | "C:\Program Files\OpenSSH\ssh.exe" -D 60261 g ... + ~~ Unexpected token '-D' in expression or statement. At line:1 char:97 + ... puclass-636793360.sh" | "C:\Program Files\OpenSSH\ssh.exe" -D 60261 g ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Expressions are only allowed as the first element of a pipeline. At line:1 char:135 + ... s-636793360.sh" | "C:\Program Files\OpenSSH\ssh.exe" -D 60261 gpuclas ... + ~~~~~ Unexpected token '60261' in expression or statement. At line:1 char:141 + ... 6793360.sh" | "C:\Program Files\OpenSSH\ssh.exe" -D 60261 gpuclass sh + ~~~~~~~~ Unexpected token 'gpuclass' in expression or statement. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : UnexpectedToken ``` ### Expected Behavior the terminal should correctly pass the -T and -D options ### Steps To Reproduce # windows 11 22H2 # Powershell version ``` $PSVersionTable Name Value ---- ----- PSVersion 5.1.22621.4391 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.22621.4391 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 ``` # vscode version Version: 1.96.0-insider (user setup) Commit: 2ed1e9b48c8f55e1b92322a992c6c12b1e86e444 Date: 2024-12-02T05:06:23.390Z Electron: 32.2.6 ElectronBuildId: 10629634 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.22621 # remote ssh version 0.115.1 ### Remote-SSH Log <details> <summary>Remote-SSH Log</summary> <p> ``` [12:07:53.464] Log Level: 2 [12:07:53.485] SSH Resolver called for "ssh-remote+gpuclass", attempt 1 [12:07:53.485] "remote.SSH.useLocalServer": false [12:07:53.485] "remote.SSH.useExecServer": true [12:07:53.486] "remote.SSH.showLoginTerminal": true [12:07:53.486] "remote.SSH.remotePlatform": {"xircseeng01":"linux","xircseeng02":"linux","xirdcglab01":"linux","xirdcglab02":"linux","xirdcglab03":"linux","xirdcglab04":"linux","xirdcglab05":"linux","xirdcglab06":"linux","xirdcglab07":"linux","xirdcglab08":"linux","xirdcglab09":"linux","xirdcglab10":"linux","xirdcglab40":"linux","xirdcglab41":"linux","xirdcglab42":"linux","xirdcglab43":"linux","xirdcglab45":"linux","xirdcglab46":"linux","xirdcglab47":"linux","xirdcglab48":"linux","xirdcglab49":"linux","xirdcglab50":"linux","xirdcglab51":"linux","xirdcglab52":"linux","xirdcglab53":"linux","xirdcglab54":"linux","xirdcglab55":"linux","xirdcglab56":"linux","xirdcglab58":"linux","xirdcglab61":"linux","xirdcglab62":"linux","xirdcglab63":"linux","xirdcglab64":"linux","xirdcglab65":"linux"} [12:07:53.486] "remote.SSH.path": [12:07:53.486] "remote.SSH.configFile": [12:07:53.486] "remote.SSH.useFlock": true [12:07:53.486] "remote.SSH.lockfilesInTmp": false [12:07:53.487] "remote.SSH.localServerDownload": auto [12:07:53.487] "remote.SSH.remoteServerListenOnSocket": true [12:07:53.487] "remote.SSH.showLoginTerminal": true [12:07:53.487] "remote.SSH.defaultExtensions": [] [12:07:53.487] "remote.SSH.loglevel": 2 [12:07:53.487] "remote.SSH.enableDynamicForwarding": true [12:07:53.487] "remote.SSH.enableRemoteCommand": false [12:07:53.487] "remote.SSH.serverPickPortsFromRange": {} [12:07:53.489] "remote.SSH.serverInstallPath": {"xircseeng01":"/scratch/nicolal/.vscode-server","xircseeng02":"/scratch/nicolal/.vscode-server","xirdcglab01":"/scratch/nicolal/.vscode-server","xirdcglab02":"/scratch/nicolal/.vscode-server","xirdcglab03":"/scratch/nicolal/.vscode-server","xirdcglab04":"/scratch/nicolal/.vscode-server","xirdcglab05":"/scratch/nicolal/.vscode-server","xirdcglab06":"/scratch/nicolal/.vscode-server","xirdcglab07":"/scratch/nicolal/.vscode-server","xirdcglab08":"/scratch/nicolal/.vscode-server","xirdcglab09":"/scratch/nicolal/.vscode-server","xirdcglab10":"/scratch/nicolal/.vscode-server","xirdcglab40":"/scratch/nicolal/.vscode-server","xirdcglab41":"/scratch/nicolal/.vscode-server","xirdcglab42":"/scratch/nicolal/.vscode-server","xirdcglab43":"/scratch/nicolal/.vscode-server","xirdcglab45":"/scratch/nicolal/.vscode-server","xirdcglab46":"/scratch/nicolal/.vscode-server","xirdcglab47":"/scratch/nicolal/.vscode-server","xirdcglab48":"/scratch/nicolal/.vscode-server","xirdcglab49":"/scratch/nicolal/.vscode-server","xirdcglab50":"/scratch/nicolal/.vscode-server","xirdcglab51":"/scratch/nicolal/.vscode-server","xirdcglab52":"/scratch/nicolal/.vscode-server","xirdcglab53":"/scratch/nicolal/.vscode-server","xirdcglab54":"/scratch/nicolal/.vscode-server","xirdcglab55":"/scratch/nicolal/.vscode-server","xirdcglab56":"/scratch/nicolal/.vscode-server","xirdcglab58":"/scratch/nicolal/.vscode-server","xirdcglab61":"/scratch/nicolal/.vscode-server","xirdcglab62":"/scratch/nicolal/.vscode-server","xirdcglab63":"/scratch/nicolal/.vscode-server","xirdcglab64":"/scratch/nicolal/.vscode-server","xirdcglab65":"/scratch/nicolal/.vscode-server"} [12:07:53.489] "remote.SSH.permitPtyAllocation": true [12:07:53.489] "remote.SSH.preferredLocalPortRange: undefined [12:07:53.489] "remote.SSH.useCurlAndWgetConfigurationFiles: false [12:07:53.496] VS Code version: 1.96.0-insider [12:07:53.496] Remote-SSH version: [email protected] [12:07:53.496] win32 x64 [12:07:53.503] SSH Resolver called for host: gpuclass [12:07:53.503] Setting up SSH remote "gpuclass" [12:07:53.514] Using commit id "2ed1e9b48c8f55e1b92322a992c6c12b1e86e444" and quality "insider" for server [12:07:53.519] Script variables: { "InstallExitCode.24": "AlreadyInProgress", "InstallExitCode.25": "ServerDownloadFailed", "InstallExitCode.26": "NoDownloaderAvailable", "InstallExitCode.27": "UnsupportedArch", "InstallExitCode.28": "StatusCheckFailed", "InstallExitCode.29": "NeedInsidersArch", "InstallExitCode.30": "NoDownloaderAvailableForStatusCheck", "InstallExitCode.31": "ServerTransferFailed", "InstallExitCode.32": "ServerFailedToStart", "InstallExitCode.33": "NeedInsidersWindows", "InstallExitCode.34": "CreateInstallDirFailed", "InstallExitCode.35": "UnsupportedPlatform", "InstallExitCode.36": "ServerTerminatedCVE20201416", "InstallExitCode.37": "UnpackFailed", "InstallExitCode.38": "ChangeDirFailed", "InstallExitCode.AlreadyInProgress": "24", "InstallExitCode.ServerDownloadFailed": "25", "InstallExitCode.NoDownloaderAvailable": "26", "InstallExitCode.NoDownloaderAvailableForStatusCheck": "30", "InstallExitCode.UnsupportedArch": "27", "InstallExitCode.StatusCheckFailed": "28", "InstallExitCode.NeedInsidersArch": "29", "InstallExitCode.ServerTransferFailed": "31", "InstallExitCode.ServerFailedToStart": "32", "InstallExitCode.NeedInsidersWindows": "33", "InstallExitCode.CreateInstallDirFailed": "34", "InstallExitCode.UnsupportedPlatform": "35", "InstallExitCode.ServerTerminatedCVE20201416": "36", "InstallExitCode.UnpackFailed": "37", "InstallExitCode.ChangeDirFailed": "38", "InstallUnpackCode.Success": "success", "InstallUnpackCode.Error": "error", "InstallUnpackCode.MissingFiles": "missingFiles", "uuid": "8c59844bcf25", "startMarker": "8c59844bcf25: running", "commitId": "2ed1e9b48c8f55e1b92322a992c6c12b1e86e444", "quality": "insider", "token": "1a11aa11-1111-1111-11aa-1111a111a1a1", "vscodeAgentFolder": "$HOME/.vscode-server-insiders", "allowClientDownload": "1", "forceClientDownload": "0", "cliNameInArchive": "code-insiders", "ignoreWgetConfigFlag": " --no-config ", "ignoreCurlConfigFlag": " --disable ", "wgetTriesSegment": "--tries=1", "listenArgs": "--on-socket", "getDownloadServerStartTrigger": "8c59844bcf25:trigger_server_download", "getDownloadServerEndTrigger": "8c59844bcf25:trigger_server_download_end", "getProgressDownloading": "8c59844bcf25%%1%%", "getProgressInstalling": "8c59844bcf25%%2%%" } [12:07:53.521] Install and start server if needed [12:07:56.154] Checking ssh with "C:\Program Files\OpenSSH\ssh.exe -V" [12:07:56.383] > OpenSSH_for_Windows_9.8p1 Win32-OpenSSH-GitHub, LibreSSL 3.9.2 [12:07:56.645] Running script with connection command: "C:\Program Files\OpenSSH\ssh.exe" -D 51543 gpuclass sh [12:07:56.648] Generated SSH command: 'type "C:\Users\nicolal\AppData\Local\Temp\vscode-linux-multi-line-command-gpuclass-198890716.sh" | "C:\Program Files\OpenSSH\ssh.exe" -D 51543 gpuclass sh' [12:07:56.649] Using connect timeout of 17 seconds [12:07:56.650] Terminal shell path: C:\WINDOWS\System32\cmd.exe [12:07:58.849] > 8c59844bcf25: running > Script executing under PID: 77665 > ]0;C:\WINDOWS\System32\cmd.exe [12:07:58.849] Got some output, clearing connection timeout [12:07:58.863] > 8c59844bcf25: running > Script executing under PID: 77665 > Installing to /home/lunghi/.vscode-server-insiders... > 8c59844bcf25%%1%% > Downloading with wget > wget is from busybox: no > Program 'wget' appears to support flag '--no-config' > > > > > > > > > > > > > > > [12:07:59.597] > Download complete > 8c59844bcf25%%2%% > tar --version: tar (GNU tar) 1.30 > Copyright (C) 2017 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law.Written by John Gilmore and Jay Fenlason. > [12:07:59.720] > code-insiders 1.96.0 (commit 2ed1e9b48c8f55e1b92322a992c6c12b1e86e444) > Starting VS Code CLI... > printenv: > USER=lunghi > SSH_CLIENT=176.61.60.149 51546 22 > HOME=/home/lunghi > MOTD_SHOWN=pam > OLDPWD=/home/lunghi/.vscode-server-insiders > LOGNAME=lunghi > PATH=/opt/cache/bin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/ompi/bin:/opt/ucx/bin > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... [12:07:59.751] > [12:07:59.781] > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==1a11aa11-1111-1111-11aa-1111a111a1a1== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end [12:07:59.782] Received install output: listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== osReleaseId==ubuntu== arch==x86_64== vscodeArch==x64== bitness==64== tmpDir==/tmp== platform==linux== unpackResult==success== didLocalDownload==0== downloadTime==725== installTime==129== serverStartTime==43== execServerToken==1a11aa11-1111-1111-11aa-1111a111a1a1== platformDownloadPath==cli-alpine-x64== [12:07:59.782] Remote server is listening on socket /tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6 [12:07:59.782] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"socketPath":"/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6"},"osReleaseId":"ubuntu","arch":"x86_64","tmpDir":"/tmp","platform":"linux","execServerToken":"1a11aa11-1111-1111-11aa-1111a111a1a1"},"downloadTime":725,"installTime":129,"serverStartTime":43,"installUnpackCode":"success"} [12:07:59.787] Running script with connection command: "C:\Program Files\OpenSSH\ssh.exe" -L 127.0.0.1:51558:/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6 gpuclass sh [12:07:59.790] Spawning tunnel with: type "C:\Users\nicolal\AppData\Local\Temp\vscode-linux-multi-line-command-gpuclass-105693035.sh" | "C:\Program Files\OpenSSH\ssh.exe" -L 127.0.0.1:51558:/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6 gpuclass sh [12:07:59.790] Terminal shell path: C:\WINDOWS\System32\cmd.exe [12:07:59.866] > [12:07:59.917] > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==1a11aa11-1111-1111-11aa-1111a111a1a1== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > [12:08:01.861] > -e Connected to SSH Host - Please do not close this terminal > ]0;C:\WINDOWS\System32\cmd.exe [12:08:01.862] Spawned SSH tunnel between local port 51558 and remote target socket /tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6 [12:08:01.862] Waiting for ssh tunnel to be ready [12:08:01.866] Tunneled socket /tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6 to local port 51558 [12:08:01.866] Resolved "ssh-remote+gpuclass" to "port 51558" [12:08:01.874] Initizing new exec server for ssh-remote+gpuclass [12:08:01.874] Resolving exec server at port 51558 [12:08:01.880] > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > [12:08:02.032] > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==1a11aa11-1111-1111-11aa-1111a111a1a1== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==8c18fa86-0739-4334-97aa-8445e470f5a2== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==8c18fa86-0739-4334-97aa-8445e470f5a2== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > [12:08:02.110] > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > > > > > > [12:08:02.142] Exec server for ssh-remote+gpuclass created and cached [12:08:02.150] ------ [12:08:02.160] > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==1a11aa11-1111-1111-11aa-1111a111a1a1== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > > > > > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==8c18fa86-0739-4334-97aa-8445e470f5a2== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > > > > > > > > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==8c18fa86-0739-4334-97aa-8445e470f5a2== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > > > > > > > > > > > > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==8c18fa86-0739-4334-97aa-8445e470f5a2== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > > > > > > > > > > > > > [12:08:02.245] > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [12:08:02.257] > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==1a11aa11-1111-1111-11aa-1111a111a1a1== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > > > > > > > > > > > > > > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==8c18fa86-0739-4334-97aa-8445e470f5a2== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > > > > > > > > > > > > > > > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==8c18fa86-0739-4334-97aa-8445e470f5a2== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > > > > > > > > > > > > > > > [12:08:02.258] > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [12:08:02.274] > > -e Connected to SSH Host - Please do not close this terminal > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [12:08:02.280] > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==1a11aa11-1111-1111-11aa-1111a111a1a1== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > > > > > > > > > > > > > > > > [12:08:02.307] [server] Checking /home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/log.txt and /home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/pid.txt for a running server... [12:08:02.572] [server] Installing and setting up Visual Studio Code Server... [12:08:02.922] [server] Downloading Visual Studio Code server -> /tmp/.tmpgBsCgc/vscode-server-linux-x64.tar.gz [12:08:02.922] [server] server download progress: 0/60500887 (0%) [12:08:03.194] [server] server download progress: 2105344/60500887 (3%) [12:08:03.242] [server] server download progress: 4210688/60500887 (7%) [12:08:03.278] [server] server download progress: 6316032/60500887 (10%) [12:08:03.317] [server] server download progress: 8421376/60500887 (14%) [12:08:03.357] [server] server download progress: 10526720/60500887 (17%) [12:08:03.377] [server] server download progress: 12632064/60500887 (21%) [12:08:03.414] [server] server download progress: 14737408/60500887 (24%) [12:08:03.454] [server] server download progress: 16835316/60500887 (28%) [12:08:03.475] [server] server download progress: 18939904/60500887 (31%) [12:08:03.512] [server] server download progress: 21045248/60500887 (35%) [12:08:03.551] [server] server download progress: 23150592/60500887 (38%) [12:08:03.574] [server] server download progress: 25255936/60500887 (42%) [12:08:03.611] [server] server download progress: 27361280/60500887 (45%) [12:08:03.650] [server] server download progress: 29466624/60500887 (49%) [12:08:03.672] [server] server download progress: 31571968/60500887 (52%) [12:08:03.709] [server] server download progress: 33672900/60500887 (56%) [12:08:03.748] [server] server download progress: 35774588/60500887 (59%) [12:08:03.771] [server] server download progress: 37879808/60500887 (63%) [12:08:03.807] [server] server download progress: 39977716/60500887 (66%) [12:08:03.846] [server] server download progress: 42083060/60500887 (70%) [12:08:03.871] [server] server download progress: 44181724/60500887 (73%) [12:08:03.906] [server] server download progress: 46285556/60500887 (77%) [12:08:03.943] [server] server download progress: 48384344/60500887 (80%) [12:08:03.981] [server] server download progress: 50487296/60500887 (83%) [12:08:04.006] [server] server download progress: 52586716/60500887 (87%) [12:08:04.041] [server] server download progress: 54689792/60500887 (90%) [12:08:04.079] [server] server download progress: 56790092/60500887 (94%) [12:08:04.104] [server] server download progress: 58893044/60500887 (97%) [12:08:04.134] [server] server download progress: 60500887/60500887 (100%) [12:08:04.661] [server] server inflate progress: 102/2028 (5%) [12:08:04.671] [server] server inflate progress: 205/2028 (10%) [12:08:04.692] [server] server inflate progress: 308/2028 (15%) [12:08:04.704] [server] server inflate progress: 411/2028 (20%) [12:08:04.748] [server] server inflate progress: 514/2028 (25%) [12:08:04.767] [server] server inflate progress: 617/2028 (30%) [12:08:05.128] [server] server inflate progress: 720/2028 (36%) [12:08:05.134] [server] server inflate progress: 823/2028 (41%) [12:08:05.143] [server] server inflate progress: 926/2028 (46%) [12:08:05.155] [server] server inflate progress: 1029/2028 (51%) [12:08:05.164] [server] server inflate progress: 1132/2028 (56%) [12:08:05.192] [server] server inflate progress: 1235/2028 (61%) [12:08:05.291] [server] server inflate progress: 1338/2028 (66%) [12:08:05.300] [server] server inflate progress: 1441/2028 (71%) [12:08:05.308] [server] server inflate progress: 1544/2028 (76%) [12:08:05.315] [server] server inflate progress: 1647/2028 (81%) [12:08:05.324] [server] server inflate progress: 1750/2028 (86%) [12:08:05.332] [server] server inflate progress: 1853/2028 (91%) [12:08:05.337] [server] server inflate progress: 1956/2028 (96%) [12:08:05.345] [server] server inflate progress: 2028/2028 (100%) [12:08:05.447] [server] Server integrity verified, version: 1.96.0-insider / 2ed1e9b48c8f55e1b92322a992c6c12b1e86e444 / x64 / [12:08:05.465] [server] Server setup complete [12:08:05.466] [server] Starting server... [12:08:05.466] [server] Starting server with command... Command { std: "/home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/bin/code-server-insiders" "--connection-token=remotessh" "--accept-server-license-terms" "--start-server" "--enable-remote-auto-shutdown" "--socket-path=/tmp/code-insiders-feabb051-586d-47a8-bc95-4d5833e5ae77", kill_on_drop: false } [12:08:05.530] [server] * [12:08:05.530] [server] * Visual Studio Code Server [12:08:05.530] [server] * [12:08:05.531] [server] * By using the software, you agree to [12:08:05.531] [server] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and [12:08:05.531] [server] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement). [12:08:05.531] [server] * [12:08:05.531] [server] Server bound to /tmp/code-insiders-feabb051-586d-47a8-bc95-4d5833e5ae77 [12:08:05.531] [server] Extension host agent listening on /tmp/code-insiders-feabb051-586d-47a8-bc95-4d5833e5ae77 [12:08:05.531] [server] parsed location: "/tmp/code-insiders-feabb051-586d-47a8-bc95-4d5833e5ae77" [12:08:05.531] [server] [12:08:05.532] [server] Server started [12:08:05.568] [server] [12:08:05] [12:08:05.568] [server] [12:08:05.568] [server] [12:08:05.568] [server] [12:08:05.602] [server] [12:08:05] Extension host agent started. [12:08:05.628] [server] [12:08:05] Started initializing default profile extensions in extensions installation folder. file:///home/lunghi/.vscode-server-insiders/extensions [12:08:05.637] [server] [12:08:05] Completed initializing default profile extensions in extensions installation folder. file:///home/lunghi/.vscode-server-insiders/extensions [12:08:05.832] [server] [12:08:05] [<unknown>][4e3de87a][ManagementConnection] New connection established. [12:08:05.833] [server] [12:08:05] [<unknown>][617cc7b6][ExtensionHostConnection] New connection established. [12:08:05.871] [server] [12:08:05] [<unknown>][617cc7b6][ExtensionHostConnection] <78014> Launched Extension Host Process. [12:08:08.706] Opening exec server for ssh-remote+gpuclass [12:08:08.865] Opening exec server for ssh-remote+gpuclass [12:08:08.920] Verified and reusing cached exec server for ssh-remote+gpuclass [12:08:08.984] Verified and reusing cached exec server for ssh-remote+gpuclass [12:08:09.218] Opening exec server for ssh-remote+gpuclass [12:08:09.313] Verified and reusing cached exec server for ssh-remote+gpuclass [12:08:17.581] > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==1a11aa11-1111-1111-11aa-1111a111a1a1== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > > > > > > > > > > > > > > > > [12:08:19.419] [server] rejected promise not handled within 1 second: CodeExpectedError: Could not find pty 7 on pty host [12:08:19.419] [server] stack trace: CodeExpectedError: Could not find pty 7 on pty host [12:08:19.419] [server] at I.W (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:12233) [12:08:19.419] [server] at I.updateIcon (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:7772) [12:08:19.419] [server] at N.s.<computed> (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:2962) [12:08:19.419] [server] at Object.call (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:31:4203) [12:08:19.420] [server] at Yc.s (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78968) [12:08:19.420] [server] at Yc.q (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78491) [12:08:19.420] [server] at us.value (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:77893) [12:08:19.420] [server] at C.B (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:746) [12:08:19.420] [server] at C.fire (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:964) [12:08:19.420] [server] at process.w (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:24:29142) [12:08:19.420] [server] at process.emit (node:events:518:28) [12:08:19.421] [server] at emit (node:internal/child_process:950:14) [12:08:19.421] [server] at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12:08:19.421] [server] [12:08:19] Error [CodeExpectedError]: Could not find pty 7 on pty host [12:08:19.421] [server] at I.W (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:12233) [12:08:19.421] [server] at I.updateIcon (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:7772) [12:08:19.421] [server] at N.s.<computed> (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:2962) [12:08:19.421] [server] at Object.call (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:31:4203) [12:08:19.421] [server] at Yc.s (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78968) [12:08:19.421] [server] at Yc.q (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78491) [12:08:19.422] [server] at us.value (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:77893) [12:08:19.422] [server] at C.B (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:746) [12:08:19.422] [server] at C.fire (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:964) [12:08:19.422] [server] at process.w (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:24:29142) [12:08:19.422] [server] at process.emit (node:events:518:28) [12:08:19.422] [server] at emit (node:internal/child_process:950:14) [12:08:19.422] [server] at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12:08:19.433] [server] rejected promise not handled within 1 second: CodeExpectedError: Could not find pty 7 on pty host [12:08:19.433] [server] stack trace: CodeExpectedError: Could not find pty 7 on pty host [12:08:19.433] [server] at I.W (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:12233) [12:08:19.433] [server] at I.updateTitle (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:7722) [12:08:19.433] [server] at N.s.<computed> (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:2962) [12:08:19.433] [server] at Object.call (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:31:4203) [12:08:19.433] [server] at Yc.s (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78968) [12:08:19.434] [server] at Yc.q (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78491) [12:08:19.434] [server] at us.value (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:77893) [12:08:19.434] [server] at C.B (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:746) [12:08:19.508] [server] at C.fire (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:964) [12:08:19.509] [server] at process.w (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:24:29142) [12:08:19.509] [server] at process.emit (node:events:518:28) [12:08:19.509] [server] at emit (node:internal/child_process:950:14) [12:08:19.509] [server] at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12:08:19.509] [server] [12:08:19] Error [CodeExpectedError]: Could not find pty 7 on pty host [12:08:19.509] [server] at I.W (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:12233) [12:08:19.509] [server] at I.updateTitle (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:7722) [12:08:19.509] [server] at N.s.<computed> (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:2962) [12:08:19.510] [server] at Object.call (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:31:4203) [12:08:19.510] [server] at Yc.s (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78968) [12:08:19.510] [server] at Yc.q (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78491) [12:08:19.510] [server] at us.value (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:77893) [12:08:19.510] [server] at C.B (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:746) [12:08:19.510] [server] at C.fire (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:964) [12:08:19.510] [server] at process.w (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:24:29142) [12:08:19.510] [server] at process.emit (node:events:518:28) [12:08:19.510] [server] at emit (node:internal/child_process:950:14) [12:08:19.510] [server] at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12:08:20.002] [server] rejected promise not handled within 1 second: CodeExpectedError: Could not find pty 7 on pty host [12:08:20.002] [server] stack trace: CodeExpectedError: Could not find pty 7 on pty host [12:08:20.002] [server] at I.W (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:12233) [12:08:20.002] [server] at I.updateTitle (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:7722) [12:08:20.003] [server] at N.s.<computed> (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:2962) [12:08:20.003] [server] at Object.call (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:31:4203) [12:08:20.003] [server] at Yc.s (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78968) [12:08:20.003] [server] at Yc.q (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78491) [12:08:20.003] [server] at us.value (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:77893) [12:08:20.003] [server] at C.B (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:746) [12:08:20.003] [server] at C.fire (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:964) [12:08:20.003] [server] at process.w (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:24:29142) [12:08:20.003] [server] at process.emit (node:events:518:28) [12:08:20.003] [server] at emit (node:internal/child_process:950:14) [12:08:20.004] [server] at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12:08:20.004] [server] [12:08:19] Error [CodeExpectedError]: Could not find pty 7 on pty host [12:08:20.004] [server] at I.W (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:12233) [12:08:20.004] [server] at I.updateTitle (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:7722) [12:08:20.004] [server] at N.s.<computed> (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:48:2962) [12:08:20.004] [server] at Object.call (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:31:4203) [12:08:20.004] [server] at Yc.s (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78968) [12:08:20.004] [server] at Yc.q (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:78491) [12:08:20.004] [server] at us.value (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:77893) [12:08:20.004] [server] at C.B (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:746) [12:08:20.005] [server] at C.fire (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:29:964) [12:08:20.005] [server] at process.w (file:///home/lunghi/.vscode-server-insiders/cli/servers/Insiders-2ed1e9b48c8f55e1b92322a992c6c12b1e86e444/server/out/vs/platform/terminal/node/ptyHostMain.js:24:29142) [12:08:20.005] [server] at process.emit (node:events:518:28) [12:08:20.005] [server] at emit (node:internal/child_process:950:14) [12:08:20.005] [server] at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12:08:24.038] > SHELL=/bin/sh > PWD=/home/lunghi > SSH_CONNECTION=176.61.60.149 51546 172.19.0.2 22 > Spawned remote CLI: 77752 > Waiting for server log... > 8c59844bcf25: start > listeningOn==/tmp/code-insiders-da035596-b74c-4bc7-aaf6-b58c3e4d96e6== > osReleaseId==ubuntu== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/tmp== > platform==linux== > unpackResult==success== > didLocalDownload==0== > downloadTime==725== > installTime==129== > serverStartTime==43== > execServerToken==1a11aa11-1111-1111-11aa-1111a111a1a1== > platformDownloadPath==cli-alpine-x64== > 8c59844bcf25: end > > > > > > > > > > > > > > > > > > > > > > > > [12:13:05.611] [server] New EH opened, aborting shutdown [12:13:05.612] [server] [12:13:05] New EH opened, aborting shutdown ``` </p> </details> ### Anything else? None
bug,remote,terminal-process
low
Critical
2,745,891,822
vscode
Devcontainers ignores terminal profile settings from settings.json when opening local integrated terminal
<!-- Please search existing issues to avoid creating duplicates, and review our troubleshooting tips: https://code.visualstudio.com/docs/remote/troubleshooting --> <!-- Please attach logs to help us diagnose your issue. Learn more here: https://code.visualstudio.com/docs/remote/troubleshooting#_reporting-issues and here: https://code.visualstudio.com/docs/remote/vscode-server#_where-can-i-provide-feedback-or-report-an-issue --> <!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ --> - VSCode Version: 1.94.2 - Local OS Version: Flatpak Freedesktop SDK runtime 24.08 - Remote OS Version: not relevant, we're talking about a local terminal outside of the container - Remote Extension/Connection Type: Containers Steps to Reproduce: 1. Add some configuration to the project's `.vscode/settings.json` that touches the terminal. In my case the following to launch a shell on my host outside of the Flatpak sandbox or container: ```json { "terminal.integrated.defaultProfile.linux": "bash", "terminal.integrated.profiles.linux": { "bash": { "path": "/app/bin/host-spawn", "icon": "terminal-bash", "args": ["fish"], "overrideName": true } } } ``` 2. Press Ctrl + Shift + P and type `Terminal: Create New Integrated Terminal (Local)` to open a local terminal outside of the container In my case this _should_ open the Fish shell on my host, and if I run the project outside of devcontainers this works as expected. However when the project is opened within a container and I open a local integrated terminal this is completely ignored and I get a `/bin/sh` shell (which is the default within Flatpak). It also suddenly complains about "bash" not being a valid option for `terminal.integrated.defaultProfile.linux`. Yes I am running through Flatpak to make things complicated but I don't see how this has anything to do with that environment, this would just as well not work outside of it. <!-- Check to see if the problem is general, with a specific extension, or only happens when remote --> Does this issue occur when you try this locally?: No Does this issue occur when you try this locally and all extensions are disabled?: No
bug,remote,terminal-process,containers
low
Minor
2,745,903,309
vscode
We need an API or some way to know that URI Handling is possible
@Yoyokrazy originally filed this internally... making it public. > - install ghpri > - click to sign in via accounts menu > - browser opens with oath url > - 🐛 other insiders instance starts up with my vscode oss workspace > - 🐛 auth hangs in the instance with empty user-data-dir and extensions-dir > - click cancel > - "You have not yet finished authorizing this extension to use GitHub. Would you like to try a different way? (local server)" > - sign in succeeds user-data-dir is more of a debugging tool and is ultimately the cause here. When we start with a user data dir, but try to open the protocol handler `vscode://` it doesn't really know about user-data-dirs... so it just opens VS Code without that parameter and thus opens your "non-user-data-dir" instance. I don’t think it’s possible to know if we’re running out of a different user-data-dir from an extension (I checked [vscode.env](https://github.com/microsoft/vscode/blob/2c626bbdb970cf661d86b22d7c9273312ab01b9a/src/vscode-dts/vscode.d.ts#L10017-L10203), [process.env](https://nodejs.org/api/process.html#processenv), [ExtensionContext](https://github.com/microsoft/vscode/blob/2c626bbdb970cf661d86b22d7c9273312ab01b9a/src/vscode-dts/vscode.d.ts#L7696-L7857)): Feels like the real solution would be new API that says: * whether or not we're running in a different user-data-dir (not sure who would own this) * whether or not URI Handling is possible (my preference because it would be good to know for other things like if they're using Windows standalone or Linux from the zip) https://github.com/microsoft/vscode/issues/213996 is related. @joaomoreno liked the proposal of the second bullet. I guess that might look like: ``` declare module 'vscode' { export namespace env { export const isUriHandlingEnabled: boolean; } } ``` which follows similar pattern to `vscode.env.isTelemetryEnabled`. or maybe the `vscode.window.registerUriHandler(....)` could return a `{ enabled: boolean } & Disposable`... the API design is the easy part. I really am not sure how one would "detect" if the protocol handler is available. Whoever owns URI Handling should own this... @joaomoreno historically that was you... who is it now?
api,under-discussion,uri
low
Critical