sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [iOS] - Dictation deltas don't respect app-side content updates
Labels: a: text input,platform-ios,engine,a: accessibility,P2,team-text-input,triaged-text-input

On iOS, when using dictation, the IME deltas that are dispatched to apps are delivered in a way that causes the app to get out of sync with the dictation system.

I've described the issue as it presents in Super Editor: https://github.com/superlistapp/super_editor/issues/1005

The summary of the issue is: The dictation system sends us one delta at a time, but the dictation system has already assembled multiple deltas that depend on each other. In cases where multiple deltas relate to each other, we're supposed to get the whole set of deltas at once. Instead, we get the deltas one at a time, which is supposed to let us immediately send our own app-side updates to the IME to alter the content (if we choose to) before the next delta comes in. But the next delta that comes in is based on the content of the first delta, which is now out of date.

Flutter version:
```
Flutter 3.8.0-12.0.pre.57 • channel master • https://github.com/flutter/flutter.git
Framework • revision 480c54c370 (82 minutes ago) • 2023-02-14 13:18:12 -0800
Engine • revision f4fcb911be
Tools • Dart 3.0.0 (build 3.0.0-233.0.dev) • DevTools 2.21.1
```
Repository: godot
Issue: Import Blend breaks, GLB duplicates.  zip file with all attached.
Labels: bug,topic:import,topic:3d

### Godot version

4.RC1

### System information

Windows 10, Vulkan, AMD Ryzen, Nvidia GeForce RTX 3060/PCIe/SSE2

### Issue description

Blender models can break,  GLB can duplicate and usage can crash godot.  Screenshot, notes, models and project folder attached.  Hope it helps.
[test2.zip](https://github.com/godotengine/godot/files/10737547/test2.zip)


### Steps to reproduce

folder is attached, just drag the models in as per note included in zip

### Minimal reproduction project

Included in zip
[test_2.zip](https://github.com/godotengine/godot/files/10737562/test_2.zip)
Repository: vscode
Issue: File links in the error renderer are incorrect
Labels: bug,notebook-output

In the below error mesage, the error message ends with a `.`
However clicking on the file path, we end up with the `.` as well, hence vs code attempts to open the file that ends witha `.` and that fails.
I.e. the link is invalid.

![Screenshot 2023-02-14 at 17 36 30](https://user-images.githubusercontent.com/1948812/218658379-dafe92d8-9da9-43f0-bd43-e51f4240f68d.png)
Repository: TypeScript
Issue: strict mode prevents Parameters<> from inferring types for imported JS function
Labels: Bug,Help Wanted

# Bug Report

### 🔎 Search Terms

strict javascript Parameters 

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about strict, distributive conditional types.

### 💻 Code

<!-- Please post the relevant code sample here as well-->
```js
// test2.js
module.exports = (schema, { path }) => {};
```

```ts
import x from "./test2.js";

function func<
  TFunc extends (...args: any[]) => any,
  TOpts extends Parameters<TFunc>[1] = Parameters<TFunc>[1]
>(f: TFunc, opts: TOpts) {}

func(x, { path: "" });
```

```json
{
  "compilerOptions": {
    "allowJs": true,
    "esModuleInterop": true,
    "alwaysStrict": true,
    "strictNullChecks": true,
    "strictBindCallApply": true,
    "strictPropertyInitialization": true,
    "noImplicitAny": true,
    "noImplicitThis": true,
    "useUnknownInCatchVariables": true,
    "strict": true
  }
}
```

### 🙁 Actual behavior

When `compilerOptions.strict` is enabled, this code will fail with

```
Argument of type '{ path: string; }' is not assignable to parameter of type 'never'.
```

This failure does not occur if strict is disabled, _even if all strict sub-properties are enabled_. It seems like strict is enabling something in addition to all the properties it groups which changes how `Parameters<>` is evaluated for JS code (which evalutes the type to `never`), but I'm note sure what the problem here would be and can't find any other docs that'd support there being additional restrictions.

### 🙂 Expected behavior

`Parameters<>` should correctly infer the type for imported JS functions.
Repository: kubernetes
Issue: Write the stress test for gRPC, http, and tcp probes
Labels: priority/important-soon,kind/cleanup,sig/node,help wanted,good first issue,needs-triage

Write a new e2e test that will be marked as `[Serial]` and will be covering this bug fix: https://github.com/kubernetes/kubernetes/issues/89898

The test will serve as a replacement for the skipped unit test: https://github.com/kubernetes/kubernetes/pull/115329

The logic of the test will be as following:

- Create MANY containers (see the unit test logic)
- Each container has a liveness probe with `1s` interval
- After some time validate that neither of containers has `restartCount > 0`

/cc @aojea 
/sig node
/kind cleanup
/priority important-soon
/area tests
/help-wanted
/good-first-issue

This is part of KEP: https://github.com/kubernetes/enhancements/issues/2727 GA requirements, but also need the same tests for http and tcp.
Repository: vscode
Issue: When the window is too small IHoverService doesn't take into account width of item
Labels: bug,workbench-hover

<!-- ⚠️⚠️ 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. -->
When my window is too small, the hover is rendered like so:
<img width="877" alt="image" src="https://user-images.githubusercontent.com/2644648/218893685-139a79e1-1464-410e-874f-d35db4034d5b.png">

This is not ideal because I would much rather have the hover render below or above the `target` not overtop of it.

Apparently @sbatten has told me that the `ContextViewDelegate` handles this case if you have `getAnchor` return an HTMLElement:
https://github.com/microsoft/vscode/blob/f5af78171cc3a664c261d1e2fca79ab1bbdb7de0/src/vs/base/browser/ui/contextview/contextview.ts#L39

The challenge there is the pointer... as the HoverSerivce likely doesn't know where the thing will end up rendering in the end... and doesn't know which direction to point to.
Repository: godot
Issue: Godot 4 RC2 has built-in documentation alignment noticeably affected
Labels: bug,topic:editor,usability

### Godot version

Godot 4 RC2

### System information

MacOS Ventura 13.2

### Issue description

Hi!

It's great the font size options for the built-in help docs in RC2 is finally working, however in the process the alignment and UI of the docs have been badly affected in comparison with RC1 (with same font settings across both releases).

**In RC1 (how the documentation for Vector3 should look):**
![image](https://user-images.githubusercontent.com/8476589/218907586-1e08b4ec-fb92-4f13-acf3-2779593f1fa0.png)

**In RC2 (how the documentation for Vector3 now looks):**
![image](https://user-images.githubusercontent.com/8476589/218907666-339c7e7c-0098-417c-87ef-aa2f2da7074e.png)

**Other portions of the documentation have even worse alignment issues, such as below:**
![image](https://user-images.githubusercontent.com/8476589/218907847-19436c14-1d9b-49f8-974c-6e238e93bbab.png)
![image](https://user-images.githubusercontent.com/8476589/218907862-5633f1b3-5f56-44a9-bb12-03f16358183b.png)
![image](https://user-images.githubusercontent.com/8476589/218907881-71e4451c-b397-41f9-9986-2c48bf0814b6.png)
<img width="702" alt="image" src="https://user-images.githubusercontent.com/8476589/218908052-5eef981f-5eab-41e5-a378-53b2c45c4d4f.png">







### Steps to reproduce

Just open up the built-in help docs for various classes/methods and you'll see the alignment issues. It's as if the documentation has been "tabbed" a few times.

### Minimal reproduction project

N/A
Repository: godot
Issue: ssl_msg.c assert error on disconnect with DTLS
Labels: bug,topic:network

### Godot version

4.0.RC1

### System information

M1 Mac, Windows 10

### Issue description

When using ENetMultiplayerPeer, I set up the server like this:

```		multiplayer.server_relay = false # Don't let clients get notified of each other or pass messages
		multiplayer.peer_connected.connect(self._player_connected)
		multiplayer.peer_disconnected.connect(self._player_disconnected)
		var server_certs = load(Globals.CRYPT_CERT_PATH)
		var server_key = load(Globals.CRYPT_CERT_PRIVATE)
		var server_tls_options = TLSOptions.server(server_key, server_certs)
		enet.create_server(Globals.SERVER_PORT)
		enet.host.dtls_server_setup(server_tls_options)
```

And the client like this;
```		multiplayer.connected_to_server.connect(self._server_connected)
		multiplayer.connection_failed.connect(self._server_connection_failed)
		multiplayer.server_disconnected.connect(self._server_disconnected)
		print("Connecting to server...")
		var client_trusted_cas = load("res://Certs/certificate.crt")
		var client_tls_options = TLSOptions.client_unsafe(client_trusted_cas)
		enet.create_client(Globals.SERVER_ADDRESS, Globals.SERVER_PORT)
		enet.host.dtls_client_setup("localhost", client_tls_options)
```

Connecting and sending RPC messages work great without issues or errors. But if the client closes its window, the following gets spit out on the server instance:

```
thirdparty/mbedtls/library/ssl_msg.c:3994: mbedtls_ssl_handle_message_type() returned -30848 (-0x7880)
thirdparty/mbedtls/library/ssl_msg.c:5459: mbedtls_ssl_read_record() returned -30848 (-0x7880)
```

It doesn't seem to affect anything and things still work fine, and the server even recognizes the client disconnect (after the asserts). But these asserts show up every single time a client disconnects.

This happens on both Windows 10 and an M1 Mac.

### Steps to reproduce

Create a client/server app with ENetMultiplayerPeer and set up DTLS.
Connect client to server.
Disconnect from server.
Notice the error.

### Minimal reproduction project

Happens in any project.
Repository: rust
Issue: `repr(C)` enums with a variant that overflows the native enum type should warn
Labels: A-diagnostics,A-FFI,T-compiler

Consider this:

```rust
#[repr(C)]
enum Bar {
    A = 0x1_FFFF_FFFF,
}
```

Assume that the targets native enum size is 4 bytes. Obviously `0x1_FFFF_FFFF` will overflow. This is accepted by the compiler, without warning. Instead it will silently use a larger underlying type.

I think this should be a future incompatibility warning with an eye to making it a hard error in a future edition. Being explicit with, say, `repr(u64)` is better than doing so silently (especially with it being [incompatible with MSVC](https://github.com/rust-lang/rust/issues/81996)). However, any warning would be good if others disagree.
Repository: TypeScript
Issue: Suggestion: error when using relational operators on types whose valueOf() method returns 'never' or 'void'
Labels: Suggestion,In Discussion

# Suggestion

## 🔍 Search Terms

valueof never

## ✅ Viability Checklist


My suggestion meets these guidelines:

* [ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
    - (This would be a breaking change inasmuch as it will generate additional errors.)
* [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 feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
    - (I hope so!)


## ⭐ Suggestion

At runtime, each operand of a relational operator is converted to a primitive value if needed by calling its `valueOf()` method (among [other things](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Less_than#description)). A type can be made effectively incomparable by giving it a `valueOf` method that throws an exception.

Ideally, `tsc` would check the `valueOf` signature of each operand, and produce a type error for any relational expression that implicitly invokes a `valueOf` whose declared return type is `never` or `void`.


## 📃 Motivating Example

The following code unconditionally throws at runtime and passes type-checking.

```ts
class C {
    valueOf() {
        throw new Error("Please don't call me again!")
    }
}
const a = new C();
const b = new C();
if (a < b) { // <- No error
    console.log("I am unreachable");
}
```

[Playground link](https://www.typescriptlang.org/play?ts=5.0.0-dev.20230210#code/MYGwhgzhAEDC0G8BQ1XQG5hAVwKYHkAzACgEpEU0qAXACwCcB7Ad2gDtdWBRep+4gEQAFELki5oAE0ZsA5NWjAsIaAFsJYAOZgAlmwCEA0pVQBfJOeAyICsNAC87TnDIBuJFbY3oAIwdPWWDckHUJoYjsAHl9yBGgAenjoSIBaaAA5RmhcXkZ6E0VrRlEAOhBGTUEASWgwVWhsNnoxYFowH1Ejd3MgA)


## 💻 Use Cases

TC39 Temporal `PlainDate` and `Instant` types [throw an exception](https://tc39.es/proposal-temporal/#sec-temporal.plaindate.prototype.valueof) when compared this way (for [reasonable reasons](https://github.com/tc39/proposal-temporal/issues/1681#issuecomment-896344812)). It's easy to accidentally write code that naively compares these types using an operator instead of the appropriate `compare` method. It would be ideal if this was caught statically.
Repository: PowerToys
Issue: fancyzones - Need a feature to quickly switch between windows in a layout
Labels: Needs-Triage,Needs-Team-Response

Right now, theres absolutely no option to quickly switch between two windows in a layout ( not a zone ). this option is not present in both the default windows snap assist and fancy zones.

the only option is to use alt+tab which can be time consuming because I might have visited another window in between. Right now, the only option is to cycle between windows in the same zone which is not pretty helpful. please add the option to switch between windows that are in a layout. 

And maintain the group option similar to the default windows snap assist so that we can easily switch to the group and just cycle the windows in it.

### Scenario when this would be used?

increases productivity by allowing users to switch between windows a layout

### Supporting information

_No response_
Repository: flutter
Issue: Use BORS-like infra to avoid master branch being red from time to time?
Labels: team-infra,P3,triaged-infra

Hi, just a tiny suggestion on infra :) When I look at repositories like Rust, I find they use an interesting tool: https://github.com/bors-ng/bors-ng:

> Bors-NG implements a continuous-testing workflow where the main branch never breaks. It integrates GitHub pull requests with a tool like GitHub Actions that runs your tests.
But don't GitHub's Protected Branches already do this?
... explanations ...

IMHO, Flutter's master branch does become red (i.e. tree broken) from time to time. For example, several hours ago it was broken: https://github.com/flutter/flutter/pull/120739 - my PR passed all CI checks (as can be seen [here](https://github.com/flutter/flutter/pull/114468/commits/e68067694ef4851a6c236e6f9699f146fd9d3faf)) but it accidentally breaks the master branch. This is time-consuming for many people, e.g. who make PR, who has to watch the tree status, who has to create a reverting PR, etc. If I understand correctly, BORS can avoid this problem, and thus Googlers' and contributors' time can be saved ;)
Repository: kubernetes
Issue: Add `responseResourceVersion` to audit log events
Labels: priority/awaiting-more-evidence,kind/feature,sig/auth,needs-triage

### What would you like to be added?

Add a `responseResourceVersion` field to audit log events (`k8s.io/apiserver/pkg/apis/audit/v1.Event`). If the audit event refers to a successful resource update resulting in a change in resource version, it should contain the resource version of the response object.

This is equivalent to `decode(event.ResponseObject.Raw)["metadata"]["resourceVersion"]`, except it is always available even in lower audit logging levels.

### Why is this needed?

I would like to map audit events to object updates as observed in an informer. This mapping could be achieved by identifying if the post-update object RV is equal to the audit event response RV, but this requires setting audit response to the `RequestResponse` level, which is very expensive in bandwidth when I just need one field. The pre-update RV is not appropriate because an audit log does not tell whether the resourceVersion changed, which may result in multiple audit logs with the same pre-update RV, and an audit receiver cannot distinguish whether the event mutates the RV or not until it receives the next event regarding the same object.

This issue only considers `responseResourceVersion` but not other fields in the object, because:

- `apiVersion` and `kind` are immutable and inferred from `ObjectRef`
- Other non-`metadata` fields have dynamic size
- Other fields in `metadata` are either:
  - immutable (`name`, `namespace`, `creationTimestamp`, `uid`, etc)
  - dynamically-sized (`annotations`, `labels`, `finalizers`)

We do not need to resend immutable object metadata from ObjectRef because it is duplicate, and we do not want to send dynamically-sized data because the bandwidth cost is unpredictable.

/sig api-machinery
Repository: vscode
Issue: file explorer flash when startup
Labels: bug,file-explorer,layout,timeline

https://user-images.githubusercontent.com/41773861/218947447-95b39e41-63dd-4355-a60f-a1db3c49fae0.mov

```
Version: 1.75.1 (Universal)
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Date: 2023-02-08T21:34:59.000Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Darwin x64 22.3.0
Sandboxed: No
```
Repository: flutter
Issue: [windows]: TextInputType.none not work on windows touch device
Labels: a: text input,e: device-specific,framework,f: material design,platform-windows,has reproducible steps,found in release: 3.7,found in release: 3.8,team-design,triaged-design

# Summary
when keyboardType is TextInputType.none, the  on-screen keyboard should not show, but on windows it shows

# Demo Code
``` dart
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(
    const MaterialApp(
      home: Scaffold(
        body: Center(
          child: CupertinoTextField(
            placeholder: 'expect: on-screen not show',
            keyboardType: TextInputType.none,
          ),
        ),
      ),
    ),
  );
}

```
Repository: stable-diffusion-webui
Issue: [Bug]: img2img remote access bug -loading gradio interface from another device than colab is running on no longer works reliably?
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?

Hello!

For the last two months I have successfully used automatic1111 using the Fast Stable Diffusion colab notebook by running colab on a windows 10 machine and then accessing the gradio gui via my iphone and ipad

this has worked perfectly- until 3 days ago

suddenly- if I attempt to run the gradio interface from my iphone or ipad the communication between the gradio interface and colab is EXTREMELY unreliable BUT only when using img2img- i hit the generation button… the first time it works and I can see generation in colab even though the preview/progress bar does not work-text2image does work when connecting remotely- but img2img breaks with no warnings, no clear indication if it’s connected or not- in the same session -if I launch the gradio interface on the windows machine img2img will work properly, but in the same session immediately after, triggering generation from the same gradio interface at the same url being loaded on a different device is broken

### Steps to reproduce the problem

1. run fast stable diffusion colab on a windows device in browser 
2. launch automatic1111 gradio gui  on another device such as iphone or ipad 
3. attempt an img2img generation-first or second or third may work correctly except the progress bar /previews are often broken- soon by the 2nd-4th generation it seems like the generation requests aren’t reaching colab at all- waiting ten minutes, still nothing
4. launch the same gradio interface on the windows machine the browser running colab is running on- img2img works~

### What should have happened?

img2img generation should work normally regardless what device I am accessing the gradio interface on as long as the session is running still

### Commit where the problem happens

https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/3715ece0adce7bf7c5e9c5ab3710b2fdc3848f39

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

_No response_

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

_No response_

### Command Line Arguments

```Shell
No
```


### List of extensions

No

### Console logs

```Shell
No
```


### Additional information

_No response_
Repository: go
Issue: x/mobile: No way to identify when being built for iossimulator
Labels: OS-Darwin,NeedsInvestigation,mobile

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.19.5 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes. This is the latest release

### 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/rob/Library/Caches/go-build"
GOENV="/Users/rob/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/rob/go/pkg/mod"
GONOPROXY="github.com/rob-deutsch"
GONOSUMDB="github.com/rob-deutsch"
GOOS="darwin"
GOPATH="/Users/rob/go"
GOPRIVATE="github.com/rob-deutsch"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.19.5/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.19.5/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.19.5"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
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/_s/36069dcj0c9dffd1lsrg4l_h0000gn/T/go-build106360914=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?
1. Created a library that relies on statically linked libraries (included as .syso)
2. Make sure that there are different .syso files for the iOS sdk and the iPhoneSimulator sdk
4. Ran `gomobile bind -target ios/arm64,iossimulator/arm64 -o Library.xcframework`


### What did you see?

Received this error message:

```
gomobile: xcodebuild -create-xcframework -framework /var/folders/_s/36069dcj0c9dffd1lsrg4l_h0000gn/T/gomobile-work-4172868616/iossimulator/iphonesimulator/Library.framework -framework /var/folders/_s/36069dcj0c9dffd1lsrg4l_h0000gn/T/gomobile-work-4172868616/ios/iphoneos/Library.framework -output Library.xcframework failed: exit status 70
error: binaries with multiple platforms are not supported '/var/folders/_s/36069dcj0c9dffd1lsrg4l_h0000gn/T/gomobile-work-4172868616/iossimulator/iphonesimulator/Library.framework/Library'
```

This issue is caused by the fact that go is trying to link the `ios` static libraries instead of the `iossimulator` static library.

### What did you expect to see?

There needs to be a way to use build tags to identify whether we're building for ios/arm64 or iossimulator/arm64. That way different static libraries can be linked depending on e.g.:

`//go:build arm64 && ios && !iossimulator`

and

`//go:build arm64 && ios && iossimulator`