sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: angular
Issue: Exported array of standalone components cannot be imported
Labels: state: has PR,area: compiler,P3,bug,cross-cutting: standalone

### Which @angular/* package(s) are the source of the bug?

Don't known / other

### Is this a regression?

No

### Description

I have a library that export multiple component in a `const` as advised [in the standalone guide](https://github.com/angular/angular/blob/14.2.11/aio/content/guide/standalone-components.md#standalone-components-for-library-authors):
```ts
const LU_SIMPLE_SELECT_COMPONENTS = [
  LuSimpleSelectInputComponent,
  LuOptionDirective,
  LuDisplayerDirective,
  LuOptionComponent,
] as const;
```

Whenever I import this constant from a module or in a component in an application that use my library, I have the following issue:
> Value at position 0 in the NgModule.imports of AppModule is not a reference
> Value could not be determined statically.

If I redefined the same const in the application, it works.

## Links
* [The library part](https://github.com/LuccaSA/lucca-front/blob/rc/packages/ng/simple-select/src/lib/index.ts#L8)
* [A Stackblitz that reproduce the issue](https://stackblitz.com/edit/angular-ivy-c1tufr?file=src%2Fapp%2Fapp.module.ts) (uncomment line 24 and comment line 23 to make it works)

### Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/angular-ivy-5rgxzc?file=src%2Fapp%2Fapp.module.ts

### Please provide the exception or error you saw

```true
> Value at position 0 in the NgModule.imports of AppModule is not a reference
> Value could not be determined statically.
```


### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 14.1.3        
Node: 16.14.2
Package Manager: npm 8.5.0
OS: win32 x64

Angular: 14.1.3
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1401.3
@angular-devkit/build-angular   14.1.3
@angular-devkit/core            14.1.3
@angular-devkit/schematics      14.1.3
@angular/cdk                    14.2.7
@schematics/angular             14.1.3
rxjs                            7.5.7
typescript                      4.7.4
```


### Anything else?

Love Standalone components!
Repository: vscode
Issue: Support alt+enter in terminal quick fixes to add a command but not execute it
Labels: feature-request,editor-code-actions,terminal-quick-fix

This would align with the very similar run recent command:

![image](https://user-images.githubusercontent.com/2193314/202262799-eb28cc09-a12b-4273-8c04-fdb121d5b89d.png)
Repository: go
Issue: image/gif: gif decoding fails on 1x1 pixel image that renders correctly in browser
Labels: NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
go version go1.19.3 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/ccampbell/Library/Caches/go-build"
GOENV="/Users/ccampbell/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/ccampbell/go/pkg/mod"
GONOPROXY="github.com/fastly"
GONOSUMDB="github.com/fastly"
GOOS="darwin"
GOPATH="/Users/ccampbell/go"
GOPRIVATE="github.com/fastly"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.19.3/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.19.3/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.19.3"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/ccampbell/Sites/gif-decode-error/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/4b/zg1r6yhs61n89x8d8r02d9zh0000gn/T/go-build925926509=/tmp/go-build -gno-record-gcc-switches -fno-common"

</pre></details>

### What did you do?

Playground to reproduce is here:
https://go.dev/play/p/itdNnujIVfy

I included the image as a base64 data url in the playground so you can copy and paste that directly into the browser.

For convenience, I also uploaded it here:
https://test.craig.cloud/test-blank.gif

### What did you expect to see?
Expected to see no decode error.

### What did you see instead?
```
decode error: gif: too much image data
```

The image renders correctly in a browser. Seems perhaps related to #16146, but it is failing at a different point.

The specific failure occurs at 
https://github.com/golang/go/blob/8c17505da792755ea59711fc8349547a4f24b5c5/src/image/gif/reader.go#L448
Repository: flutter
Issue: Reduce SemanticsTester noise in goldens
Labels: a: tests,team,framework,a: accessibility,P2,team-framework,triaged-framework

This is a list of fixes we can add to the framework semantic tester to reduce the noise in goldens

1. Change all node colors to a single color (black, blue, etc). If a hidden node is inserted to the tree, all nodes are impacted 
2. Lower case all text in the nodes. Casing shouldn't matter, and for changes like Material 2 -> 3 going from SCREAMING_CAPS to Sentence structure, it adds noise
Repository: flutter
Issue: Automatically validate protobuf dart code is generated correctly in cocoon
Labels: team-infra,P3,triaged-infra

Updating protobufs in cocoon require automatically converting the protobuf to dart code as well. This should be automatically checked in the `dart_test_runner.sh` script, so that code cannot get merged in unless the protobuf dart code exists.
Repository: vscode
Issue: Flaky smoke test: verifies quick outline
Labels: debt,smoke-test-failure

macOS Electron smoke tests

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=193221&view=logs&j=260a512b-e5ca-5cf1-3f8e-20c0fa41efc9&t=ed595fa9-bdca-5f35-a51a-12f92e4d7421&l=83

```
  1) VSCode Smoke Tests (Electron)
       Language Features
         verifies quick outline (js):
     Error: Timeout: get text content '.quick-input-widget .quick-input-list .monaco-list-row .monaco-highlighted-label' after 20 seconds.
      at Code.poll (/Users/runner/work/1/s/test/automation/src/code.ts:269:11)
      at runNextTicks (node:internal/process/task_queues:61:5)
      at processTimers (node:internal/timers:499:9)
      at Code.waitForTextContent (/Users/runner/work/1/s/test/automation/src/code.ts:201:10)
      at QuickAccess.openQuickOutline (/Users/runner/work/1/s/test/automation/src/quickaccess.ts:193:17)
      at Context.<anonymous> (src/areas/languages/languages.test.ts:20:4)
```
Repository: vscode
Issue: "Save All" is disabled (and prevents save participants) when there are no dirty files, but "Save" is available
Labels: feature-request,file-io

When you have no dirty files, the Save All command is disabled, but the Save command is enabled:

<img width="703" alt="Screenshot 2022-11-16 at 20 32 03" src="https://user-images.githubusercontent.com/1078012/202288278-4a0e91ee-d72c-46c4-8359-d14e5b4a15c1.png">

This means if you generally use the Save All keybinding (some users re-bind Cmd+S to "Save All") to trigger format-on-save (and other save participants), it will "randomly" appear not to work depending on whether you have any dirty files. If you have Auto-Save enabled, then it will almost never work, because the files will be auto-saved before you can press the binding.
Repository: flutter
Issue: [in_app_purchase][android] `isAvailable` returns false when enabling playstore after disabling it.
Labels: platform-android,p: in_app_purchase,package,has reproducible steps,P2,found in release: 3.3,found in release: 3.6,team-android,triaged-android

I have validated this on Android, not yet IOS.  But the scenario using package in_app_purchase is

1.  From Android app settings, disable Google Play store
2.  Execute flutter app, hit line of code 
        bool isStoreAvailable = `await _iap?.isAvailable() ?? false;`  
3.  Step 2 will return false (store is unavailable)
4.  While app is still running, enable Google Play Store
5.  Re-execute same command
       bool isStoreAvailable = `await _iap?.isAvailable() ?? false;`  

Step 5 will continue to return false, even when Google Play store is available.  The app must be restarted after store is re-enabled for it to return true (store available).

However, if you perform the opposite by starting flutter app with store enabled, execute  `iap?.isAvailable()` which will return true, then disable store and re-execute code it will return false as expected.

It appears that `_iap?.isAvailable()` is unable to detect when the Play store goes from unavailable to available.
Repository: pytorch
Issue: Support disallowing calls to certain instance methods in TorchDynamo
Labels: low priority,triaged,enhancement,module: dynamo

### 🚀 The feature, motivation and pitch

Currently TorchDynamo supports disallowing functions in captured graphs through `torch._dynamo.disallow_in_graph`. However, there is no way to disallow instance methods, for example, `Tensor.copy_`. 

It would be a useful feature to exclude method calls as well, so that the model can be optimized by the backend even if the backend lacks support for some ops used in the model. Currently I have to patch the internal class of TorchDynamo, like
```py
import functools

import torch
import torch._dynamo

torch._dynamo.disallow_in_graph([torch.sub, torch.Tensor.__setitem__, torch.Tensor.copy_])


def backend(gm, example_inputs):
    print(gm.graph)
    return gm.forward


@torch._dynamo.optimize(backend)
def fn(x, y):
    x = torch.add(x, 1)
    x[0:2] = torch.zeros(2)
    x = torch.add(x, 2)
    x = torch.sub(x, 0)
    x = torch.add(x, 3)
    x.copy_(y)
    x = torch.add(x, 4)
    return x


fn(torch.ones(8), torch.zeros(8))


def _patch():
    cls = torch._dynamo.variables.tensor.TensorVariable
    old_method = cls.call_method
    @functools.wraps(old_method)
    def call_method(self, tx, name, args, kwargs):
        if name == "__setitem__" or name == "copy_":
            raise torch._dynamo.exc.Unsupported("Tensor __setitem__ not supported")
        return old_method(self, tx, name, args, kwargs)

    cls.call_method = call_method


_patch()
print("TensorVariable call_method patched")

torch._dynamo.reset()
fn(torch.ones(8), torch.zeros(8))
```

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @aakhundov @mlazos @soumith @yanboliang @anijain2305 @chunyuan-w @Xia-Weiwen @desertfire @junrushao

### Alternatives

_No response_

### Additional context

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: Versatile-Diffusion implementation as extension
Labels: enhancement,extension-request

### 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 ?

https://github.com/SHI-Labs/Versatile-Diffusion

an extension would be awesome. 

### Proposed workflow

1. Go to .... 
2. Press ....
3. ...


### Additional information

_No response_
Repository: electron
Issue: [Bug]: capturePage promise on a hidden window rejects under certain conditions
Labels: bug :beetle:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

17.1.2, 21.2.3, 22.0.0-beta.5

### What operating system are you using?

Windows

### Operating System Version

win11 21h2

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

the promise returned by capturePage should always settle

if there's some kind of a problem capturing the image it should reject, hopefully with a helpful error, but never hang

### Actual Behavior

Under the following conditions the promise never settles:

- hidden window
- promise chain leading to capturePage is started from did-fail-load
- there is IPC to the renderer and back before the invocation of capturePage

### Testcase Gist URL

https://gist.github.com/bughit/5228404acb364991fbb8fc134ab9d4f7

### Additional Information

_No response_
Repository: go
Issue: cmd/api: api checker should check types for change in comparability
Labels: NeedsInvestigation,FeatureRequest,compiler/runtime

The api checker checks that we don't change our APIs in a backward-incompatible way.

Generics introduced the constraint `comparable` which denotes the set of all types which are strictly comparable. An API may define an exported type `T` which may be strictly comparable (see #56548 for terminology) and such a type `T` may successfully be used as type argument for `comparable` type parameters elsewhere.

It's possible to change `T` without visible API change so that it's not strictly comparable anymore. For instance, given
```Go
// T is strictly comparable
type T struct {
   /* exported and unexported fields which are all strictly comparable */
}
```
one can add a new, `unexported` field that is not strictly comparable
```Go
// T is not strictly comparable anymore
type T struct {
   /* exported and unexported fields which are all strictly comparable */
   unexported any // not strictly comparable
}
```
The visible API has not changed but `T` is not not strictly comparable anymore. This may prevent it's use elsewhere.

The api checker should treat such changes as API changes.

Marking for 1.20 as it would be a useful check and could be added late in the cycle.
Repository: kubernetes
Issue: Some built in objects don't implement generation
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

Pod's metadata.generation doesn't function, it should be implemented here but isn't: https://github.com/kubernetes/kubernetes/blob/master/pkg/registry/core/pod/strategy.go#L96-L102

Some other build in objects have the same problem.

### What did you expect to happen?

All built in objects should support the generation field.

### How can we reproduce it (as minimally and precisely as possible)?

Read the strategy objects to see if they support generation or not; or read an object from the cluster, it should have non-zero generation. We need to survey existing built in objects to see which have been missed.

### Anything else we need to know?

Originally reported in slack: https://kubernetes.slack.com/archives/C0EG7JC6T/p1668518118307749

### Kubernetes version

All versions.

### Cloud provider

All providers.


### OS version

All OSes.

### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: godot
Issue: RPCs do not work during MultiplayerPeer signals (use MultiplayerAPI signals instead).
Labels: documentation,topic:network,topic:multiplayer

### Godot version

4.0 dev Beta 4

### System information

Arch Linux

### Issue description

In my multiplayer host I tried to call an RPC immediately after a client connects to send them some information about the state of the game they just joined. However Godot says that the peer ID is invalid, even though I am calling the exact number I got from `peer_connected` signal!

![image](https://user-images.githubusercontent.com/491704/202306136-0cad88ec-2f03-48f4-a479-ed8744f44449.png)


### Steps to reproduce

Call

```
some_method.rpc_id(pid)
```

In a function connected to `peer_connected` in your host.

This should call an RPC on each newly connected client.
The RPC call will fail stating that the PID is invalid.

### Minimal reproduction project

[RPC bug.zip](https://github.com/godotengine/godot/files/10026100/RPC.bug.zip)

Usage:

1. Start 2 instances of the game
2. Click "HOST" in one
3. After that click "JOIN" in another
4. Check the debugger
Repository: ant-design
Issue: Form: Problem with dynamic changes validateTrigger 
Labels: Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/embed/wild-moon-lz6iee?fontsize=14&hidenavigation=1&theme=dark)

### Steps to reproduce

Wrap form component and change validateTrigger when onFinishFailed.

Initial validateTrigger -> onSubmit.
After onFinishFailed -> onChange.

Form consist:
 -  Input (with required rule).
 -  Submit button.

In form:
1. Click Submit button.
2. Set in input "a".

### What is expected?

Validation message hidden.

### What is actually happening?

Validation message visible.


| Environment | Info |
| --- | --- |
| antd | 4.24.2 |
| React | 18 |
| System | MacOS |
| Browser | Chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: `OS.set_window_size` doesn't work after changing `OS.window_fullscreen`
Labels: bug,platform:macos,topic:core

### Godot version

v3.5.1.stable.official

### System information

MacOS Ventura Version 13.0.1

### Issue description

when setting `OS.set_window_size` immediately after changing `OS.window_fullscreen` the window size doesn't change to the entered size, when executing `OS.get_window_size` immediately after `OS.set_window_size` it returns the correct value but when adding a timer between them `OS.get_window_size` returns a different value

the issue doesn't happen when adding a timer between `OS.window_fullscreen` and `OS.set_window_size` and the window size is set correctly.

### Steps to reproduce

```
func _on_Fullscreen_pressed():
	OS.window_fullscreen = !OS.window_fullscreen
	OS.set_window_size(Vector2(1920,1080))
	var time = 2
	yield(get_tree().create_timer(time), "timeout")
	print(OS.get_window_size())
```
Expected Output:
`(1920, 1080)`

Actual Output:
`(3840, 1524)`

### Minimal reproduction project

_No response_
Repository: excalidraw
Issue: MathJax extension (PR #2993)
Labels: enhancement

This issue exists to provide a tidy, convenient place for @excalidraw to review #2993.  That will include configuring a subdomain like [stem.excalidraw.com](https://stem.excalidraw.com) to load the MathJax extension from `@excalidraw/extensions`.  (@excalidraw has expressed that [excalidraw.com](https://excalidraw.com) itself should remain free of extensions, MathJax or otherwise.)
Repository: flutter
Issue: Make starting up a second isolate group deprecated
Labels: engine,c: proposal,P3,team-engine,triaged-engine

Previously, it was required in some use cases to create multiple flutter engines that didn't share resources because dart isolate groups didn't exist and platform channels were unable to be used from background isolates.  Now that both are possible via FlutterEngineGroup APIs and Isolate Platform Channels; we should deprecate the use of generating a second isolate group.  Doing so can result in: unexpected behaviors from Dart (ex https://github.com/flutter/flutter/issues/113825), worse performance and there is no known reason why it should be done.

That means that anytime someone creates a new dart isolate group when there is one already in existence it should result in a loud warning in the terminal (since there is currently no way to block it at build time).  We should also add a deprecation warning on FlutterEngine's constructor, encouraging usage of FlutterEngineGroup instead.  Also, Android and iOS apps should use FlutterEngineGroups by default.  Lastly, we should guarantee that users don't accidentally create multiple FlutterEngineGroups.  The easiest way to make that guarantee is to convert FlutterEngineGroup to singletons and to deprecate their constructors as well.

In summary, the suggested fixes are:
1) [ ] Print out error message when creating second live dart isolate group
1) [ ] Deprecate FlutterEngine constructor
1) [ ] Start using FlutterEngineGroup by default
1) [ ] Deprecate public FlutterEngineGroup constructors
1) [ ] Make FlutterEngineGroup singletons
Repository: godot
Issue: Particle trails not working with attractor
Labels: bug,topic:rendering,needs testing

### Godot version

4.0beta5

### System information

PopOS 22.04, 6.0.3-76060003-generic kernel, Ryzen 6800h, Radeon 6700m, amdgpu, Vulkan

### Issue description

When utilizing particle trails (via shader, dont mind the error because I'm not using godot material) and attractors, it doesn't seem to work.

Changing the settings on the attractor do not work

### Steps to reproduce

- Add a ribbon trail particle
- Add an attractor


https://user-images.githubusercontent.com/15805689/202323038-95c617bf-9373-46ee-ad0b-9b42464b23f4.mp4



### Minimal reproduction project

https://github.com/Mikeysax/example-project-for-godot-bug-gpu-particle-attractor-68756
Repository: PowerToys
Issue: Ventana emergente de FancyZones
Labels: Needs-Triage

### Description of the new feature / enhancement

The new FancyZones feature popup feature is similar to Windows 11 Snap Assist whereby you simply move your mouse pointer over the top right or left corner of the screen to choose the split screen option default or custom and be able to switch from one to the other automatically without having to enter the FancyZones editor option or windows + ñ . The system will then automatically display the available split screen layouts.

### Scenario when this would be used?

The scenario to be used would be the ease of changing fancyzone templates quickly 

### Supporting information

_No response_