sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Explore terminal completion provider extension API
Labels: feature-request,api,terminal-suggest

Now that the terminal suggest is getting more reliable and feature complete, we should look into what a completion provider could look like in the extension API. Some examples of where this would be useful:

- Providing completions for shells we don't support yet, like integrating fig completion specs.
- A provider for git that added smarts beyond what we can do in pwsh. For example it could complete `git clone https://` to `git clone https://github.com/` and provide the user's orgs/forks when completing `https://github.com/`, etc.
Repository: flutter
Issue: drawPoints should throw if the number of points is more than the backend can handle
Labels: engine,P3,team-engine,triaged-engine

It seems Skia can only handle up to `1<<24-1` points in calls to `drawPoints`. Instead of crashing the app entirely when that limit is exceeded, we should just throw an ArgumentError exception in Dart.
Repository: PowerToys
Issue: Display manager dwm.exe crashed, possibly related to PowerToys?
Labels: Issue-Bug,Needs-Repro,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.83.0

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

General

### Steps to reproduce

After opening a PowerPoint file, which may have been a coincidence, my computer screen went black, with brief moments where I could see parts of some windows. I had to restart to recover. I can't reproduce it.

### ✔️ Expected Behavior

I didn't expect my screen to go dark, have flashing parts, and have to reboot.

### ❌ Actual Behavior

At one point the Windows lock screen with a login became visible, with a message saying dwm.exe had crashed and wasn't available. That's when I hard powered off and restarted.

When things were partially visible, I saw PowerToys pop-up windows saying something like "PowerToys has run into a problem" with crash information.

I asked PowerToys to create one of its bug report ZIP files after rebooting, let me know if you want it.

I see repeated Application event log entries like this between when problem started and I rebooted, about 3 minutes.

Faulting application name: dwm.exe, version: 10.0.22621.3672, time stamp: 0x85e98d33
Faulting module name: ntdll.dll, version: 10.0.22621.3733, time stamp: 0x67ca8829
Exception code: 0xc0000409
Fault offset: 0x000000000008f0bf
Faulting process id: 0x0x60AC
Faulting application start time: 0x0x1DAE39B1D01D972
Faulting application path: C:\WINDOWS\System32\dwm.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 2028fbc8-daaf-4652-91bf-02b59142eb3e
Faulting package full name: 
Faulting package-relative application ID: 

Faulting application name: dwm.exe, version: 10.0.22621.3672, time stamp: 0x85e98d33
Faulting module name: ntdll.dll, version: 10.0.22621.3733, time stamp: 0x67ca8829
Exception code: 0xc0000409
Fault offset: 0x000000000008f0bf
Faulting process id: 0x0x8260
Faulting application start time: 0x0x1DAE43DD278406F
Faulting application path: C:\WINDOWS\System32\dwm.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 35c1cddc-420c-4e1e-a581-6ae61ec997b2
Faulting package full name: 
Faulting package-relative application ID: 

And other event logs like this (first and last):

The Desktop Window Manager process has exited. (Process exit code: 0xc0000409, Restart count: 1, Primary display device ID: Intel(R) UHD Graphics 620)

The Desktop Window Manager process has exited. (Process exit code: 0xc0000409, Restart count: 8, Primary display device ID: Microsoft Basic Display Driver)



### Other Software

Windows 11 23H2, OS Build 22631.3958. PowerPoint for Microsoft 365 MSO (Version 2406 Build 16.0.17726.20078) 64-bit.
Repository: storybook
Issue: [Bug]: CSS vars in theme throw errors with "Show Code"
Labels: bug,needs triage

### Describe the bug

When using CSS vars in the docs container theme, everything works fine until you click 'Show Code' and an error is thrown, the page goes blank.

### Reproduction link

https://stackblitz.com/edit/github-lyvshn-myigje?file=.storybook%2Fpreview.tsx

### Reproduction steps

1. Go to a story
2. Observe the orangeish background color
3. Click "Show Code" on a story, check the console

### System

```bash
Storybook Environment Info:

  System:
    OS: Linux 5.0 undefined
    CPU: (4) 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.3.0-alpha.3 => 8.3.0-alpha.3 
    @storybook/addon-interactions: ^8.3.0-alpha.3 => 8.3.0-alpha.3 
    @storybook/addon-links: ^8.3.0-alpha.3 => 8.3.0-alpha.3 
    @storybook/addon-onboarding: ^8.3.0-alpha.3 => 8.3.0-alpha.3 
    @storybook/blocks: ^8.3.0-alpha.3 => 8.3.0-alpha.3 
    @storybook/react: ^8.3.0-alpha.3 => 8.3.0-alpha.3 
    @storybook/react-vite: ^8.3.0-alpha.3 => 8.3.0-alpha.3 
    @storybook/test: ^8.3.0-alpha.3 => 8.3.0-alpha.3 
    storybook: ^8.3.0-alpha.3 => 8.3.0-alpha.3
```


### Additional context

_No response_
Repository: go
Issue: cmd/go: add a test for distribution size
Labels: GoCommand

This might belong in cmd/dist instead.

We should add a test that checks that the distribution size in not above a certain threshold so that we can catch cases where the distribution size is increased accidentally.
Repository: godot
Issue: [C#] Class with GlobalClass attribute and that inherits from base class from another assembly is not listed in the Create New Node dialog
Labels: bug,topic:dotnet

### Tested versions

4.3-rc.1
4.3-beta.3
4.2.2-stable

### System information

Windows 10

### Issue description

I have one assembly containing classes I want to reuse for various Godot projects (e.g. player script, inventory script, etc.).
This assembly use `Godot.NET.Sdk/<version>`.
In a new Godot project, I add a reference to the said assembly. Then, I create a new class that inherits from one of the classes exposed by this assembly.
I add the `GlobalClass` attribute to my new class in order to see it listed by the Create New Node dialog.

**Expected behavior:**

The class is listed by the Create New Node dialog.
This is the case for Godot 4.2.2 as shown in the screenshot below:
![image](https://github.com/user-attachments/assets/0c39a23b-e50c-44a6-bb5b-9bda79172d71)

**Current behavior:**

The class is no longer listed by the Create New Node dialog.
This is the case for Godot 4.3 beta.3 and rc.1.
The following error is logged:
```
editor/create_dialog.cpp:272 - Condition "inherits == StringName()" is true.
```

### Steps to reproduce

1. Create a new C# project and edit the `csproj` file to use `Godot.NET.Sdk/<version>`.
2. Create a new class that inherits from `Node` for example. Make it `public`.
3. Build the project.
4. Create a new Godot project, then create the C# solution.
5. Open the project, right click on `Dependencies` > `Add project reference...` > `Browse...` > add the assembly DLL.
6. Create a new class that inherits from the class previously created in the assembly. Add the `GlobalClass` attribute.
7. Build the project, then open the Create New Node dialog.

### Minimal reproduction project (MRP)

The following MRP is the almost ready version of the reproduction steps.
The external assembly is named `MyAssembly`.
You have two build configurations: one for Godot 4.2.2, one for Godot 4.3-rc.1.

Make sure to test the 4.2.2 version first by building the assembly with the corresponding configuration.
Then open the Godot project with Godot 4.2.2. In the C# project, add a reference to the assembly, then build the project. If everything went well, `MyCustomGlobalClass` should show up.

Then, build the 4.3 version of the assembly.
Open the Godot project with Godot 4.3 and upgrade it. In the C# project, update the assembly reference, then build the project again.

[MRP.zip](https://github.com/user-attachments/files/16461196/MRP.zip)
Repository: vscode
Issue: Context menu gets too small depending on the cursor position
Labels: electron,menus,upstream-issue-linked

Type: <b>Bug</b>

Context menus style has changed with lastest vscode version and they are not the right size.
**Edit: issued by chrome which changed the sytle of the menus, explained here** https://github.com/electron/electron/issues/42262

VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.19045
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|Screen Size|1366x768|

</details>
<!-- generated by issue reporter -->

version:
![new](https://github.com/user-attachments/assets/929ff4fb-c0df-46dd-a662-916b32a0ba0a)

previous:
![old](https://github.com/user-attachments/assets/0a45abf8-2d9d-44bb-ae7f-82c38b0ebbb3)

Steps to Reproduce:

* Open context menu

workarround here https://github.com/microsoft/vscode/issues/224515#issuecomment-2267264540 (requires restart)
Repository: vscode
Issue: LogOutputChannel does not clear all characters of Log Message
Labels: bug,output,log

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
Version: 1.91.1 (system setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:49.809Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631

Steps to Reproduce:

1. Create extensions with code
```
export function activate(): void {
  const notClearable = vscode.window.createOutputChannel(`LogOutputChannel`, { log: true });

  notClearable.info('my first log message');
  setTimeout(() => {
    notClearable.clear();
    setTimeout(() => {
      notClearable.info('my second log message');
    }, 4000);
  }, 4000);
}
```
3. start extension

After 8000ms LogOutputChannel  should only have one message `my second log message` in the channel. Instead it contains some remaining chars of the first log message. 

![log_not_cleared](https://github.com/user-attachments/assets/ccb7629a-4046-4873-ab5e-c12738f476a8)
Repository: deno
Issue: Missing `TReturn` and `TNext` generic types in `AsyncIterable<T>`
Labels: upstream

current:
```ts
interface AsyncIterable<T> {
    [Symbol.asyncIterator](): AsyncIterator<T>;
}
```
expected type:
```ts
interface AsyncIterable<T, TReturn = any, TNext = undefined> {
    [Symbol.asyncIterator](): AsyncIterator<T, TReturn, TNext>;
}
```
version:
```
deno 1.45.5 (release, aarch64-apple-darwin)
v8 12.7.224.13
typescript 5.5.2
```
Repository: flutter
Issue: [web][ci] Overriding `tester.view.devicePixelRatio` in integration tests breaks them.
Labels: engine,platform-web,e: web_html,P3,team-web,triaged-web

It seems that overriding `tester.view.devicePixelRatio` to a value that is different to the actual DPR of the browser is crashing some integration tests with the following error:

```
══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞══════════════════════
The following assertion was thrown during a scheduler callback:
Assertion failed:
org-dartlang-sdk:///lib/_engine/engine/html/scene_builder.dart:94:16
matrix4[0] == EngineFlutterDisplay.instance.devicePixelRatio &&
            matrix4[5] ==
EngineFlutterDisplay.instance.devicePixelRatio
is not true

When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3  throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3   assertFailed
lib/_engine/engine/html/scene_builder.dart 95:57                             pushTransform
packages/flutter/src/rendering/wrap.dart.js 80556:34                         addToScene
packages/flutter/src/rendering/wrap.dart.js 79849:12                         buildScene
packages/flutter/src/rendering/wrap.dart.js 75503:48                         compositeFrame
packages/flutter/src/rendering/wrap.dart.js 76281:22                         drawFrame
packages/flutter/src/rendering/wrap.dart.js 197076:15                        drawFrame
packages/flutter/src/rendering/wrap.dart.js 76240:12                         [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart.js 934:9                         [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart.js 893:37                        handleDrawFrame
packages/flutter_test/src/test_text_input_key_handler.dart.js 11808:15       handleDrawFrame
packages/flutter/src/scheduler/binding.dart.js 766:16                        <fn>
dart-sdk/lib/async/zone.dart 1391:47                                         _rootRun
dart-sdk/lib/async/zone.dart 1301:19                                         run
dart-sdk/lib/async/zone.dart 1209:7                                          runGuarded
dart-sdk/lib/async/zone.dart 1249:23                                         <fn>
dart-sdk/lib/async/zone.dart 1399:13                                         _rootRun
dart-sdk/lib/async/zone.dart 1301:19                                         run
dart-sdk/lib/async/zone.dart 1233:23                                         <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:11      internalCallback
═════════════════════════════════════════════════════════════════

end of failure 1
```

It seems that [removing the override fixes the tests](https://github.com/flutter/packages/pull/7269), but the override should not crash.

* See:
  * [Broken build](https://ci.chromium.org/ui/p/flutter/builders/try/Linux_web%20web_platform_tests_shard_1%20stable/9925/infra)
  * [Fixed build](https://ci.chromium.org/ui/p/flutter/builders/try/Linux_web%20web_platform_tests_shard_1%20stable/9980/infra)
Repository: PowerToys
Issue: unexpected / Added characters
Labels: Issue-Bug,Product-PowerRename,Needs-Triage

### Microsoft PowerToys version

0.83.0

### Installation method

Microsoft Store

### Running as admin

None

### Area(s) with issue?

PowerRename

### Steps to reproduce

using PowerRename and it is adding unwanted - (dash or hyphen) .
Note: original file name had a space dash space. i wanted to change to no spaces before or after the dash.

When i apply, it adds an unwanted DASH.
![Screenshot 2024-08-01 153836](https://github.com/user-attachments/assets/2ad7b236-590a-4553-9dda-4c5b9e36a849)
![Screenshot 2024-08-01 153638](https://github.com/user-attachments/assets/283b9cf9-d13a-4506-bef7-e8f5590e5770)


### ✔️ Expected Behavior

no spaces

### ❌ Actual Behavior

extra DASH
![Screenshot 2024-08-01 153836](https://github.com/user-attachments/assets/37b29bdf-a64b-4d8d-a4a0-d983d21a9a89)
![Screenshot 2024-08-01 153638](https://github.com/user-attachments/assets/90b137db-6d24-4eda-b845-44ada053761c)


### Other Software

_No response_
Repository: godot
Issue: WebXR broken on Meta Quest browser (renders a black void)
Labels: bug,platform:web,topic:xr

### Tested versions

- Reproducible on any WebXR app made with Godot 3 or 4
- I've personally tested with apps using Godot 4.3-beta2, -beta3, -rc1, -rc2, Godot 4.2.2 and Godot 3.3.3

### System information

Meta Quest 3 (v67) in Quest browser (v34.3)

### Issue description

All WebXR apps made with Godot (both 3 and 4) are currently broken on the Meta Quest browser - on entering VR it simply renders a black void.

This isn't an issue introduced by any recent changes made by Godot: I've tested WebXR apps that previously worked, haven't been changed, but now don't work.

Here's some examples:

- https://dsnopek.itch.io/toy-racer-xr?password=godot-webxr (Godot 3.3.3, unchanged for several years)
- https://dsnopek.itch.io/constellation-coach-vr (Godot 4.3-beta3, from the recent game jam - worked then, broken now)
- https://dragon1freak.itch.io/downtowndaisys (Godot 4.2.2, from recent game jam - worked then, broken now)

Clearly, something changed in the Meta Quest browser to kick this off. I'm not exactly sure when, but in the last 1 or 2 weeks.

However, all other WebXR experiences I've tried online (not made with Godot) still work. So, it's some interaction between our WebXR implementation and this browser change.

On Godot 4, I get this error in the developer console:

```
Not all layers have valid content; visual artifacts might occur.
```

On Godot 3, I get this error:

```
The XRSession has completed multiple animation frames without drawing anything to the baseLayer's framebuffer, resulting in no visible output.
```

The reason for the difference is probably because Godot 4 uses WebXR Layers in order to render with multiview, whereas Godot 3 didn't use WebXR Layers or multiview.

However, in both cases, the error sounds like we're not rendering to the textures that WebXR gives us?

### Steps to reproduce

1. Open any of the linked apps above
2. Click the "Enter VR" button
3. See a black void

### Minimal reproduction project (MRP)

See above
Repository: pytorch
Issue: [Feature Request] Support Custom CPU Allocator to Enable torch.cpu.change_current_allocator
Labels: module: cpu,triaged,enhancement,needs design

### 🚀 The feature, motivation and pitch

The current builtin Host CPU memory allocator is a little problematic to support memory allocated by special interfaces like remote memory, apu memory, ..

Hope to allow custom CPU allocator to replace current default CPU allocator, which works like what CUDA has supported: `torch.cuda.change_current_allocator`

### Alternatives

_No response_

### Additional context

_No response_

cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10
Repository: pytorch
Issue: DISABLED test_dtensor_op_db_full_like_cpu_float32 (__main__.TestDTensorOpsCPU)
Labels: oncall: distributed,triaged,module: flaky-tests,skipped

Platforms: linux

This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_dtensor_op_db_full_like_cpu_float32&suite=TestDTensorOpsCPU&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/28220311746).

Over the past 3 hours, it has been determined flaky in 3 workflow(s) with 3 failures and 3 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `test_dtensor_op_db_full_like_cpu_float32`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.



<details><summary>Sample error message</summary>

```
Unexpected success
```

</details>


Test file path: `distributed/_tensor/test_dtensor_ops.py`

cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @clee2000
Repository: excalidraw
Issue: [BUG]: history.ts appears in package.
Labels: bug,history

I've noticed that history.ts is always included in the package when running `yarn pack` from `packages/excalidraw`. 
I took a look at the yarn source code and this is what I found in their `src/cli/commands/pack.js`:
```
const NEVER_IGNORE = ignoreLinesToRegex([
  // never ignore these files
  '!/package.json',
  '!/readme*',
  '!/+(license|licence)*',
  '!/+(changes|changelog|history)*',
]);
```
There is no way to overwrite files included by this `NEVER_IGNORE`. 

So the only fix I can think of is renaming history.ts. (or just leaving this minor bug for newer generations to stumble upon...)
Repository: flutter
Issue: [Web] App crashes on safari on iOS when loading large images
Labels: c: crash,platform-web,a: images,has reproducible steps,P1,browser: safari-ios,team-web,triaged-web,:hourglass_flowing_sand:,found in release: 3.22,found in release: 3.24

This reproduces reliably on all iPhones.

To repro:
1. Open https://vitalsynergyoregon.web.app in iPhone
2. Observe how the website opens couple times and then error page (below in comment)

- source code: https://github.com/vitalsynergy/vital_synergy
- deployed website: https://vitalsynergyoregon.web.app/
- i deployed this app by running `firebase deploy` in the folder `website`. I tried both Flutter master and Flutter stable, also i tried to recreate firebase project and deploy to it.


what SDKs I tried:

flutter --version
Flutter 3.24.0-1.0.pre.214 • channel master • git@github.com:flutter/flutter.git
Framework • revision c63733310f (9 days ago) • 2024-07-20 19:26:30 -0400
Engine • revision 207f088f73
Tools • Dart 3.6.0 (build [3.6.0-55.0.dev](http://3.6.0-55.0.dev/)) • DevTools 2.37.1



 flutter --version
Flutter 3.22.3 • channel stable • git@github.com:flutter/flutter.git
Framework • revision b0850beeb2 (13 days ago) • 2024-07-16 21:43:41 -0700
Engine • revision 235db911ba
Tools • Dart 3.4.4 • DevTools 2.34.3
Repository: flutter
Issue: ☂️ Support Apple Intelligence features
Labels: platform-ios,platform-mac,c: proposal,P2,team-ios,triaged-ios

https://developer.apple.com/apple-intelligence/

* [ ] https://github.com/flutter/flutter/issues/150452
* [ ] https://github.com/flutter/flutter/issues/150453
* [ ] https://github.com/flutter/flutter/issues/150965

Also, Flutter could consider creating plugins for these new Apple Intelligence APIs:

* [ ] New app intents APIs added in iOS 18 ([WWDC session](https://developer.apple.com/videos/play/wwdc2024/10134/))
* [ ] New image playground APIs added in iOS 18 (see [this](https://developer.apple.com/apple-intelligence/))
Repository: flutter
Issue: Verify Flutter works with iOS 18's iPhone mirroring 
Labels: platform-ios,platform-mac,P2,team-ios,triaged-ios

Known issues:

* [x] https://github.com/flutter/flutter/issues/153897 (Fixed by https://github.com/flutter/engine/pull/55285)
* [ ] https://github.com/flutter/flutter/issues/155593
* [ ] Verify Face ID works
Repository: flutter
Issue: Verify Flutter plugins can use the new Swift Testing tooling
Labels: platform-ios,platform-mac,P2,team-ios,triaged-ios

If needed, update plugin templates and relevant docs.
Repository: flutter
Issue: ☂️ Support new iOS 18 accessibility features
Labels: platform-ios,P2,team-ios,triaged-ios

https://www.apple.com/newsroom/2024/05/apple-announces-new-accessibility-features-including-eye-tracking/

Verify Flutter works with new accessibility features:

* [x] #153567
* [ ] Verify Flutter works with the new Hover Typing feature
* [ ] Verify Flutter works with the new Virtual Trackpad feature
* [ ] Verify Flutter works with the Large Content Viewer ([WWDC session](https://developer.apple.com/videos/play/wwdc2024/10074/))

Fix known problems:

* [ ] #153573

Additionally, we could consider creating plugins to expose new accessibility APIs:

* [ ] Music Haptics. These new APIs let music use the taptic engine