sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: material-ui
Issue: [material-ui][Select] Aria-controls references invalid id when not expanded
Labels: accessibility,component: select,package: material-ui

### Steps to reproduce

Aria-controls references invalid id when not expanded mui select component
![select-error](https://github.com/user-attachments/assets/d5102c92-2230-4130-9642-f8b148728579)

Link to live example: (required)
Go to: https://mui.com/material-ui/react-select/

Steps:
1. Download ARC Toolkit: https://chromewebstore.google.com/detail/arc-toolkit/chdkkkccnlfncngelccgbgfmjebmkmce?hl=en and install it
2. Expand Inspect and select ARC Toolkit and Run tests on  https://mui.com/material-ui/react-select/
3. Look into the error for "ARIA attribute value is incorrect
Description: The value :R9alal9h9l6kud6: is not allowed on the aria-controls attribute(s)."

It is also observed using access-assistant also.

PFA the ARC snapshot: 



### Current behavior

ARIA attribute value is incorrect is observed on the select component upon ADA Testing using automation tools such as ARC.

### Expected behavior

Aria-control should refer to the id of the menu-item, in non-expanded state also.

### Context

_No response_

### Your environment

_No response_

**Search keywords**: select
Repository: pytorch
Issue: [RFC] Integrate NCCL scalable init API
Labels: oncall: distributed

### 🚀 The feature, motivation and pitch

API available in NCCL 2.23.
Uses multi-root to speed up bootstrap.

### Alternatives

_No response_

### Additional context

_No response_

cc @XilunWu @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o
Repository: vscode
Issue: [tunnels] Remote Tunnels stays active after logging out
Labels: polish,remote-tunnel

Testing #229414

Not sure whether this is expected

- Log into account
- Enable remote tunnels and open it in vscode.dev
- Log out
- Remote tunnels is still active until I manually turn it off

![Image](https://github.com/user-attachments/assets/f8756548-1e4c-4a0e-a19b-3c85fc98e0bf)
![Image](https://github.com/user-attachments/assets/aa2a8dcc-4717-4c29-8b25-535743821b79)
Repository: vscode
Issue: disambiguate links in chat with the same name
Labels: bug,panel-chat

Testing #229436

similar to https://github.com/microsoft/vscode/issues/229511, but in the chat response as well

![image](https://github.com/user-attachments/assets/7fedf0b5-1b16-45dc-a171-b3236fba2d51)
Repository: TypeScript
Issue: Function expression or method is not inferable when we have mapped type with a conditional type
Labels: Help Wanted,Possible Improvement

### 🔎 Search Terms

conditional method arrow function

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ 

### ⏯ Playground Link

[Playground Link](https://www.typescriptlang.org/play/?#code/C4TwDgpgBAsghmAPAFQHxQLxSgbygKGwCcI4ATAewDsAbEKAbQAUoBLKqAawhAoDMoyALoAuQcyFQIAD2AQqZAM5QARhQo1SHAPxQARGo1a9Y-RWAALCET34AvgRlgKRYFD4BXKgGNgraqoerDRkAMIUALYRcAqIAGJSsvJKUABKEN4uZIiKwETsAOYANFBenFQUAO5UqKgAFCpBIdYAgkQFimJ4hO5e3mJ1YGJxAJSY6ABuFKxkPWBwRHARnbAIiAByFACSVHzW8bX2Yzj49vigkFBx6pi47upihpoxUHYA3PgA9J9XfX4BThIikU-g4lAgygqbkqLk4+EawTCkWiCjqJ2wnh8YkxvlBUEGw3Ux1eRTmCyWK3R2HuFDEBnUzyotmwdiOp2+sAglgoKUoVAA5NDYfCmkiojEyGiejiCVciXc7KTsPNFssuj0MQ99E9jD1WXYRuyfm0iFVej5-hwYUROIoRYjwuLUVScQMhnKKGMMOg8IqyarKRqaXSdTFma8jkA)

### 💻 Code

```ts
type Map<T> =  { 
  readonly [P in keyof T]: T[P] extends boolean ? "boolean":  "other"
} 
export function buildCommand<F extends Record<string, unknown>>(builderArgs: { 
  func: (p: F) => void
  params: Map<NoInfer<F>>
}) {

}
type Foo = { foo: boolean };
// Function expression does not work
buildCommand({
  func: function (p: Foo) { },
  params: {
    foo: "boolean"
  }
})

// Methods don't work
buildCommand({
  func(p: Foo) { },
  params: {
    foo: "boolean"
  }
})

// Arrow function works
buildCommand({
  func: (p: Foo) => { },
  params: {
    foo: "boolean"
  }
})
```


### 🙁 Actual behavior

For the first two calls we get an error while the third one is successful

### 🙂 Expected behavior

All three calls should be successful

### Additional information about the issue

Removing the constraint from `F` ([Playground Link](https://www.typescriptlang.org/play/?#code/C4TwDgpgBAsghmAPAFQHxQLxSgbygKGwCcI4ATAewDsAbEKAbQAUoBLKqAawhAoDMoyALoAuQcyFQIAD2AQqZAM5QARhQo1SHAPxQARGo1a9Y-RWAALCET34AvgRlgKRYFD4BXKgGNgraqoerDRkAMIUALYRcAqIAGKoABQqQSHWAIJEAOaKYniE7l7eYolgYnEAlJjoAG4UrGQFYHBEcBG5sAiIAHIUAJJUfNbxqKj2VTj49vigkFBx6pi47upihpoxUHYA3PgA9HvzRX4BTiSKiv4clBDKVOZQAO4unPgpwWGR0QqJk9iePjEAN8VygpXK6gmWwANE0Wm0On9sCsKGIDOoNlRbNg7OMpgdYBBLBQlFBKFQAORuZ5EV7vELhKIxMi-ArA8HzSHLOyw7DNVrtPIFf6rfTrYwFXF2Cr4w6ZIgUR6FHwnDg0ziKN6pT5Mn5I4ElMqcihVDDoPA8uECxHClFo8UxbFbcZAA)) or changing it to `F extends Record<keyof F, unknown>` ([Playground Link](https://www.typescriptlang.org/play/?#code/C4TwDgpgBAsghmAPAFQHxQLxSgbygKGwCcI4ATAewDsAbEKAbQAUoBLKqAawhAoDMoyALoAuQcyFQIAD2AQqZAM5QARhQo1SHAPxQARGo1a9Y-RWAALCET34AvgRlgKRYFD4BXKgGNgraqoerDRkAMIUALYRcAqIAGJSsvJKUABKEN4uZIjcvAIJAGRQisBE7ADmADRQXpxUFADuVKioABQqQSHWAIJE5YpieITuXt5irWBicQCUmOgAbhSsZMNgcERwEQOwCIgAchQAklR81vEt9rM4+Pb4oJBQceqYuO7qYoaaMVB2ANz4AHoAY9Rn4Ak4SIpFP4OJQIMp6m4Gi5OPgOsEwpFogpWtdsJ4fGICb4YVAJlN1FcfpVVutNts8dg3hQxAZ1F8qLZsHZLjcgbAIJYKClKFQAORIlFozqYqIxMi44bE8mPSmvOw07BrDZbQbDfHvfSfYzDHl2aZ84G9IiNEY+MEcZFETiKaUY8JynGM4njSaqiizDDoPAa2k6hn65ms40xLk-S5AA)) will remove the error.
Repository: pytorch
Issue: [ONNX] Handle autocast HOP
Labels: module: onnx,triaged

Currently the exporter does not handle higher order ops. Autocasts are expressed as HOPs:

```python

# Inside the ExportedProgram
...

class submod_1(torch.nn.Module):
    def forward(self, expand_1: "f32[1, 64, 1]", _to_copy_1: "f32[1, 1, 512]"):
         # File: /home/xadupre/.local/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py:209 in forward, code: freqs = (inv_freq_expanded.float() @ position_ids_expanded.float()).transpose(1, 2)
        _to_copy_2: "f32[1, 64, 1]" = torch.ops.aten._to_copy.default(expand_1, dtype = torch.float32);  expand_1 = None
        _to_copy_3: "f32[1, 1, 512]" = torch.ops.aten._to_copy.default(_to_copy_1, dtype = torch.float32);  _to_copy_1 = None
        matmul: "f32[1, 64, 512]" = torch.ops.aten.matmul.default(_to_copy_2, _to_copy_3);  _to_copy_2 = _to_copy_3 = None
        transpose: "f32[1, 512, 64]" = torch.ops.aten.transpose.int(matmul, 1, 2);  matmul = None
        
         # File: /home/xadupre/.local/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py:210 in forward, code: emb = torch.cat((freqs, freqs), dim=-1)
        cat: "f32[1, 512, 128]" = torch.ops.aten.cat.default([transpose, transpose], -1);  transpose = None
        
         # File: /home/xadupre/.local/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py:211 in forward, code: cos = emb.cos()
        cos: "f32[1, 512, 128]" = torch.ops.aten.cos.default(cat)
        
         # File: /home/xadupre/.local/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py:212 in forward, code: sin = emb.sin()
        sin: "f32[1, 512, 128]" = torch.ops.aten.sin.default(cat);  cat = None
        return (cos, sin)
                

# No stacktrace found for following nodes
submod_3 = self.submod_1
wrap_with_autocast = torch.ops.higher_order.wrap_with_autocast('cuda', None, False, None, submod_3, expand_1, _to_copy_1);  submod_3 = expand_1 = _to_copy_1 = None

 # File: /home/xadupre/.local/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py:211 in forward, code: cos = emb.cos()
cos: "f32[1, 512, 128]" = wrap_with_autocast[0]

 # File: /home/xadupre/.local/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py:212 in forward, code: sin = emb.sin()
sin: "f32[1, 512, 128]" = wrap_with_autocast[1];  wrap_with_autocast = None

 # File: /home/xadupre/.local/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py:215 in forward, code: cos = cos * self.attention_scaling
mul_1: "f32[1, 512, 128]" = torch.ops.aten.mul.Tensor(cos, 1.0);  cos = None

...
```
Repository: vscode
Issue: SCM Graph - Title and Icons of SCM Graph actions
Labels: ux,scm,under-discussion

Testing #229364

The view works as expected. Possible improvements:
- Although I don't have a concrete proposal, "Go to Current History  Item" feels like an awkward name to me since "Current" and "history" seem to exclude each other. "Go to checked out commit" seems more appropriate.
- When looking for the "Go to Current History  Item" in the title bar I intuitively went to the "Fetch from all remotes" action. The bull's eye didn't convey any meaning to me. 

![Image](https://github.com/user-attachments/assets/43f06755-87b6-48f4-bade-d4b7691aca7d)
Repository: go
Issue: x/mobile: gomobile bind with go1.23 no exported names in the package
Labels: NeedsInvestigation,mobile

### Go version

go version go1.23.0.darwin-amd64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/Users/2me2/Library/Caches/go-build'
GOENV='/Users/2me2/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/2me2/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/2me2/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/Users/2me2/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-amd64'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/Users/2me2/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.darwin-amd64/pkg/tool/darwin_amd64'
GOVCS=''
GOVERSION='go1.23.0'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/2me2/Library/Application Support/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/2me2/src/play/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/q_/16fwpggs3_z0skpfkj4_cnfm0000gn/T/go-build3768234229=/tmp/go-build -gno-record-gcc-switches -fno-common'
```


### What did you do?

go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init
go get golang.org/x/mobile/cmd/gomobile@latest

gomobile bind -target ios -x ./mobile

inside ./mobile is a file mobile.go that has the following:
```
package mobile

func Blah() int {
	return 1
}
```
go.mod specifically specifies go1.23.0

### What did you see happen?

```
~/src/play  > gomobile bind -target ios -x ./mobile
GOMOBILE=/Users/2me2/go/pkg/gomobile
WORK=/var/folders/q_/16fwpggs3_z0skpfkj4_cnfm0000gn/T/gomobile-work-2833558045
rm -r -f "Mobile.xcframework"
GOOS=ios CGO_ENABLED=1 $GOPATH/bin/gobind -lang=go,objc -outdir=$WORK/ios -tags=ios 2me2test/mobile
GOOS=ios CGO_ENABLED=1 $GOPATH/bin/gobind -lang=go,objc -outdir=$WORK/iossimulator -tags=ios 2me2test/mobile
rm -r -f "$WORK"
gomobile: /Users/2me2/go/bin/gobind -lang=go,objc -outdir=/var/folders/q_/16fwpggs3_z0skpfkj4_cnfm0000gn/T/gomobile-work-2833558045/iossimulator -tags=ios 2me2test/mobile failed: exit status 1
no exported names in the package "2me2test/mobile"
no exported names in the package "2me2test/mobile"
no exported names in the package "2me2test/mobile"
no exported names in the package "2me2test/mobile"
```

### What did you expect to see?

Expected to see everything work fine without the no exported names in the package errors. It works just fine if in go.mod I change the version to 1.22.x. Only seeing this issue in 1.23.x
Repository: flutter
Issue: Fix SliverReorderableList Flickering For Async List Updates
Labels: c: new feature,framework,f: material design,c: proposal,P2,team-framework,triaged-framework

### Steps to reproduce

When using state management tools like riverpod or bloc, `ReorderableListView` may flicker on reorder if the list is from such a provider. This is because the `onReorder` callback may call a provider to update the list, but the list's new state has not been updated since the provider is async. Another scenario is that if `onReorder` call's an async function.

Examples outlined here: https://github.com/rrousselGit/riverpod/discussions/642 and https://github.com/felangel/bloc/issues/4013

**Possible Solutions**
- Add a caching the list option, as outline in the solution in the link
- Add a final rebuild time delay or number of frames options.
- `onReorder` should be changed to return a `FutureOr` and the final rebuild should be called once it completes.
Repository: vscode
Issue: IME editor position is non-deterministic when triggered from outside the viewport
Labels: bug,upstream-issue-linked,editor-edit-context

Testing #229383

Not sure if EditContext should handle this better than the traditional textarea, but it seems the position of IME editor is still non-deterministic if the focus is on a view line that's outside of the viewport

- Put cursor in a line
- Scroll it outside of the viewport
- Type
- The view line is scrolled into the viewport, but the IME is positioned randomly it seems

**Textarea**
<img width="446" alt="image" src="https://github.com/user-attachments/assets/415104c5-76d9-4b40-8781-da8ce3350635">

**EditContext**
<img width="454" alt="image" src="https://github.com/user-attachments/assets/7140b87a-1d07-4008-9fa8-2f32f3677c48">

<img width="465" alt="image" src="https://github.com/user-attachments/assets/c3a48598-9b8b-4be2-a38f-0f31604d5121">

<img width="503" alt="image" src="https://github.com/user-attachments/assets/6c553da9-e790-47f8-b5d7-7f639ea3820a">
Repository: godot
Issue: Row of black pixels appearing and disappearing at bottom of editor window / fonts deforming.
Labels: bug,topic:editor,topic:gui

### Tested versions

Reproducible from 4.0 to 4.4
Also present in 3.6

### System information

Godot v4.4.dev2 - Windows 10.0.22631 / AtlasOS - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4050 Laptop GPU (NVIDIA; 31.0.15.4680) - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 Threads)

### Issue description

There is a row of black (#000000) pixels appearing and disappearing at the bottom of the editor window. (Either that, or the editor is shrinking vertically by 1 pixel.) This seems to cause the whole editor to scale incorrectly, resulting in deformed fonts in various places. It does this in a project selection window too.

Monitoring the update spinner suggests it pops in and out at the same time the editor updates.

The row won't appear when the editor is consistently updating quickly, for example if Editor Settings > Editor > Update Continuously is set to true or I force the editor to update quickly the usual way, i.e. spamming a letter D in the code editor or moving the mouse rapidly between two containers of the GUI.

After a short time with no updates, the row of pixels appears and the editor stays in its deformed state.

It's **unaffected** by:
- where the mouse is on the screen or whatever the mouse is currently hovering over
- what I'm actually typing
- whether the taskbar is set to hide or not
- window size, maximized or not
- fullscreen toggle
- the asset drawer being at the bottom or not

I would have assumed it's an issue with my new PC, but there are no other apps demonstrating similar behaviour, and I have a lot of 'em.

Some examples of fonts deforming (First one's a little hard to see, it's the top pixel row of "TileMapDual.gd":
![Screenshot 2024-09-24 141348](https://github.com/user-attachments/assets/05db097c-6dcc-4124-b160-80af376eb68a)
![Screenshot 2024-09-24 142421](https://github.com/user-attachments/assets/c6b6bdb9-8304-4326-a448-483f7e990cf1)

I tried to get screen capture video of the issue but it doesn't show in video for some reason. No idea what to do with that information either. Something to do with the video capture resolution? My screen is 1920x1080 and it's supposedly capturing at 1920x1080, so...

I'm not a particularly techie person. Any ideas for specs to include or further things to rule out would be appreciated.

### Steps to reproduce

Be Godot'ing. I have no idea.

### Minimal reproduction project (MRP)

N/A
Repository: godot
Issue: Godot 4.3 Code Editor Freezes When Typing Special Characters on Ubuntu
Labels: bug,topic:editor,topic:input

### Tested versions

Reproducible in: Godot 4.3.stable

### System information

OS: Ubuntu 22.04 CPU: Intel Core i7-3770 GPU: NVIDIA GTX 1060 3GB (nvidia-driver-535) Rendering backend: Vulkan (Forward+)

### Issue description

When typing special characters (such as "É") in the Godot 4.3 integrated script editor on Ubuntu, the code editor freezes. The rest of the engine remains functional, but the editor becomes unresponsive until it's restarted. This issue persists even when the engine language is set to English.

Expected behavior: The code editor should not freeze when typing special characters.

### Steps to reproduce

Open Godot 4.3 on Ubuntu.
Create new project
Open the script editor.
Type any special character like "É" or "Á".
Observe that the editor freezes, while the rest of the engine remains functional.

### Minimal reproduction project (MRP)

N/A - The issue occurs in a new project without any specific project files.
Repository: vscode
Issue: repeat action for Jupyter walkthrough
Labels: polish,under-discussion,notebook

Testing #229460

In the Jupyter walkthough, as pictured below, there are two "actions" you can take from the first submenu. Both the "Jupyter extension" in blue text and the button "search jupyter extension" do the same action which feels redundant.

![Image](https://github.com/user-attachments/assets/074b70c6-6862-436b-88cb-087e16ce3d5a)
Repository: go
Issue: cmd/compile: possible PGO miscompilation in biogo-igor benchmark
Labels: NeedsInvestigation,compiler/runtime

The biogo-igor benchmark part of Sweet has been failing regularly at tip in the end-to-end test. It specifically fails when being run under PGO.

Broken out from #56958.
Repository: rust
Issue: Unnecessary loop unrolling to handle tail when tail length has a smaller known size
Labels: A-LLVM,I-slow,C-optimization

In the following code, the first `while` loop should process 8 bytes at a time and exit early if an invalid byte is found.

The remaining bytes should be known to be `bytes.len() % 8`, but the auto-vectorization unrolls to test again for 32 bytes and 8 bytes at a time
https://rust.godbolt.org/z/z8hnb9PGY

```rust
pub const fn is_ascii(bytes: &[u8]) -> bool {
    const N1: usize = 8;
    let mut i = 0;
    while i + N1 <= bytes.len() {
        let chunk_end = i + N1;
        let mut count = 0;
        while i < chunk_end {
            count += (bytes[i] <= 127) as u8;
            i += 1;
        }

        if count != N1 as u8 {
            return false;
        }
    }

    // Process the remaining `bytes.len() % N` bytes.
    let mut is_ascii = true;
    while i < bytes.len() {
        is_ascii &= bytes[i] <= 127;
        i += 1;
    }
    is_ascii
}
```
Repository: kubernetes
Issue: ConfigMap subpath mount could have transient "no such file or directory: unknown" error if it's patched before container startup
Labels: kind/bug,sig/node,priority/important-longterm,triage/accepted

### What happened?

If configMap is patched between pod startup (volume mount) and container startup, there's a chance that the container startup will fail with error "no such file or directory: unknown". The error is transient and is recovered on container restart. However, if the container can't be restarted or the pod is deleted on container startup failure, it will appear as a final error.

### What did you expect to happen?

Ideally we want to avoid this mount error from happening.

### How can we reproduce it (as minimally and precisely as possible)?

ok I think I got a reliable repro:

first, save the following to `subpath.yaml`:
```yaml
apiVersion: v1
kind: Pod
metadata:
  name: test-pod-{{number}}
spec:
  volumes:
  - configMap:
      name: extra-cfg
    name: extra-cfg
  containers:
  - name: test
    image: ubuntu:latest
    command: ["bash", "-c"]
    args:
    - |
      echo "test test-pod-{{number}} running"
      sleep 25
    resources:
      requests:
        cpu: 10m
    volumeMounts:
      - name: extra-cfg
        mountPath: /etc/extra.ini
        subPath: extra.ini
---
apiVersion: v1
data:
  extra.ini: |
    somedata-{{number}}
kind: ConfigMap
metadata:
  name: extra-cfg
```

then, run the following script:

```sh
for i in {1..20}
do
  scp subpath.yaml tmp.yaml
  sed -i -e "s@{{number}}@$i@g" "tmp.yaml"
  k apply -f tmp.yaml
done
```

this will reliably reproduce the issue. However, from what I can see, this issue is transient and the pods will recover on the next container restart.

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
Client Version: v1.31.0
Kustomize Version: v5.4.2
```

</details>


### Cloud provider

<details>
reproducible on GKE but not KIND, assuming that's because it's harder to hit this race condition on kind
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: pytorch
Issue: The doc of `linalg.norm()` should say there is `input` parameter instead of `A` parameter for `linalg.norm()`
Labels: module: docs,triaged,module: linear algebra,actionable,module: python frontend

### 📚 The doc issue

[The doc](https://pytorch.org/docs/stable/generated/torch.linalg.norm.html) of `linalg.norm()` says there is `A` parameter for `linalg.norm()` as shown below:

> torch.linalg.norm(A, ord=None, dim=None, keepdim=False, *, out=None, dtype=None) → [Tensor](https://pytorch.org/docs/stable/tensors.html#torch.Tensor)

> A ([Tensor](https://pytorch.org/docs/stable/tensors.html#torch.Tensor)) – tensor of shape (*, n) or (*, m, n) where * is zero or more batch dimensions

But `A` parameter doesn't work as shown below:

```python
import torch
from torch import linalg

my_tensor = torch.tensor([-2., -1., 0., 1., 2., 3.])
          # ↓
linalg.norm(A=my_tensor) # Error
```

> TypeError: linalg_norm() missing 1 required positional arguments: "input"

While `input` parameter works as shown below:

```python
import torch
from torch import linalg

my_tensor = torch.tensor([-2., -1., 0., 1., 2., 3.])
          # ↓↓↓↓↓
linalg.norm(input=my_tensor)
# tensor(4.3589)
```

### Suggest a potential alternative/fix

So, [the doc](https://pytorch.org/docs/stable/generated/torch.linalg.norm.html) of `linalg.norm()` should say there is `input` parameter for `linalg.norm()` as shown below:

> torch.linalg.norm(input, ord=None, dim=None, keepdim=False, *, out=None, dtype=None) → [Tensor](https://pytorch.org/docs/stable/tensors.html#torch.Tensor)

> input ([Tensor](https://pytorch.org/docs/stable/tensors.html#torch.Tensor)) – tensor of shape (*, n) or (*, m, n) where * is zero or more batch dimensions

cc @jianyuh @nikitaved @pearu @mruberry @walterddr @xwang233 @Lezcano @albanD @svekars @brycebortree @sekyondaMeta
Repository: vscode
Issue: Attachment pill renders incorrectly in chat history
Labels: bug,panel-chat

Testing #229342

I'd expect to see the file icon and no fil prefix here

![Image](https://github.com/user-attachments/assets/6e90eeb6-68c8-4944-a933-3e954c5ca461)

Attaching via the 📎 yields:

![Image](https://github.com/user-attachments/assets/7b963388-fedb-4bd0-9916-10d9bdddcf21)