sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: create-react-app
Issue: Are polyfills always injected in bundle?
Labels: needs triage

Polyfills are mentioned in several issues as injected in the bundle (https://github.com/facebook/create-react-app/issues/3397#issuecomment-341754187, https://github.com/facebook/create-react-app/issues/2696#issuecomment-312184589).
However, I have used[ wepack-license-plugin](https://www.npmjs.com/package/webpack-license-plugin) to extract the licenses of an Ionic React app built with create-react-app and polyfills are not included.

**Is it possible that polyfills packages are actually not included in the bundle?**
**Are they included in every app whose bundle is created with CRA or only in some of them?**

These are my package.json file and the output of the webpack-license-plugin:
[package.json](https://github.com/user-attachments/files/18126579/package.json)
[thirdPartyNotice.json](https://github.com/user-attachments/files/18126637/thirdPartyNotice.json)

The alternative it that polyfills are actually injected but not detected by the plugin, I have asked about this possibility [here](https://github.com/codepunkt/webpack-license-plugin/issues/1103).
Repository: kubernetes
Issue: fix: noderesources plugin flaw
Labels: kind/bug,needs-sig,needs-triage

### What happened?

The score function of resourceAllocationScorer should not iterate over args.ScoringStrategy.Resources. For example: the strategy parameters are set to [gpu:2,cpu:1,mem:1]. At this time, the pod only applies for cpu and mem, but because k8s traverses parameters instead of traversing pod application, gpu becomes the final The key factor in scoring, but in fact, the pod only needs to consider resource application issues of CPU and MEM, and does not need to consider GPU. After all, it has not applied for GPU. If it is the MostRequestedPriority policy at this time, after consideration, the CPU strength will be scheduled to the GPU. On the machine, there is a fragmentation problem


### What did you expect to happen?

Which resources will be considered for scoring based on which resources the pod has applied for,Instead of scoring all the resources configured in the configuration file, which may be counterproductive in real scenarios.


### How can we reproduce it (as minimally and precisely as possible)?

The MostRequestedPriority policy parameters are set to [gpu:2,cpu:1,mem:1]. At this time, the pod only applies for cpu and mem. It is found that the pod is scheduled to a machine with concentrated GPUs. As a result, when there are large model GPU tasks that need to be scheduled, The machine's GPU is satisfied but the CPU is not.


### Anything else we need to know?

_No response_

### Kubernetes version

latest version


### Cloud provider

only k8s

### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: three.js
Issue: TSL texture reading / passed as argument in Fn does not work
Labels: Enhancement,TSL

### Description

Hello there ! 


Sampling a texture via inline materialnode look straightforward : 


```
const uTex = texture( tex );

material.colorNode = uTex.sample(oneMinus( uv() ));
```

Using Fn and passing a texture as argument makes it challenging and not working (  tdisp.sample is not a function )  :

```
 const sampleTex = Fn(([tdisp])=> {
    
      	return tdisp.sample(oneMinus( uv() ) )
        
}).setLayout( {
        name: 'sampleTex',
        type: 'float',
        inputs: [
          {
            name: "sampleTex",
            //type: "texture"
            type: "sampler2D"
          }
        ]
} )


material.colorNode = Fn(()=>{

        return sampleTex(uTex)

})()
```

Been looking at the example folder, and there is no example of passing a texture in a Fn 

The transpiler gives wrong results : 

<img width="1660" alt="Screenshot 2024-12-16 at 11 02 45" src="https://github.com/user-attachments/assets/07fadb18-9e34-428b-9b81-1cb810eb2409" />

But also, it all seems unclear how to use textures as uniforms / in nodes, 



To test you can move the CASE variable from 0 to 1 



### Live example

[https://jsfiddle.net/0w3mhbfa/107/](https://jsfiddle.net/0w3mhbfa/107/)

### Screenshots

_No response_

### Version

last

### Device

Desktop

### Browser

Chrome

### OS

MacOS
Repository: PowerToys
Issue: KeyMapping Works only on one monitor
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.86

### Installation method

GitHub

### Running as admin

None

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

i want to remap the volume mute key to nothing.
remapping a key ( volume mute ) to disabled on one monitor works as long as I'm in focus in that monitor but if i click on the 2nd monitor its functioning again as normal (not being disabled) 
--Monitor 1--
Changing the volume mute to disabled 
testing the key 
its disabled and it wont mute 
Now Hovering to 2nd Monitor
--Monitor 2-- 
making the windows focus on 2nd monitor ( any random click anywhere ) 
testing the key 
it mutes the volume 
if i bring the program it self (PowerToys) to the 2nd monitor it disables the key 
testing the key
its disabled and doesn't mute 
Now Hovering to 1nd Monitor
--Monitor 1--
making the windows focus on 1st monitor ( any random click anywhere ) 
testing the key 
it mutes the volume 
...................................................

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: react
Issue: Error in compiler polyfill, using React 18
Labels: React 19

I have react 18 installed, I can see the compiler is running against my source code however during runtime this code

```javascript

// Re-export React.c if present, otherwise fallback to the userspace polyfill for versions of React
// < 19.
export const c =
  // @ts-expect-error
  typeof React.__COMPILER_RUNTIME?.c === 'function'
    ? // @ts-expect-error
      React.__COMPILER_RUNTIME.c
    : function c(size: number) {
        return React.useMemo<Array<unknown>>(() => {
          const $ = new Array(size);
          for (let ii = 0; ii < size; ii++) {
            $[ii] = $empty;
          }
          // This symbol is added to tell the react devtools that this array is from
          // useMemoCache.
          // @ts-ignore
          $[$empty] = true;
          return $;
        }, []);
      };
``` 

When it reaches React.useMemo I get the error 

```javascript
Uncaught TypeError: Cannot read properties of null (reading 'useMemo')
    at Object.useMemo (react.development.js:1650:21)
    at c2 (index.ts:31:22)
    at AppRoutes (Routes.tsx:121:26)
    at App.tsx:14:36`
``` 

The offending code is the dispatcher being null

```javascript
function useMemo(create, deps) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useMemo(create, deps);
}
``` 
I am using vite with the babel-plugin-react-compiler plugin targeting React 18

```javascript
react({
        babel: {
          plugins: [["babel-plugin-react-compiler", ReactCompilerConfig]],
        },
      })
```
Repository: vscode
Issue: [css] `:after' suggested inside comment
Labels: bug,css-less-scss

Repro:

Settings:

```js
  "editor.quickSuggestions": {
    "comments": "off"
  },
```

Go to a css file comment and add `:` to the end of a line, 🐛 quick suggestions trigger.

@aeschli could reproduce

![Image](https://github.com/user-attachments/assets/684c5bf9-00df-4126-b7d8-719026ed7b65)
Repository: vscode
Issue: Expose the current editor overtype state
Labels: bug,editor-input

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

When dealing with webviews using the standalone version of Monaco Editor, we'd like to align our environment with the current VS Code state. That means if the user is currently using `overtype` mode, that should be activated by default in our webviews.

We'd like to have access to:

- `inputMode: 'insert' | 'overtype'`
- `onDidChangeInputMode(...)`
Repository: godot
Issue: Exporting in headless mode freezes if project files have uniform timestamps
Labels: bug,regression,topic:export

### Tested versions

- Reproducible in: 4.3.stable
- Not reproducible in: 4.2.2.stable
- Other versions not tested.

### System information

Tested with Void Linux (current), Debian 11 (Bullseye), both x86_64

### Issue description

Similar to #95287.

Where I have a fully-imported project, with `.godot/` present, *but* with its files timestamped identically to the rest of the project's files, running an export with `--headless --export-release` will hang immediately after the version header is output.

Touching the files within `.godot/`, or re-running the import, fixes the issue. I ran into this problem because I'd just duplicated a project with `cp -r`; likewise, `cp -a` fixes the issue.

After Godot finishes starting up, `strace` repeats the following, so presumably Godot is stuck in some kind of polling deadlock:

```
clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=6406000}, 0x7ffe06508a80) = 0
clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=1000}, 0x7ffe06508c90) = 0
poll([{fd=4, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=5, events=POLLIN}], 1, 0)     = 0 (Timeout)
```

### Steps to reproduce

- Create a new project with any export configured
- Ensure imports are done, `.godot/` exists
- Either recursively touch all files, or `cp -r` the project
- Try running the export with `godot --headless --export-release ...` (or `-debug`)

### Minimal reproduction project (MRP)

[src.zip](https://github.com/user-attachments/files/18149641/src.zip)
Repository: deno
Issue: `deno test --watch`: `Deno.chdir()` affects parsing of CLI args on reset
Labels: bug,cli,--watch

Version: Deno 2.1.4

```
// test.ts
Deno.test("foo", () => {
  Deno.chdir("..");
});
```
`deno test -A --watch test.ts`
And then save the file again. It will fail to find `test.ts` the second time (assuming there is no `../test.ts`).
Repository: PowerToys
Issue: [File Locksmith] Files containing russian capitalised k fail to load and crash the program
Labels: Issue-Bug,Status-Reproducible,Product-File Locksmith

### Microsoft PowerToys version

0.86.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

File Locksmith

### Steps to reproduce

OS: Win10 Pro 22H2 (19045.5131)

To reproduce:

1. Put a capitalised russian k letter ("К") in any file's or folder's name and try to use locksmith on it.
2. Locksmith should now crash when trying to view the file/folder.

Normal uncapitalised russian k letter ("к") does not have this issue. In fact, every other russian letter both capitalised and not works fine ("абвгдеёжзийклмнопрстуфхцчшщъыьэюя" and "АБВГДЕЁЖЗИЙ ЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ"). ONLY seems to crash when a capitalised russian k is present anywhere in the name of the file/folder.
Also tested in a VM, same issue, so it's not limited to my machine's configuration. 

### ✔️ Expected Behavior

It shows the file locksmith window and let you use the program normally.

### ❌ Actual Behavior

File locksmith crashes without notice (no error boxes, no blank UI elements; nothing pops up) and produces the following (translated) log in event viewer:

> Faulting application name: PowerToys.FileLocksmithUI.exe, version: 0.86.0.0, time stamp: 0x66e80000
> Faulting module name: KERNELBASE.dll, version: 10.0.19041.5131, time stamp: 0x011921da
> Exception code: 0xc000027b
> Fault offset: 0x0000000000133942
> Faulting process ID: 0xd44
> Faulting application start time: 0x01db4fb030758d52
> Faulting application path: C:\Users\####\AppData\Local\PowerToys\WinUI3Apps\PowerToys.FileLocksmithUI.exe
> Faulting module path: C:\Windows\System32\KERNELBASE.dll
> Full name of the faulting package:
> Application ID associated with the faulting package:

### Other Software

_No response_
Repository: storybook
Issue: [Bug]: Controls don't work/show up in composed storybook
Labels: bug,needs triage

### Describe the bug

In a composed storybook, while controls show up properly in the stories of the parent storybook, they don't show up in stories of the child storybooks

Parent: 
![Image](https://github.com/user-attachments/assets/ef6b9a5b-539f-4d02-904f-18547f996047)

Child:
![Image](https://github.com/user-attachments/assets/476cb171-536b-43cf-9cfd-53117f2d5521)


### Reproduction link

https://stackblitz.com/edit/github-nk6zbbmz?file=.storybook-composed%2Fmain.js

### Reproduction steps

1. Got to above link
2. Navigate to the Primary Button story in the main storybook => Controls are there
3. Navigate to the Primary Button story in the composite storybook => Controls are missing

### System

```bash
Storybook Environment Info:

  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm <----- active
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @storybook/addon-essentials: ^8.5.0-alpha.21 => 8.5.0-alpha.21 
    @storybook/addon-themes: 8.5.0-alpha.21 => 8.5.0-alpha.21 
    @storybook/blocks: ^8.5.0-alpha.21 => 8.5.0-alpha.21 
    @storybook/test: ^8.5.0-alpha.21 => 8.5.0-alpha.21 
    @storybook/web-components: ^8.5.0-alpha.21 => 8.5.0-alpha.21 
    @storybook/web-components-vite: ^8.5.0-alpha.21 => 8.5.0-alpha.21 
    storybook: ^8.5.0-alpha.21 => 8.5.0-alpha.21
```

### Additional context

This might be related to https://github.com/storybookjs/storybook/issues/30058
Repository: rust
Issue: Warn when more specific lint overridden by a lint group
Labels: A-lints,A-diagnostics,T-lang,T-compiler,C-discussion

### Code

```Rust
#![deny(dead_code)]
#![allow(unused)]
fn f() {}
fn main() {}
```

### Current output

```Shell
No output
```

### Desired output

```Shell
warning: `#![deny(dead_code)]` at line `1` does not have any effect as it is overridden by `#![allow(unused)]` at line `2`
help: put the more specific lint after or remove it.
```

### Rationale and extra context

_No response_

### Other cases

```Rust

```

### Rust Version

```Shell
latest nightly and stable.
```

### Anything else?

@rustbot label +A-lint
Repository: vscode
Issue: Actions no longer same padded from part title vs. view title bar
Labels: bug,under-discussion,layout,papercut :drop_of_blood:

Refs: https://github.com/microsoft/vscode/commit/276e24792198ecb7e83533d575568b66da722064

Changing the `padding` to `2px` just for the part titles, makes the actions be misaligned with other toolbars, such as the custom title. In this case notice how a secondary sidebar below the custom title aligns the actions differently:

![Image](https://github.com/user-attachments/assets/eab8e8ad-584b-43ca-aa8f-57cd1b88d633)

I think we need to be careful of spreading `margin` or `padding` changes into views only so that we can ensure other locations still look the same.

Why not have the `2px` change on the toolbar itself?
Repository: flutter
Issue: [Proposal] TextOverflow.ellipsis should be baselined for Japanese Text 
Labels: engine,a: internationalization,dependency: skia,a: typography,c: proposal,P3,team-engine,triaged-engine

### Steps to reproduce

 1. Create a Text widget:
  - Add a Text widget containing a Japanese string that exceeds the width of its container.
  - Japanese text: このテキストは日本語で非常に長い内容を含んでおり、スクリーン幅を超えると切り捨てられます。
 2. Set the overflow property:
    - Set the overflow property of the Text widget to TextOverflow.ellipsis.
 3. Limit the widget size:
   - Wrap the Text widget in a SizedBox to restrict its width.
   
```
   const SizedBox(
  height: 30,
  width: 140,
  child: Text(
    'このテキストは日本語で非常に長い内容を含んでおり、スクリーン幅を超えると切り捨てられます。',
    overflow: TextOverflow.ellipsis,
    textDirection: TextDirection.ltr,
  ),
);
```
4. Observe the behavior:
 - For Japanese text, the ellipsis (...) appears center-aligned within the truncated area as shown in the screenshot below.
 
Expected results  |  Actual results
:-------------------------:|:-------------------------:
![simulator_screenshot_5E90A1FB-2F85-4ADB-9E7B-BC9F065D942B](https://github.com/user-attachments/assets/507ab455-1410-4353-95a0-9fbd8ec7c3be)  | It(...) is supposed to be at vertical bottom instead of vertical center  ![398568918-ca85d6a4-a55d-4cc7-88af-29b323d76f51](https://github.com/user-attachments/assets/1795d6d0-37e8-4fc6-bb6d-a471f12cbb22) (test in Jetpack compose and it looks as expected.)


Expected : このテキストは日本...

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/widgets.dart';

void main() =>
  runApp(
    const Center(
      child:
        SizedBox(
          height: 30,
          width: 140,
          child: Text('このテキストは日本語で非常に長い内容を含んでおり、スクリーン幅を超えると切り捨てられます。',
            key: Key('title'),
            overflow: TextOverflow.ellipsis,
            textDirection: TextDirection.ltr,
          ),
        ),
      ),
    );

```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.27.0-1.0.pre.181, on macOS 15.1.1 24B91 darwin-arm64, locale en-NP)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] IntelliJ IDEA Community Edition (version 2023.1)
[✓] VS Code (version 1.96.0)
[✓] Connected device (4 available)
[✓] Network resources
```

</details>
Repository: tauri
Issue: How do I change the system menu name and keep the original event
Labels: type: documentation

tauri 2.1.1 wants to implement multi-language switching of the system menu, but keep the original event of the system menu. Please give the implementation scheme.



The solution I am using now is to re-implement the menu items myself and add custom events to each of them to implement the original system menu events.



There is no way to just change the name of the system menu and also keep the original event.



Thank you!
Repository: electron
Issue: Read-only shared buffer (`ArrayBuffer`) shared from main process to renderer process
Labels: enhancement :sparkles:

### 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 feature request that matches the one I want to file, without success.

### Problem Description

I'm interested in repeatedly passing large amounts of data between the main and renderer processes. Currently I send binary blobs from the main process to the renderer process but this adds significant overhead. I'm interested in sharing this data more directly somehow.

### Proposed Solution

`Microsoft Edge WebView2` has introduced an API for sharing buffers in a similar way by sharing an `ArrayBuffer` and using messaging to let the renderer process know when the buffer is readable.

The documentation for the `WebView2` API is located at https://github.com/MicrosoftEdge/WebView2Feedback/blob/main/specs/SharedBuffer.md

This API seems like it would be compatible with Electron.

There is some more discussion about the API (including how it could work with atomics) in https://github.com/MicrosoftEdge/WebView2Feedback/issues/89

### Alternatives Considered

- Sending data repeatedly which is too slow for my needs
- Rendering part of the HTML in the main process, and sending the output to the renderer process instead - this is complicated because of compositing (e.g., https://github.com/electron/electron/issues/10547)
- Using `WebView2` instead - this would be a big move for my project, which is why I'm hoping we could add the API to Electron instead
Repository: TypeScript
Issue: The parsed identifier is incomplete due to updateSourceFile.
Labels: Bug,Help Wanted

### 🔎 Search Terms

updateSourceFile

### 🕗 Version & Regression Information

5.6.0

### ⏯ Playground Link

_No response_

### 💻 Code

```ts
// Your code here
```


### 🙁 Actual behavior

`class Test {
  testMethod() {
    let newLocal = "kk"
    let a = 123
    let b = 12
  }
}`
After the value of variable b is changed, the identifiers set of sourceFile parsed by the updateSourceFile method contains only Test, testMethod, and b. Variables a and newLocal are lost.

### 🙂 Expected behavior

the identifiers set of sourceFile contains  Test, testMethod,  b,  a and newLocal.

### Additional information about the issue

_No response_
Repository: vscode
Issue: Should View use `canToggleVisibility`
Labels: polish,workbench-views

The following views set `canToggleVisibility` to false:
- Comments
- Chat
- Edits
- Popular Extensions View
- Explorer
- Search
- Testing
- UserDataSyncViews: Conflicts 

I believe we should keep it only for `Explorer` and `UserDataSyncViews: Conflicts`?

@sandy081 why are you using it for the `Popular` extensions view?


// cc @bpasero
Repository: ui
Issue: [bug]: Dropdown Fails to Reopen After Closing Dialog
Labels: bug

### Describe the bug

When a dropdown is opened and a dialog is subsequently opened, the dropdown becomes unresponsive after the dialog is closed. Attempting to interact with the dropdown again does not reopen it. This behavior seems to indicate a conflict between the dropdown and dialog components.

https://github.com/user-attachments/assets/b66edf9e-5e01-47ac-aa7b-6bd1aeba85c7



### Affected component/components

Dropdown menu, Dialog

### How to reproduce

1. Open a dropdown component.
2. While the dropdown is open, open a dialog component.
3. Close the dialog.
4. Attempt to reopen the dropdown.

### Codesandbox/StackBlitz link

https://ui.shadcn.com/docs/components/dropdown-menu

### Logs

_No response_

### System Info

```bash
OS: Ubuntu, Browser: Google Chrome
```


### Before submitting

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