sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: kubernetes
Issue: cluster unaccessible due to etcd OOM killed and API server FullListIfExpired
Labels: kind/bug,sig/api-machinery,triage/accepted,sig/etcd

### What happened?

cluster became unaccessible due to etcd OOM killed and API server FullListIfExpired triggered by periodic etcd compaction

According to client-go list design, if the data is expired, it will fall-back to full-list
https://github.com/kubernetes/client-go/blob/v0.24.6/tools/pager/pager.go#L98

![image](https://github.com/kubernetes/kubernetes/assets/1474346/d5958e40-a477-4fe9-92d3-0ee0748955ef)

If the list's continue's revision is expired, there will be two requests to list all objects. The etcd server ended up consume lots of memory until Range gRPC call finishes, since the Range gRPC call is unary not streaming.

### What did you expect to happen?

FullListIfExpired behavior need be configurable or automatically enabled/disable based on request payload

### How can we reproduce it (as minimally and precisely as possible)?


in our case, the cluster has [kyverno](https://www.bing.com/search?pglt=43&q=kyverno&cvid=8581f777cb8f48d1a37c57a49ae022bd&aqs=edge.0.69i59j0l7j69i60j69i11004.287j0j1&FORM=ANNAB1&PC=U531) installed, there was one resource under /registry/kyverno.io/admissionreport with ~2m objects of 5GB size, but any cluster with large amount of resource objects can run into this issue

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
1.24.6
```

</details>


### Cloud provider

<details>
Azure

</details>

### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
Ubuntu
$ uname -a
Linux
```
</details>


### Install tools

<details>
kyverno
</details>


### Container runtime (CRI) and version (if applicable)

<details>
containerd
</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>
Azure CNI
Azure CSI
</details>
Repository: storybook
Issue: [Bug]: @storybook/theming duplicating Emotion
Labels: bug,compatibility with other tools,theming

### Describe the bug

On a project using `@emotion/react` and `@emotion/styling`, I'm seeing the warning "You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used." in the console.

I traced it down to `@storybook/theming/dist/index.mjs`, which includes `@emotion/react` as part of the file. (So does `@storybook/theming/dist/index.js`). Thus, `@emotion/react` is indeed being loaded twice, once from `@emotion/react` and once from `@storybook/theming`.

### To Reproduce

https://github.com/kmonahan/storybook-theming-repro

### System

```shell
System:
    OS: macOS 13.4
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
  Binaries:
    Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node
    npm: 8.19.3 - ~/.nvm/versions/node/v16.19.1/bin/npm
  Browsers:
    Chrome: 114.0.5735.133
    Safari: 16.5
  npmPackages:
    @storybook/addon-a11y: ^7.0.22 => 7.0.22
    @storybook/addon-actions: ^7.0.22 => 7.0.22
    @storybook/addon-controls: ^7.0.22 => 7.0.22
    @storybook/addon-docs: ^7.0.22 => 7.0.22
    @storybook/addon-links: ^7.0.22 => 7.0.22
    @storybook/addon-styling: ^1.3.0 => 1.3.0
    @storybook/addon-viewport: ^7.0.22 => 7.0.22
    @storybook/addons: ^7.0.22 => 7.0.22
    @storybook/blocks: ^7.0.22 => 7.0.22
    @storybook/react: ^7.0.22 => 7.0.22
    @storybook/react-webpack5: ^7.0.22 => 7.0.22
```
```


### Additional context

_No response_
Repository: PowerToys
Issue: Mouse Without Borders: Secure Attention Sequence doesn't seem to work on the powertoys version
Labels: Issue-Bug,Priority-2,Product-Mouse Without Borders

### Microsoft PowerToys version

0.70.1

### Installation method

GitHub

### Running as admin

None

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

Uninstalled standalone MWB, ran PowerToys as administrator to install mwb service, exited. Ran as user and set up/connected. ctrl-alt-L twice will lock both computers, but mousing over to 2nd computer and pressing ctrl-alt-end does nothing. Double checked local group policy and Secure Attention Sequence is Enabled for Services and it's still set to enabled.

Also noticed that the PowerToys.MWB.Service was set to Manual. Changed to automatic and started, but hitting refresh shows that the service stops again right away. Event log shows "service started successfully" and then three more information events saying "service stopped successfully"

I'm guessing the two are related? if the service isn't running then the Secure Attention Sequence won't apply since it's not a service-related request?

### ✔️ Expected Behavior

pressing ctrl-alt-end while mouse focus is on 2nd/nth computer will emulate Ctrl Alt Del and allow me to put in my password/pin/etc to unlock.

### ❌ Actual Behavior

Nothing. :)

### Other Software

_No response_
Repository: excalidraw
Issue: Text on objects in frames disappears when aligning
Labels: bug,frames

### Steps to reproduce:
1. Open new blank canvas.
2. Draw two shapes inside a frame, add text to one of them.
3. Select both shapes and align them (top, bottom, left, right or center in either dimension) - make sure the alignment will cause the shape with the text in it to move.
4. The text disappears. 😱
5. Double clicking the shape reveals the text for editing, but clicking out of editing mode causes the text to disappear again.

This doesn't happen when aligning shapes that are not part of a frame.

Possibly related to #6686
Repository: neovim
Issue: [Fennel] better table formatting
Labels: enhancement,runtime,needs:vim-patch

### Problem

Currently, in `runtime/indent/fennel.vim`, it simply loads up lisp formatting. In most cases, it works, but when it comes to tables, it stops nesting properly.
```fnl
{1 :gbprod/cutlass.nvim
:opts {:cut_key :x
:exclude [:ns :nS]
:registers {:change :c :delete :d :select :s}}}
```

### Expected behavior

It formats properly
```fnl
{1 :gbprod/cutlass.nvim
 :opts {:cut_key :x
        :exclude [:ns :nS]
        :registers {:change :c :delete :d :select :s}}}
```
Repository: flutter
Issue: [Impeller] MacOS desktop: Wrap embedder textures in SurfaceMTL
Labels: engine,P2,e: impeller,team-engine,triaged-engine

In order to wire up dirty regions and force synchronization for frame captures, the embedder texture should be wrapped in a SurfaceMTL, and used to render the frame. I've already added the necessary utilities to wrap it.
Repository: flutter
Issue: [Impeller] Add Impeller support to the embedder test harness
Labels: engine,P2,e: impeller,team-engine,triaged-engine

We just landed support for Impeller Metal to the embedder API/MacOS desktop, and so we should start by getting the embedder unittests to run against Impeller on MacOS.
Repository: flutter
Issue: [camera] Integration test flake on Android
Labels: platform-android,p: camera,package,P2,c: flake,team-android,triaged-android

I've been seeing more flake from `camera` recently; not always the same thing, so I'm not sure if it's due to a specific test. https://firebase.corp.google.com/project/flutter-cirrus/testlab/histories/bh.a4615392b31c422b/matrices/7812188579420293815/executions/bs.70622e6cb42fe131/logs is a recent example crash, but I've also seen timeouts.

This isn't very actionable yet, but I've seen camera specifically enough recently that there's clearly something going on that we'll need to gather data on and investigate.
Repository: godot
Issue: ItemList throws index out of bounds error
Labels: bug,topic:gui

### Godot version

v3.5.stable.official [991bb6ac7]

### System information

Debian 11 - Intel Ivybridge Mobile - GLES3

### Issue description

ItemList throws this error when I press `ui_left` action right after it grabs focus:
```
E 0:00:03.774   set_current: Index p_current = -2 is out of bounds (items.size() = 3).
  <C++ Source>  scene/gui/item_list.cpp:288 @ set_current()
```

### Steps to reproduce

Run the minimal reproduction project and press left arrow key. An error will be shown in the debugger every time you press the key. It does not happen if you press right arrow key in first place.

### Minimal reproduction project

[itemlist-error.zip](https://github.com/godotengine/godot/files/11809196/itemlist-error.zip)
Repository: next.js
Issue: Next.js server returns `connection: close` header for all routes
Labels: bug,Output (export/standalone),Runtime

### 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 22.1.0: Sun Oct  9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103
    Binaries:
      Node: 20.3.0
      npm: 9.6.7
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.4.7-canary.2
      eslint-config-next: 13.4.6
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.3
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

Middleware / Edge (API routes, runtime), Standalone mode (output: "standalone")

### Link to the code that reproduces this issue or a replay of the bug

npx create-next-app

### To Reproduce

1. Create a new app using `npx create-next-app@latest`
2. Run the app using `npx next dev`
3. Launch a browser and open the Network tab in the developer tools
4. Navigate to http://localhost:3000
5. In the Network tab, select the request for `localhost` and note that in the Response headers `connection: close` is listed. Select other requests and note the same header is sent for all responses.
6. Back in the terminal, Ctrl+C to stop the dev server
7. Run `npx next build` to build the app, then run `npx next start` to run it
8. Back in the browser, refresh the page and observe that the same behavior is present once the app is built

### Describe the Bug

The nodejs server created by Next.js, whether it be in dev mode, production mode after building, or production mode when standalone deployment is configured, returns a `connection: close` response header to clients when rendering routes. This instructs the client to close the underlying TCP connection, rather than returning `connection: keep-alive` which allows the client to reuse the TCP connection when making subsequent requests, greatly reducing latency. This behavior is leading to high latencies for server-rendered Next.js routes.

I reproduced this behavior on multiple machines, including OSX and Windows 11, on multiple versions of nodejs, including latest LTS and Current releases, using next 13.4.x and canary, with multiple browsers including Edge and Firefox.

### Expected Behavior

The nodejs server created by Next.js should utilize HTTP 1.1 keep-alive to allow clients to keep TCP connections open.

### Which browser are you using? (if relevant)

Edge, Firefox

### How are you deploying your application? (if relevant)

next start
Repository: godot
Issue: [Tracker] Validation layer errors
Labels: bug,topic:rendering

### Godot version

Current master (329652b)

### System information

All systems when using Vulkan-based backends

### Issue description

I am opening this issue report to keep track of various validation layer reports in one place. 

I have a strong feeling that resolving the validation layer errors we get currently will either resolve or help us resolve https://github.com/godotengine/godot/issues/71929
```[tasklist]
- [ ] https://github.com/godotengine/godot/issues/66857
- [ ] https://github.com/godotengine/godot/issues/54541
- [ ] https://github.com/godotengine/godot/issues/54540
- [ ] https://github.com/godotengine/godot/issues/54539
- [ ] https://github.com/godotengine/godot/issues/54538
- [ ] https://github.com/godotengine/godot/issues/54537
- [ ] https://github.com/godotengine/godot/issues/54535
- [ ] https://github.com/godotengine/godot/issues/78544
- [ ] https://github.com/godotengine/godot/issues/81060
```

### Steps to reproduce

Run the engine with validation layers enabled. 

To reproduce all the reports ensure that you use the "Vulkan Configurator" (comes with the SDK) to enable all validation layers

Here are the current set I can reproduce just opening the editor:
[validation layer errors.txt](https://github.com/godotengine/godot/files/11810743/validation.layer.errors.txt)

### Minimal reproduction project

N/A - see individual reports
Repository: go
Issue: proposal: x/tools/cmd/goimports: support multiple groups for imported packages via -local
Labels: Proposal

Hi,

I would like to automatically group the imported packages into 4 groups.
```
// standard packages

// third party packages

// company private packages

// current code base
```
It can't be done by the current `goimports`, because the `-local` for the `goimports` only gets a string.
For example, I have a go source file below:
```golang
package Foo

import (
    "fmt"
    "github.com/google/uuid"
    "github.com/company/private/database"
    "github.com/current/codebase/pkg/utils"
)
```
By using `goimports -local github.com/current foo.go`, I will have:
```golang
package Foo

import (
    "fmt"

    "github.com/google/uuid"
    "github.com/company/private/database"

    "github.com/current/codebase/pkg/utils"
)
```
I want `goimports` can support the arguments like: `goimports -local github.com/current -local github.com/company foo.go`.
The expectation is as below.
```golang
package Foo

import (
    "fmt"

    "github.com/google/uuid"

    "github.com/company/private/database"

    "github.com/current/codebase/pkg/utils"
)
```
My requested feature is NOT a breaking change, it's back compatible. 
I think it should be a simple change. If you are ok for the feature, I will provide the implementation with testing.

TIA.
Repository: go
Issue: os/exec: detect incorrect usages of Cmd.StdoutPipe
Labels: NeedsInvestigation

Consider the [following program](https://go.dev/play/p/dOp73DM6g--):
```go
// Create some bogus file.
f := mustGet(os.CreateTemp("", ""))
mustGet(f.Write(make([]byte, 4e6)))

// Print the contents of the file and read it.
cmd := exec.Command("cat", f.Name())
rd := mustGet(cmd.StdoutPipe())
wr := slowWriter{}
go func() { fmt.Println(io.Copy(wr, rd)) }() // should read 4e6 bytes without error
mustDo(cmd.Run())
```

This fairly reliably fails with:
```
3964928 read |0: file already closed
```

The code above is in fact incorrect as it violates the documentation of `Cmd.StdoutPipe` which states:
> Wait will close the pipe after seeing the command exit, so most callers need not close the pipe themselves. It is thus incorrect to call Wait before all reads from the pipe have completed. For the same reason, **it is incorrect to call Run when using StdoutPipe**. See the example for idiomatic usage.

However, reading the code itself does not obviously reveal the problem, nor does the problem always manifest (as it relies on the `io.Copy` being slow).

Given how subtle this problem is, perhaps we should provide static and/or dynamic analysis to detect this problem:
* static analysis: perhaps `go vet` can detect dynamic usages of `StdoutPipe` with concurrent `Cmd.Wait` or `Cmd.Run`.
* dynamic analysis: perhaps building with `-race` should produce a runtime Go race warning.

\cc @bcmills @maisem @bradfitz
Repository: transformers
Issue: Allow `TextClassificationPipeline` to handle input longer than `model_max_length` tokens
Labels: Feature request

### Problem

Running a `TextClassificationPipeline` on a text with more tokens than its model's maximum position embeddings (e.g. 512 for BERT) like so:

```python
from transformers import pipeline
classifier = pipeline('sentiment-analysis')
classifier("Hello, world! " * 1000)
```

will lead to this error:

```
RuntimeError: The size of tensor a (4002) must match the size of tensor b (512) at non-singleton dimension 1
```

Note: the numbers (`4002` and `512`, above) will vary depending on the max length of the model in use and the length (in tokens) of the text that triggered the error.

(_**If you found this issue through web-searching for the above error or some other means, look at the linked PR for an implemented code fix to this problem, and consider giving a thumbs-up to this comment if you think it should be merged into the main codebase**_)

### Feature request

We should add "chunking"/"sliding window" functionality to `TextClassificationPipeline`, allowing it to process documents longer than the `model_max_length` of its `.model`. Specifically, this would run an instance of the model on each of several "sliding window" views of each input sequence, then take the mean, similar to (but somewhat simpler than) how [`TokenClassificationPipeline`](https://github.com/huggingface/transformers/blob/ad78d9597b224443e9fe65a94acc8c0bc48cd039/src/transformers/pipelines/token_classification.py#L96) does so in part by subclassing from `ChunkPipeline`.

### Motivation

It would be nice to easily do, e.g., sentiment analysis on documents longer than the `model_max_length` of the given model/tokenizer. I have in the past tried to do this in a time-sensitive context and was unable to do so.

### Your contribution

I have already opened a draft PR: #24312. I would be happy to finish the missing parts (e.g. documentation) if someone on the Huggingface team (I believe @Narsil is the appropriate person to tag) can confirm that they would accept this feature as I plan to implement it.
Repository: PowerToys
Issue: Cannot install it in Microsoft Store
Labels: Issue-Bug,Area-Setup/Install,Needs-Triage

### Microsoft PowerToys version

0.70.0

### Installation method

Microsoft Store

### Running as admin

None

### Area(s) with issue?

General

### Steps to reproduce

The Microsoft store says that Powertoys has been installed, but in fact Powertoys has been uninstalled and cannot be installed again. It only can install by exe files and Winget.

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: godot
Issue: CpuParticles2D does not one shot in networked game in GLES2
Labels: bug,needs testing,topic:network,topic:particles

### Godot version

v3.5.2.stable.official [170ba337a]

### System information

Kubuntu 22.04 Compatability

### Issue description

It seems in multiplayer and gles2 games CpuParticles2D keeps looping even if one shot is enabled
![image](https://github.com/godotengine/godot/assets/2453707/e4420b2f-9c69-438c-b0f8-b4add9c7b3a6)


### Steps to reproduce

- Make a multiplayer game
- Use a animated cpu particles 2d
- Make sure Draw order is set to lifetime
- Make sure one shot is enabled

### Minimal reproduction project

[AstroWars.zip](https://github.com/godotengine/godot/files/11812132/AstroWars.zip)
Repository: scrcpy
Issue: i want a shortcut to dynamic start/stop record.
Labels: feature request

thanks, this  is my favor tools to control my android device.  i use record screen to files freqency.

-  I have checked that NO similar feature request does already exist.

**Is your feature request related to a problem? Please describe.**
it's a new feature, NOT related to a problem. this tools is very powerful and roburst. 

**Describe the solution you'd like**
when scrcpy started, i want press a shortcut like ctrl+r do start record screen to a video file, and after a while, if i press another shortcut or same shortcut, recording is stopped and the video file is written.

**Describe alternatives you've considered**
nothing add-on. thanks.

**Additional context**
nothing add-on. thanks.
Repository: storybook
Issue: [Bug]: Preact | Shows Story object instead of component source code.
Labels: bug,preact,block: source

### Describe the bug

I would've expected that the "show code" part of the documentation shows the code of the component (maybe with the supplied arguments), but not only the Story object seralized.

Using a barebone Storybook setup, using **Preact** and **Webpack5**, the following "code" is shown for the button.

![image](https://github.com/storybookjs/storybook/assets/25869389/20d41da6-92b3-4ba7-8393-c1fc9ba32953)

Works fine with a new **React** project

![image](https://github.com/storybookjs/storybook/assets/25869389/6887110f-54e1-490c-a96f-96de675fdef4)



### To Reproduce

1. npx storybook@latest init
2. Choose preact and webpack5
3. npm run storybook



### System

```shell
Environment Info:

  System:
    OS: Windows 10 10.0.19045
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12800H
  Binaries:
    Node: 19.2.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.19.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.51)
  npmPackages:
    @storybook/addon-essentials: ^7.0.22 => 7.0.22
    @storybook/addon-interactions: ^7.0.22 => 7.0.22
    @storybook/addon-links: ^7.0.22 => 7.0.22
    @storybook/blocks: ^7.0.22 => 7.0.22
    @storybook/preact: ^7.0.22 => 7.0.22
    @storybook/preact-webpack5: ^7.0.22 => 7.0.22
    @storybook/testing-library: ^0.0.14-next.2 => 0.0.14-next.2
```


### Additional context

_No response_