sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: deno
Issue: Ability to use deno_node without deno_kv.
Labels: suggestion,custom runtime

# I want to use deno_node without using deno_kv

The problem:

- **deno_node** relies on **deno_runtime**
- **deno_runtime** relies on **deno_kv** and **deno_cron**
- Therefore I can't use **deno_node** without adding **deno_runtime** to my project

## The good solution (I think/hope)

- deno_node relies on `import { kNeedsNpmProcessState } from "ext:runtime/40_process.js";`, from what I can tell the only time this file is consumed is from deno_node. Therefore, I believe it can be extracted from deno_runtime, potentially added to deno_node. 

## My current solution
I've added **deno_kv** and **deno_cron** as extensions to my setup, and just configured them with backends that don't do anything.
Repository: godot
Issue: Spatial Shader ALPHA makes mesh draw over NavigationMesh3D nav mesh and other visual nodes
Labels: topic:rendering,needs testing,topic:3d

### Tested versions

- Reproducible in 4.3.stable

### System information

Windows 10 64 bit - Godot 4.3.stable - Vulkan (Forward+)

### Issue description

While APLHA is changed in the 3D mesh's shader, the mesh(es) with the shader will draw over other nodes, eg. NavigationRegion3D's nav mesh.

Here's what it looks like with ALPHA disabled:
![image](https://github.com/user-attachments/assets/4a62a969-b40c-4c8e-b621-0d12da842840)
![image](https://github.com/user-attachments/assets/5ee0e174-b23b-4a88-a404-08c6ed5f3ab8)

and with ALPHA enabled:
![image](https://github.com/user-attachments/assets/1eb76009-5351-49a9-9215-5242ad8e6c22)
![image](https://github.com/user-attachments/assets/531f010e-a6ac-436c-bf17-b5b6c75f43d9)


### Steps to reproduce

- add NavigationRegion3D to scene
- Import a model from blender
- add collision to mesh (for navigation region 3D)
- Add a spatial shader with ALPHA set to 1.0 (as example) to the model

### Minimal reproduction project (MRP)

[example-project.zip](https://github.com/user-attachments/files/17388928/example-project.zip)
Repository: opencv
Issue: cv::cuda::transpose does not change dst mat at all
Labels: bug,category: gpu/cuda (contrib)

### System Information

`cv::cuda::transpose(src, dst)` does not change dst value at all.

OpenCV: 4.10.0
compiler: clang 17.0.6
Platform: almalinux9
cuda sdk: 12.3

### Detailed description

if I have cv::cuda::GpuMat src and dst, after `cv::cuda::transpose(src, dst)` we would expect the value in src gets mapped into dst, but it doesn't. The content in dst remains unchanged.

### Steps to reproduce

```cpp
    cv::cuda::GpuMat in{1108992, 4, CV_8U, cv::Scalar{20}};
    cudaDeviceSynchronize();
    auto in_sum = cv::cuda::sum(in)[0];
    cv::cuda::GpuMat in_trans{in.cols, in.rows, in.type(), cv::Scalar{10}};
    auto in_trans_sum1 = cv::cuda::sum(in_trans)[0];
    cudaDeviceSynchronize();
    cv::cuda::transpose(in, in_trans);
    cudaDeviceSynchronize();
    auto in_trans_sum2 = cv::cuda::sum(in_trans)[0];
    if (in_sum != in_trans_sum2 && in_trans_sum1 == in_trans_sum2) {
        throw std::runtime_error("transpose did not change dst value");
    }
```
run above code:
```
exception message: transpose did not change dst value
```

### 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
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: rust
Issue: Overly restrictive lifetime in `std::panic::Location::file`
Labels: A-lifetimes,T-libs-api,A-panic

# The problem

The signature of [`std::panic::Location::file`](https://doc.rust-lang.org/std/panic/struct.Location.html#method.file) is currently:
```rs
pub struct Location<'a> {
    file: &'a str,
    // ...
}

impl<'a> Location<'a> {
    pub const fn file(&self) -> &str
}
```

which, with lifetimes expanded, is:
```rs
pub const fn file<'b>(self: &'b Location<'a>) -> &'b str
```

This makes the following impossible:
```rs
let location: Location<'static> = unimplemented!();

let file: &'static str = location.file();
//        ------------   ^^^^^^^^ borrowed value does not live long enough
//        |
//        type annotation requires that `location` is borrowed for `'static`
```

# The solution

As far as I can tell, this should be a trivial fix - literally just adding the `'a` lifetime to the return type:

```rs
impl<'a> Location<'a> {
    pub const fn file(&self) -> &'a str
}
```

Unfortunately, I also believe this is technically a breaking change ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=4802a383b11314d8e3fb3a0accac5600)):
```rs
fn uh_oh<'x>() {
    let _: for<'a> fn(&'a Location<'x>) -> &'a str = Location::<'x>::file;
}
```
```
error: lifetime may not live long enough
  --> src/lib.rs:22:12
   |
21 | fn uh_oh<'x>() {
   |          -- lifetime `'x` defined here
22 |     let _: for<'a> fn(&'a Location<'x>) -> &'a str = Location::<'x>::file;
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'x` must outlive `'static`
```

# Looking for mentor

I would love to get more experience contributing to rust, so if someone would be willing to guide me through the process, I'd love to implement the fix myself, and go through the whole merge + review process to get more comfortable contributing.

I imagine the first step would be to consult the library or library API team on the path forward considering potential breakage ("crater run"? deprecate and make a `file2`?), then implementation, review, and merge - but I'm new to this, and would appreciate a mentor to guide me through the process 😄
Repository: kubernetes
Issue: [Flaking Test] [NodeFeature:SidecarContainers] Containers Lifecycle when A pod with restartable init containers is terminating
Labels: sig/node,kind/flake,priority/important-longterm,triage/accepted

### Which jobs are flaking?

 29 ci-cos-cgroupv1-containerd-node-e2e-features ►
 11 ci-cos-cgroupv2-containerd-node-e2e-features ►
 5 ci-cos-containerd-node-e2e-features ►
 3 ci-kubernetes-node-swap-fedora ▼


### Which tests are flaking?

E2eNode Suite.[It] [sig-node] [NodeFeature:SidecarContainers] Containers Lifecycle when A pod with restartable init containers is terminating when The PreStop hooks don't exit should terminate sidecars simultaneously if prestop doesn't exit

### Since when has it been flaking?

NA

### Testgrid link

- https://storage.googleapis.com/k8s-triage/index.html?test=Containers%20Lifecycle%20when%20A%20pod%20with%20restartable%20init%20containers%20is 
  - 5 clusters of 85 failures (11 in last day) 
- https://testgrid.k8s.io/sig-node-kubelet#kubelet-gce-e2e-swap-fedora&show-stale-tests=
  - 3 failures in last week
### Reason for failure (if possible)

probably those flakes can be fixed by tweak the simulToleration.

https://github.com/kubernetes/kubernetes/blob/55b83c92b3b69cd53d5bf22b8ccff859a005241a/test/e2e_node/container_lifecycle_test.go#L3283-L3285

```

Expected
    <int64>: 30708
to be within 1000 of ~
    <int>: 32000
In [It] at: k8s.io/kubernetes/test/e2e_node/container_lifecycle_test.go:3294 @ 10/13/24 19:55:14.386
```

```
[FAILED] should delete in < 5 seconds, took 6.112737
Expected
    <float64>: 6.112736517
to be <
    <int64>: 5
In [It] at: k8s.io/kubernetes/test/e2e_node/container_lifecycle_test.go:3548 @ 10/11/24 15:58:43.609

```

```
Expected
    <int64>: -912
to be within 500 of ~
    <int>: 0
In [It] at: k8s.io/kubernetes/test/e2e_node/container_lifecycle_test.go:3285 @ 10/15/24 18:03:02.718
}
```


### Anything else we need to know?

_No response_

### Relevant SIG(s)

/sig node
sidecar related
Repository: kubernetes
Issue: [Flaking Test][NodeFeature:DevicePlugin] [Serial] [Disruptive] Keeps device plugin assignments after kubelet restart and device plugin restart (no pod restart)
Labels: priority/backlog,sig/node,kind/flake,triage/accepted

### Which jobs are flaking?

- ci-kubernetes-node-swap-fedora-serial

### Which tests are flaking?

- E2eNode Suite.[It] [sig-node] Device Plugin [NodeFeature:DevicePlugin] [Serial] DevicePlugin [Serial] [Disruptive] Keeps device plugin assignments after kubelet restart and device plugin restart (no pod restart)

### Since when has it been flaking?

https://github.com/kubernetes/kubernetes/issues/121220 is an old issue which include this flake there last year.
/cc @kannon92 

### Testgrid link

https://testgrid.k8s.io/sig-node-kubelet#kubelet-gce-e2e-swap-fedora-serial

### Reason for failure (if possible)

```
{ failed [FAILED] inconsistent device assignment after pod restart: no resources found for device-plugin-errors-3704/device-plugin-test-4a0b7496-f40b-43f8-a726-d2d3a6ab3bcb/device-plugin-test-4a0b7496-f40b-43f8-a726-d2d3a6ab3bcb
In [It] at: k8s.io/kubernetes/test/e2e_node/device_plugin_test.go:613 @ 10/15/24 15:50:21.431
}
```

### Anything else we need to know?

_No response_

### Relevant SIG(s)

/sig node
Repository: godot
Issue: Godot Editor crashes when creating a pck file with a deleted .godot directory and adding fonts
Labels: bug,needs testing,crash,topic:export

### Tested versions

- Reproducible in: 4.3.stable

### System information

Ubuntu 22.04.5 LTS - Godot Editor 4.3.stable

### Issue description

If fonts are added to the project, and the **pck** file is created using **Godot Editor**, with the **".godot"** directory removed before that, then sometimes the **pck** file creation occurs with an error and Godot Editor crashes:
```reimport: begin: (Re)Importing Assets steps: 22
reimport: step 0: DejaVuSerifCondensed.ttf
reimport: step 10: DejaVuSansMono-BoldOblique.ttf
reimport: step 14: DejaVuSansCondensed-BoldOblique.ttf
ERROR: Caller thread can't call this function in this node (/root). Use call_deferred() or call_thread_group() instead.
at: propagate_notification (scene/main/node.cpp:2422)

=================================================================
handle_crash: Program crashed with signal 11
```

Example of a test project new-game-project, to reproduce:
[new-game-project.zip](https://github.com/user-attachments/files/17390277/new-game-project.zip)

Example of a script for playback:
[editor_loop_bug.zip](https://github.com/user-attachments/files/17390291/editor_loop_bug.zip)

The script input is the path to the Godot Editor executable file and the path to the new-game-project:
```
editor_loop_bug.sh -e <path godot.linuxbsd.editor.x86_64> -d <path new-game-project>
```

The script performs a loop deleting the ".godot" directory and creating a pck file:
```
for i in {0..100000}; do
	clear
	rm -rf $RESOURCE_DIR/.godot
	${GODOT_EDITOR_BIN} --headless --path ${RESOURCE_DIR} --export-pack ${EXPORT_TEMPLATE} ${PCK_FILE}
	if [[ $? -ne 0 ]]; then
		echo "step failed"
		exit 1
	fi
done
```






### Steps to reproduce

1) Unpack the archive with the test project:
[new-game-project.zip](https://github.com/user-attachments/files/17390277/new-game-project.zip)
into a convenient directory

2) Run the editor_loop_bug.sh script:
[editor_loop_bug.zip](https://github.com/user-attachments/files/17390291/editor_loop_bug.zip)
specifying the path to the Godot Editor executable file and the path to the new-game-project as input:
```
editor_loop_bug.sh -e <path godot.linuxbsd.editor.x86_64> -d <path new-game-project>
```

3) Monitor the output

At the Nth iteration, Godot Editor will crash.

On my machine, sometimes the crash lasts for one minute, and sometimes 10 minutes or more

### Minimal reproduction project (MRP)

Example of a test project new-game-project, to reproduce:
[new-game-project.zip](https://github.com/user-attachments/files/17390277/new-game-project.zip)

Example of a script for playback:
[editor_loop_bug.zip](https://github.com/user-attachments/files/17390291/editor_loop_bug.zip)
The script input is the path to the Godot Editor executable file and the path to the new-game-project:
```
editor_loop_bug.sh -e <path godot.linuxbsd.editor.x86_64> -d <path new-game-project>
```
Repository: deno
Issue: Turbo/ core pack support
Labels: question

I am liking Deno but I have one thing before I can switch, the ability to work with Turbo and put Deno as the package manager in my existing package.json
Repository: excalidraw
Issue: Option to disable the add text function on double tap in mobile
Labels: enhancement

I understand this isn't a bug, but it would be great if there were an option to disable the double-tap add text function in mobile view. The current behavior isn't very user-friendly, as when I'm adjusting elements on the canvas,  an accidental double tap frequently triggers the text input mode and opens the keyboard. This disrupts the workflow and makes it harder to interact with the canvas smoothly. Disabling this feature would significantly improve the user experience on mobile devices.
Repository: PowerToys
Issue: Workspaces tabbed browsers and documents
Labels: Issue-Bug,Needs-Triage,Product-Workspaces

### Microsoft PowerToys version

0.85.1

### Installation method

GitHub

### Running as admin

None

### Area(s) with issue?

Workspaces

### Steps to reproduce

1. Open multiple browsers (Brave) with TidyTabs and each tabbed browser window with multiple tabbed documents open. 
2. Create workspace with PowerToys
3. Save workspace

### ✔️ Expected Behavior

Open workspace should recreates the originals multiple tabbed browsers and within the multiple tabbed documents.

### ❌ Actual Behavior

Open workspace recreates the originals multiple browsers and multiple tabbed documents and additionally fully empty multipe browsers with within empty tabbed documents and also many browsers windows are minimized and have  totally different screen positions. 

### Other Software

TidyTabs Pro 1.19.1
Repository: next.js
Issue: I get the error when I use handlebars with next.js server actions.
Labels: examples

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Pro
  Available memory (MB): 32660
  Available CPU cores: 8
Binaries:
  Node: 20.17.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.0.0-rc.0 // Latest available version is detected (15.0.0-rc.0).
  eslint-config-next: 15.0.0-rc.0
  react: 19.0.0-rc-2d16326d-20240930
  react-dom: 19.0.0-rc-2d16326d-20240930
  typescript: 5.5.4
Next.js Config:
  output: N/A
```


### Which example does this report relate to?

handlebars

### What browser are you using? (if relevant)

Chrome, Safari

### How are you deploying your application? (if relevant)

Vercel

### Describe the Bug

I am using handlebars to use html template and I use resend to send the email by the imported html file.
It is working in production and development mode in my pc but not working in only vercel.

This is my code
```
"use server";

import fs from "fs";
import Handlebars from "handlebars";
import path from "path";
import { Resend } from "resend";
import { BASE_URL } from "@/constants";

const resendClient = new Resend(process.env.RESEND_API_KEY);

export const sendEmail = async (
	token: string,
	email: string,
	method: "password"
) => {
	const link = `${BASE_URL}/reset-psw?email_token=${token}&email=${email}`;

	const html = renderTemplate("reset-psw-req", {
		link,
		domainName: process.env.RESEND_DOMAIN_NAME
	});

	try {
		const result = await resendClient.emails.send({
			from: `MomoReis10 Support <support@${process.env.RESEND_DOMAIN_NAME}>`,
			to: [email],
			subject: "Reset your password",
			html
		});

		return result;
	} catch (err) {
		throw new Error(err as string);
	}
};

const renderTemplate = (templateName: string, data: any) => {
	const filePath = path.join(
		process.env.NODE_ENV === "development" ? process.cwd() : __dirname,
		process.env.NODE_ENV === "development" ? "lib/emails/" : "./lib/emails",
		`${templateName}.handlebars`
	);
	const source = fs.readFileSync(filePath, "utf8");
	const template = Handlebars.compile(source);
	return template(data);
};
```

![image](https://github.com/user-attachments/assets/e1b3a628-6a1d-4eb8-b94b-48cd06ea09fc)


### Expected Behavior

I expected to send the email to user's email for resetting password.

### To Reproduce

https://momoreis.vercel.app
You can see the "Giriş Yap" button in the navbar and there is the link named "Şifreni mi Unuttun?". 
If you click it and see the console, there is an error.
Repository: vscode
Issue: Zen mode does not exit when leaving fullscreen after restart
Labels: bug,workbench-zen

Steps to Reproduce:

1. go fullscreen
2. enable zen mode
3. quit
4. leave fullscreen

=> 🐛 zen mode is not exit because `zenModeExitInfo.transitionedToFullScreen` is not remembered correctly between restarts
Repository: go
Issue: x/crypto/ssh/test: TestRunCommandSuccess failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh/test" && test == "TestRunCommandSuccess"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8734348983558033425)):

    === RUN   TestRunCommandSuccess
        session_test.go:40: session failed: EOF
        test_unix_test.go:246: sshd:
            Error reading managed configuration (2: No such file or directory). Proceeding with default configuration.
            /Users/swarming/.swarming/w/ir/x/t/sshtest3004567004/sshd_config line 10: Deprecated option KeyRegenerationInterval
            /Users/swarming/.swarming/w/ir/x/t/sshtest3004567004/sshd_config line 11: Deprecated option ServerKeyBits
            /Users/swarming/.swarming/w/ir/x/t/sshtest3004567004/sshd_config line 17: Deprecated option RSAAuthentication
            /Users/swarming/.swarming/w/ir/x/t/sshtest3004567004/sshd_config line 22: Deprecated option RhostsRSAAuthentication
            debug1: inetd sockets after dupping: 4, 5
            BSM audit: getaddrinfo failed for UNKNOWN: nodename nor servname provided, or not known
    ...
            debug1: auth_activate_options: setting new authentication options
            Accepted publickey for swarming from UNKNOWN port 65535 ssh2: ECDSA SHA256:DbuSF5a8c3JMmpZ5WiK8oLAx97Uu8zIAFReb/NyTPuo
            debug1: monitor_child_preauth: user swarming authenticated by privileged process
            debug1: auth_activate_options: setting new authentication options [preauth]
            debug2: userauth_pubkey: authenticated 1 pkalg ecdsa-sha2-nistp256 [preauth]
            debug1: monitor_read_log: child log fd closed
            BSM audit: bsm_audit_session_setup: setaudit_addr failed: Invalid argument
            Could not create new audit session
            debug1: do_cleanup
    --- FAIL: TestRunCommandSuccess (0.12s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: electron
Issue: [Bug]: 'setCertificateVerifyProc()' is ignored when the HTTP request is sent from a 'utility' process using 'net.fetch()' on Windows and MacOS
Labels: bug :beetle:,component/net,has-repro-gist,component/utilityProcess,32-x-y

### Preflight Checklist

- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

32.1.2

### What operating system(s) are you using?

Other (specify below)

### Operating System Version

MacOS Sonoma, Windows 11, Debian (Docker)

### What arch are you using?

Other (specify below)

### Last Known Working Electron version

_No response_

### Expected Behavior

I have developed some tests to validate the behaviour of `net.fetch()` / `fetch()` on Windows, MacOS and Linux when sending HTTP(S) requests from the `main` process, from a `renderer` process and from a `utility` process. More specifically, I wanted to check the integration with the OS network settings and trust store when dealing with web proxies and self-signed certificates. See [@hackolade/fetch](https://github.com/hackolade/fetch) for more details about my approach.

I expected `net.fetch()` / `fetch()` to behave consistently whatever the process and the operating system.

### Actual Behavior

When using [setCertificateVerifyProc()](https://www.electronjs.org/docs/latest/api/session#sessetcertificateverifyprocproc) in order for `net.fetch()` / `fetch()` to consider valid a certificate authority file provided by the user (but not installed in the trust store of her/his OS), I observed the following:
- On Linux, the certificate verification procedure that I set is invoked for all processes: `main`, `renderer` and `utility`. As a consequence, the application can reach the server that uses a self-signed certificate.
- On MacOS and Windows, the certificate verification procedure that I set is not invoked for the `utility` process. As a consequence, the application fails to reach the server that uses a self-signed certificate from that process.

So how am I supposed to deal with that case?

![Image](https://github.com/user-attachments/assets/e21b020d-55fe-4044-8693-1799a0dcbfcd)

Note that I created a separate issue for the problem with the 'login' event: see #44249.

### Testcase Gist URL

https://gist.github.com/thomas-jakemeyn/663f6c648f42bb988aaeee9ba5a697b2

https://github.com/hackolade/fetch/tree/develop

### Additional Information

_No response_
Repository: terminal
Issue: Wired scrollbar click behaviour
Labels: Resolution-External,Issue-Bug,Product-Terminal,Tracking-External

### Windows Terminal version

1.20.11781.0

### Windows build number

10.0.22631.4317

### Other Software

_No response_

### Steps to reproduce

Typically when mouse click the scrollbar(not the thumb), hold the mouse button down. The scrollbar will:
page up, <wait some time>, page up, page up, page up, page up,... 
Then thumb will stop at the mouse pointer position.

But in the current terminal. There are 3 random behavior.
1. Page up/down once and stop.
2. Thumb not stop. And reach the top/bottom position.
3. Thumb move across the mouse pointer position.

### Expected Behavior

Not random.

### Actual Behavior

see above.
Repository: PowerToys
Issue: feat: PowerToys Run: Unit Converter convert multiple units
Labels: Needs-Triage

### Description of the new feature / enhancement

# PowerToys Run: Unit Converter

**Unit Converter able to convert multiple units**
like 

`5ft 9in to in` 5 feet 9 inches -> inches


### Scenario when this would be used?

PowerToys Run: Unit Converter

### Supporting information

make sure handle different  types of unts
Mass Units -> Mass Units

handle error
`5ft 6g to in` 5feet 6grams -> grams 😂