sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Audit old devicelab test entry point `run.dart` and clean up if obsolete at all
Labels: team,team-infra,P2,triaged-infra

Devicelab tests have now been switched to use `test_runner.dart` in our CIs, instead of `run.dart`.
https://github.com/flutter/flutter/tree/master/dev/devicelab/bin
https://flutter.googlesource.com/recipes/+/refs/heads/main/recipes/devicelab/devicelab_drone.py#146

We need to audit the old `run.dart` to make sure no other workflows are relying on the old path. If cleared, we should deprecate the old `run.dart` to avoid wasting people's time maintaining the old code.

Different wiki/docs may need an update as well.
Repository: flutter
Issue: Support for `addTexture` or some kind of dynamic/mutable texture support on web
Labels: engine,platform-web,c: proposal,P2,team-web,triaged-web

As discussed in https://github.com/flutter/engine/pull/37890

Now that we have the `createImageFromImageBitmap` API in `dart:ui_web`, users can create images from arbitrary browser image sources. However, creating a completely new image (and therefor WebGL texture) every time can be inefficient in some cases, and it would be preferable to be able to update the contents of an existing texture. We could expose this either through the `addTexture` API or through some other mechanism.
Repository: next.js
Issue: App not working when setting config.resolve.alias for react
Labels: bug

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/quiet-sunset-gxpgrr?file=%2Fnext.config.js%3A7%2C8-14%2C11

### To Reproduce

Uncomment the loop:
```
    ["react", "react-dom"].forEach((item) => {
      config.resolve.alias[item] = path.resolve(
        __dirname,
        ".",
        "node_modules",
        item,
      );
    });
``` 

and reload the page

### Current vs. Expected behavior

You will se an error, it shouldn't return an error but it should behave in the same way it behave if you comment the loop

### Verify canary release

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

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:43:05 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6020
Binaries:
  Node: 20.9.0
  npm: 10.1.0
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.0.3
  eslint-config-next: 14.0.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.2
Next.js Config:
  output: standalone
```


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

App Router

### Additional context

The reason why I need the webpack alias is to be able to link a ui library
Repository: vscode
Issue: Truncate long inlay hints
Labels: feature-request,inlay-hints

## Problem
See https://github.com/microsoft/TypeScript/issues/56541

TypeScript's inlay hints can be rather long. Previously we truncate these inlay hints at 30 characters. However we disabled this truncation when adding support for interactive inlay hints

While discussing this problem with the TS team, we realized that it would likely make more sense for VS Code to control the truncation instead of leaving it up to individual languages/extensions. That way the user experience is more consistent and an extension can't break us by sending extremely long inlay hints

The Rust extension also currently has logic to truncate their inlay hints


## Proposal
Add a default length limit to inlay hints. We could also add a setting that let's users control this limit

In addition, perhaps we can provide a way to view the full hint if you really want to. Either showing it in on hover or in a tooltip
Repository: stable-diffusion-webui
Issue: [Feature Request]: Extra Tab is lacking some necessary controls
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

1 No way to stop processing, which is a huge problem once you start a batch file. NEED  a STOP button
2 Scaling of the input image cannot go below 1. Allow Scaling to go lower than 1
3 The Triangle Icon to measure input image Height and Width is missing, unlike in img2img. Duplicate the feature in img2img.

Please look here:
https://github.ink/Gourieff/sd-webui-reactor/issues/219

### Proposed workflow

NA


### Additional information

When an input image is too large, there is no clear way to downscale it.  It can happen that you either don't know the size of the input image, or more likely you make mistake. Also, a STOP processing button is always handy and should be available.
Repository: vscode
Issue: Multi diff editor does not support diff view for Notebooks
Labels: feature-request,multi-diff-editor

Testing #199155

Awsome feature, will keep using this going forward, easy to review changes before submitting PRs.
Notebooks are rendered as plain JSON files.
Repository: pytorch
Issue: Efficient Cholesky and QR updates
Labels: module: sparse,triaged

### 🚀 The feature, motivation and pitch

I am working on sparse Gaussian processes for active learning (and potentially for online learning) would like to have stable and reliable efficient updates of intermediate decompositions. For this, efficient sequential QR column appends (see [SciPy equivalent](https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.qr_insert.html#scipy.linalg.qr_insert), algorithm present in Ref. 1) and efficient sequential rank-one Cholesky updates (see [TensorFlow equivalent](https://www.tensorflow.org/probability/api_docs/python/tfp/math/cholesky_update), algorithm from Ref. 2) would be extremely useful. Autodiff capabilities are not necessary for my particular use case - I'm just conflicted on whether it's good enough to implement it in pure Python PyTorch myself or whether such an implementation is significantly more inefficient than a lower level implementation. Regardless, it would be convenient to have such functions in PyTorch.

[1] Golub, G. H. & Van Loan, C. F. Matrix Computations, 3rd Ed. (Johns Hopkins University Press, 1996).
[2] Oswin Krause. Christian Igel. A More Efficient Rank-one Covariance Matrix Update for Evolution Strategies. 2015 ACM Conference. https://dl.acm.org/doi/10.1145/2725494.2725496


cc @alexsamardzic @nikitaved @pearu @cpuhrsch @amjames @bhosmer
Repository: vscode
Issue: Opening multi-diff editor for 100 files does nothing
Labels: bug,multi-diff-editor

<!-- ⚠️⚠️ 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/No

<!-- 🪓 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. -->
- VS Code Version:  Latest insiders
- OS Version: OSX

Ran into this while testing https://github.com/microsoft/vscode/issues/198832

Steps to Reproduce:

1.  Open a repo with changes to 100+ files (including a binary file)
2.  Open the multi-diff editor
Opens a window and shows just one file name and no contents & no other files.
There are a few errors in the console window about opening binary files `multiDiffEditorInput.ts:100 Error: File seems to be binary and cannot be opened as text`

I would have expected to see a message in the editor window with one of 
* Too many files...
* Failed to open binary file...
* etc
### Note: After this, closing all windows and trying to view diff editor for one file does not work eitehr.
I have to re-load VS Code for the diff editor to start working.

![Screenshot 2023-11-30 at 10 37 10](https://github.com/microsoft/vscode/assets/1948812/d9f29ae1-fc75-44ff-85d9-3f8236a24c70)
Repository: godot
Issue: Error in constructing an instance of a class inheriting from 'EditorPlugin' in a conditional block that should not be executed
Labels: enhancement,discussion,topic:gdscript,topic:editor

### Godot version

v4.1.3.stable.official [f06b6836a]

### System information

MacOS 14.1.1 (23B81)

### Issue description

I encountered an issue related to the instantiation of a class, which inherits from EditorPlugin. The problem arises in scenarios where, the conditional logic should prevent the instantiation of this class. 

```
if 1 == 0: # and Engine.is_editor_hint():
	_editor_camera_helper = EditorCameraHelper.new() # extends EditorPlugin. Exception is here
	_camera = _editor_camera_helper.editor_cameras[0]
else:
	_camera = get_tree().get_first_node_in_group(Global.Groups.Camera)
```

When running, I receive the error: "Class 'EditorCameraHelper' cannot be constructed as it is based on abstract native class 'EditorPlugin'". This occurs despite the fact that the conditions should prevent the execution of the code inside the if block. In the case of if 1 == 0, it's obvious that the condition is always false. Similarly, with if Engine.is_editor_hint(), this condition should return false during normal project execution.


### Steps to reproduce

Run project

### Minimal reproduction project

[GodotAllBugs.zip](https://github.com/godotengine/godot/files/13506650/GodotAllBugs.zip)
Repository: TypeScript
Issue: Respect vscode recommendations for Go To Symbol feature
Labels: Suggestion,Help Wanted,Experience Enhancement

<!-- ⚠️⚠️ 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. -->

# 🚀 feature request

### Description
When using "Go to symbol" feature, search is case sensitive and do not handle fuzzy search making the whole feature almost useless. If you have to know in advance the exact name including the case, it is way more useless.

### Describe the solution you'd like
As mentionned by the team in [this related ticket](https://github.com/microsoft/vscode/issues/33746), it is the plugin responsability to interpret the search in a relaxed way.

> The query-parameter should be interpreted in a relaxed way as the editor will apply its own highlighting and scoring on the results. A good rule of thumb is to match case-insensitive and to simply check that the characters of query appear in their order in a candidate symbol. Don't use prefix, substring, or similar strict matching.

I might be wrong, but it seems to me this is this plugin responsability then.
Repository: ant-design
Issue: table开启虚拟滚动的时候，滚动条的颜色没有变化，在dark模式下看不清，可以添加一个token去修改这个颜色吗？
Labels: 💡 Feature Request,Inactive

### Reproduction link

[https://ant-design.antgroup.com/components/table-cn?theme=dark](https://ant-design.antgroup.com/components/table-cn?theme=dark)

### Steps to reproduce

官网调成深色模式就可以看到

### What is expected?

期望滚动条颜色跟着变化

### What is actually happening?

滚动条颜色没有变化

| Environment | Info |
| --- | --- |
| antd | 5.10.3 |
| React | 18.2 |
| System | mac最新 |
| Browser | chrome最新 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: stable-diffusion-webui
Issue: [Bug]: RuntimeError: mat1 and mat2 shapes cannot be multiplied (2x2560 and 2816x1280）
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Frequently reporting errors above

### Steps to reproduce the problem

img2mg

### What should have happened?

RuntimeError: mat1 and mat2 shapes cannot be multiplied (2x2560 and 2816x1280）

### Sysinfo

RuntimeError: mat1 and mat2 shapes cannot be multiplied (2x2560 and 2816x1280）

### What browsers do you use to access the UI ?

Google Chrome

### Console logs

```Shell
RuntimeError: mat1 and mat2 shapes cannot be multiplied (2x2560 and 2816x1280）
```


### Additional information

_No response_
Repository: TypeScript
Issue: JSDocs don't support properties on functions
Labels: Bug,Experience Enhancement,Fix Available

### 🔍 Search Terms

JSDoc @property @callback @typedef

### ✅ Viability Checklist

- [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [X] This wouldn't change the runtime behavior of existing JavaScript code
- [X] This could be implemented without emitting different JS based on the types of the expressions
- [X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

### ⭐ Suggestion

Currently JSDoc doesn't support defining properties on functions. This prevents JavaScript users from paralleling Typescript functionality. In particular, it prevents describing flags such as the `type` property on Redux Action Creators.

To support these, JSDoc would need to support defining function interfaces that include string properties, such as:

```js
/**
 * @typedef {{
 *   (arg: string): { type: string, payload: string };
 *   type: string;
 * }} ActionCreator
 */

/** @type {ActionCreator} */
const createFoo = (arg) => ({ type: createFoo.type, payload: arg });
createFoo.type = 'fooAction';
```

Ideally we could also extend `@callback` to include `@property` values, but this may stretch JSDoc beyond its limits.

### 📃 Motivating Example

JSDocs are finally in parity with TypeScript, when it comes to adding properties to functions. Previously, if you wanted to add a property to a function, you'd need to import a type from a TypeScript file that looks like this:

```ts
type PayloadCreator<Payload> = {
  (payload: Payload): { type: string; payload: Payload };
  type: string;
};

const createNumericPayload: PayloadCreator<number> = (payload) => ({ type: createPayload.type, payload });
createNumericPayload.type = 'numericPayload';
```

Now you can do it directly in your JavaScript, with

```js
/**
 * @template Payload
 * @typedef {{
 *   (payload: Payload): { type: string; payload: Payload };
 *   type: string;
 * }} PayloadCreator
 */

/** @type {PayloadCreator<number>} */
const createNumericPayload = (payload) => ({ type: createPayload.type, payload });
createNumericPayload.type = 'numericPayload';
```

### 💻 Use Cases

1. What do you want to use this for?\
    This allows me to add properties to a function in JavaScript in the same way that I can in TypeScript.
2. What shortcomings exist with current approaches?\
    Currently I must import from TS files, meaning I can't have JS-only environment.
3. What workarounds are you using in the meantime?\
    Using `@typedef {import}` to pull the definition from a TS file
Repository: pytorch
Issue: DISABLED test_torch_name_rule_map_updated (__main__.TraceRuleTests)
Labels: triaged,module: flaky-tests,skipped,module: dynamo

This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_torch_name_rule_map_updated&suite=TraceRuleTests) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/19161744528).

Over the past 3 hours, it has been determined flaky in 45 workflow(s) with 135 failures and 45 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_torch_name_rule_map_updated`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.


Test file path: `dynamo/test_trace_rules.py`

ResponseTimeoutError: Response timeout for 5000ms, GET https://raw.githubusercontent.com/pytorch/pytorch/main/test/dynamo/test_trace_rules.py -1 (connected: true, keepalive socket: false, socketHandledRequests: 1, socketHandledResponses: 0)
headers: {}

cc @clee2000 @ezyang @chauhang @penguinwu @rec @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @aakhundov @kadeng
Repository: go
Issue: runtime: test timeouts on ios-arm64-corellium
Labels: NeedsInvestigation,arch-arm64,compiler/runtime,OS-iOS

```
#!watchflakes
post <- pkg == "runtime" && builder == "ios-arm64-corellium" && `test timed out`
```

Filed for

2023-11-21 22:29 ios-arm64-corellium go@74993bff runtime ([log](https://build.golang.org/log/4038540505148a5dbeb535a273742d5bfcaabb6a))

But related issues include #63732 and #63735. This should hopefully supersede them.
Repository: react
Issue: [DevTools Bug]: Cannot read properties of undefined (reading 'toLowerCase')
Labels: Type: Bug,Status: Unconfirmed,Component: Developer Tools

### Website or app

React app in development phase

### Repro steps

<img width="1067" alt="image" src="https://github.com/facebook/react/assets/57346455/7b4b06c1-37f8-4edb-b67e-c816e983c441">

Occurs when you click on a component on the Component tab.
Recently, I worked on replacing it with react-hot-loader -> react-refresh.
The above error has occurred since the react-refresh application.
No error occurs when react-refresh is removed from the webpack.
The react-refresh is set the same as the official document.


### How often does this bug happen?

Every time

### DevTools package (automated)

_No response_

### DevTools version (automated)

4.28.5

### Error message (automated)

Cannot read properties of undefined (reading 'toLowerCase')

### Error call stack (automated)

```text
utils.js:626 Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at formatDataForPreview (utils.js:626:1)
    at dehydrate (hydration.js:83:1)
    at cleanForBridge (utils.js:26:1)
    at Object.inspectElement (renderer.js:3356:1)
    at agent.js:175:1
    at Bridge.emit (events.js:37:1)
    at bridge.js:136:1
    at listener (backendManager.js:1:25284)
```


### Error component stack (automated)

_No response_

### GitHub query string (automated)

_No response_
Repository: next.js
Issue: Missed correct typings on DevBundlerService
Labels: bug

### Link to the code that reproduces this issue

https://github.com/hyperse-io/next-mate/tree/main/packages/next-auth

### To Reproduce


```ts
export declare class DevBundlerService {
    private readonly bundler;
    private readonly handler;
    constructor(bundler: DevBundler, handler: WorkerRequestHandler);
    ensurePage: typeof this.bundler.hotReloader.ensurePage;
    logErrorWithOriginalStack: typeof this.bundler.logErrorWithOriginalStack;
    getFallbackErrorComponents(): Promise<void>;
    getCompilationError(page: string): Promise<any>;
    revalidate({ urlPath, revalidateHeaders, opts: revalidateOpts, }: {
        urlPath: string;
        revalidateHeaders: IncomingMessage['headers'];
        opts: any;
    }): Promise<{}>;
}
```
it will trigger  below error

```ts
Error: Cannot find symbol for node "ensurePage" in "this.bundler.hotReloader.ensurePage" from "/Users/tianyingchun/Documents/hyperce/next-mate/node_modules/next/dist/server/lib/dev-bundler-service.d.ts"
```


### Current vs. Expected behavior


```ts
export declare class DevBundlerService {
    private readonly bundler:DevBundler;
    private readonly handler;
    constructor(bundler: DevBundler, handler: WorkerRequestHandler);
    ensurePage: typeof this.bundler.hotReloader.ensurePage;
    logErrorWithOriginalStack: typeof this.bundler.logErrorWithOriginalStack;
    getFallbackErrorComponents(): Promise<void>;
    getCompilationError(page: string): Promise<any>;
    revalidate({ urlPath, revalidateHeaders, opts: revalidateOpts, }: {
        urlPath: string;
        revalidateHeaders: IncomingMessage['headers'];
        opts: any;
    }): Promise<{}>;
}
```
case of their have typings

```ts
ensurePage: typeof this.bundler.hotReloader.ensurePage;
logErrorWithOriginalStack: typeof this.bundler.logErrorWithOriginalStack;
```

### Verify canary release

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

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:12 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8103
Binaries:
  Node: 20.9.0
  npm: 10.1.0
  Yarn: 4.0.2
  pnpm: 8.10.5
Relevant Packages:
  next: 14.0.3
  eslint-config-next: 14.0.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.2
Next.js Config:
  output: N/A
```


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

App Router

### Additional context

_No response_