sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: Support node --conditions/-C as a `NODE_OPTION`.
Labels: SWC,Output (export/standalone),Webpack,TypeScript,Runtime,Turbopack,Module Resolution

### Link to the code that reproduces this issue

https://github.com/Falven/turborepo/tree/feature/debugging

### To Reproduce

Run Nextjs with `NODE_OPTIONS -C=development`

> -C=development is not allowed in NODE_OPTIONS

### Current vs. Expected behavior

[Next.js should allow conditions, including community conditions.](https://nodejs.org/api/packages.html#packages_community_conditions_definitions)

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.2.0: Fri Dec  6 18:56:34 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6020
  Available memory (MB): 32768
  Available CPU cores: 12
Binaries:
  Node: 22.11.0
  npm: 10.9.0
  Yarn: N/A
  pnpm: 9.13.2
Relevant Packages:
  next: 15.0.3 // There is a newer version (15.1.0) available, upgrade recommended! 
  eslint-config-next: 15.0.3
  react: 19.0.0-rc-69d4b800-20241021
  react-dom: 19.0.0-rc-69d4b800-20241021
  typescript: 5.7.2
Next.js Config:
  output: standalone
```


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

Developer Experience, Module Resolution, Output (export/standalone), Runtime, Turbopack, TypeScript, SWC, Webpack

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

next dev (local), next build (local), next start (local)

### Additional context

_No response_
Repository: terminal
Issue: Strange vertical transparent line appears when "Hide the title bar" is off
Labels: Help Wanted,Issue-Bug,Product-Terminal,Area-Windowing

### Windows Terminal version

1.21.3231.0

### Windows build number

10.0.26100.0

### Other Software

_No response_

### Steps to reproduce

1. Settings / Appearance / Hide the title bar (requires relaunch) -> OFF
2. Relaunch


### Expected Behavior

_No response_

### Actual Behavior

Strange vertical transparent line appears on the right side of the terminal.

(The line disappears in screenshots, so I had to take a photo with my phone.)
![Image](https://github.com/user-attachments/assets/4870b14c-fef4-477e-bda5-ba7d98319b24)
Repository: ui
Issue: [bug]: CommandDialog Infinite Loop Freezes Page
Labels: bug

### Describe the bug

The CommandDialog goes into an infinite loop and freezes page, even with the most basic implementation. 

### Affected component/components

CommandDialog

### How to reproduce

This broke everything in my app:

```
 <CommandDialog
          open
          // open={isOpen}
          // onOpenChange={(open) => handleIsOpen(open)} // Toggle `isOpen` only when needed
        >
          <CommandInput placeholder="Search country..." />
          <CommandList>
            <CommandItem>Calendar</CommandItem>
            {/* {countries.map((country) => (
              <CommandItem
                key={country.isoCode}
                onSelect={() => handleCountrySelect(country)}
                className="flex items-center space-x-2"
              >
                <span
                  className={`flag-icon flag-icon-${country.isoCode.toLowerCase()}`}
                />
                <span>{country.name}</span>
                <span className="ml-auto text-muted">
                  {country.dialCode}
                </span>
              </CommandItem>
            ))} */}
          </CommandList>
        </CommandDialog>
```

### Codesandbox/StackBlitz link

NA

### Logs

```bash
NA
```


### System Info

```bash
node v20.10.0
next 15.0.4
chrome 130.0.6723.117
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: vscode
Issue: Notebook: Selection Highlight Background
Labels: bug,notebook,editor-highlight

> Many of the highlighting differences between notebooks and python files have been reconciled in the Nov release 1.96, but I don't think this is one.
> 
> Editor settings (for dramatic effect):
>     "workbench.colorCustomizations": {
>         "editor.selectionBackground": "#f00",
>         "editor.selectionHighlightBackground": "#afb47f80",
>         "editor.selectionHighlightBorder": "#ffffff91",
> }
> 
> Python file:
> ![Image](https://github.com/user-attachments/assets/ad38ebb1-b346-4de2-b278-8d62b7a998ee)
> 
> Notebook file:
> ![Image](https://github.com/user-attachments/assets/9a3f96d0-ea6f-475b-98cb-4eab66657e51)
> 
> The python file highlight aligns with expectations but the notebook doesn't.
> 
>  

 _Originally posted by @Wmuntean in [#200406](https://github.com/microsoft/vscode/issues/200406#issuecomment-2541784896)_

---
- VS Code Version: 1.96
Repository: kubernetes
Issue: Metrics test should be using a fake deprecated API in testing
Labels: sig/api-machinery,sig/instrumentation,triage/accepted

Came up from https://github.com/kubernetes/kubernetes/pull/128279#discussion_r1882520074

The metrics integration test need to test for metrics on a deprecated API. Unfortunately we nee d to update this every couple of releases as deprecated APIs become removed and puts a toll on maintainers: https://github.com/kubernetes/kubernetes/blob/master/test/integration/metrics/metrics_test.go#L121-L124

Per [Ben's comment](https://github.com/kubernetes/kubernetes/pull/128279#discussion_r1882905186): 

> Actually discussed briefly with @jpbetz that since we run api-server in-process we could probably ... actually register an integration-test-only deprecated API that will be perpetually deprecated?

/cc @jpbetz @BenTheElder 
/sig instrumentation
/sig api-machinery
Repository: flutter
Issue: Remove `WebGoldenComparator`
Labels: P2,c: tech-debt,fyi-tool,team-web,triaged-web

Update: It is now deprecated. When the HTML backend is removed, it can also be removed.

---

There are two interfaces with nearly identical roles in `flutter_test`:

- [`GoldenFileComparator`](https://api.flutter.dev/flutter/flutter_test/GoldenFileComparator-class.html) and the current implementation, [`goldenFileComparator`](https://api.flutter.dev/flutter/flutter_test/goldenFileComparator.html).
- [`WebGoldenComparator`](https://api.flutter.dev/flutter/flutter_test/WebGoldenComparator-class.html) and the current implementation, [`webGoldenComparator`](https://api.flutter.dev/flutter/flutter_test/webGoldenComparator.html).

The latter is only used in a web browser/web context, and the former is used otherwise.

For the workstream that will be making `package:integration_test` be able to take and compare screenshots, even on mobile devices (i.e. Android and iOS), we'll be bleeding the lines further - using `GoldenFileComparator` as a _proxy_, which coincidentally is almost exactly what `WebGoldenComparator` does. 

Here is a draft PR where I do exactly that: <https://github.com/flutter/flutter/pull/160131>.

It would be nice for `flutter_test` to have a cleaner interface, and not have a web and non-web configuration. The interfaces are nearly identical. I've initially assigned this to `team-framework` as owners of `flutter_test` to give a reaction; feel free to reach out to me directly to discuss further.
Repository: deno
Issue: Official Deno Version Manager
Labels: cli,suggestion

To have a seperate CLI application that will allow you to install and manage different versions of Deno and be the official way to install Deno.

Perhaps by adding new commands in deno such as...

```
deno set 2.0.0
deno install 2.0.0
deno default 2.0.0
deno list
```

And to allow deno to detect if a file in the directory demands the current deno version is changed such as a `deno-version.json` file

https://github.com/denoland/deno/discussions/26848
Repository: pytorch
Issue: Runners, torchbench, & the future
Labels: module: ci,triaged

The purpose of this issue is to centralize discussions regarding the state of our runners and torchbench,  in particular what should be expected when they go through transitions. It is a bit of a weird issue as this does not point to any codebase problems with pytorch/pytorch, but the intended discussion group spans beyond pytorch/benchmark so I'm putting the issue here.

### Context 
I recently wanted to send someone my optimizers unidash to discover that it was empty, oh no! I traced the problem back to the GHA in pytorch/benchmark that runs the benchmark (and writes the stats) to discover that it's been red again, for weeks, because the a100-runner runner it ran on had been removed: https://github.com/pytorch/benchmark/actions/workflows/userbenchmark-regression-detector.yml

I fixed it with @xuzhao9's help https://github.com/pytorch/benchmark/pull/2557 but two things picked at me:
(1) Not just my workflow, but all the userbenchmark workflows + anything else using A100 were not migrated, and were just failing: https://github.com/pytorch/benchmark/actions/workflows/userbenchmark-a100.yml and https://github.com/pytorch/benchmark/actions/workflows/v3-nightly.yml. Was I the first to notice because I'm the only one to care? Are there others who care but haven't been notified? We should migrate the workflows that do matter and delete the code for the ones that don't.
(2) It would have been nice to have a heads up. I believe there was a migration plan (cc @seemethere @malfet @pytorch/pytorch-dev-infra @jeanschmidt @atalman @xuzhao9) as I saw some budding draft PRs, though I would have expected for all usages of the runner to be migrated before the runner was removed completely. Is this incident a fluke or should I shift expectations?

### Questions to answer

(1) Across the repos in the org (not just pytorch/pytorch), what is the expected transition plan for when a runner will no longer be running anymore? cc @seemethere 
(2) (or 1b) Does it matter whether it's a repo-level runner vs org-level runner?
(3) Do people care about the userbenchmarks in torchbench/are there owners (other than me)? If not, we should do a big code delete! cc @drisspg for torchao, @pytorch-dev-infra for nightly-V3.
(4) Is torchbench userbenchmarks still the recommended path for writing recurring benchmarks? Where are folks moving to? cc @xuzhao9 

### What I ultimately care about

That my optim benchmarks will have a home to keep running, that they won't surprisingly break on me if we could help it!
Repository: tauri
Issue: [bug] Windows pixels mapping is inconsistent or broken
Labels: type: bug,status: needs triage

### Describe the bug

On Windows, the events coordinates are incorrect and require mapping.
To me, multiplying both `x` and `y` by `window.devicePixelRatio` helped, but it breaks the logic on the other platforms.

What is the correct approach? I don't want to check `if (platform === 'windows')` 😿 

### Reproduction

- Windows (in my case, Windows 11 with a high resolution monitor, if it might affect scale factors)
- Just a minimal `webviewWindow.listen('tauri://drag-drop', listener)` is enough

### Expected behavior

I need either to correct the coordinates or leave them as is. 
Is there a variable or method for calculating it? It might check the platform under the hood but at least it will be internal Tauri logic.

I tried `scaleFactor` but it didn't help.

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.22631 x86_64 (X64)
    ✔ WebView2: 131.0.2903.86
    ✔ MSVC: Visual Studio Build Tools 2022
    ✔ rustc: 1.83.0 (90b35a623 2024-11-26)
    ✔ cargo: 1.83.0 (5ffbef321 2024-10-29)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 23.3.0
    - yarn: 1.22.22
    - npm: 10.9.0

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.2
    - tao 🦀: 0.30.8
    - @tauri-apps/api : 2.1.1
    - @tauri-apps/cli : 2.1.0

[-] Plugins
    - tauri-plugin-http 🦀: 2.2.0
    - @tauri-apps/plugin-http : 2.2.0
    - tauri-plugin-dialog 🦀: 2.2.0
    - @tauri-apps/plugin-dialog : 2.2.0
    - tauri-plugin-persisted-scope 🦀: 2.2.0
    - @tauri-apps/plugin-persisted-scope : not installed!
    - tauri-plugin-fs 🦀: 2.2.0
    - @tauri-apps/plugin-fs : 2.0.3
    - tauri-plugin-single-instance 🦀: 2.2.0
    - @tauri-apps/plugin-single-instance : not installed!
    - tauri-plugin-shell 🦀: 2.2.0
    - @tauri-apps/plugin-shell : 2.0.1
    - tauri-plugin-log 🦀: 2.2.0
    - @tauri-apps/plugin-log : 2.0.1
    - tauri-plugin-store 🦀: 2.2.0
    - @tauri-apps/plugin-store : 2.1.0
    - tauri-plugin-window-state 🦀: 2.2.0
    - @tauri-apps/plugin-window-state : 2.2.0
    - tauri-plugin-os 🦀: 2.2.0
    - @tauri-apps/plugin-os : 2.2.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
```

### Stack trace

_No response_

### Additional context

I'm trying to handle the Drag'n'Drop functionality, which already works smoothly on macOS and Linux (at least tested on Ubuntu).
Repository: ollama
Issue: Add an ollama example that enables users to chat with a code generation model and then tests the code generated by the model
Labels: feature request

Often times, code generated by code generation models such as qwen2.5-coder:7b is not perfect. It may not even be syntactically correct. I am proposing to add an example program, possibly derived from the the python-simplechat example, that extracts the code generated by the model and runs/tests it. The first iteration would only know to run python programs.

The name python-code-iterate sounds like a reasonable name for this example program

1. User enters a prompt e.g. write a python program to quantize a model stored in my local dir /home/userabc/model1
2. The model generates code for this task and provides it as part of its response, i.e. the 'assistant' message
3. Our new program python-code-iterate then asks the user whether to run the program and check output
4. If the user says yes, then python-code-iterate will use a subprocess to run the program and check return code, stdout and stderr
5. If the return code is non zero, then the stderr contents will be added as a user message and the chat will continue
6. repeat steps 2 to 5 till satisfactory results are obtained
Repository: PowerToys
Issue: Deprecate Video Conference Mute in v0.88
Labels: Resolution-Fix Committed,Product-Video Conference Mute,Issue-Task

### Description of the new feature / enhancement

We're planning to remove Video Conference Mute (VCM) in v0.88. It has been in maintenance mode since v0.67, has low usage, and there are similar features already available in Windows. We appreciate everyone's contributions and we want to thank you all for continuing to support PowerToys. ❤

### Scenario when this would be used?

 If you still want access to the source code, you can find it in a previous release's tree: https://github.com/microsoft/PowerToys/tree/v0.86.0

### Supporting information

_No response_
Repository: flutter
Issue: Should the defaults for `TestFeatureFlags` represent the real defaults?
Labels: c: proposal,c: tech-debt,team-tool

`TestFeatureFlags` is used to enable or disable flags explicitly in unit tests:

https://github.com/flutter/flutter/blob/2948917a470470c1ee2a3b5897dc229417776829/packages/flutter_tools/test/src/fakes.dart#L469-L486

However, the defaults are (except for the case of CLI animations) always `false`. That means if you want to enable a flag for a test, you need to also know what other flags were _implicitly_ enabled before by not having any `FeatureFlags` override. Should these default values instead be the same defaults, say, on the master branch?
Repository: flutter
Issue: Buttons are mis-aligned in NavigationRail samples
Labels: framework,f: material design,waiting for PR to land (fixed),d: api docs,d: examples,P2,team-design,triaged-design

### Steps to reproduce


Check out the NavigationRail API docs: https://api.flutter.dev/flutter/material/NavigationRail-class.html 

### Expected results

Buttons should be aligned.

### Actual results

<img src="https://github.com/user-attachments/assets/a9f64dc7-2b35-42d1-9fa9-d7e5c77be3f5" height=640>


### Code sample

<details open><summary>Code sample</summary>

```dart
~
```

</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>

```console
[Paste your output here]
```

</details>
Repository: flutter
Issue: Should we remove `FeatureFlags` that are both true and never intended to be false at this point?
Labels: c: proposal,P3,c: tech-debt,team-tool,triaged-tool

For example, these come to mind:

https://github.com/flutter/flutter/blob/2948917a470470c1ee2a3b5897dc229417776829/packages/flutter_tools/lib/src/features.dart#L21-L37

What is the value in keeping these as flags?
Repository: ui
Issue: [feat]: Missing data table's pagination, adding columns, rows and rows expansion as part of Figma's component
Labels: area: request

### Feature description

Hey!
I'd like see if you guys could improve the data table component in FIgma (and possibily showcase it in the Docs site as well).
It's been difficult to meet design needs with the way the component was laid down.
Suggestions:
1. Add more columns and rows (like you did with Tabs maybe)
2. Make the columns resizable
3. Better align column header label and rows values
4. Add a flag to show pagination
5. Add rows expansion (for secondary information without having to open the record)
6. Add a slot option in the cell so we can replace text by another component
7. Overflow button expanded

In your "Table" component there are some nice flags already, maybe can re-use some of that.

Thank you in advance for your attention!

### Affected component/components

Data table

### Additional Context

If you want an example of all those suggestions, Data Table from Carbon Design System has them:
https://carbondesignsystem.com/components/data-table/usage/
Once thing they did as well, was to group rows instead of columns, so you can see another type of approach to create the component if it makes more sense.

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: go
Issue: maps: optimized Clone with swissmaps
Labels: Performance,NeedsFix,compiler/runtime

Prior to swissmaps, we had an [optimized implementation](https://cs.opensource.google/go/go/+/master:src/runtime/map_noswiss.go;l=1654;drc=1f8fa4941f632575468498bfac48fc1cbbf1a54f) of `maps.Clone` that reached into the internals to copy directly between the backing store of each map.

That was dropped when implementing swissmaps, but could be brought back.
Repository: go
Issue: runtime: reduce duplicate work by merging map operations
Labels: Performance,NeedsInvestigation,compiler/runtime

```
default := ...
v, ok := m[k]
if !ok {
  m[k] = default
  v = default
}
// Use v
```

This is a `mapaccess2` followed (conditionally) by a `mapassign`. The beginning of `mapassign` is identical to `mapaccess2`: hashing the key and looking for an existing entry (which won't be found).

In theory, the compiler could detect this pattern and use a special call for the map assignment that avoids the duplicate work (this would effectively be `internal/runtime/maps.(*table).uncheckedPutSlot` in today's implementation).

Another pattern is iteration plus delete:

```
for k := range m {
  if iDontLikeIt {
    delete(m, k)
  }
}
```

It could be optimized in a similar way. This is also `maps.DeleteFunc` which could be directly specialized more easily than adding new compiler optimizations.
Repository: PowerToys
Issue: [Remap shortcut] run program: running program window is not active (loose focus?).
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage

### Microsoft PowerToys version

0.86.0

### Installation method

Microsoft Store

### Running as admin

None

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

Remap shortcut -> new shortcut: ANY shortcut

action: Run program
App: ANY, ex. notepad.exe
Args: none
Elevation: normal
If running: Show window
Visibility: normal

### ✔️ Expected Behavior

Selected application is running and it's main window became active. (in case of notepad, you can write into it)

### ❌ Actual Behavior

Application is running, but active application still has a focus. Therefore you need to switch to just runned application.

### Other Software

_No response_
Repository: PowerToys
Issue: powertoys run: input smoothing not really being helpful and focusing on wrong files
Labels: Issue-Bug,Product-PowerToys Run,Needs-Triage

### Microsoft PowerToys version

0.86.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

i am using the voidtools Everything plugin (https://github.com/lin-ycv/EverythingPowerToys) with powertoys run.
i can't really give specific steps to reproduce but i'm sure people can figure out how to set up something like this situation:

i have a specific file i want to run (redo-online.sh)
i type "redo".
![Image](https://github.com/user-attachments/assets/40a171cc-2573-4510-abf8-232d0ab1b433)
note that that result is not focused. powertoys run shows the voidtools plugin results with a split second delay (after the immediate results: notably apps/programs), causing the result from before the Everything plugin results to stay focused, but it also goes out of scroll view; at the bottom of the results list is this one focused
![Image](https://github.com/user-attachments/assets/675fc7e5-2a76-43eb-b080-d98f52dcb3fb)

in a second scenario, i try being more specific. i type "redo o".
![Image](https://github.com/user-attachments/assets/e3f7c481-71cc-47c7-8f96-3df95bc236c7)
again, the correct result appears on the top of the list, but a split second after the other results. the actual result that appeared first on the list and is focused is...
![Image](https://github.com/user-attachments/assets/1f12bbd1-7f22-4ea5-9500-54f606c847b3)
again, you cannot see it is focused and only if you scroll down you see that THIS is the focused result.
(and yes, i did press enter and did accidentally just factory reset that program because of this.)

note that i have tried various input smoothing settings,
the best one so far is "immediate plugins" set to 300ms and "background execution plugins" set to 0. this almost makes them appear at the same time, but the immediate plugins still always appear before the voidtools results (even when i set "immediate plugins" to 500ms)

### ✔️ Expected Behavior

it would be way more useful if the result that stayed focused was the first one in the UI, and not the first one focused.

### ❌ Actual Behavior

(mentioned above, couldn't put it here because i have two separate scenarios that should be described in sequence)

### Other Software

Everything Powertoys plugin (https://github.com/lin-ycv/EverythingPowerToys) v0.86.0
Repository: vscode
Issue: During an edits generation, a scrollbar appears below the tab being edited
Labels: bug,workbench-tabs

This only happened once so far, but I have tab wrapping enabled and a good amount of tabs open

![Image](https://github.com/user-attachments/assets/54264444-5723-482c-836f-5eb025faff43)
<img width="1262" alt="Image" src="https://github.com/user-attachments/assets/c519edef-ed37-4f18-b415-693cc2d666bb" />