sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Flutter does not output symbol files for re-builds in different build modes 
Labels: platform-android,tool,a: build,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-android,triaged-android

# Summary

Flutter does not output symbol files for re-builds in different build modes.

This causes a lot of confusion when re-building with different build modes, for example, with and without `--obfuscate`, that changes the build id. We expect Flutter to output symbol files again in this case.

Copied from internal bug [b/276297187](http://b/276297187)

# Reproduction steps
Modify the source to force a build and output symbol files

```
$ echo "" >> lib/main.dart
```


Build and output symbol files

```
$ flutter build apk --split-debug-info=symbols/
```


See that Flutter had output symbol files

```
$ ls symbols/
app.android-arm.symbols    app.android-arm64.symbols  app.android-x64.symbols
```


Build again with a different build mode, having not changed the source

```
$ flutter build apk --obfuscate --split-debug-info=symbols/
```


Remove the symbol files to make it easier to see if they change

```
$ rm symbols/*
```


Build again in the first mode (without --obfuscate), having not changed the source

```
$ flutter build apk --split-debug-info=symbols/
```



See that Flutter did not output symbol files

```
$ ls symbols/
<nothing>
```


Build again in the second mode (with --obfuscate), having not changed the source

```
$ flutter build apk --obfuscate --split-debug-info=symbols/
```



See that Flutter still did not output symbol files

```
$ ls symbols/
<nothing>
```


## Expected

When re-building with a different build mode, regardless of touching source, Flutter should output the symbol files again.
Repository: flutter
Issue: Merge different strategies for building TextSpans with spell check results
Labels: a: text input,platform-android,platform-ios,framework,P3,team-framework,triaged-framework

As of https://github.com/flutter/flutter/pull/123481, there will be two separate strategies used to build `TextSpan`s used for text field widgets with spell check results marked. These should be merged for efficiency and clarity.
Repository: node
Issue: test-http2-large-file is flaky
Labels: flaky-test

### Test

`test-http2-large-file`

### Platform

AIX

### Console output

```console
22:30:07 not ok 3904 sequential/test-http2-large-file
22:30:07   ---
22:30:07   duration_ms: 120107.72300
22:30:07   severity: fail
22:30:07   exitcode: -15
22:30:07   stack: |-
22:30:07     timeout
22:30:07   ...
```


### Build links

- https://ci.nodejs.org/job/node-test-commit-aix/45967/nodes=aix72-ppc64/console

### Additional information

_No response_
Repository: flutter
Issue: `flutter analyze` should mention when `dart fix --apply` could fix the problems
Labels: tool,from: study,c: proposal,P3,team-tool,triaged-tool

When you run `flutter analyze`, if some of the errors could be autofixed by `dart fix --apply`, it should say so.
Repository: flutter
Issue: Error messages immediately after an upgrade should mention `flutter downgrade`
Labels: tool,from: study,c: proposal,a: error message,P2,team-tool,triaged-tool

When it's been less than N hours since the last time flutter was upgraded, if the developer is on beta or ~~master/main~~ stable, if the tool fails in some way, it should print a message like:

```
If this error was caused by upgrading Flutter, you may find information about it in our migration guides:
   https://docs.flutter.dev/release/breaking-changes
If this is not a good time to fix this problem, consider returning to your previous Flutter version using `flutter downgrade`.
```
Repository: TypeScript
Issue: Respect trailing comma style when organizing imports
Labels: Suggestion,Awaiting More Feedback

<!-- ⚠️⚠️ 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. -->
I use `eslint` with a typescript react project, and the `comma-dangle` rule is in direct conflict with the VS Code built in organize imports feature. Currently the organize imports feature supports multiple import variables on their own line, but will remove the trailing comma, causing the `eslint` rule to complain. Even if I manually fix it, the organize import feature will just remove it again. 

PLEASE add the option to ALLOW trailing commas.

```
import {
    foo,
    bar,
    bloop,
} from "some-package";
```

That is perfectly valid Typescript and should be configurable.

Example of the setting in question:
```
"settings": {
	"editor.formatOnSave": true,
	"[typescript]": {
		"editor.codeActionsOnSave": {
			"source.organizeImports": true
		}
	}
}
```
Repository: godot
Issue: Window resize crash in Multi-Threaded thread model
Labels: bug,topic:rendering,confirmed,crash

### Godot version

4.0.1.stable.official [cacf49999]

### System information

Windows 10, GT740-OC-2GD5 (ASUS GT 740)

### Issue description

Godot crashes on window resize without single error(last tests). I'm not sure yet what causing the issue, before removing WorldEnvironment cause editor to report dozens of errors with swapchain errors, now it say that its just swapchain not ready, and most of the time its nothing. (resizing editor windows does not cause any issues).

### Steps to reproduce

open minimal reproduction project, resize window

### Minimal reproduction project

[BUG_1.zip](https://github.com/godotengine/godot/files/11153282/BUG_1.zip)
Repository: vscode
Issue: cannot set ctrl+shift+numpad6 key combination
Labels: bug,keybindings

Type: <b>Bug</b>

Go to Keyboard Shortcuts. Click on the TextboxButton "Record Keys". Type LeftCtrl+LeftShift+Numpad6. Key Input displays just "ctrl+shift".

I also deperately wish for a way to hit ctrl and click via mouse on whatever variable I want the reference of and that this key combination takes me there directly or shows me a peek of all references regarding the clicked variable

VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:02:16.981Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|undefined|
|Memory (System)|15.82GB (2.59GB free)|
|Process Argv|--folder-uri file:///p%3A/Software%20Engineering/WorkSpace/4-gewinnt --crash-reporter-id 8828ae1a-7a5b-41e3-b533-17e9563f7ed9|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (24)</summary>

Extension|Author (truncated)|Version
---|---|---
file-templates|brp|1.2.0
vscode-language-pack-de|MS-|1.77.2023032909
vscode-dotnet-runtime|ms-|1.6.0
python|ms-|2023.6.0
vscode-pylance|ms-|2023.3.40
remote-wsl|ms-|0.77.0
cpptools|ms-|1.14.5
antlr4|nct|0.0.1
oracledevtools|Ora|21.5.0
java|red|1.16.0
scala|sca|0.5.6
metals|sca|1.22.0
vscode-checkstyle|she|1.4.2
sonarlint-vscode|Son|3.16.0
vscode-editor-group-minimizer|suh|1.3.2
errorlens|use|3.8.0
intellicode-api-usage-examples|Vis|0.2.7
vscodeintellicode|Vis|1.2.30
vscode-java-debug|vsc|0.49.1
vscode-java-dependency|vsc|0.21.2
vscode-java-pack|vsc|0.25.10
vscode-java-test|vsc|0.38.2
vscode-maven|vsc|0.41.0
volar|Vue|1.2.0

(2 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1cf:30587006
3biah626:30602489
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
vsccsb:30705552
pythonb192:30669360
defaultazurewalk:30687958
pythonms35:30701012
pythonclientmv:30705673

```

</details>

<!-- generated by issue reporter -->
Repository: terminal
Issue: Use AlignAfterOpenBracket BlockIndent for clang-format
Labels: Product-Terminal,Issue-Task,Area-CodeHealth

This makes you wonder if you scared your code, because it's trying to flee from your screen:
```cpp
bool ControlCore::SendMouseEvent(const til::point viewportPos,
                                 const unsigned int uiButton,
                                 const ControlKeyStates states,
                                 const short wheelDelta,
                                 const TerminalInput::MouseButtonState state)
{
    return _terminal->SendMouseEvent(viewportPos, uiButton, states, wheelDelta, state);
}
```

This on the other hand is the one true way, no exceptions (sample size = 1, myself):
```cpp
bool ControlCore::SendMouseEvent(
    const til::point viewportPos,
    const unsigned int uiButton,
    const ControlKeyStates states,
    const short wheelDelta,
    const TerminalInput::MouseButtonState state
) {
    return _terminal->SendMouseEvent(viewportPos, uiButton, states, wheelDelta, state);
}
```

We can get this behavior by setting `AlignAfterOpenBracket: BlockIndent` in `.clang-format`. The problems:
* Code like the former example, will not be formatted like the latter example even if we set that option, because the former isn't actually block indented to begin with! It's just line breaks after the first argument and so clang-format turns it into:
  ```cpp
  bool ControlCore::SendMouseEvent(const til::point viewportPos, const unsigned int uiButton, const ControlKeyStates states, const short wheelDelta, const TerminalInput::MouseButtonState state)
  {
      return _terminal->SendMouseEvent(viewportPos, uiButton, states, wheelDelta, state);
  }
  ```
  Most of our code looks like that unfortunately. This would be correct from the POV of clang-format:
  ```cpp
  bool ControlCore::SendMouseEvent(
      const til::point viewportPos,
      const unsigned int uiButton,
      const ControlKeyStates states,
      const short wheelDelta,
      const TerminalInput::MouseButtonState state)
  {
      return _terminal->SendMouseEvent(viewportPos, uiButton, states, wheelDelta, state);
  }
  ```
  This can be mostly fixed with this regex replacement: `((?!\s|::)\w+\()([^{}()]+,$)` -> `$1\n$2`
* Oww:
  ```
  523 files changed, 15819 insertions(+), 13065 deletions(-)
  ```
Repository: vscode
Issue: vscode.workspace.findFiles returns nothing if executed early in extension startup
Labels: bug,search,confirmed

I can get this to reproduce pretty frequently:

1. Debug the selfhost test provider https://github.com/microsoft/vscode-selfhost-test-provider
2. With the Test Explorer window open, reload the debugee (so that the explorer is opened on the new reload)
3. Notice that frequently no tests show up. Adding some logs indicates that `vscode.workspace.findFiles` does not find anything

It seems to get to the main thread successfully, but the fileSearch operation doesn't return anything

<img width="763" alt="image" src="https://user-images.githubusercontent.com/2230985/229931511-807d046f-0408-4936-afca-505b219b319f.png">
Repository: storybook
Issue: [Bug]: configureActions depth parameter changed behavior between Storybook 6.5 and 7.0
Labels: bug,addon: actions,performance issue

### Describe the bug

My project uses the [`depth` parameter of the `configureActions` function](https://github.com/storybookjs/storybook/blob/75f5176378564b183344f934cb586891555c823e/code/addons/actions/src/models/ActionOptions.ts#L4) to improve performance of the Actions addon by reducing the amount of event data that is serialized. After we upgraded to Storybook 7 we noticed that performance slowdowns were back because our previous configuration of `depth: 6` was resulting in much more data being serialized in v7 than in v6.5 Now we need to set `depth: 1` to achieve the same result (and it appears to be serializing at least 6 levels deep).

We've been setting this parameter based on trial and error so it's not a huge deal for its meaning to change but ideally it would be documented in the migration guide if it was intended. If nothing else, hopefully this issue helps someone else who is debugging a similar performance regression.

### To Reproduce

Note the field in these images called `action-menu-toggle.target._tableData`.

## Storybook 6.5 with `depth: 6`:

![image](https://user-images.githubusercontent.com/10500124/229930509-0bcc1dd0-7e8c-487c-80d9-96c804ef25d5.png)


## Storybook 7.0 with `depth: 6`:
﻿
![image](https://user-images.githubusercontent.com/10500124/229930601-d8c19247-2501-4936-b701-8b86a519d0b2.png)


## Storybook 7.0 with `depth: 1`:

![image](https://user-images.githubusercontent.com/10500124/229930727-d9fa1296-71bc-4277-8c2d-aadc20a7177c.png)


This will be reproducible in [the Storybook for `ni/nimble`](https://nimble.ni.dev/storybook/?path=/story/table--table) based on [this `preview.js` configuration](https://github.com/ni/nimble/blob/main/packages/nimble-components/.storybook/preview.js) shortly. If you need more targeted steps to reproduce please say so!

### System

```shell
Environment Info:

  System:
    OS: macOS 13.2.1
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 16.15.1 - /usr/local/bin/node
    npm: 8.11.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 111.0.5563.146
    Firefox: 111.0.1
    Safari: 16.3
```


### Additional context

_No response_
Repository: rust
Issue: Suggestion to fix clashing trait and generic names is incorrect when desired trait comes from module
Labels: C-enhancement,A-diagnostics,T-compiler

### Code

```Rust
use crate::a::B;

mod a {
    pub trait B {}
}

struct C<B: B>(B);
```


### Current output

```Shell
error[E0404]: expected trait, found type parameter `B`
 --> src/lib.rs:7:13
  |
1 | use crate::a::B;
  |               - you might have meant to refer to this trait
...
7 | struct C<B: B>(B);
  |          -  ^ not a trait
  |          |
  |          found this type parameter
  |
help: consider importing this trait instead
  |
1 | use crate::a::B;
  |
```


### Desired output

```Shell
error[E0404]: expected trait, found type parameter `B`
 --> src/lib.rs:7:13
  |
1 | use crate::a::B;
  |               - you might have meant to refer to this trait
...
7 | struct C<B: B>(B);
  |          -  ^ not a trait
  |          |
  |          found this type parameter
  |
```


### Rationale and extra context

The import is already there. Ideally it should tell you that the import is being shadowed by the generic, but barring that, it definitely shouldn’t suggest adding a useless line of code that already exists and only creates more errors.

### Other cases

_No response_

### Anything else?

This happens on stable and nightly.
Repository: pytorch
Issue: pip doesn't install the right version of pytorch when torchtext is involved
Labels: module: binaries,triaged

### 🐛 Describe the bug

I encountered some weird installation problems while installing the nightly version.

```bash
pip3 install --force-reinstall --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu118
```
This is fine.

```bash
pip3 install --force-reinstall --pre torch torchtext torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu118
```
This is going to install torch2.0.0 instead of the nightly version.

I’m sure it worked a few days ago.

### Versions

PyTorch version: 2.1.0.dev20230404+cu118
Is debug build: False
CUDA used to build PyTorch: 11.8
ROCM used to build PyTorch: N/A

CMake version: version 3.26.1
Libc version: glibc-2.31

Versions of relevant libraries:
[pip3] torch==2.1.0.dev20230404+cu118
[pip3] torchaudio==2.1.0.dev20230404+cu118
[pip3] torchdata==0.6.0
[pip3] torchtext==0.15.1
[pip3] torchvision==0.16.0.dev20230404+cu118
[pip3] triton==2.1.0


cc @seemethere @malfet @osalpekar @atalman
Repository: flutter
Issue: Unexpected/surprising behavior due to metrics updates.
Labels: P2,team-framework,triaged-framework

**EDIT: I'm updating this ticket after further investigation. I believe I've root caused the issue. I'm leaving my original post down below for reference.**

I believe the root cause of this issue is a crossover between two unexpected Flutter behaviors:

1. The first frame in release mode doesn't know the app's screen size, and therefore builds the widget tree with a size of zero.
2. `ListView`s will attempt to build children even when the list has no size.

In the demo code that I linked, the UI happens to start with a `ListView` that can have infinite children. That `ListView` is supposed to stop building as soon as it fills the viewport. 

The `ListView` children happen to use `AspectRatio`s, which set the height based on the width. The constraints passed to each list item are (0, 0 < h < infinity), i.e., forcing a width of zero. That zero width, combined with the `AspectRatio`, forces an overall child size of zero. As a result, the `ListView` builds children infinitely, because the children have zero size, and they never fill the viewport.

Technically, this could be described as user error. However, this situation is so unexpected, and difficult to track down, that I'm tempted to call this a bug. We spent days trying to figure out what was going on here. I'm not sure what the best alteration would be, but I think something should be done to remove the Flutter footgun in this scenario.

-------
I'm seeing a couple variations of an issue where Flutter UIs never appear. In my team's primary app, we get a white screen that never goes away. In a minimal repro app, we get the Flutter splash screen that never goes away.

Repro steps:

1. Uninstall any previous version of the given app
4. `flutter clean`
5. `flutter pub get`
6. Build and run in RELEASE mode

Flutter version:
```
Flutter 3.7.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 62bd79521d (5 days ago) • 2023-03-30 10:59:36 -0700
Engine • revision ec975089ac
Tools • Dart 2.19.6 • DevTools 2.20.1
```

For the white screen problem in our main app, we've gotten the problem to repro all the way back into the previous major stable release. But we can't share that code, so we're limited to what's in this ticket.

Test device: Samsung Tab S6

Here's a repository with a minimal Flutter project where this problem happens. There's some Dart code in there that I copied and tore apart from another project. My intuition is that the Dart code isn't relevant.

https://github.com/matthew-carroll/flutter_bug_repro

https://user-images.githubusercontent.com/7259036/229954117-b69d9b8d-4e8a-4fe0-a266-40338a6e4b32.MOV
Repository: godot
Issue: "Unable to load .NET runtime, specifically hostfxr" due to Godot not seeing manually installed .NET SDK
Labels: bug,platform:macos,topic:dotnet

### Godot version

4.0.2

### System information

macOS Ventura 13.3 - M1 CPU

### Issue description

I just installed .Net SDK (tried with 7.0 and 6.0 and same result)
After download Godot .NET I opened it and then an error dialog appear the title

"Failed to Load .Net runtime" and the body
"Unable to load .NET runtime, specifically hostfxr"

I do not know what else I can do, I can access `dotnet` command from my terminal, so I guess it was installed right

### Steps to reproduce

- just download godot .net for mac
- try to open it

### Minimal reproduction project

N/A
Repository: godot
Issue: Godot crashes when opening a scene from a path via EditorInterface from a button.
Labels: bug,topic:editor,confirmed,crash

### Godot version

v4.0.1.stable.mono.official [cacf49999]

### System information

Windows 10

### Issue description

I have an editor extension that adds a button that finds and opens a scene in the editor when clicked. Running Godot editor with --verbose gives this reason for the crash:

`ERROR: Object <Object#2000968282045> was freed or unreferenced while a signal is being emitted from it. Try connecting to the signal using 'CONNECT_DEFERRED' flag, or use queue_free() to free the object (if this object is a Node) to avoid this error and potential crashes.
   at: ~Object (core/object/object.cpp:1783)`

I have no idea what object it's talking about.

### Steps to reproduce

Open "res://World/test world 1", click on the node called "Door". Click on "Jump to door location" in the inspector.
Expected behavior: opens scene "test world 2" in a new tab.
Observed behavior: hangs for a moment, then crashes.

Offending line is `res://addons/delirious_biznasty/scripts/door_connect.gd : 24`

### Minimal reproduction project

[DBiznasty - Copy.zip](https://github.com/godotengine/godot/files/11154574/DBiznasty.-.Copy.zip)
Repository: godot
Issue: AudioStream preview filenames use different color and size from the rest of the inspector
Labels: enhancement,discussion,topic:editor,topic:audio

### Godot version

4.0.2

### System information

Windows 11

### Issue description

I changed the "Main Font" and "Main Font Bold" in the Editor Settings.
I have a script that's @exporting an Audio Stream, and an array of AudioStreams.
When I drag files into the Inspector to populate those @exports, the filenames aren't using the font settings I assigned.

![wrong_font](https://user-images.githubusercontent.com/677791/229971079-93978373-8219-4b07-825b-3840dd766816.png)


### Steps to reproduce

1. Change the Main Font and Main Font Bold in Editor Preferences.
2. Create a scene, and attach a script that @exports an AudioStream.
3. Drag an audio file into the Inspector to populate that @export var.


### Minimal reproduction project

(You'll have to change your Fonts in Editor Settings to see the issue.)
[wrong_fonts.zip](https://github.com/godotengine/godot/files/11154793/wrong_fonts.zip)

* EDIT: Changed version to 4.0.2
Repository: go
Issue: net/http: timeouts in TestResponseControllerSetPastReadDeadline
Labels: NeedsInvestigation

```
#!watchflakes
post <- (log ~ `panic: test timed out` && log ~ `TestResponseControllerSetPastReadDeadline \(\d+m\d+s\)`) || (pkg == "net/http" && test == "TestResponseControllerSetPastReadDeadline" && `server handler unexpectedly exited without closing readc`)
```
Repository: stable-diffusion-webui
Issue: [Feature Request]: Interrupt button to abort the process only after the current operation is completed
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 ?

could you make a button to interrupt the process only after the current operation is completed? thank you

### Proposed workflow

1. Go to txt2img or img2img
2. Press "Interrupt after"



### Additional information

_No response_