sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: angular
Issue: The `load` event on image elements is triggered twice with event replay
Labels: area: core,core: event dispatch

### Which @angular/* package(s) are the source of the bug?

core

### Is this a regression?

No

### Description

When using `withEventReplay()`, the `(load)` event listener is called twice: once by `invokeRegisteredReplayListeners -> invokeListeners`, and again by the `listener` instruction, which also sets up the `load` event listener.

![Image](https://github.com/user-attachments/assets/45a51021-de2c-4f4a-9c5d-c855d43cfcf8)


### Please provide a link to a minimal reproduction of the bug

https://github.com/arturovt/ng-issue-event-replay-twice

### Please provide the exception or error you saw

```true

```

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 19.0.4
Node: 20.11.1
Package Manager: yarn 1.22.22
OS: linux x64

Angular: 19.0.4
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, ssr

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1900.4
@angular-devkit/build-angular   19.0.4
@angular-devkit/core            19.0.4
@angular-devkit/schematics      19.0.4
@schematics/angular             19.0.4
rxjs                            7.8.1
typescript                      5.6.3
zone.js                         0.15.0
```

### Anything else?

_No response_
Repository: pytorch
Issue: Pytorch 3.13t wheels for release 2.6 - triton dependency
Labels: module: binaries,triaged

### 🐛 Describe the bug

While testing I noticed that wheel constraint does not work :
```
Requires-Dist: pytorch-triton==3.2.0+git35c6c7c6; platform_system == "Linux" and platform_machine == "x86_64" and python_version != "3.13t"
```

Workflow:
https://github.com/pytorch/pytorch/actions/runs/12427438642/job/34700799523#step:15:533

Looks like this is currently not supported : 
Related Doc: https://packaging.python.org/en/latest/specifications/dependency-specifiers/
Discussion: https://discuss.python.org/t/environment-marker-for-free-threading/60007/4

Hence I propose following:

For release and nightly Remove triton constrain from 3.13t wheels METADATA:
```
Requires-Dist: pytorch-triton==3.2.0+git35c6c7c6; platform_system == "Linux" and platform_machine == "x86_64" and python_version != "3.13t"
```
When publishing these wheels to pypi, publish them after linux 3.9-3.13 wheels are uploaded as separate step to avoid possible issues with poetry.


### Versions

2.6.0

cc @seemethere @malfet @osalpekar
Repository: langchain
Issue: ChatOpenAI: bind_tools not callable after with_structured_output
Labels: Ɑ:  models,investigate

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

```
from langchain_openai import ChatOpenAI
from pydantic import BaseModel, Field
from langchain.tools import StructuredTool

class ResponseModel(BaseModel):
  a_value:str = Field(description="This doesn't matter much")

def a_func(val: int):
    return True

a_tool = StructuredTool.from_function(
            func=a_func,
            name="A func",
            description="A function you will need",
        )

llm = ChatOpenAI(model="gpt-4o-mini",temperature=0)
structured_llm = llm.with_structured_output(ResponseModel)
llm_with_tools = structured_llm.bind_tools([a_tool]) <----- not available
```

### Error Message and Stack Trace (if applicable)

'RunnableSequence' object has no attribute 'bind_tools'

### Description

I am attempting to retrieved structured output in a json format (to pass via an api to a frontend), and I also require calling out to tools. I cannot figure out how to combine the two, or there is an issue with code to do so.

### System Info

System Information
------------------
> OS:  Darwin
> OS Version:  Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:27 PDT 2024; root:xnu-11215.41.3~2/RELEASE_X86_64
> Python Version:  3.13.1 (main, Dec  3 2024, 17:59:52) [Clang 16.0.0 (clang-1600.0.26.4)]

Package Information
-------------------
> langchain_core: 0.3.28
> langchain: 0.3.13
> langchain_community: 0.3.13
> langsmith: 0.2.4
> langchain_experimental: 0.3.4
> langchain_openai: 0.2.14
> langchain_text_splitters: 0.3.4

Optional packages not installed
-------------------------------
> langserve

Other Dependencies
------------------
> aiohttp: 3.10.10
> async-timeout: Installed. No version info available.
> dataclasses-json: 0.6.7
> httpx: 0.27.2
> httpx-sse: 0.4.0
> jsonpatch: 1.33
> langsmith-pyo3: Installed. No version info available.
> numpy: 1.26.4
> openai: 1.58.1
> orjson: 3.10.9
> packaging: 24.1
> pydantic: 2.9.2
> pydantic-settings: 2.6.0
> PyYAML: 6.0.2
> requests: 2.32.3
> requests-toolbelt: 1.0.0
> SQLAlchemy: 2.0.36
> tenacity: 9.0.0
> tiktoken: 0.8.0
> typing-extensions: 4.12.2
Repository: material-ui
Issue: [docs][Select] `placeholder` prop is omitted
Labels: docs,component: select,scope: docs-infra,support: docs-feedback

### Related page

https://mui.com/material-ui/api/select/

### Kind of issue

Missing information

### Issue description

Following issue https://github.com/mui/material-ui/pull/44502, the `placeholder` prop has been removed from the `Select` component for having no effect. While I'm inclined to disagree (MUI *could* render a placeholder, and the [Select documentation](https://mui.com/material-ui/react-select/) event suggests on how to render one) the API documentation should at least reflect that decision.

As of the time of writing, the [Select API documentation](https://mui.com/material-ui/api/select/) makes no mention of the omission of the `placeholder` prop. In fact, it refers to `OutlinedInput`:

> Props of the [OutlinedInput](https://mui.com/material-ui/api/outlined-input/) component are also available.

Which is where it is rightfully listed, leading developers to believe it should be available in `Select`.

I was ready to file a bug report, but having found that issue, I discovered `placeholder` was omitted intentionally. At first I went to the documentation to figure out what's what with this prop, but no mention of it was made, which lead me to create the issue you're reading now.

### Context

_No response_

**Search keywords**: select placeholder
Repository: angular
Issue: Event replay memory leak
Labels: memory leak,area: core,P3,core: event dispatch

### Which @angular/* package(s) are the source of the bug?

core

### Is this a regression?

No

### Description

Elements are not being garbage collected properly when the app is destroyed because they are captured inside the early event contract event info list. When calling `appRef.destroy()`, we can capture the heap snapshot and observe the detached `<app-root />`, which cannot be garbage collected:

![Image](https://github.com/user-attachments/assets/c0c211e7-d5bc-4468-80be-2e727855285c)


### Please provide a link to a minimal reproduction of the bug

https://github.com/arturovt/ng-issue-event-replay-leak

### Please provide the exception or error you saw

Elements are captured in that part of the code:

https://github.com/angular/angular/blob/2c3630aafdf0f375e1e5fc45f9068a274b46b7c7/packages/core/primitives/event-dispatch/src/earlyeventcontract.ts#L69-L83

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 19.0.4
Node: 20.11.1
Package Manager: yarn 1.22.22
OS: linux x64

Angular: 19.0.4
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, ssr

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1900.4
@angular-devkit/build-angular   19.0.4
@angular-devkit/core            19.0.4
@angular-devkit/schematics      19.0.4
@schematics/angular             19.0.4
rxjs                            7.8.1
typescript                      5.6.3
zone.js                         0.15.0
```

### Anything else?

_No response_
Repository: vscode
Issue: Git - Trial GIT_NO_OPT_LOCKS environment variable to avoid conflicts between git extension and git in terminal
Labels: plan-item,git,terminal
Repository: godot
Issue: [3.6] Copy Property Does Not Work
Labels: bug,topic:editor

### Tested versions

v3.6.stable.official [de2f0f147]

### System information

w11 64

### Issue description

When clicking "Copy Property," nothing is copied, and pasting still uses the previously stored content in the clipboard.

https://github.com/user-attachments/assets/b9aa25d3-f810-413b-8680-55a26b672692


### Steps to reproduce

See the video.

### Minimal reproduction project (MRP)

Any project.
Repository: pytorch
Issue: 反射填充的反向传播没有确定性实现
Labels: triaged,module: determinism

### 🐛 Describe the bug

UserWarning: reflection_pad2d_backward_cuda does not have a deterministic implementation, but you set 'torch.use_deterministic_algorithms(True, warn_only=True)'. You can file an issue at https://github.com/pytorch/pytorch/issues to help us prioritize adding deterministic support for this operation. (Triggered internally at ../aten/src/ATen/Context.cpp:91.)
  return Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass

### Versions

Python-3.12.7 torch-2.5.1+cu118 

cc @mruberry @kurtamohler
Repository: flutter
Issue: Add more platforms to MediaQueryData.alwaysUse24HourFormat's documentation
Labels: a: fidelity,d: api docs,P2,a: adaptivity,team-framework,triaged-framework

Currently `alwaysUse24HourFormat`'s documentation only discusses what happens on iOS and Android. This should also include desktop platforms (Windows, macOS, Linux) as well as whatever happens on Web. Looking through the engine code for the web, it seems like it's always set to `false` unless I'm missing something.

For reference, here is the current documentation:

> Whether to use 24-hour format when formatting time.
> 
> The behavior of this flag is different across platforms:
> 
> - On Android this flag is reported directly from the user settings called "Use 24-hour format". It applies to any locale used by the application, whether it is the system-wide locale, or the custom locale set by the application.
> - On iOS this flag is set to true when the user setting called "24-Hour Time" is set or the system-wide locale's default uses 24-hour formatting.
Repository: PowerToys
Issue: Change the name of the system-wide installer to indicate it's a system-wide installer
Labels: Idea-Enhancement,Area-Setup/Install,Needs-Triage

### Description of the new feature / enhancement

**Issue:**
The global, system-wide installer does not specifically indicate that the installer is for the global, system-wide installation package.

In the same way that the per-user installation package is named "PowerToysUserSetup-0.87.1-x64.exe", the global installer should have its name indicate it is the global, system-wide installer like "PowerToysSystemSetup-0.87.1-x64.exe" or "PowerToysAllUsersSetup-0.87.1-x64.exe".

### Scenario when this would be used?

**Why this is important:**
I can't speak for others, but in my case I often download both versions of an installation package, (and save it to my local file server), so that I can use the package most appropriate to a particular installation use-case.

Having the installers self-identify as either per-user or system-wide is extremely useful.  As it is, I am forced to rename the system-wide installer to make it self-identifying.

### Supporting information

**Severity:**  Minimal.
This feature request is not for something critical or of high importance.  It is simply there to make life easier for the end user and avoid confusion.

**Priority:**  Low.
Though it would be desirable to have this done quickly, it is not critically important and should not take priority over more important work.

**Impact:**  Low.
It does not impact product performance as it is simply a rename of the final executable.

**Possible impact scenarios:**
Possible impact scenarios are unit and/or build testing if they have a hard-coded product-name prefix.  If this is true, the test suite would need to be searched for all instances of the old name and have the new name substituted.  This should be  a low-impact change.
Repository: kubernetes
Issue: Prevent dueling during upgrade when `--requestheader-uid-headers` is only set on some servers
Labels: sig/auth,triage/accepted

/assign stlaz
/milestone v1.33

xref: #115834 #129081

```
@stlaz / @enj, can you make sure an issue exists to track resolving dueling during upgrade when we *do* populate a default value for this in the future, and make sure that is planned for 1.33?
```

_Originally posted by @liggitt in https://github.com/kubernetes/kubernetes/issues/128986#issuecomment-2528720969_
Repository: pytorch
Issue: Log more contextual data when nan is detected under the anomaly mode
Labels: module: autograd,triaged,module: NaNs and Infs,actionable

### 🚀 The feature, motivation and pitch

Currently the anomaly mode only reports a nan is found at a particular op, without showing the full input/output tensors as well as their sizes. This makes it difficult to narrow down the root cause of nan.

PR #143633 addresses this.

### Alternatives

Log the problematic (nan) tensors in the python interface. This seems unnecessary and inefficient given the c++ anomaly mode code is already available.

### Additional context

We are in the process of debugging a nan issue caused by the dummy tensor in the All2All_Seq_Req_Wait backward pass here 
https://github.com/pytorch/torchrec/blob/main/torchrec/distributed/comm_ops.py#L110
With PR #143633, it was immediately clear we were looking at the dummy_tensor, which has dimension [1].

```
RuntimeError: Function 'All2All_Seq_Req_WaitBackward' returned nan values in its 0th output; num_outputs = 1; num_inputs = 0; outputs[0].shape = [1, ]; outputs[i] = nan

[ torch.cuda.FloatTensor{1} ]
```
This is the fix PR for dummy_tensor: https://github.com/pytorch/torchrec/pull/2648

cc @ezyang @albanD @gqchen @pearu @nikitaved @soulitzer @Varal7 @xmfan
Repository: PowerToys
Issue: Support for markdown formatting in PowerToys RUN utility
Labels: Idea-Enhancement,Product-PowerToys Run,Run-Plugin

### Description of the new feature / enhancement

Currently, when developing custom plugins for PowerToys Run, the output is limited to using the Result class (wox.Plugin.Result), which makes the plugin look outdated and not very customizable.

It would be great if Markdown formatting could be supported for plugin outputs, allowing for more modern and flexible presentation.

### Scenario when this would be used?

Many more complex plugins require more than just a single line of plain text.


### Supporting information

_No response_
Repository: vscode
Issue: Document how to use VS Code Tunnels reliably for more than 2 or 3 days without disconnection
Labels: bug

Many vscode users have reported that it's difficult or impossible to keep vscode tunnels running for multiple days. 

This an ongoing problem with no clear solution.

Maybe what is needed is a suggestion for some kind of hack that will send a ping or data every few minutes, to keep the connection alive?

Various issues about this have been created and then closed by the vscode developers, most recently here: https://github.com/microsoft/vscode/issues/230058#issuecomment-2393103391

Before this issue was closed @connor4312 suggested that logging in with a Microsoft account might make VS code tunnels more reliable.

We've done extensive testing of this over the last week, using Microsoft accounts instead of Github and found that we have not fixed the problem this way.

Typically a vs code tunnel will stay online for roughly 2 to 5 days, and then will fail.

Now that we've switch to MS account, we reliably get a failure message like this when the tunnel disconnects:


```
Dec 20 08:55:08 code-tunnel[3683048]: [2024-12-20 08:55:08] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://usw3.rel.tunnels.api.visualstudio.com/tunnels/REDACTED-94lzwh5?tokenScopes=host&api-version=2023-09-27-preview (request ID fb9d5243-5aa8-48fd-aace-71f027a4fee8):
```

To fix this, we have found we need to follow these steps on Linux.... it seems to require opening the Vs code GUI application, there is no reliable way we have found to do this on the CLI.

1. Close vscode if it is running,
2. Re-open vscode
3. Stop tunnel if it is running.
4. Start tunnel
5. Login with microsoft
Repository: PowerToys
Issue: monaco preview tool is very slow for plain text
Labels: Idea-Enhancement,Area-Quality,Product-File Explorer,Needs-Triage

### Description of the new feature / enhancement

as the monaco editor is very slow, it would be possible not to use it for plaintext !

### Scenario when this would be used?

other than plaintext.

### Supporting information

_No response_
Repository: PowerToys
Issue: copy using CTRL-C from file preview (monaco) : format not supported by Office Clipboard
Labels: Issue-Bug,Product-File Explorer,Needs-Triage

### Microsoft PowerToys version

0.87.0

### Installation method

GitHub

### Running as admin

None

### Area(s) with issue?

File Explorer: Preview Pane, File Explorer: Thumbnail preview

### Steps to reproduce

1/ file preview of a txt file
2/ select a part of the document
3/ CTRL-C
4/ message: **Clipboard** item not collected: Format not supported by Office Clipboard


![Image](https://github.com/user-attachments/assets/a0068fff-0586-4688-8e4d-f770eed6cbba)


### ✔️ Expected Behavior

when copying using the item menu copy it works well !
![Image](https://github.com/user-attachments/assets/46348ae7-c0c6-4bb6-a9e6-67e1733d2fc1)


### ❌ Actual Behavior

see step to reproduce

### Other Software

monaco and WebView2.
Repository: flutter
Issue: [Flutter Analyze] - Running `flutter analyze` leads to a Exception and crash
Labels: tool,team-tool

### Steps to reproduce

As part of our CICD process, we are running `flutter analyze .` across our suite of flutter packages. Occasionally, the CICD process fails with the following kind of error

```
[app_foundation_account]: Exception: analysis server exited with code -9 and output:
21416info11/22/2024, 8:40:45 AM[app_foundation_account]: [stdout] {"event":"server.connected","params":{"version":"1.38.0","pid":9084}}
21417info11/22/2024, 8:40:45 AM[app_foundation_account]: [stdout] {"id":"1"}
21418info11/22/2024, 8:40:45 AM[app_foundation_account]: [stdout] {"event":"analysis.errors","params":{"file":"/harness/packages/layer2_app_foundation/app_foundation_account/analysis_options.yaml","errors":[]}}
21419info11/22/2024, 8:40:45 AM[app_foundation_account]: [stdout] {"event":"analysis.errors","params":{"file":"/harness/packages/layer2_app_foundation/app_foundation_account/pubspec.yaml","errors":[]}}
21420info11/22/2024, 8:40:45 AM
```
Our CICD system uses Harness. Our developers are able to run `flutter analyze .` on the same packages in their local environments without issue. We are currently use Flutter 3.24.3

### Expected results

`flutter analyze .` runs successfully on our packages without throwing a code -9 error and exiting.

### Actual results

`flutter analyze .` throws a code -9 error and exits causing our CICD pipeline to fail. 

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```
Since this issue is an issue with the `flutter analyze .` failing i'm not able to have a specific reproducible code sample

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
```

</details>

[harness cicd console log_20241125.txt](https://github.com/user-attachments/files/18213526/harness.cicd.console.log_20241125.txt)




### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[Paste your output here]
```
Since this issue is happening in our CICD environment, i'm unable to capture the output of running `flutter doctor -v` there
</details>
Repository: transformers
Issue: 'do_sample' model default cannot be overridden
Labels: bug

### System Info

transformers 4.47.1, python 3.10.

Basically while using Qwen-2-VL-Instruct (default config sets do_sample=True), if I set the model_kwargs with do_sample=False, I am unable to override the model_config. I had to make changes to the generations/utils.py to override....

### Who can help?

_No response_

### Information

- [ ] The official example scripts
- [X] My own modified scripts

### Tasks

- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

1. Use a model like Qwen2-VL-Instruct with default config using do_sample = True
2. Try to override the behavior through kwargs used during model.generate

### Expected behavior

If I set do_sample=False during generation, the default config of the model should be overridden
Repository: vscode
Issue: easily accessible "Open Editors" dropdown menu
Labels: feature-request,open-editors

<!-- ⚠️⚠️ 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. -->
There should be an option to view the "Open Editors" view in a dropdown menu from the editor tab bar. This would be similar to the dropdown menu that appears at the end of the tab bar in both Firefox and Chrome. This would make this functionality more easily accessible since currently the open editors view can only be opened in a sidebar which can require multiple clicks to access depending on which view was last open in that sidebar. Additionally a sidebar needs a final click to dismiss while a menu closes immediately after taking an action such as switching to or closing an editor. Alternatives such as `workbench.action.showAllEditors` are not equivalent since they cannot be activated by the mouse and because quick-pick panels do not support features such as reordering editors or closing them via middle-click.