sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: net/http: TestTransportResponseCancelRace failures
Labels: NeedsInvestigation

```
#!watchflakes
post <- pkg == "net/http" && test == "TestTransportResponseCancelRace"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/06deb29abd2914b00604c55c5f95476294826173)):

    --- FAIL: TestTransportResponseCancelRace (0.00s)
        --- FAIL: TestTransportResponseCancelRace/h1 (17.15s)
            transport_test.go:4014: unexpected EOF


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: go
Issue: x/tools/go/packages: TestAbsoluteFilenames failures
Labels: NeedsInvestigation,Tools

```
#!watchflakes
post <- pkg == "golang.org/x/tools/go/packages" && test == "TestAbsoluteFilenames"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/55a17607834dcc641b6b2f30861f460bdb032be1)):

    --- FAIL: TestAbsoluteFilenames (0.00s)
        --- FAIL: TestAbsoluteFilenames/Modules (276.26s)
            packages_test.go:1128: pattern ./c: err: exec: WaitDelay expired before I/O complete: stderr: 


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: stable-diffusion-webui
Issue: [Bug]: webui.sh AMD GPU check assumes single GPU, breaks if both Nvidia and AMD GPU are present
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

My system has an AMD CPU with a built in GPU, but its main GPU is Nvidia. So the output of `lspci | grep VGA` is:
```
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2520 (rev a1)
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 1638 (rev c5)
```

In webui.sh line 107 and line 119 the following naive check is used to check if the GPU is AMD:
```
gpu_info=$(lspci 2>/dev/null | grep VGA)
if echo "$gpu_info" | grep -q "AMD" && [[ -z "${TORCH_COMMAND}" ]]

```

As a result the script attempted to install the wrong version of Pytorch on my system (rocm instead of cuda). It took me quite a while to find out this was the issue!

Not sure what would be the cleanest way to fix this, though if I instead of using lspci, use `glxinfo|grep` vendor then it does show it's using Nvidia as my main graphics card. Maybe it also makes sense to assume that if `lspci | grep VGA` contains NVIDIA, should always try to use CUDA.

Edit: The error that comes up after this is the following, I believe multiple people have seen it: `AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check`. If you see that error and you have both Nvidia and AMD GPUs in your system then it's likely this is the culprit.

### Steps to reproduce the problem

1. Have an Nvidia GPU and a secondary AMD GPU installed
2. Run webui.sh for the first time to install dependencies
3. Afterwards, go into the virtualenv and check the installed version of PyTorch. It will be rocm while it should be regular (with CUDA)


### What should have happened?

Because I'm using an Nvidia GPU, it should have installed the correct version of PyTorch instead of the AMD version.

### Commit where the problem happens

5ab7f213bec2f816f9c5644becb32eb72c8ffb89

### What platforms do you use to access the UI ?

Linux

### What browsers do you use to access the UI ?

Mozilla Firefox

### Command Line Arguments

```Shell
No
```


### List of extensions

No

### Console logs

```Shell
N/A
```


### Additional information

_No response_
Repository: next.js
Issue: Styles Missing in Intercepted/Parallel Routes After Updating to Next 13.4
Labels: Navigation,Parallel & Intercepting Routes,CSS

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.3.0: Mon Jan 30 20:39:35 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T8103
    Binaries:
      Node: 16.14.0
      npm: 8.3.1
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.4.1-canary.0
      eslint-config-next: 13.4.0
      react: 18.2.0
      react-dom: 18.2.0
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

App directory (appDir: true), Routing (next/router, next/navigation, next/link)

### Link to the code that reproduces this issue

https://github.com/keegandonley/keegan.codes/tree/route-bug

### To Reproduce

Clicking on a blog post is supposed to open a modal using parallel + intercepted routes. Clicking on any blog post either from my home page (`/`) or blog page (`/blog`) loads the modal without styles, breaking the layout severely. 

### Describe the Bug

The styles that are associated with my intercepted + parallel route are missing. I can see the classes applied, but there are no associated stylesheets.

You can see the missing styles easily by comparing the version running on 13.3.4 at https://keegan.codes and the version running on 13.4.1-canary.0 at https://keegancodes-git-route-bug-k10y-team.vercel.app/

Expected Behavior: 
<img width="1438" alt="Screenshot 2023-05-04 at 5 25 40 PM" src="https://user-images.githubusercontent.com/12700819/236342708-56e69425-55ee-4700-aa98-243a33ab25cd.png">

Actual Behavior:
<img width="1438" alt="Screenshot 2023-05-04 at 5 25 16 PM" src="https://user-images.githubusercontent.com/12700819/236342740-ee7ad603-60ce-4845-94c8-51d4dd673684.png">

Expected  Styles:
<img width="788" alt="Screenshot 2023-05-04 at 5 27 35 PM" src="https://user-images.githubusercontent.com/12700819/236342969-d9b93268-6e86-477b-9a8d-14a4f3484e6c.png">

Actual Styles:
<img width="767" alt="Screenshot 2023-05-04 at 5 26 33 PM" src="https://user-images.githubusercontent.com/12700819/236343001-61850b9e-347b-475c-bfdf-c9586d693dd0.png">



### Expected Behavior

The stylesheets should be applied 

### Which browser are you using? (if relevant)

Brave Version 1.50.114 Chromium: 112.0.5615.49 (Official Build) (arm64)

### How are you deploying your application? (if relevant)

Vercel
Repository: vscode
Issue: Request: Option to hide deleted files from Go to File... (Command/Control P) fuzzy find results
Labels: bug,quick-open

<!-- ⚠️⚠️ 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 provide an option to automatically hide deleted file paths from the autocompletion result list in the `Go to File...` function (Command/Control P hotkey).
Repository: pytorch
Issue: Add support for MaxPool3D on the MPS backend
Labels: triaged,enhancement,module: mps

### 🚀 The feature, motivation and pitch

Currently, Pooling operations are only supported on MPS for 1D and 2D inputs. While MPS doesn't have native support for 3d pooling operations, it does support 4d pooling operations (e.g. [`maxPooling4DWithSourceTensor()`](https://developer.apple.com/documentation/metalperformanceshadersgraph/mpsgraph/3750695-maxpooling4dwithsourcetensor?language=objc)). 3d tensors can be expanded to become 4d tensors, passed to 4d pooling operations, and then squeezed back to 3d tensors. This wouldn't affect the accuracy of the results when compared to direct 3d pooling operations. So, we can start working to add support for 3d pooling operations on the MPS backend.

cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen @razarmehr @abhudev @mattiaspaul

### Alternatives

_No response_

### Additional context

This feature, along with the introduction of 3d convolutions in #99246 would open up lots of possible model architectures for 3D inputs. 
Full disclosure: I already have a working implementation of MaxPool3D support for MPS, and @mattiaspaul already has something in the works to address this as well.
Repository: pytorch
Issue: DISABLED test_inplace_gradgrad_remainder_cuda_float64 (__main__.TestBwdGradientsCUDA)
Labels: module: autograd,triaged,module: flaky-tests,skipped

Platforms: linux

This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_inplace_gradgrad_remainder_cuda_float64&suite=TestBwdGradientsCUDA) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/undefined).

Over the past 3 hours, it has been determined flaky in 7 workflow(s) with 7 failures and 7 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `test_inplace_gradgrad_remainder_cuda_float64`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.


Test file path: `test_ops_gradients.py`

ConnectionTimeoutError: Connect timeout for 5000ms, GET https://raw.githubusercontent.com/pytorch/pytorch/master/test/test_ops_gradients.py -2 (connected: false, keepalive socket: false, socketHandledRequests: 1, socketHandledResponses: 0)
headers: {}

cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @Lezcano @Varal7
Repository: PowerToys
Issue: Use Powershell to snap application to FancyZone layout
Labels: Needs-Triage

### Description of the new feature / enhancement

I was wondering if there is a way that I can have PowerShell import the current active FancyZone Layout. Then have PowerShell be able to launch an application (start-process chrome.exe -argumentslist "-url http://internal/webpage", and snap it to zone 1 in the current active layout.

I wish to eliminate having to this manually for multiple applications.

### Scenario when this would be used?

I have a information webpage that needs to be in specific area of the screen, and using fancy zone to create that layout.

### Supporting information

_No response_
Repository: godot
Issue: Textures became green after updateing normal map.
Labels: documentation,topic:import

### Godot version

4.0.1

### System information

Windows 10 Stable, Geforce GTX 3070, Forword+, Vulkan

### Issue description

When updating the textures in my blender file with normal maps I used the same texture as my albedo. However when imported to godot the sceen became a green mess. Removing the texture in blender from the normal map does not rectify the textures.

It seems that a bug like this was submitted before several years ago and marked not a bug, I just want to confirm that this is still not a bug.
https://github.com/godotengine/godot/issues/11394

If it is still not a bug it would be very helpful to have Godot refresh the textures/cache etc when a blender file's shaders have been edited so this can be easily fixed in the future.

### Steps to reproduce

1. Create a model in blender assign an image texture to the object.
2. Import the blender file into Godot
3. Edit the blender models shader, using the same texture as the normal map as shown.
4. Save the file and return to Godot
![Capture3](https://user-images.githubusercontent.com/66859264/236359740-5d8affcb-9ef3-4c65-bbf7-14f0f0c0ab88.PNG)
![Capture](https://user-images.githubusercontent.com/66859264/236359746-1e5268cc-2863-4f25-9d67-d40ab658f36c.PNG)


### Minimal reproduction project

[bug.zip](https://github.com/godotengine/godot/files/11402684/bug.zip)
Repository: flutter
Issue: Consolidate global generator and global archive configs
Labels: team-infra,P3,triaged-infra

Global generators are generating the artifacts being uploaded by global archives and there is no reason to live in different objects. The global generator config should include the archive config for that artifacts it is generating.
Repository: PowerToys
Issue: PowerRename - option to refresh the file list
Labels: Needs-Triage

### Description of the new feature / enhancement

There would be a button somewhere in PR that when clicked, would refresh the list of files in the files view from the currently operating folder. 

Or maybe even a FileSystemWatcher hookup to automatically refresh the list when new files are added (or deleted too, I guess).

### Scenario when this would be used?

I opened PR on a given folder, and renamed a bunch of files.
I then copied more files into that folder and want to rename them, but they don't show in the list.
Only way currently (that I could find) was to completely close PR, and re-open it on that folder.

Then it reflects the updated file list. 
This would mitigate having to do that.



### Supporting information

_No response_
Repository: godot
Issue: Title of attached script in inspector of a node or resource will not refresh when removing "class_name MyClassName" from code until reopening the Godot or the project
Labels: bug,topic:editor

### Godot version

4.0.2.stable

### System information

Windows 10

### Issue description

There will be exported variables on inspector in a new section after attaching a script to a node or resource. If there is no "class_name MyClassName" in the code of that script, title of this new section will be name of the script file(like new_script.gd). Otherwise, title will be the class name. This is cool until removing that line: "class_name MyClassName" from the code. The title of that section will remain as last class name and not revert to the script file name until closing the Godot or the project and reopening. I think this is not cool.

### Steps to reproduce

1. Create a script:
```gdscript
#extends Resource
extends Node

@export
var abcd : Vector3
```
2. Create a node or a resource
3. Attach(assign) the script to that node or resource
4. You will see the section with Vector3 "abcd" variable on it. This section have a title like: new_script.gd
5. Change the script like this and save:
```gdscript
#extends Resource
extends Node

#Added
class_name MyClassName

@export
var abcd : Vector3
```
6. Reopen the node or resource to see new title of the section on inspector: MyClassName
7. Remove this lines from the code and save:
```gdscript
#Added
class_name MyClassName
```
8. Reopen the node or resource to see the title of the section on inspector. It is still MyClassName. You can clear and attach(assign) again the script but it is still MyClassName. We expect something like new_script.gd as title.
9. Reopen the project(or Godot). The title will be something like new_script.gd

### Minimal reproduction project

N/A
Repository: rust
Issue: mutable_transmutes lint should catch transmutes from a type without interior mutability to one with
Labels: A-LLVM,A-lints,P-high,T-compiler,C-bug

<!--
Thank you for filing a regression report! 🐛 A regression is something that changed between versions of Rust but was not supposed to.

Please provide a short summary of the regression, along with any information you feel is relevant to replicate it.
-->

I'm filing this as a regression, although the summary is worded in a feature request-ish way.

So, the regression itself is this: code that transmutes from a type without interior mutability to one with interior mutability leads to really bad outcomes after the bump to LLVM 16, because of the changes in https://github.com/llvm/llvm-project/commit/01859da84bad95fd51d6a03b08b60c660e642a4f. This is a pattern that happens in the wild, probably mostly around FFI. At least, that's how it happens in the Firefox codebase.

### Code

Here is a reduced testcase using a similar pattern to what Firefox is using:

```rust
pub struct Foo(std::cell::UnsafeCell<usize>);

pub struct Bar([u8; 0]);

pub fn foo(f: &Bar) {
    unsafe {
        let f = std::mem::transmute::<&Bar, &Foo>(f);
        *(f.0.get()) += 1;
    }
}
```

With rustc up to 1.69.0 in --release mode, this produces the following IR:
```llvm-ir
define void @_ZN10playground3foo17hc0e352349f95f9ecE(ptr noalias nocapture noundef nonnull readonly align 1 %f) unnamed_addr #0 {
start:
  %0 = load i64, ptr %f, align 8, !noundef !2
  %1 = add i64 %0, 1
  store i64 %1, ptr %f, align 8
  ret void
}
```

With rustc 1.70.0-beta.2 in --release mode, this produces the following IR:
```llvm-ir
define void @_ZN10playground3foo17h2141d3a0b5fe8d73E(ptr noalias nocapture noundef nonnull readonly align 1 %f) unnamed_addr #0 {
start:
  ret void
}
```

Note how everything is gone because the input pointer is marked as noalias readonly, and thus the code is not expected to change what it points to, so it's all removed. This is the typical example of undefined behavior leading to the optimizer doing unexpected things. I'm not arguing that there isn't undefined behavior. The undefined behavior existed before. But with LLVM 16, now the undefined behavior is actively dangerous.

Now, to come back to the feature-request-y summary I wrote, the following code does not compile:
```rust
pub struct Bar([u8; 0]);

pub fn foo(f: &Bar) {
    unsafe {
        let _ = std::mem::transmute::<&Bar, &mut Bar>(f);
    }
}
```

The produced error is:
```
error: transmuting &T to &mut T is undefined behavior, even if the reference is unused, consider instead using an UnsafeCell
```

I would argue that the code that is now compiled to nothing should also produce a similar error, and that error should be shipped in 1.70.0.

Cc: @pcwalton, @nikic

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"dev-ardi"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: TypeScript
Issue: Type alias preserving logic defeats complexity reduction mechanisms
Labels: Bug,Domain: Big Unions


[Playground link with relevant code](https://www.typescriptlang.org/play?#code/PTAECkFcGcBdQIamgCwPYCd4CMA2aBjAa1FjVAFsEiBTRUSAOwEs1HQB3Z2FUAPlABmAAzCGLAI6Q6FGhWw0M0ALAAoGgA8ADpniwAnlroAhbqAC8oMQB9QARgDcazTqylDdAMr7GsBBoBpZkYAEwtQAAMAEgBvU1gAX1j4pLjuVJTk9KzEnIzstMSItQMjUAA5NBCaAFlqRQAeABVQTVgaUOhQb19-INDwnr9A4JCBSxa2jpCuloB+UBiiUYAuUCaEtcYaADdFJ1USjwqquktK6rraDAPSugB5EnPT0AAyE+qDo7KLmgAmcK-K77b50ADqCHgz2qbw+-wcoBAoAAZghmLgumRQBgaAQ0ABzFgALzov0QA1+AIQONAzGqvmYBAQuAANLToNBpF1sASYKA8RQtLhNNx9K0MBhMEA)

### 💻 Code
```ts
// Just a short block to make a union with > 300 unique members
export type Bit = 0 | 1;
export type SyntaxKind = `${Bit}${Bit}${Bit}${Bit}${Bit}${Bit}${Bit}${Bit}${Bit}`
type NodeMaker<T extends SyntaxKind = SyntaxKind> = T extends T ? {kind: T}: never;

type Node = NodeMaker;
type Ok = Node & Node;

type Node2 = NodeMaker;
type Wat = Node & Node2; // fails to recognize Node and Node2 are identical, issues bogus complexity error
```

### 🙁 Actual behavior

 On the `Wat` declaration, we issue a complexity error, even though `Node` and `Node2` are identical.

### 🙂 Expected behavior

No complexity error, like on the `Ok` line.

The `Wat` case is actually easy to trigger in real code, as it's what happens in control flow when a type is removed and then readded to the control flow narrowed union - you get the same type, but with no alias information. I bring this up because we trivially trigger this same issue in a handful of places in our own union-ized code base.

### Workaround
In type-space, none, sadly (short of eliminating the duplicated types). In expression-space, casting one of the expressions that's lost its' alias back to the aliased form can remove the error, though this feels bad, since the cast isn't well checked.
Repository: PowerToys
Issue: Power rename - add feature: diacritics remover
Labels: Needs-Triage

### Description of the new feature / enhancement

Add a button to the power rename which removes diacricitics.
E.g. crème brûlée would become creme brulee.
 Example of character map: [https://github.com/kylegendy/DeAccenter/blob/main/src/map.csv](https://github.com/kylegendy/DeAccenter/blob/main/src/map.csv)


### Scenario when this would be used?

Uploading files on websites. It is not good idea downloading crème brûlée.pdf from websites.

### Supporting information

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]:  Keyboard shortcuts and arrow keys not applying in UI
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Keyboard input such as Ctrl V, Ctrl A, Ctrl C and the arrow keys do not work in the text fields. Right click functions do work however. Copying doesn't even work on any part of the ui, even the commit part, right click does though.

### Steps to reproduce the problem

Going to the text fields on any page and trying to paste using the keyboard with Ctrl V and nothing happens. Among other mentioned inputs.

### What should have happened?

Paste clipboard text, arrows keys should move the input cursor, copy text, select all text

### Commit where the problem happens

 commit:  •  checkpoint: 79e42fb744

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Mozilla Firefox and Chrome

### Command Line Arguments

```Shell
--api --opt-split-attention --medvram --autolaunch --deepdanbooru --xformers --opt-channelslast --no-half-vae
```


### List of extensions


ABG_extension
PBRemTooIs
Stable-Diffusion-Webui-Civitai-Helper
StylePile
aesthetic-gradients
asymmetric-tiling-sd-webui
booru2prompt
model-keyword
sd-canvas-editor
sd-extension-system-info
sd-infinity-grid-generator-script
sd-web-ui-quickcss
sd-webui-additionaI-networks-O.5.O
sd-webui-ar
sd-webui-controlnet
sd-webui-enable-checker
sd-webui-gelbooru-prompt
sd-webui-infinite-image-browsing
sd-webui-llul
sd-webui-lora-block-weight
sd_save_intermediate_images
stable-diffusion-webui-Prompt_Generator
stable-diffusion-webui-anti-bum
stable-diffusion-webui-dataset-tag-editor
stable-diffusion-webui-inspiration
stable-diffusion-webui-randomize
stable-diffusion-webui-rembg
stable-diffusion-webui-sonar
stable-diffusion-webui-state
stable-diffusion-webui-text2prompt
stable-diffusion-webui-wd14-tagger
LDSR
Lora
ScuNET
SwiniR
prompt-bracket-checker

### Console logs

```Shell
https://pastebin.com/AF51nrSY
```


### Additional information

Edited - Corrected all the errors in the previous log, removed some extensions that were causing the errors, runs a lot faster but still the original bug is happening.
Repository: stable-diffusion-webui
Issue: [Feature Request]: More filename pattern options
Labels: enhancement

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

See the original issue: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/910

### Proposed workflow

See the original issue: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/910

### Additional information

As the original issue was closed by mistake I'll be reposting it if needed.