sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: neovim
Issue: LSP: Improve textDocument/diagnostic performance by conforming to LSP spec
Labels: enhancement,performance,lsp

### Problem

Users of the Roslyn LSP (used for C# in VS Code) have encountered significant delays when retrieving pull diagnostics in large documents while using Neovim. For instance, diagnostics in a 2000-line .cs file can take over 20 seconds to display after edits in Neovim, whereas in VS Code, diagnostics for the same file are displayed almost instantly.

As [@mparq noted](https://github.com/seblj/roslyn.nvim/issues/93#issuecomment-2508940330) in https://github.com/seblj/roslyn.nvim/issues/93, VS Code leverages additional parameters specified in the [LSP documentation for textDocument/diagnostic](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#documentDiagnosticParams), specifically:

- previousResultId
- identifier


### Expected behavior

When requesting diagnostics, Neovim should include the `previousResultId` and `identifier` parameters as part of the request.
These parameters enable the server to utilize caching and return incremental results.

Support for maintaining state is already present in the [textDocument/semanticTokens implementation](https://github.com/neovim/neovim/blob/8f84167c30692555d3332565605e8a625aebc43c/runtime/lua/vim/lsp/semantic_tokens.lua#L289).
A similar mechanism could probably be implemented in `textDocument/diagnostic` handler.
Repository: deno
Issue: deno task: globstar does not work properly on task dependencies ?
Labels: cli,task runner

Version: Deno 2.1.2

```
PS C:\GitHub\mizu> deno task build:readmes
Task build:readmes deno run --quiet --allow-read --allow-env --allow-write=@mizu/**/README.md,README.md --allow-run=deno .github/tools/mod_html_to_readme_md.ts $INIT_CWD
glob: no matches found 'C:\GitHub\mizu/--allow-write=@mizu/**/README.md,README.md'
```

I think it may be a mishandling of windows backslashes maybe ?

___

Edit: Actually it seems to occur on linux too, it may be possible this is because this task is a dependency of another task ?

```
Task build:readmes deno run --quiet --allow-read --allow-env --allow-write=@mizu/**/README.md,README.md --allow-run=deno .github/tools/mod_html_to_readme_md.ts $INIT_CWD
glob: no matches found '/home/runner/work/mizu/mizu/--allow-write=@mizu/**/README.md,README.md'
Repository: flutter
Issue: [macOS] : To update flutter/examples supporting desktop platform 
Labels: platform-mac,d: examples,c: proposal,a: desktop,P3,team-macos,triaged-macos

### Use case

Based on https://github.com/flutter/flutter/issues/84306 and 
https://github.com/flutter/flutter/issues/84306#issuecomment-2158870461
I am filing separate issue to update examples to support macOS platform.

### Proposal

Update flutter/examples to support macOS platform, although I do see https://github.com/flutter/flutter/pull/102539 but not sure if it covers all examples or not.
Repository: flutter
Issue: [windows] : To update flutter/examples supporting desktop platform
Labels: platform-windows,d: examples,c: proposal,a: desktop,P3,team-windows,triaged-windows

### Use case

Based on #84306 and
#84306 (comment)
I am filing separate issue to update examples to support windows platform.

### Proposal

Update flutter/examples to support windows platform.
Repository: flutter
Issue: [Linux] : To update flutter/examples supporting desktop platform
Labels: d: examples,platform-linux,c: proposal,a: desktop,P3,team-linux,triaged-linux

### Use case

Based on #84306 and
#84306 (comment)
I am filing separate issue to update examples to support Linux platform.

### Proposal

Update flutter/examples to support Linux platform.
Repository: flutter
Issue: [in_app_purchase_android]: Add functionality to `setOriginalExternalTransactionId`
Labels: c: new feature,platform-android,p: in_app_purchase,package,c: proposal,P2,team-android,triaged-android

### Use case

Documentation: https://developer.android.com/google/play/billing/alternative/alternative-billing-with-user-choice-in-app#subscriptions_bought_through_an_alternative_billing_system

The documentation says:
> Instead of specifying a `SubscriptionUpdateParams` object in the parameters, use `setOriginalExternalTransactionId`, providing the external transaction ID for the original purchase.

### Proposal

Provide the functionality to `setOriginalExternalTransactionId`

```kotlin
.setSubscriptionUpdateParams(
        BillingFlowParams.SubscriptionUpdateParams.newBuilder()
            .setOriginalExternalTransactionId(externalTransactionId)
            .build()
```
Repository: rust
Issue: Tracking issue for release notes of #132390: bootstrap: show diagnostics relative to rustc src dir
Labels: relnotes,T-libs,relnotes-tracking-issue


This issue tracks the release notes text for #132390.

### Steps

- [x] Proposed text is drafted by PR author (or team) making the noteworthy change.
- [ ] Issue is nominated for release team review of clarity for wider audience.
- [ ] Release team includes text in release notes/blog posts.

### Release notes text

The responsible team for the underlying change should edit this section to replace the automatically generated link with a succinct description of what changed, drawing upon text proposed by the author (either in discussion or through direct editing).

````markdown
# Libraries
- [Panics in the standard library now have a leading `library/` in their path](https://github.com/rust-lang/rust/pull/132390)
````

> [!TIP]
> Use the [previous releases](https://doc.rust-lang.org/nightly/releases.html) categories to help choose which one(s) to use.
> The category will be de-duplicated with all the other ones by the release team.
>
> *More than one section can be included if needed.*

### Release blog section

If the change is notable enough for inclusion in the blog post, the responsible team should add content to this section.
*Otherwise leave it empty.*

````markdown
````

cc @RalfJung, @albertlarsan68 -- origin issue/PR authors and assignees for starting to draft text
Repository: PowerToys
Issue: Example animations on Welcome pages not scaled correctly
Labels: Issue-Bug,Area-OOBE,Needs-Triage

### Microsoft PowerToys version

0.86.0

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

Welcome / PowerToys Tour window

### Steps to reproduce

I hope I'm not the only user with a 4K screen @100% scale, but this has been an ongoing issue with each installation for me at least. When on the Welcome and tours windows, the upper example animations do not fully show (as boxed), so much of the helpful info is not in view. There is however, a mass of whitespace (in yellow) below the tool title, How to launch & Tips & tricks.

![Image](https://github.com/user-attachments/assets/76a303d7-0861-4ce7-baec-9ecaa8aa4df4)


### ✔️ Expected Behavior

Thanks for all your hard work and dedication. I have been a PowerToys user for many years and don't know how I'd do without some of them.

I would hope to see a larger window for the animations, that reduces the redundant whitespace. I understand we can get to the full info from the Learn more option, but this necessitates opening Edge when a fuller description and animation would sometimes suffice. I've hashed a IMO better view that may help demonstrate my thinking;

![Image](https://github.com/user-attachments/assets/32fd8d5f-5335-452d-a62f-65039bf608eb)



### ❌ Actual Behavior

A very small area for the animation is shown and often the actual part of the animation that relates to the tool is out of view.

### Other Software

_No response_
Repository: opencv
Issue: Memory leak in cv2.getWindowImageRect on Mac M1 Air
Labels: bug,platform: ios/osx,needs investigation

### System Information

OpenCV python version: 4.10.0
Operating System / Platform: MacOS Sonoma 14.2
Python version: 3.10

### Detailed description

I have made a simple highgui functionality to keep/restore aspect ratio after changing the size of the Window.
It uses:
- cv2.getWindowImageRect(self.window_name)
- cv2.resizeWindow(self.window_name, width=nw, height=nh) 

However even if it never changes and only calls cv2.getWindowImageRect the memory grows like 100MB every few seconds.
I did not experience it on Windows.

### Steps to reproduce

Set up the window: `cv2.namedWindow(self.window_name, cv2.WINDOW_NORMAL)`
In reading image and processing loop:
```
            rect = cv2.getWindowImageRect(self.window_name)
            x, y, w, h = rect
            nh = int(round(w * self.aspect_ratio_yx))
            nw = int(round(nh / self.aspect_ratio_yx))

           window.show_image(image)
           key = cv2.waitKey(1)
```

### 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
- [ ] 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: go
Issue: proposal: cmd/go: go test flag -skip should be cacheable
Labels: Proposal

### Proposal Details

Running tests with the `-skip` flag should be able to use the test result cache.

In the original design of the test result cache (#11193), the test flag `-run` is a cacheable flag. However, the subsequent proposal (#41583) that added the `-skip` flag to go test but did not make it cacheable.

Both `-skip` and `-run` are flags used to match or filter the test cases. Since the `-run` parameter is cacheable, the `-skip` parameter should also be cacheable, too.
Repository: bitcoin
Issue: Args: -noconnect=0 is interpreted as -connect=0.0.0.1
Labels: Utils/log/libs

### Motivation

`-noconnect=0` is interpreted as `-connect=1` which is interpreted as `-connect=0.0.0.1`

```
₿ build/src/bitcoind -noconnect=0 -debug=net
```
Produces the following output:
```
2024-12-05T08:20:41Z Warning: parsed potentially confusing double-negative -connect=0
2024-12-05T08:20:41Z Bitcoin Core version v28.99.0-95a0104f2e98-dirty (release build)
2024-12-05T08:20:41Z parameter interaction: -connect or -maxconnections=0 set -> setting -dnsseed=0
2024-12-05T08:20:41Z parameter interaction: -connect or -maxconnections=0 set -> setting -listen=0
2024-12-05T08:20:41Z parameter interaction: -listen=0 -> setting -natpmp=0
2024-12-05T08:20:41Z parameter interaction: -listen=0 -> setting -discover=0
2024-12-05T08:20:41Z parameter interaction: -listen=0 -> setting -listenonion=0
2024-12-05T08:20:41Z parameter interaction: -listen=0 -> setting -i2pacceptincoming=0
...
2024-12-05T08:20:44Z net thread start
2024-12-05T08:20:49Z [net] connection attempt to 0.0.0.1:8333 timed out
2024-12-05T08:20:50Z [net] trying v2 connection 1 lastseen=0.0hrs
```

#### Main issue

`bitcoind` should not try to connect to the `0.0.0.1` IPv4 address.

#### Bonus

`-noconnect=0` should not result in `-dnsseed=0` and `-listen=0` in the parameter interaction logic.

Issue inspiration: https://github.com/bitcoin/bitcoin/pull/31212#issuecomment-2519529282

### Possible solution

Probably best to fail the Init-stage for invalid `-(no)connect(=value)` permutations.

Should include a functional test verifying that there is an Init-error for this case, possibly added to *test/functional/feature_config_args.py*.
Repository: PowerToys
Issue: customizing the powertoys Run window.
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

an additional option which allows us to set a background image to the powertoys run window would be really nice.

### Scenario when this would be used?

anytime when we use the powertoys run feature

### Supporting information

_No response_
Repository: storybook
Issue: [Bug]: If not export all members I can see the error "The requested module 'XXX' does not provide an export named 'XXXProps'"
Labels: bug,has workaround,docgen

### Describe the bug

If the ".stories.ts" file doesn't import the component directly but imports a file that exports the component, the storybook reports the error. I can reproduce this by using the generated demo. Here is what I did:

- After executing the ` npx storybook@latest init`, create a file "import.ts" under the ".stories" file with the content `export {Button, ButtonProps} from "./Button";`.
- Then change the "Button.stories.ts" file to import from the "import.ts" instead of the "Button.tsx".
- Run `npm run storybook` and open the Button story, you will see the error "The requested module '/stories/Button.tsx' does not provide an export named 'ButtonProps'".

If I change the "import.ts" to `export * from "./Button"`, then everything works.

This only occurs when using typescript.

### Reproduction link

https://github.com/zhaoyu1999/storybook-test

### Reproduction steps

1. Checkout the repo.
2. Run `npm run storybook`
3. Go to the "Button" stories.

### System

```bash
Storybook Environment Info:

  System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
  Binaries:
    Node: 18.12.0 - C:\Libs\node18.12.0\node.EXE
    npm: 8.19.2 - C:\Libs\node18.12.0\npm.CMD <----- active
  Browsers:
    Edge: Chromium (127.0.2651.74)
  npmPackages:
    @storybook/addon-essentials: ^8.4.6 => 8.4.6
    @storybook/addon-interactions: ^8.4.6 => 8.4.6
    @storybook/addon-onboarding: ^8.4.6 => 8.4.6
    @storybook/blocks: ^8.4.6 => 8.4.6
    @storybook/react: ^8.4.6 => 8.4.6
    @storybook/react-vite: ^8.4.6 => 8.4.6
    @storybook/test: ^8.4.6 => 8.4.6
    storybook: ^8.4.6 => 8.4.6
```

### Additional context

_No response_
Repository: godot
Issue: Controller vibration set in an unfinished tween persists after stopping instance with the editor "Stop Running Project" button
Labels: bug,topic:editor,topic:input

### Tested versions

v4.3.stable.official [77dcf97d8]

### System information

windows 11, xbox series controller

### Issue description

When running a game from the editor, setting the controller vibration through a tween and stopping the game 1. while the tween runs and 2. using the editor's stop button will cause the controller vibration to continue past closing the running game.
Closing the editor stops the vibration, as well as running the game again.

### Steps to reproduce

1. Run this script with a controller plugged in:
```gdscript
extends Node

func _ready() -> void:
    var t := create_tween()
    t.tween_method(
        func(magnitude: float): Input.start_joy_vibration(0, magnitude, magnitude, 0),
        0.0, 1.0, 10
    )
```
2. within the lifespan of the tween (10s), stop the running game with the stop button
![Image](https://github.com/user-attachments/assets/cbaaa9a1-d064-4cb9-bdcc-d1421af46681)
3. The controller should still be vibrating

### Minimal reproduction project (MRP)

have a controller and see script above
Repository: kubernetes
Issue: Add more features to `kubectl` packages
Labels: kind/feature,sig/release,needs-triage

I will describe the issue taking Debian package as example, but as far I can see it is the same issues are present in RPM package as well.

So let's look at Debian package contents. The package installed by [official instruction](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-using-native-package-management) from official repo:
```
root@kubectl-deb-rant:~# apt show kubectl
Package: kubectl
Version: 1.29.3-1.1
Priority: optional
Section: admin
Maintainer: Kubernetes Authors <dev@kubernetes.io>
Installed-Size: 49.8 MB
Homepage: https://kubernetes.io
Download-Size: 10.5 MB
APT-Manual-Installed: yes
APT-Sources: https://pkgs.k8s.io/core:/stable:/v1.29/deb  Packages
Description: Command-line utility for interacting with a Kubernetes cluster
 Command-line utility for interacting with a Kubernetes cluster.

N: There are 3 additional records. Please use the '-a' switch to see them.
root@kubectl-deb-rant:~# dpkg --listfiles kubectl
/.
/usr
/usr/bin
/usr/bin/kubectl
/usr/share
/usr/share/doc
/usr/share/doc/kubectl
/usr/share/doc/kubectl/LICENSE
/usr/share/doc/kubectl/README.md
root@kubectl-deb-rant:~#
```

# Shell completion
[Official installation guide says](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-shell-autocompletion) that the user needs to manually add something like `source <(kubectl completion bash)`. This is... wrong. It is not the way it has been done in Linux for ages and has numerous disadvantages:
1. If Alice installs kubectl tool on some machine and enables completion by this guide for her user, Bob will not get completion for his user
2. It immensely slows down shell startup. On my current laptop `kubectl completion bash` takes almost 100ms. And this point still stands even if it will be pared down to 10ms.
3. This is just additional actions that should not be performed by a human and should work out of the box

## The correct approach
Completion files should be generated just once during package build time and stored in package as
- `/usr/share/bash-completion/completions/kubectl`
- `/usr/share/fish/completions/kubectl`
- ??? `/usr/share/zsh/functions/Completion/Linux/_kubectl`  (not sure about this, not familiar with zsh)

The `kubectl` package should add optional dependency either as suggests or recommends for the package `bash-completion`.
This setup ensures that the bash completion will load on demand, eliminating any shell startup delays.

# Man page
The man page is not present. This has been already reported in kubernetes/kubectl#1291 which has been closed with response that man page exists and should be packaged by package maintainers. As far as I understand this is the proper place to ask maintainers of official deb package to include man page.
Repository: ui
Issue: [bug]: 
Labels: bug

### Describe the bug

Getting error while initiating Next Project,
![Screenshot_2](https://github.com/user-attachments/assets/de8f4423-0304-444d-ab62-318e0a7a3577)



### Affected component/components

Initial setup

### How to reproduce

init with Next js

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Windows , 11
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: godot
Issue: When using inherited scenes, renaming nodes in the super scene leads to data loss in sub scene
Labels: bug,topic:editor

### Tested versions

- Reproducible in: 4.3, 4.4dev5 (other versions weren't tested)

### System information

Godot v4.4.dev5 - macOS 15.0.1 - Multi-window, 1 monitor - Metal (Forward+) - integrated Apple M1 Pro (Apple7) - Apple M1 Pro (8 threads)

### Issue description

When you rename a node in a super scene, all changes to that node are lost in the sub scenes. I'd expect the changed values to be preserved. This makes inherited scenes a rather risky choice. 

### Steps to reproduce

1. Create a super scene with a child node
2. Create a sub scene from that super scene
3. Change some properties of the child node in the sub scene
4. Rename the child node in the  super scene

Now, all changes you have made to the child node in the sub scene are lost.

### Minimal reproduction project (MRP)

[inherited-scenes-test.zip](https://github.com/user-attachments/files/18020856/inherited-scenes-test.zip)
Repository: ui
Issue: [feat]: SelectTrigger clear option
Labels: area: request

### Feature description

Describe your feature request...


const SelectTrigger = React.forwardRef<
  React.ElementRef<typeof SelectPrimitive.Trigger>,
  React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> &
    CustomSelectTriggerProps
>(({ className, children, isClear, onClear, ...props }, ref) => (
  <SelectPrimitive.Trigger
    ref={ref}
    className={cn(
      "border-input bg-background ring-offset-background placeholder:text-muted-foreground focus:ring-ring flex h-10 w-full items-center justify-between rounded-md border px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
      className,
    )}
    {...props}
  >
    {children}

    {isClear ? (
      <div className='flex items-center pl-2'>
        <CircleX
          onClick={(e) => {
            e.stopPropagation()
            onClear && onClear()
          }}
          className='h-4 w-4 cursor-pointer text-red-500'
        />
      </div>
    ) : (
      <SelectPrimitive.Icon asChild>
        <ChevronDown className='h-4 w-4 opacity-50' />
      </SelectPrimitive.Icon>
    )}
  </SelectPrimitive.Trigger>
))

SelectTrigger.displayName = SelectPrimitive.Trigger.displayName

### Affected component/components

_No response_

### Additional Context

Additional details here...

const SelectTrigger = React.forwardRef<
  React.ElementRef<typeof SelectPrimitive.Trigger>,
  React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> &
    CustomSelectTriggerProps
>(({ className, children, isClear, onClear, ...props }, ref) => (
  <SelectPrimitive.Trigger
    ref={ref}
    className={cn(
      "border-input bg-background ring-offset-background placeholder:text-muted-foreground focus:ring-ring flex h-10 w-full items-center justify-between rounded-md border px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
      className,
    )}
    {...props}
  >
    {children}

    {isClear ? (
      <div className='flex items-center pl-2'>
        <CircleX
          onClick={(e) => {
            e.stopPropagation()
            onClear && onClear()
          }}
          className='h-4 w-4 cursor-pointer text-red-500'
        />
      </div>
    ) : (
      <SelectPrimitive.Icon asChild>
        <ChevronDown className='h-4 w-4 opacity-50' />
      </SelectPrimitive.Icon>
    )}
  </SelectPrimitive.Trigger>
))

SelectTrigger.displayName = SelectPrimitive.Trigger.displayName

### Before submitting

- [X] I've made research efforts and searched the documentation
- [ ] I've searched for existing issues and PRs
Repository: create-react-app
Issue: Why we need to use npx instead of npm for creating react app?
Labels: needs triage

If you have a general question about Create React App or about building an app with Create React App we encourage you to post in GitHub Discussions instead of this issue tracker. The maintainers and other community members can provide help and answer your questions there: https://github.com/facebook/create-react-app/discussions

If you're looking for general information on using React, the React docs have a list of resources: https://reactjs.org/community/support.html

If you've discovered a bug or would like to propose a change please use one of the other issue templates.

Thanks!
Repository: ui
Issue: [feat]: Add more color options when adding shadcn to a project
Labels: area: request

### Feature description

Currently at the question:
Which color would you like to use as the base color?

There's like 4 gray colors. But here on themes page, I see there's a lot more https://ui.shadcn.com/themes.

Please add them as well. I always have to modify this, quite frustrating.

### Affected component/components

ALL

### Additional Context

pnpm dlx shadcn@latest add dialog

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs