sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: x/tools/go/analysis/passes/lostcancel: add new context functions and make it configurable
Labels: Tools

### Go version

go version go1.23.2 linux/amd64

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

```shell
-
```


### What did you do?

run nogo

### What did you see happen?

Analyzer `lostcancel` does not check if `cancel` returned by new `context` functions (`WithCancelCause`, `WithDeadlineCause`, `WithTimeoutCause`) is called. It is also not possible to add new import paths to check to the analyzer,

### What did you expect to see?

Analyzer lostcancel checks for these new functions too. It also has configuration flag to specify additional import paths for `context`-like packages. You may also add another flag to specify more functions to check but this is more tricky in general, as cancel function may not be returned as a second value as for `context` functions.
Repository: rust
Issue: Use `git diff --no-index` as the default diff in compiletest
Labels: C-enhancement,T-bootstrap,A-compiletest,A-test-infra

Since not long ago, compiletest supports custom diffing tools in the config.
This is cool, but in practice probably not very used since it requires configuring it.
I think that compiletest should, when `git` is available, use `git diff --no-index` by default as the diff.
The default git diff is quite OK, and many people (me included) configure git to have an even prettier one. This way, people get a nice diff by default without configuring anything.
Repository: kubernetes
Issue: Warnings on missing pull secrets can be confusing
Labels: kind/bug,priority/important-soon,sig/node,triage/accepted

### What happened?

A previous enhancement has added a warning event when a pull secret is missing: https://github.com/kubernetes/kubernetes/pull/117927

If the image has pulled successfully because either another pull secret did the job, or the image doesn't need auth, the warning is distracting.

As an example, this pod is running perfectly fine and has no problems, and yet when described, has had 11k warning events emitted over the last 9 days.
```
  Warning  FailedToRetrieveImagePullSecret  114s (x11399 over 9d)  kubelet  Unable to retrieve some image pull secrets (sa-integration); attempting to pull the image may not succeed.
```

We have been including multiple pull secrets in our pulls because it's more flexible to point to a few that may exist than to have to very exactly map each pod to a pull secret. This change means we will get warnings even when everything is working exactly as we wanted it to.

### What did you expect to happen?

No warnings if an image is pulled successfully.

### How can we reproduce it (as minimally and precisely as possible)?

Create a pod or service account that references a missing pull secret that is not required to pull the image.

### Anything else we need to know?

My suggestion would be to only emit that warning if the image cannot be pulled (for example, reaches ImagePullBackOff), or to include the detail about the missing secret in the existing image pull failure events.

### Kubernetes version

<details>

```console
Client Version: v1.29.4
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.8+632b078
```

</details>


### Cloud provider

<details>
n/a
</details>


### OS version

<details>

```console
n/a
```

</details>


### Install tools

<details>
n/a
</details>


### Container runtime (CRI) and version (if applicable)

<details>
n/a
</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>
n/a
</details>
Repository: flutter
Issue: Migrate 10 popular non-discontinued plugins that reference v1 android embedding. Round 2
Labels: platform-android,P2,team-android,triaged-android

Help the flutter plugin ecosystem by putting up pull requests to the top 10 still not migrated plugins. If a plugin only has references in example app code skip it (and add another from the list). If it violates googles open source contribution license rules skip it (and add another from the list).

Workflow defined in [go/flutter-android-v1-embedding-deprecation](http://goto.google.com/flutter-android-v1-embedding-deprecation)

Each of the following plugins uses a license that allows our contribution, and references v1 Android embedding class(es) in non-example code.

- https://github.com/oddbit/flutter_facebook_app_events/issues/373
  - https://github.com/oddbit/flutter_facebook_app_events/pull/388
- https://github.com/aakashkondhalkar/external_path/issues/11
  - https://github.com/aakashkondhalkar/external_path/pull/13
- https://github.com/pinkfish/flutter_native_timezone/issues/67
  - https://github.com/pinkfish/flutter_native_timezone/pull/71
- https://github.com/inway/flutter_ringtone_player/issues/81
  - https://github.com/inway/flutter_ringtone_player/pull/86
- https://github.com/adaptant-labs/flutter_windowmanager/issues/38
- https://github.com/BestBurning/platform_device_id/issues/49
- https://github.com/flutter-webrtc/flutter-webrtc/issues/1648
- https://github.com/mono0926/barcode_scan2/issues/90
- https://github.com/joutvhu/open_file_plus/issues/19
- https://github.com/GeekyAnts/external_app_launcher/issues/38

Continuation of https://github.com/flutter/flutter/issues/157807
Repository: vscode
Issue: Add right click and drag to scroll horizontally or vertically
Labels: feature-request,editor-scrollbar

<!-- ⚠️⚠️ 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. -->

I'd like to be able to right click and drag, either vertically or horizontally in order to scroll vertically or horizontally in a file I'm editing. Similar to how you can right click and drag to navigate in Figma.
Repository: rust
Issue: `rust-lld` is using wrong zlib at runtime
Labels: A-linkage,T-bootstrap,C-bug

After building rust 1.81.0 from sources, it configures with

```
-- Found ZLIB: /home/harmen/spack/opt/spack/linux-ubuntu23.10-zen2/clang-16.0.6/zlib-ng-2.1.6-xidpmzycb2jufhr6doa7anltbcyhu263/lib/libz.so (found version "1.3.0")
```

builds, and installs

```
<prefix>/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld
```

which lists

```
libz.so.1
```

among the DT_NEEDED libraries, but due to a lacking RPATH, at runtime the wrong `libz.so.1` is used:

```
$ ldd lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld | grep libz
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x000072120213b000)
```

This should have been the original zlib cmake has linked everything to.

Normally I would avoid this issue by passing `-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON`, but I don't see how I can pass this since rust's bootstrap script invokes cmake with a fixed set of arguments.

---

I noticed a related issue with binaries from https://static.rust-lang.org/dist/rust-1.81.0-x86_64-unknown-linux-gnu.tar.gz: both `libLLVM.so.*` and `rust-lld` depend on system `libz.so`, which makes the bootstrap binaries less self-contained than necessary.
Repository: tensorflow
Issue: Unable to install TensorFlow: No matching distribution found for TensorFlow!
Labels: stat:awaiting tensorflower,type:feature,type:build/install,subtype:windows

When trying to install TensorFlow via pip, I encounter an error stating that no matching distribution can be found. The command I used and the error message are as follows:

```
C:\Users\Enes> pip install tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
```
Operating System: Windows 10
Python Version: (Python 3.13.0)

I am currently using Python 3.13. Could this be related to compatibility with this specific Python version?

Could you provide guidance on how to resolve this issue, or suggest any compatible alternatives?
Repository: pytorch
Issue: [triton 3.2] test_convolution2
Labels: triaged,oncall: pt2,module: inductor,upstream triton

See https://github.com/pytorch/pytorch/pull/139206

python inductor/test_select_algorithm.py -k test_convolution2

Master issue tracker: https://github.com/pytorch/pytorch/issues/139175



cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov @int3 @davidberard98 @nmacchioni @embg @peterbell10
Repository: pytorch
Issue: [triton 3.2] test_custom_scan_op_dynamic_shapes_cuda
Labels: triaged,oncall: pt2,module: inductor

See https://github.com/pytorch/pytorch/pull/139206

python inductor/test_torchinductor_dynamic_shapes.py -k test_custom_scan_op_dynamic_shapes_cuda

Master issue tracker: https://github.com/pytorch/pytorch/issues/139175



cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov
Repository: vscode
Issue: Find and Replace does not work properly on notebooks
Labels: bug,notebook-find

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 
- OS Version: 

Steps to Reproduce:

1. I copy some mathematical notes from chat-gpt containing latex. I change "\\[" and "\\]" to "$$" and "\\(" and "\\)" to "$" to be properly formatted in markdown. I do it by searching and finding them and replacing them all. After the latest update it does not. It corrupts the notebook.
Repository: pytorch
Issue: [Tracker] complex128 tests are disabled for all foreach internally
Labels: module: cuda,module: tests,triaged,module: mta

### 🐛 Describe the bug

This issue tracks the fact that we disable all foreach tests for complex128 as a remediation for flaky tests internally. This should be fixed once we have more information about the flakiness.

### Versions

main, after this PR: https://github.com/pytorch/pytorch/pull/139649

cc @ptrblck @msaroufim @mruberry @ZainRizvi @crcrpar @mcarilli
Repository: go
Issue: x/build/devapp: automate deployment of devapps/owners, internal/gophers changes
Labels: Builders,NeedsInvestigation

devapp/owners and internal/gophers packages host data about the project teams and maintainers information.
Currently, manual redeployment of devapp (by the person on the interrupt rotation) is necessary to reflect changes to these data.
Some options to consider:

* automate the deployment: deploy on push (like x/website)
* keep the data outside the main devapp (like x/wiki (gerrit), x/telemetry/config (module), anything that reads from go.dev/dl (datastore), ...)
Repository: opencv
Issue: Single picture camera distortion estimation
Labels: feature,category: calib3d,GSoC

### Describe the feature and motivation

Hello,
In practise in the vfx industry camera distortion is estimated using a single image that covers the entire vieuw.

THis is however not possible with OpenCv.
I wanted to have a go at implementing this paper, But i have lost the ability to read more advanced maths in non coded forms. 

I was wondering if someone could implement this paper in openCV
https://arxiv.org/pdf/2403.01263


### Additional context

https://arxiv.org/pdf/2403.01263


### additional reasoning for single picture calibration in context of machine vision
there is a small lens distortion happening during focussing. also zooming obviously changes the lensdistortion.
If calibrations can be made by using a single image.

It gives better results and also allows you to create a map of how zoom / focus effects camera distortion which could allow the use of cheaper cameras that can zoom in over more expensive cameras that can`t zoom in but have a higher clarity and resolution.


### additional rambeling

This doesn`t have to be ran every frame.
You can create an st map once and then use that to distort/re-distort.
Repository: deno
Issue: Syntax aware coverage ignore directives
Labels: suggestion,testing

Relates to #16626

In addition to "// deno-coverage-ignore-[file|next|start|stop]" it would be useful to implement "syntax aware" directives.

In the first instance, I would propose the following two directives be added, which I believe would be commonly used.

1. "// deno-coverage-ignore-branch" for ignoring specific branches, primarily of an if or switch statement. A motivating example would be to ignore unreachable branches which are used for static `never` type assertions.
2. "// deno-coverage-ignore-construct" (open to naming suggestions) which would ignore the next syntactic construct, such as an entire function declaration, loop, if/else if/else statement, etc. A motivating example for this would be to ignore the internals of a debug logging utility function.

Both of these can be replaced with "// deno-coverage-ignore-[start|stop]" but would be easier to code review and more convenient as "syntax aware" directives.
Repository: next.js
Issue: Generated files on disk have different file hash than Webpack-reported assets
Labels: create-next-app,bug

### Link to the code that reproduces this issue

https://github.com/mauron85/nextjs-webpack-assets

### To Reproduce

1. create plain nextjs app or pull example from https://github.com/mauron85/nextjs-webpack-assets
2. add simple asset log plugin

// next.config.js
```
module.exports = {
  webpack: (config, { webpack }) => {
    config.plugins.push({
      apply: (compiler) => {
        compiler.hooks.compilation.tap("LogFinalFilenamesPlugin", (compilation) => {
          compilation.hooks.processAssets.tap(
            {
              name: "LogFinalFilenamesPlugin",
              stage: webpack.Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE,
            },
            () => {
              const assetNames = Object.keys(compilation.assets);
              console.log("Final asset filenames:", assetNames);
            }
          );
        });
      },
    });
    return config;
  },
};
```
3. run npm run build
4. compare file names in .next\static\chunks\pages\[sessionId] vs what plugin reported

### Current vs. Expected behavior

When building a Next.js application, the assets listed by Webpack (such as those logged by plugins like FileListPlugin or available in Webpack stats) have different hashes in their filenames compared to the files actually written to the .next/static folder on disk. This creates a mismatch between the assets reported by Webpack and those available on disk after the build process completes, impacting other webpack plugins eg. bug like https://github.com/microsoft/azure-devops-symbols/issues/253

The filenames for assets reported by Webpack should match those generated on disk in the .next/static folder, including any appended hash values for cache busting.

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Enterprise
  Available memory (MB): 32436
  Available CPU cores: 8
Binaries:
  Node: 20.17.0
  npm: 10.8.2
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.0.2 // Latest available version is detected (15.0.2).
  eslint-config-next: 15.0.2
  react: 19.0.0-rc-02c0e824-20241028
  react-dom: 19.0.0-rc-02c0e824-20241028
  typescript: 5.6.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

create-next-app

### Which stage(s) are affected? (Select all that apply)

next build (local)

### Additional context

"The mismatch between filenames on disk and Webpack asset names is causing issues with other Webpack plugins. For instance, when using AzureDevOpsSymbolsPlugin, this discrepancy results in duplicated sourceMappingURL entries in production builds, rendering them unusable across all browsers."
Repository: neovim
Issue: ext_cmdline will cause hit-enter messages on pattern not found during search
Labels: bug,ui-extensibility,messages

### Problem

Probably linked to the sames issue cmdheight=0, but werid as the message area should not be affected by ext_cmdline.
It can be observed here in this [issue](https://github.com/smilhey/ed-cmd.nvim/issues/5)

### Steps to reproduce

nvim --clean

```lua
vim.ui_attach(vim.api.nvim_create_namespace("test"), { ext_cmdline = true }, function() end)
```
luafile%. 

You can check by searching for anything not present in the buffer and hitting enter (or using the cmdwindow to visualize the editing).

### Expected behavior

The message area should handle its business as usual I guess

### Nvim version (nvim -v)

NVIM v0.11.0-dev-1092+g0da4d89558

### Vim (not Nvim) behaves the same?

no

### Operating system/version

fedora 40

### Terminal name/version

kitty

### $TERM environment variable

tmux-256color

### Installation

build from repo
Repository: ui
Issue: [feat]: Support i18n translations for all components
Labels: area: request

### Feature description

Some components contain strings in English, which should be fine to transform these strings in props.
![image](https://github.com/user-attachments/assets/ab40f13b-2df2-446b-a7f9-69ca34deca83)

From:
```tsx
        <span className="sr-only">Close</span>
```

To:
```tsx
        <span className="sr-only">{closeLabel}</span>
```



### Affected component/components

dialog,pagination,etc...

### Additional Context

Please use `"react/jsx-no-literals": "error"` to avoid this issue happened again.

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: excalidraw
Issue: Images not loading after restart
Labels: support

After restarting my pc the images in my whiteboard wont load.
Repository: PowerToys
Issue: FancyZones Layout Editor
Labels: Needs-Triage

### Description of the new feature / enhancement

Thank you soo much for such a great tool.  I feel that the less shortcut keys a user has to memorize regarding powertoys the better.  The more integrated things are into the standard Windows experience, the more user friendly things are.  It would be really awesome if you could get to the FancyZones Layout Editor from the context menu that appears when right clicking on a windows title bar.  Or possibly right clicking on the maximize/minimize/restore button.

Thank you for your time.


### Scenario when this would be used?

Any time I would like to use the FancyZones Layout Editor.

### Supporting information

Seems to just make sense to make it more user friendly and increase the efficiency of the workflow by giving more convenient access to the FancyZones Layout Editor.
Repository: PowerToys
Issue: Switchbar doesn't work with searching with run or typing links through run
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.86.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Download Switchbar and set it up, and after setting it as the default browser, try opening a web page with Powertoys run or searching with Run.

### ✔️ Expected Behavior

I expected it to open the browser selector, just like any other link

### ❌ Actual Behavior

It opened switchbar settings, the same result as opening the app's .exe

### Other Software

[Switchbar](https://switchbar.com/) 19.3.0
Repository: godot
Issue: Error assigning boolean properties of typed class instance
Labels: enhancement,discussion,topic:gdscript,topic:editor

### Tested versions

Godot Engine v4.3.stable.official.77dcf97d8
Godot Engine v4.4.dev3.official.f4af8201b

### System information

Godot v4.4.dev3 - Debian GNU/Linux 12 (bookworm) 12 on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4080 SUPER (nvidia) - AMD Ryzen 9 5900X 12-Core Processor (24 threads)

### Issue description

This code does not compile:

```gdscript
extends Node3D

func _ready() -> void:
        var material := ORMMaterial3D.new()
        material.transparency = true
```

The editor shows this error:

```
Line 5:Cannot assign a value of type "bool" as "BaseMaterial3D.Transparency".
Line 5:Value of type "bool" cannot be assigned to a variable of type "BaseMaterial3D.Transparency".
```

changing it to this, it works:

```gdscript
extends Node3D

func _ready() -> void:
	var material = ORMMaterial3D.new()
	material.transparency = true
```

This code has the same problem:

```gdscript
func _ready() -> void:
	var mesh_instance := MeshInstance3D.new()
	mesh_instance.cast_shadow = false
```
Assignment of other non-boolean attributes works without problems when using the typed instance, e. g. this works:

```gdscript
func _ready() -> void:
	var mesh_instance := MeshInstance3D.new()
	mesh_instance.position = Vector3.ZERO
```

### Steps to reproduce

1. Create a blank new project
2. Add a Node3D
3. Attach a script
4. Add the above method
5. Error appears right away in editor (even before attempting to run project)

### Minimal reproduction project (MRP)

[new-game-project.zip](https://github.com/user-attachments/files/17624231/new-game-project.zip)
Repository: PowerToys
Issue: [File Preview] Allow for more fine-grained control of which file extensions to preview
Labels: Needs-Triage

### Description of the new feature / enhancement

Allow for an editable list of file extensions whom should be previewed.

### Scenario when this would be used?

I really don't want to wait the loadingscreen when previewing simple .txt files. There the native windows one is totally fine for me.
For more complex files like .json with the formatting applied I'm willing to wait.
Having both (preview .json but not .txt) is currently not possible.

### Supporting information

_No response_
Repository: pytorch
Issue: Add metal-flash-attention for MPS backend
Labels: triaged,enhancement,module: mps

### 🚀 The feature, motivation and pitch

We should add flash attention support for the MPS backend. @srush mentioned to me that https://github.com/philipturner/metal-flash-attention/ exists which we could try to incorporate into the SDPA as a git submodule. MIT license.

### Alternatives

Wait for Apple to release their own implementation?

### Additional context

_No response_

cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen