sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: DISABLED test_cache_load_function_device_cuda_bfloat16_dynamic_False_bundle_triton_True_grad_False (__main__.TestFxGraphCache)
Labels: module: rocm,triaged,module: flaky-tests,skipped,oncall: pt2,module: inductor

Platforms: rocm

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

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

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



<details><summary>Sample error message</summary>

```
Traceback (most recent call last):
  File "/var/lib/jenkins/pytorch/test/inductor/test_codecache.py", line 146, in test_cache_load_function
    self.assertEqual(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 4036, in assertEqual
    raise error_metas.pop()[0].to_error(  # type: ignore[index]
AssertionError: Scalars are not equal!

Expected 7 but got 14.
Absolute difference: 7
Relative difference: 1.0

To execute this test, run the following from the base repo dir:
    PYTORCH_TEST_WITH_ROCM=1 python test/inductor/test_codecache.py TestFxGraphCache.test_cache_load_function_device_cuda_bfloat16_dynamic_False_bundle_triton_True_grad_False

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
```

</details>


Test file path: `inductor/test_codecache.py`

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @clee2000 @wdvr @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov
Repository: godot
Issue: Camera2D Jittering After Setting Position Smoothing Speed
Labels: bug,topic:2d

### Tested versions

System: MacOS
Godot version: 4.3.stable


### System information

Godot v4.3.stable - macOS 15.3.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (10 Threads)

### Issue description

![Image](https://github.com/user-attachments/assets/1f5305fa-e57a-4322-b57f-ba1b703157af)
My camera is attached to a character2d node with this setting. It works well without any jittering by default. 
However, jittering happens after I set position_smoothing_speed by code in game. It even happens when my default speed is 4 and set it to 4 by code. I tried both set value of position_smoothing_speed directly or use the setter. The speed setting function is just as simple as below.
```func smoothing(state: bool) -> void:
	match state:
		true:
			set_position_smoothing_speed(4.0)
		false:
			set_position_smoothing_speed(8.0)
```

I checked other issues, which related to physics and vsync. I tried both and didn't fix this jittering. 

### Steps to reproduce

Run test_scene, use up, down, left, right to move, then press space to set value of position smoothing speed to 4 again. Jittering begin.

### Minimal reproduction project (MRP)

[smooth_test.zip](https://github.com/user-attachments/files/18477655/smooth_test.zip)
Repository: pytorch
Issue: getting different results when adding `torch.Tensor` or python number to a DTensor - Is that expected?
Labels: oncall: distributed,module: dtensor

### 🐛 Describe the bug

```python
# torchrun --nproc-per-node 2 scripts/dtensor.py

import os
import torch
from torch.distributed.tensor import init_device_mesh, Shard, distribute_tensor

use_tensor = False

rank = int(os.getenv("RANK"))
world_size = int(os.getenv("WORLD_SIZE"))

torch.manual_seed(0)
tensor1 = torch.rand(1000, 88)
mesh = init_device_mesh("cpu", (world_size,))

norm1 = torch.linalg.vector_norm(tensor1)
norm1 += torch.tensor(2) if use_tensor else 2
print(f"{norm1}\n")

tensor2 = distribute_tensor(tensor1, mesh, [Shard(dim=0)])
norm2 = torch.linalg.vector_norm(tensor2)
norm2 += torch.tensor(2) if use_tensor else 2

print(f"{norm2.full_tensor()}\n")
```

setting `use_tensor = False` gives different results - is that expected?

`use_tensor = True` works fine and gives same results;

### Versions

```
Collecting environment information...
PyTorch version: 2.5.1
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 15.2 (arm64)
GCC version: Could not collect
Clang version: 16.0.0 (clang-1600.0.26.6)
CMake version: version 3.30.2
Libc version: N/A

Python version: 3.10.8 (main, Nov 24 2022, 08:08:27) [Clang 14.0.6 ] (64-bit runtime)
Python platform: macOS-15.2-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Apple M2

Versions of relevant libraries:
[pip3] flake8==7.1.1
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.25.2
[pip3] pytorch-lightning==2.0.1.post0
[pip3] torch==2.5.1
[pip3] torchaudio==2.0.0.dev20230302
[pip3] torchdata==0.6.1
[pip3] torchmetrics==0.11.4
[pip3] torchtext==0.15.2
[pip3] torchvision==0.19.0
[conda] numpy                     1.25.2                   pypi_0    pypi
[conda] pytorch-lightning         2.0.1.post0              pypi_0    pypi
[conda] torch                     2.5.1                    pypi_0    pypi
[conda] torchaudio                2.0.0.dev20230302          pypi_0    pypi
[conda] torchdata                 0.6.1                    pypi_0    pypi
[conda] torchmetrics              0.11.4                   pypi_0    pypi
[conda] torchtext                 0.15.2                   pypi_0    pypi
[conda] torchvision               0.19.0                   pypi_0    pypi
```

cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @tianyu-l @XilunWu
Repository: PowerToys
Issue: powerRename Stuck and crashed during apply replacement
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.1

### Installation method

GitHub

### Running as admin

No

### Area(s) with issue?

PowerRename

### Steps to reproduce

![Image](https://github.com/user-attachments/assets/a6745dfc-c559-4186-a596-d281495d3890)
After clicking , the software freezes and does not respond

### ✔️ Expected Behavior

work

### ❌ Actual Behavior

the software freezes and does not respond

### Other Software

[PowerToysReport_2025-01-20-21-17-59.zip](https://github.com/user-attachments/files/18478008/PowerToysReport_2025-01-20-21-17-59.zip)
Repository: PowerToys
Issue: Image resizer I want default to Jpg please
Labels: Resolution-Helped User

### Description of the new feature / enhancement

I have a huge PNG file, i try to resize to a jpg file, but since the original is png, the resize is also png. 
Turns out you cannot choose jpg if you want to. 

![Image](https://github.com/user-attachments/assets/fe6606cb-68d4-4730-b593-93a943d899a2)

### Scenario when this would be used?

I want a smaller file size and quality is not much of an issue

### Supporting information

_No response_
Repository: kubernetes
Issue: Admission controllers for kube-api response
Labels: sig/api-machinery,kind/feature,needs-triage

### What would you like to be added?

The existing admission controllers offer the ability to alter or validate the incoming request to the kube-api server before it is written to ETCD. I would like to ask for the addition of a similar mechanism for the responses that are returned from the api server. I am not sure if both mutate and validate are needed, maybe only mutate is enough.

### Why is this needed?

Use cases:
* Encrypt data in ETCD with different keys per namespace. The requirement is similar to https://github.com/kubernetes/kubernetes/issues/129708. We want to encrypt the secrets in each namespace with a different key. A mutating webhook (using the admission controller which is already implemented in kubernetes) would encrypt the data before storing them to ETCD.When the secret is read, another mutating webhook (using the proposed admission controller) would decrypt the secret. The proposed mutating webhook would run after the data are read from ETCD but before they are returned to the consumer.
* Transparent sealed secrets: there are solutions of sealed secrets like https://github.com/bitnami-labs/sealed-secrets?tab=readme-ov-file#sealedsecrets-as-templates-for-secrets which use a custom resource definition to create the sealed secret and a controller that creates a standard kubernetes secret from the corresponding sealed secret. Using this approach, we have some duplication. If the proposed admission controller would exist for response, then we could create a standard kubernetes secret (with the encrypted data) and create a mutating webhook for the response that would decrypt the data when someone tried to use them through the k8s api server.
Repository: opencv
Issue: opencv 5.0 build in windows, meet problem with avif
Labels: bug,duplicate,category: imgproc

### System Information

文件无效或损坏: 无法在 0x348 处读取  opencv_imgcodecs avif,dll

I have tried many ways to install libavif, all the same error

### Detailed description

文件无效或损坏: 无法在 0x348 处读取  opencv_imgcodecs avif,dll

### Steps to reproduce

cpp

### Issue submission checklist

- [x] I report the issue, it's not a question
- [ ] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [x] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: neovim
Issue: completion: plugins can define completion sources
Labels: lua,completion


Part of https://github.com/neovim/neovim/issues/25670

## Problem

completion plugins like https://github.com/saghen/blink.cmp and https://github.com/hrsh7th/nvim-cmp must be manually configured, there's no way for plugins to passively provide a "completion source".

## Expected behavior

- Plugins can declare a completion source.
- The default/builtin omnicomplete merges all such sources.
- Third-party autocomplete plugins can also choose to discover and merge these sources.
    - Nvim provides a stdlib function which does a "default" merge of the sources.
Repository: godot
Issue: VideoStreamPlayer rendering frames out of time (Theora video)
Labels: bug,topic:core

### Tested versions

Reproducible in: 4.3.stable

### System information

Debian GNU/Linux 12.9

### Issue description

I've encoded a pair of videos to illustrate a problem when rendering pictures with areas of solid colors. It might not be exclussive to any kind of content but probably more noticeable here and it's even more evident when trying to improve compression ratios by increasing the keyframe interval.

Even with default keyframe interval values there's still glitches in the franknstein_short.ogv video. It gets fixed with keyframe interval at 1 but then file size goes up noticeably.

Like #66331, the issue gets worse with higher keyframe intervals but it's not the same.

### Steps to reproduce

Load the attached videos in Godot and play them. Compare them against the same videos played in another player like VLC.

The videos played in Godot freeze in some frames.

In the case of the test.ogv video, colors white, cyan and yellow should stay while red and cyan should past by fast. Godot stays at red and green while white, cyan and yellow past by fast.

The franknstein_short.ogv video displays a border changing color and showing some bands. It freezes at frames that it shouldn't.

I think the issue must be the same in both videos.

### Minimal reproduction project (MRP)

https://www.mediafire.com/file/7abnxvzz54plvos/test.ogv/file
https://www.mediafire.com/file/i2w0wrt5ahi1p0g/franknstein_short.ogv/file

This is the commandline used to to generate test.ogv:

`ffmpeg -f lavfi -i color=white:320x240:d=1.5 -f lavfi -i color=red:320x240:d=0.1 -f lavfi -i color=cyan:320x240:d=1.5 -f lavfi -i color=green:320x240:d=0.1 -f lavfi -i color=yellow:320x240:d=3 -filter_complex "[0:v] [1:v] [2:v] [3:v] [4:v] concat=n=5:v=1 [v]" -map "[v]" -framerate 50 -codec:v libtheora -qscale:v 5 -g:v 500 test.ogv`

- *Production edit: Reupload of the above files (in case they become unavailable): [videos.zip](https://github.com/user-attachments/files/18479999/videos.zip)*
Repository: godot
Issue: Inconsistent spacing of groups in TileSet inspector
Labels: bug,topic:editor

### Tested versions

4.4 beta1

### System information

W10

### Issue description

https://github.com/user-attachments/assets/35f080dd-b32d-4cd0-8b6f-08fbd03079da

All layers except Custom Data have some weird gap, which is also visible when they are expanded.
The categories should have no spacing, but the button inside should have it (Custom Data doesn't space button properly).

### Steps to reproduce

1. Create TileSet
2. Inspect it

### Minimal reproduction project (MRP)

N/A
Repository: go
Issue: net/http/fcgi: request context not canceled on aborted connection
Labels: NeedsInvestigation,FeatureRequest,BugReport

### Go version

go version go1.23.4 darwin/amd64

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

```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/Users/user/Library/Caches/go-build'
GOENV='/Users/user/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/user/go/pkg/mod'
GOOS='darwin'
GOPATH='/Users/user/go'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/Cellar/go/1.23.4/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='local'
GOTOOLDIR='/usr/local/Cellar/go/1.23.4/libexec/pkg/tool/darwin_amd64'
GOVCS=''
GOVERSION='go1.23.4'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/user/Library/Application Support/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='cc'
CXX='c++'
CGO_ENABLED='1'
GOMOD='/dev/null'
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=/Users/user/Development/temp/go-build2053259560=/tmp/go-build -gno-record-gcc-switches -fno-common'
```

### What did you do?

Start an FCGI server.

```go
listener, err := net.Listen("tcp", ":0")
defer listener.Close()

fcgi.Serve(listener, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
  // Emulate some slow operation, waiting for the context to cancel
  <-r.Context().Done()
  fmt.Println("Done with slow operation")
}))
```

Using an FCGI client, or a reverse proxy like Apache with FCGI support, issue a request to the server and then close the request. Unfortunately the code for this can get quite verbose as the package only implements the server parts and I'm not sure it provides much context in this case.


### What did you see happen?

The string `Done with slow operation` is never printed as the context is never canceled. 

### What did you expect to see?

According to the documentation on the http request's context field, the context should be set and canceled when the connection closes or the server closes. As I haven't found any documentation in the fcgi package stating otherwise, I expect the same to be true.

From what I can tell, the issue comes from the fcgi package never setting a context that corresponds to the incoming connection. It relies on the default `context.Background()` returned by `http.Request.Context` if it's `nil`.

https://github.com/golang/go/blob/40b3c0e58a0ae8dec4684a009bf3806769e0fc41/src/net/http/fcgi/child.go#L292-L302

This makes the fcgi package difficult to use when web clients are involved as there's seemingly no way to react on aborted / closed requests, making it difficult to stop ongoing work.
Repository: deno
Issue: BUG - watcher from Deno.watchFs creating duplicate events if closed and created again on windows
Labels: bug,ext/fs

On Windows closing a `Deno.FsWatcher` doesn't correctly close it and still keeps watching separately a path. Which then causes duplicate events on other created `Deno.FsWatcher`'s

Script 1:
```ts
let watcher = Deno.watchFs(".", { recursive: false });

setTimeout(() => {
  watcher.close();
}, 300);

for await (const event of watcher) {
  console.log("WATCHER 1 >>>> event", event);
}
console.log("1");

watcher = Deno.watchFs(".", { recursive: false });

setTimeout(() => {
  watcher.close();
}, 300);

for await (const event of watcher) {
  console.log("WATCHER 2 >>>> event", event);
}
console.log("2");

watcher = Deno.watchFs(".", { recursive: false });

setTimeout(() => {
  watcher.close();
}, 300);

for await (const event of watcher) {
  console.log("WATCHER 3 >>>> event", event);
}
console.log("3");

watcher = Deno.watchFs(".", { recursive: false });

for await (const event of watcher) {
  console.log("WATCHER 4 >>>> event", event);
}
console.log("4");
```

Output 1 [REDACTED] (used touch test.txt):
```
1
2
3
WATCHER 4 >>>> event [Object: null prototype] {
  kind: "modify",
  paths: [ "REDACTED\\test.txt" ],
  flag: null
}
WATCHER 4 >>>> event [Object: null prototype] {
  kind: "modify",
  paths: [ "REDACTED\\test.txt" ],
  flag: null
}
WATCHER 4 >>>> event [Object: null prototype] {
  kind: "modify",
  paths: [ "REDACTED\\test.txt" ],
  flag: null
}
WATCHER 4 >>>> event [Object: null prototype] {
  kind: "modify",
  paths: [ "REDACTED\\test.txt" ],
  flag: null
}
```

Script 2:
```ts
let watcher = Deno.watchFs(".", { recursive: false });

setTimeout(() => {
  watcher.close();
}, 300);

for await (const event of watcher) {
  console.log("WATCHER 1 >>>> event", event);
}
console.log("1");

watcher = Deno.watchFs(".", { recursive: false });

setTimeout(() => {
  watcher.close();
}, 300);

for await (const event of watcher) {
  console.log("WATCHER 2 >>>> event", event);
}
console.log("2");

watcher = Deno.watchFs(".", { recursive: false });

for await (const event of watcher) {
  console.log("WATCHER 3 >>>> event", event);
}
console.log("3");
```

Output 1 [REDACTED] (used touch test.txt):
```
1
2
WATCHER 3 >>>> event [Object: null prototype] {
  kind: "modify",
  paths: [ "REDACTED\\test.txt" ],
  flag: null
}
WATCHER 3 >>>> event [Object: null prototype] {
  kind: "modify",
  paths: [ "REDACTED\\test.txt" ],
  flag: null
}
WATCHER 3 >>>> event [Object: null prototype] {
  kind: "modify",
  paths: [ "REDACTED\\test.txt" ],
  flag: null
}
```

>#### Version:
> deno 2.1.6 (stable, release, x86_64-pc-windows-msvc)
> v8 13.0.245.12-rusty
> typescript 5.6.2
Repository: rust
Issue: Allow attribute does not surpress unknown_or_malformed_diagnostic_attributes
Labels: A-lints,A-diagnostics,T-compiler,C-bug,D-diagnostic-infra,L-unknown_or_malformed_diagnostic_attributes

### Code

```Rust
trait _Trait {}
#[allow(unknown_or_malformed_diagnostic_attributes)]
#[diagnostic::abcdef]
impl _Trait for () {}
```

### Current output

```Shell
warning: unknown diagnostic attribute
 --> src/lib.rs:3:15
  |
3 | #[diagnostic::abcdef]
  |               ^^^^^^
  |
  = note: `#[warn(unknown_or_malformed_diagnostic_attributes)]` on by default

warning: `playground` (lib) generated 1 warning
```

### Desired output

```Shell
(no warning)
```

### Rationale and extra context

See https://github.com/bevyengine/bevy/pull/17441 for a case where this comes up, where it can't be worked around by introducing a module (because of https://github.com/rust-lang/rust/issues/79260) or allowing it globally because the lint triggers in a macro.

### Rust Version

```Shell
rustc 1.86.0-nightly (9a1d156f3 2025-01-19)
binary: rustc
commit-hash: 9a1d156f38c51441ee51e5a068f1d0caf4bb0f27
commit-date: 2025-01-19
host: x86_64-unknown-linux-gnu
release: 1.86.0-nightly
LLVM version: 19.1.7
```
Repository: flutter
Issue: MacOS sandbox embed a command-line tool testing
Labels: waiting for customer response,in triage

### Steps to reproduce

When developing MacOS sandbox app you can embed a command-line tool in a sandboxed app, see: https://developer.apple.com/documentation/xcode/embedding-a-helper-tool-in-a-sandboxed-app

but when testing how can you access this embed command-line tool?

### Expected results

I expect to have access to it like in my app

### Actual results

permission issue when trying to use it. disabling the sandbox solve my test but this is not an option because the app need to run in sandbox mode

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</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>Doctor output</summary>

```console
[Paste your output here]
```

</details>
Repository: opencv
Issue: No way to initialize the IStreamReader class in the Java wrapper.
Labels: feature,category: videoio,category: java bindings

### System Information

OpenCV version: 4.11.0
Operating System / Platform: Windows 10 22H2
Compiler & compiler version: 3.18.1

### Detailed description

In the Java wrapper of OpenCV, there is currently no way to initialize the IStreamReader class. While the class is exposed in the Java bindings, no constructor or factory method is implemented, making it impossible to create an instance.

Specifically, the following constructor in the Videoio module of the Videoio class requires an instance of the IStreamReader class, but since there is no way to initialize IStreamReader, this functionality is unusable:

`public VideoCapture(IStreamReader source, int apiPreference, MatOfInt params)`

As a result, even though the IStreamReader class is supported in the native C++ implementation, it cannot be used in Java applications.

### Steps to reproduce

Build with the BUILD_opencv_java_bindings_generator flag ON.

### Issue submission checklist

- [x] I report the issue, it's not a question
- [x] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [x] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: tauri
Issue: [feat] Add deprecation warning for `updater.dialog: true` in v1
Labels: type: feature request

### Describe the problem

In v2 we somewhat quietly got rid of the built-in dialog. This is especially unexpected for devs that didn't set the `updater.dialog` config at all because it defaulted to `true` hiding the fact that no config in v2 is vastly different in behavior.

For example one dev on discord updated many of their users to a v2 version of their app and now just noticed that those users can't receive any further updates. Very very unfortunate situation...

### Describe the solution you'd like

The cli and/or compiler should print warnings.

### Alternatives considered

I've already updated the migration docs with a bit of color to make this more apparent.

### Additional context

_No response_