sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: tauri
Issue: [bug] nsis plugins aren't signed
Labels: type: bug,priority: 1 high,platform: Windows,scope: bundler,status: needs triage

### Describe the bug

Nsis plugins inside nsis installer aren't signed with code signing though I enabled code signing. 
The app was signed, the DLLs and the installer. but the DLLs inside `$PLUGINSDIR` are not signed.
as a result AVs flag them as virus immediately.

### Reproduction

Download sigcheckGUI https://www.majorgeeks.com/mg/getmirror/sigcheckgui,1.html
Download https://github.com/thewh1teagle/vibe/releases/download/v2.6.6/vibe_2.6.6_x64-setup.exe
Extract the app with 7zip and check the signatures of the files 

### Expected behavior

It should be signed by my certificate or by yours (official?)

### Full `tauri info` output

```text
https://github.com/thewh1teagle/vibe
https://github.com/thewh1teagle/vibe/commit/ff020aef26235169541a1ffcea9c0157e8df4311




[✔] Environment
    - node: 20.15.1
    - pnpm: 9.10.0
    - yarn: 1.22.22
    - npm: 10.7.0
    - bun: 1.1.18

[-] Packages
    - tauri 🦀: 2.1.0
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.0
    - tao 🦀: 0.30.6
    - @tauri-apps/api : 2.1.0 (outdated, latest: 2.1.1)
    - @tauri-apps/cli : 2.1.0

[-] Plugins
    - tauri-plugin-updater 🦀: 2.0.2
    - @tauri-apps/plugin-updater : 2.0.0
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : 2.0.1
    - tauri-plugin-store 🦀: 2.1.0
    - @tauri-apps/plugin-store : 2.1.0
    - tauri-plugin-process 🦀: 2.0.1
    - @tauri-apps/plugin-process : 2.0.0
    - tauri-plugin-window-state 🦀: 2.0.2
    - @tauri-apps/plugin-window-state : 2.0.0
    - tauri-plugin-deep-link 🦀: 2.0.1
    - @tauri-apps/plugin-deep-link : 2.0.0
    - tauri-plugin-fs 🦀: 2.0.3
    - @tauri-apps/plugin-fs : 2.0.2
    - tauri-plugin-single-instance 🦀: 2.0.1
    - @tauri-apps/plugin-single-instance : not installed!
    - tauri-plugin-os 🦀: 2.0.1
    - @tauri-apps/plugin-os : 2.0.0
    - tauri-plugin-http 🦀: 2.0.3
    - @tauri-apps/plugin-http : 2.0.0 (outdated, latest: 2.0.1)
    - tauri-plugin-dialog 🦀: 2.0.3
    - @tauri-apps/plugin-dialog : 2.0.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

I noticed that virustotal flag the nsis plugins as a virus. 
By the way signing with self signed certificate is better than unsigned! now windows defender didn't blocked it and virus total has less false positives 

https://code.videolan.org/videolan/vlc/-/issues/27469
Repository: ant-design
Issue: `Dropdown` with `destroyPopupOnHide` set to `false` does not re-render child items when the parent component updates
Labels: 🗣 Discussion,Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/dropdown-does-not-re-render-child-st2kxf)

### Steps to reproduce

- Create a dropdown with `destroyPopupOnHide={false}` and with nested menu items
- Make the nested menu item change the state of the parent
- Watch the updates of the sub-menu component

### What is expected?

With `destroyPopupOnHide={false}`, I expect the dropdown items and sub-items to be mounted in the DOM and re-rendered when the parent state changes.

### What is actually happening?

The items and sub-items are mounted but only the items are re-rendered when the parent state changes.

### Initial render:
![image](https://snipboard.io/tAs34T.jpg)

### Hover over `Parent`:
![image](https://snipboard.io/i0GtjK.jpg)

### Click on `Open Modal`:
![image](https://snipboard.io/be6dMw.jpg)
The global state updates, and the parent re-renders but not the child.

### Hover over `Parent` again:
![image](https://snipboard.io/O3o4ZA.jpg)
The child is re-rendered with the new state, the modal appears.


| Environment | Info |
| --- | --- |
| antd | 5.22.0 |
| React | React 18.3.1 |
| System | Windows 11 |
| Browser | Chrome Version 130.0.6723.119 (Official Build) (64-bit) |

---
We provide a library which allows clients to register new menu items into an existing software. One of the clients discovered the bug when trying to open a Modal through a context menu item. Further investigation show that this is caused by the child component not re-rendering.

The library uses `antd` version 5.6.4, but the problem exists in the latest stable version.
The problem doesn't exist in `antd` version 5.1.6.

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: torch.jit.trace doesn't trace all operations completely (no data-dependent control flow)
Labels: oncall: jit

### 🐛 Describe the bug

Reproduce:
```python=
class Model(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.register_buffer("accumulator", torch.tensor(np.zeros((dim1, dim2, dim3), dtype=np.float16)))

    def forward(self, x):
        self.accumulator += x
        output = self.accumulator * 2
        self.accumulator = self.accumulator * self.accumulator
        return output

torch_model = Model().eval()
print(torch_model(torch.tensor([1])))
print(torch_model(torch.tensor([1])))
print(torch_model(torch.tensor([1])))

traced_model = torch.jit.trace(Model().eval(), torch.tensor([0]))
print(traced_model(torch.tensor([1])))
print(traced_model(torch.tensor([1])))
print(traced_model(torch.tensor([1])))
```

Output:
```
tensor([[[2.]]], dtype=torch.float16)
tensor([[[4.]]], dtype=torch.float16)
tensor([[[10.]]], dtype=torch.float16)
tensor([[[2.]]], dtype=torch.float16)
tensor([[[4.]]], dtype=torch.float16)
tensor([[[6.]]], dtype=torch.float16)
```

torch.nn.Module works as expected but the traced model seems lose the operation `self.accumulator = self.accumulator * self.accumulator` because this operation isn't needed to compute output.

### 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.1 (arm64)
GCC version: Could not collect
Clang version: 16.0.0 (clang-1600.0.26.4)
CMake version: version 3.24.0
Libc version: N/A

Python version: 3.9.6 (default, Oct  4 2024, 08:01:31)  [Clang 16.0.0 (clang-1600.0.26.4)] (64-bit runtime)
Python platform: macOS-15.1-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] numpy==2.0.1
[pip3] torch==2.5.1
[pip3] torchaudio==2.5.1
[pip3] torchvision==0.20.1
[conda] nomkl                     3.0                           0  
[conda] numpy                     1.21.5           py39h42add53_3  
[conda] numpy-base                1.21.5           py39hadd41eb_3  
[conda] numpydoc                  1.2                pyhd3eb1b0_0  

cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
Repository: next.js
Issue: Bug/inconsistency with `dynamicIO` and client-side hooks in dynamic segment
Labels: bug,dynamicIO

### Link to the code that reproduces this issue

https://github.com/amannn/nextjs-bug-repro-dynamicio-client-hooks/commit/6f8f90deff9f2661d1dc6357db870405f983dbbb

### To Reproduce

1. Clone https://github.com/amannn/nextjs-bug-repro-dynamicio-client-hooks/
2. Run `pnpm dev` and open e.g. http://localhost:300/en – works as expected
3. Run `pnpm build` – fails

### Current vs. Expected behavior

I'm not sure what the expected behavior is, but at least aligning dev and prod seems like it should be the case.

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:00 PDT 2024; root:xnu-10063.141.2~1/RELEASE_X86_64
  Available memory (MB): 16384
  Available CPU cores: 12
Binaries:
  Node: 20.11.1
  npm: 10.2.4
  Yarn: 1.22.22
  pnpm: 9.12.3
Relevant Packages:
  next: 15.0.4-canary.8 // Latest available version is detected (15.0.4-canary.8).
  eslint-config-next: 15.0.4-canary.8
  react: 19.0.0-rc-5c56b873-20241107
  react-dom: 19.0.0-rc-5c56b873-20241107
  typescript: 5.6.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

dynamicIO

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local)

### Additional context

_No response_
Repository: transformers
Issue: TypeError: Accelerator.__init__() got an unexpected keyword argument 'dispatch_batches'
Labels: bug,Accelerate

### System Info

transformers==4.37.2 python 3

### Who can help?

_No response_

### Information

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

### Tasks

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

### Reproduction

#huggingface trainer, to train the model
from transformers import Trainer, TrainingArguments

model.to(device)
model_name = f"{model_ckpt}-finetuned"
batch_size = 2
training_args = TrainingArguments(
    output_dir= model_name,
    save_safetensors = False,
    per_device_train_batch_size=batch_size,
    per_device_eval_batch_size=batch_size,
    evaluation_strategy='epoch',
    logging_strategy='epoch',
    learning_rate=1e-5,
    num_train_epochs=10,
    weight_decay=0.01,
    gradient_accumulation_steps=2,
    max_grad_norm=1.0,
    optim='adamw_torch'
)

trainer = Trainer(
    model= model,
    args=training_args,
    train_dataset=train_dataset,
    eval_dataset=test_dataset,
    compute_metrics=compute_metrics

)

trainer.train()

### Expected behavior

I was run perfectly fun before Nov 12th midnight, and stop working on Nov 13th.....
Repository: PowerToys
Issue: Mouse highlighter sometimes leaves lasting impression of primary button click
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.86.0

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

Mouse Utilities

### Steps to reproduce

I have configured the mouse highlighter to show the highlighter for the primary button (and secondary and always highlight).  Radius is set to 40px, fade delay 250ms, fade duration 500ms.  

Sometimes the highlight for the primary button stays on screen forever instead of fading away (as shown in the screenshot).  The highlight stays on the spot while I can move the mouse to other areas and generate other primary button impressions that do fade away.  Unfortunately I'm not able to reproduce as it only happens from time to time.  I think it may have to do with the screen going blank after a time out and when waking up the screen with the click of the mouse.  I generally don't see this happening when I'm actively working on the screen.  I have a dual monitor setup.  I didn't pay attention to it yet but it may be only happening on my secondary monitor so a disabled screen and waking it up by generating a click on the second monitor.

I'm able to clear the fixated highlight impression by turning off the highlight feature.  Turning it back on, everything is normal again.

![Image](https://github.com/user-attachments/assets/03399355-7b62-4afa-a56d-1ba504fe534e)


### ✔️ Expected Behavior

There should never be a fixated primary button highlight impression that stays on the screen

### ❌ Actual Behavior

Once it appears, the fixated primary button highlight impression stays on the screen until the feature is turned off.

### Other Software

_No response_
Repository: PowerToys
Issue: Put option in PowerToys Administrator > Run to allow processes to run elevated
Labels: Needs-Triage

### Description of the new feature / enhancement

When running PowerToys as Administrator provide an option in PowerToys Run to launch elevated processes

### Scenario when this would be used?

As a developer I sometime need to run tools like Visual Studio and Terminal as admin. The PT Run is so useful that it'd be great if it allowed this.

### Supporting information

If the PT Administrator is not running as Admin then grey out this option.

![Image](https://github.com/user-attachments/assets/f8401aa6-28ae-4852-b8e9-786e6e3b6633)
Repository: terminal
Issue: Terminal Chat code-insert button sometimes inserts entirely commented-out code
Labels: Issue-Bug,Product-Terminal,Needs-Tag-Fix,Area-Chat

### Windows Terminal version

1.23.3171.0

### Windows build number

10.0.26120.0

### Other Software

* OpenAI
* PowerShell 7

### Steps to reproduce

1. Open Terminal Chat and provide a prompt which might result in multiple lines of code, such as "_connect to Exchange Online and list all mailboxes_".
2. Ensure the code starts with a comment (`#`).
3. Click the insert/copy icon next to the code block.

### Expected Behavior

Possible options:
* The insert button doesn't insert comments into the terminal; they are filtered out.
* Line breaks are inserted so that single-line comments are "broken out of".
* Comments aren't included in code blocks (i.e. the system prompt is modified to instruct the model not to include comments).

### Actual Behavior

When there is multi-line code with a leading single-line comment inserted, the code (including comments) are inserted as all one line, meaning that the first comment comments out the entirety of the command, leaving no actual commands.

The code can be manually modified to remove comments, but this greatly takes away from the convenience of just being able to click the code-insert button and have working code just run.

![Image](https://github.com/user-attachments/assets/bb1285e6-33ea-454e-b8a7-8c10cc2f24e6)
![Image](https://github.com/user-attachments/assets/bad60746-ed1a-41bf-a8a9-9bdae85fe45d)
Repository: kubernetes
Issue: Support arrays and slices in `NestedFieldNoCopy`
Labels: sig/api-machinery,kind/feature,triage/accepted

Hello! 👋

I'm doing a Kube State Metrics' [Custom Resource State](https://github.com/kubernetes/kube-state-metrics/blob/main/docs/metrics/extend/customresourcestate-metrics.md) rewrite as an operator, which [employs](https://github.com/rexagod/crsm/commit/d8e3ab572e606c265abc7c7042960f6de7256ef6) `*unstructured.Unstructured`'s string-based resolving `NestedFieldNoCopy` API. However, it seems that the API currently lacks support for [slices and arrays](https://github.com/kubernetes/apimachinery/blob/v0.31.0/pkg/apis/meta/v1/unstructured/helpers_test.go#L121C21-L121C38), and I was wondering if there are any plans to do this in the future, or if the SIG would be open to a patch addressing the same?
Repository: deno
Issue: deno fmt crash
Labels: deno fmt,needs investigation

Version:
```
deno 2.0.6 (stable, release, x86_64-unknown-linux-gnu)
v8 12.9.202.13-rusty
typescript 5.6.2
```

I created a new backstage app via `npx @backstage/create-app@latest` and tried to run `deno fmt` against it and it exits with code `137` and prints "Killed"

It was a chore trying to find out exactly which file was causing the error but it was `.yarn/releases/yarn-4.4.1.cjs`

I'm writing this one as a bug because deno crashes but feel like there could also be a couple of feature requests that come from this as well.  Rather than preemptively creating them and generating noise I'll leave them here for discussion.  If they look good feel free to create new Bug issues out of them linking back here.

# deno fmt doesn't identify the file it fails on

Not entirely sure where the `Killed` message is coming from, but if deno knows which file caused an error it should be printed to the console.

To find the file causing problems I had to run this:

```bash
for fname in $(git ls-tree -r HEAD --name-only); do echo $fname; deno fmt $fname; done
```

Perhaps a `--verbose` flag could help as well rather than leaving users in the dark or resorting to something like the above script.

# option to piggy-back on //prettier-ignore

Perhaps not by default, but maybe there should be an option to ignore files with `//prettier-ignore` as well as `// deno-fmt-ignore-file`
Repository: next.js
Issue: @import on CSS file not working when i use Turbopack
Labels: bug,Turbopack,linear: turbopack

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/elegant-hodgkin-jrwltm?workspaceId=90948d01-dfc4-44b7-a979-f689d697bccf

### To Reproduce

I'm trying to import radix colors on my css file in a new Next 15 Project, but is not working (when i disable turbopack works fine): 

When there's just the colors: 
![image](https://github.com/user-attachments/assets/6bb5610e-1412-4eba-a198-48443975d54f)
The error on compile is: "./src/app/globals.css:42:2
Module not found: Can't resolve '@radix-ui/colors/violet-dark-alpha'"

When i have Tailwind at the top:
![image](https://github.com/user-attachments/assets/7be51fab-af23-4ad1-b7e6-82414973fe2f)

The error changes to:
![image](https://github.com/user-attachments/assets/8dc32dbf-7a0f-4bac-b53a-c68d18b429de)



### Current vs. Expected behavior

Without turbopack works fine:
![image](https://github.com/user-attachments/assets/4c82ff7d-323f-4183-9623-94bc5be214e8)


### Provide environment information

```bash
Operating System:
  Platform: Ubuntu 24.04
Binaries:
  Node: 20.14.0
  bun: 1.1.34 (using only the package manager)
Relevant Packages:
  "next": "15.0.3",
  "react": "19.0.0-rc-66855b96-20241106",
  "react-dom": "19.0.0-rc-66855b96-20241106"
```


### Which area(s) are affected? (Select all that apply)

Turbopack

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

_No response_
Repository: kubernetes
Issue: Device Plugin "ContainerAllocationResponse" mounts symbolic links incorrectly, it mounts them as directories.
Labels: sig/node,kind/feature,needs-triage

### What would you like to be added?

Hi

The device plug-in's  "ContainerAllocationResponse"  has: 

     Mounts []*[Mount](https://pkg.go.dev/k8s.io/kubernetes/pkg/kubelet/apis/deviceplugin/v1beta1#Mount) 

Mounts object contains a list is files/folders to mount to a container during the allocation.

I have a use case where I need to mount a "symbolic link" from the host  to the container "/dev" directory, unfortunately the kubelet passes it as a directory to the container not as a "symbolic link".

Is there a way to tell the Device Plugin that mounts it as a Symbolic Link?

Thanks in advance for any help you can provide me.

### Why is this needed?

Both /dev and /sys are strongly related to each other regarding drivers hardware communication; this relationship usually is materialized as "symbolic links".
Some drivers looks for the devices using the "/dev" symbolic links, and relies on "readlinks" to extract information.
When the symbolic links are loss (during the mount) the drivers gets broken inside the container.
Repository: angular
Issue: Mention the inject method in Injection Token page
Labels: area: docs

### Describe the problem that you experienced

The Injection Token documentation still only has one way to inject a token, could we mention the `inject()` method ?
https://angular.dev/guide/di/dependency-injection-providers#using-an-injectiontoken-object


### Enter the URL of the topic with the problem

https://angular.dev/guide/di/dependency-injection-providers#using-an-injectiontoken-object

### Describe what you were looking for in the documentation

We can read : 
```typescript
export class AppComponent {
  constructor(@Inject(APP_CONFIG) config: AppConfig) {
    this.title = config.title;
  }
}
```

We could add / replace this snippet with : 
```typescript
@Component({*
// omitted for brevity
template: `<div>{{ config.myProperty }}</div>`
})
export class AppComponent {
  config = inject(APP_CONFIG);
}
```

### Describe the actions that led you to experience the problem

The point is to keep the documentation up to date and not having to wonder if it's possible or not, and having to read some web articles to check.

### Describe what you want to experience that would fix the problem

_No response_

### Add a screenshot if that helps illustrate the problem

_No response_

### If this problem caused an exception or error, please paste it here

```true

```

### If the problem is browser-specific, please specify the device, OS, browser, and version

```true

```

### Provide any additional information here in as much as detail as you can

```true

```
Repository: go
Issue: x/build: windows installer doesn't allow installing on removable media
Labels: OS-Windows,NeedsInvestigation

### Go version

go version go1.23.3 windows/amd64

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

```shell
N/A (Not installed)
```


### What did you do?

Downloaded Windows AMD64 installer package (MSI) on both my laptop and a VPS.
Installing on laptop to HDD or SSD works fine while hitting a snag on the virtual machine.
Tried installing it to any of the drives, including C: which is the system partition on a VirtIO instance (SCSI/SAS), and just for laughs to see if they would work, network storage slabs (also run through VirtIO).
Looked up permissions issues which it seems to not be.

### What did you see happen?

Error saying it needs to be installed on a HDD, which of course a Virtio instance is not.


### What did you expect to see?

It to install as if it's on a physical machine.
Is this a bogus error message from the installer, or is it actually hard coded not to work on any partition hanging off of a non-SATA (i.e. USB or network) drive?  There should be an option to bypass this if it's the boot drive if it's intentional.  It's a strange requirement in this age.  I assume that using the ZIP version and just manually adding the paths would work fine, as a workaround.  Editing the MSI file's scripts would also fix it but that's more of an intermediate level of skill to do.
Repository: flutter
Issue: [flutter_svg] Dashed path support
Labels: package,team-engine,p: flutter_svg

_Imported from https://github.com/dnfield/flutter_svg/issues/9_

Original report by @dnfield on May 3, 2018

(should be done in the path library)

- [x] Support non-percentage dash-offset
- [ ] Support percentage based dash-offsets

---
Comment by @dnfield on May 9, 2018
Initial support in ed4dc94

Doesn't yet support dashed paths with percentages in the dash array.  I'm not 100% sure of the best way to implement this, particularly since by the spec it's acutally viewport percentage rather than path length percentage - I'm inclined right now to not implement it until/unless I see a compelling example of it being needed.