sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: kubernetes
Issue: The leaderElection health check pass even when apiserver is unreachable
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

The `healthz` endpoint only includes `leaderElection` checker when the component, e.g. controller-manager or scheduler, is not a leader. When the component can't reach apiserver, the `healthz` endpoint still returns `ok`.

### What did you expect to happen?

I understand in the kubelet liveness probe scenario that restarting the controller-manager or scheduler can not help in this case. But technically speaking the `leaderElection` health check should fail in such case as the component actually is unable to perform leader election at all. And in our case, we don't rely on kubelet to run the control plane.

### How can we reproduce it (as minimally and precisely as possible)?

Simple. Setup a HA Kubernetes, then stop all apiservers (or one apiserver if the controller-manager or the scheduler only talks to local apiserver) and curl the health check endpoint on either the controller-manager or the scheduler.

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.4", GitCommit:"fa3d7990104d7c1f16943a67f11b154b71f6a132", GitTreeState:"clean", BuildDate:"2023-07-19T12:20:54Z", GoVersion:"go1.20.6", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.4", GitCommit:"fa3d7990104d7c1f16943a67f11b154b71f6a132", GitTreeState:"clean", BuildDate:"2023-07-19T12:14:49Z", GoVersion:"go1.20.6", Compiler:"gc", Platform:"linux/amd64"}
```

</details>


### Cloud provider

<details>
none
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
$ uname -a
Linux node-10-158-32-31 5.4.0-70-generic #78~18.04.1-Ubuntu SMP Sat Mar 20 14:10:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: tensorflow
Issue: When compiling TensorFlow 2.13 using bazel+clang, an error was reported as fatal error: 'stddef. h' file not found
Labels: stat:awaiting tensorflower,type:build/install,subtype:bazel,TF 2.13

### Issue type

Build/Install

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

2.13

### Custom code

No

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

I use tensorflow/build:2.13-python3.11 image

When compiling TensorFlow 2.13 using bazel+clang, an error was reported as fatal error: 'stddef. h' file not found.
but I can find 'stddef. h' in docker container path **/usr/lib/llvm-16/lib/clang/16/include** ，if I manual append **-isystem /usr/lib/llvm-16/lib/clang/16/include** to clang compile command, the bellow code can run success 

### Standalone code to reproduce the issue

```shell
"cd /root/.cache/bazel/_bazel_root/645133528a7a8476e9bedcf54eb858b4/execroot/org_tensorflow && \
  exec env - \
    DOCKER_HOST_CACHEBUSTER=1682977560680045781 \
    LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/lib \
    PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
    PWD=/proc/self/cwd \
  /usr/bin/clang-16 -MD -MF bazel-out/host/bin/external/zlib/_objs/zlib/uncompr.d '-frandom-seed=bazel-out/host/bin/external/zlib/_objs/zlib/uncompr.o' -iquote external/zlib -iquote bazel-out/host/bin/external/zlib  -isystem external/zlib -isystem bazel-out/host/bin/external/zlib -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fPIE -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wno-invalid-partial-specialization -fno-omit-frame-pointer -no-canonical-prefixes -DNDEBUG -g0 -O2 -ffunction-sections -fdata-sections '--cuda-path=/usr/local/cuda-11.8' -g0 -w -Wno-shift-negative-value -DZ_HAVE_UNISTD_H -c external/zlib/uncompr.c -o bazel-out/host/bin/external/zlib/_objs/zlib/uncompr.o"
this code will get fatal error: 'stddef. h' file not found.
```


### Relevant log output

_No response_
Repository: youtube-dl
Issue: HBO video
Labels: question

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm asking a question
- [x] I've looked through the README and FAQ for similar questions
- [x] I've searched the bugtracker for similar questions including closed ones


## Question
HBO
How to solve this problem？
youtube_dl.utils.UnsupportedError: Unsupported URL

WRITE QUESTION HERE

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.max.com/a/video/the-white-lotus-s1-e1']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, pref cp936
[debug] youtube-dl version 2021.12.17
[debug] Python 3.9.5 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 - OpenSSL 1.1.1k  25 Mar 2021
[debug] exe versions: ffmpeg git-2020-08-02-b48397e, ffprobe git-2020-08-02-b48397e, phantomjs 2.1.1
[debug] Proxy map: {'http': 'http://127.0.0.1:3213', 'https': 'https://127.0.0.1:3213'}
[generic] the-white-lotus-s1-e1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] the-white-lotus-s1-e1: Downloading webpage
[generic] the-white-lotus-s1-e1: Extracting information
ERROR: Unsupported URL: https://www.max.com/a/video/the-white-lotus-s1-e1
Traceback (most recent call last):
  File "e:\youtube-dl-master\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 862, in wrapper
    return func(self, *args, **kwargs)
  File "e:\youtube-dl-master\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 958, in __extract_info
    ie_result = ie.extract(url)
  File "e:\youtube-dl-master\venv\lib\site-packages\youtube_dl\extractor\common.py", line 535, in extract
    ie_result = self._real_extract(url)
  File "e:\youtube-dl-master\venv\lib\site-packages\youtube_dl\extractor\generic.py", line 3704, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.max.com/a/video/the-white-lotus-s1-e1
Repository: vscode
Issue: Explore inline word highlighting in info texts
Labels: ux,themes

From @isidorn:

<img width="258" alt="image" src="https://github.com/microsoft/vscode/assets/103326/e4542bfe-a23c-41b7-a83f-8632be47f66d">

Highlighting (variable) words improves readability by making the text easier to scan.
It would be useful to implement this as a more global feature.

cc @daviddossett 

<!-- ⚠️⚠️ 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. -->
Repository: kubernetes
Issue: apiserver manually populates endpoints for the "kubernetes" Service, but does not consider its own readiness
Labels: kind/bug,sig/network,triage/accepted

### What happened?

We have an apiserver with kms. if kms (or any other) probe fail, the kubernetes services endpoints still exist in default namespaces.

curl /readyz
[-]kms-provider-0 failed: reason withheld

curl /api/v1/namespaces/default/endpoints/kubernetes
"subsets": [
        {
          "addresses": [
            {
              "ip": "xxx.xxx.xxx.xxx"
            }
          ],
          ……
        }
      ]


### What did you expect to happen?

If all of the apiserver pod fail to readiness probe, the client-go in-cluster way can not connect apiserver pod using kubernetes endpoints.

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

I think the kubernetes endpoints subset need to be update once the apiserver pod is probe fail. It's better to do in server side than client side.

### Anything else we need to know?

_No response_

### Kubernetes version

1.22,1.24,1.26
<details>

```console
$ kubectl version
# paste output here
```

</details>


### Cloud provider

<details>

</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


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

<details>

</details>


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

<details>

</details>
Repository: PowerToys
Issue: infinite desktop
Labels: Needs-Triage,Needs-Team-Response

### Description of the new feature / enhancement

Having the possibility to move the mouse on the screen with a "pac-man"-like behavior : on single screen crossing left border would send my mouse to right side, on dual-screen, crossing right border of right screen would send the mouse to left border of left screen and so on (with similar behavior with up and down)

### Scenario when this would be used?

particularly usefull with multiple widescreen, going from one extremity to the opposite one is tedious

### Supporting information

_No response_
Repository: go
Issue: cmd/go: -compiler=gccgo: -buildmode=c-archive can't produce an archive with statically linked libgo
Labels: help wanted,NeedsInvestigation,GoCommand

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.18 gollvm LLVM 15.0.0git 20230721 (experimental) linux/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="off"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/abokhanko/.cache/go-build"
GOENV="/home/abokhanko/.config/go/env"
GOEXE=""
GOEXPERIMENT="fieldtrack,regabiwrappers"
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/abokhanko/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/abokhanko/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/abokhanko/gollvm/bin"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/abokhanko/gollvm/tools"
GOVCS=""
GOVERSION="go1.18 gollvm LLVM 15.0.0git 20230721 (experimental)"
GCCGO="/home/abokhanko/gollvm/bin/llvm-goc"
GOAMD64="v1"
AR="ar"
CC="/usr/bin/cc"
CXX="/usr/bin/c++"
CGO_ENABLED="1"
GOMOD=""
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 -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2805243357=/tmp/go-build -gno-record-gcc-switches -funwind-tables"
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is best.
-->

<pre>
$ cat >example10.go <<.
package main

import "C"
import "fmt"

//export Bar
func Bar() C.int {
fmt.Println("Hello!")
return C.int(1)
}

func main() {}
.
$ cat >example10.c <<.
#include "example10.h"

int main(int argc, char **argv) {
return Bar();
}
.
$ go build -gccgoflags=-static-libgo -buildmode=c-archive example10.go
$ clang example10.c example10.a -lpthread
</pre>

### What did you expect to see?

The program compiles and then executes without errors. This is what happens when using the standard "gc" compiler.

### What did you see instead?

<pre>
$ clang example10.c example10.a -lpthread
/usr/bin/ld: example10.a(a.out.a.o): in function `_cgo_c9ae4c457df7_Cfunc_CString':
./cgo-c-prolog-gccgo:27: undefined reference to `runtime_throw'
...
/usr/bin/ld: example10.a(a.out.a.o):(.data.DW.ref.__gccgo_personality_v0[DW.ref.__gccgo_personality_v0]+0x0): undefined reference to `__gccgo_personality_v0'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
</pre>

The created archive size is much smaller than archive created by "gc" (100634 vs 4876006 bytes on my machine). This clearly indicates that "-gccgoflags=-static-libgo" option got ignored.
Repository: next.js
Issue: not-found.tsx does not render <Script> elements defined in layout.tsx when running in dev mode
Labels: bug

### Verify canary release

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

### Provide environment information

```bash
Operating System:
      Platform: linux
      Arch: x64
      Version: #22 SMP Tue Jan 10 18:39:00 UTC 2023
    Binaries:
      Node: 16.17.0
      npm: 8.15.0
      Yarn: 1.22.19
      pnpm: 7.1.0
    Relevant Packages:
      next: 13.4.12
      eslint-config-next: N/A
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.6
    Next.js Config:
      output: N/A
```


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

_No response_

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

https://codesandbox.io/p/sandbox/youthful-lalande-hdhslk

### To Reproduce

1) Open https://codesandbox.io/p/sandbox/youthful-lalande-hdhslk sandbox
2) Open dev tools Console tab
3) Click the "Non-existent page" link on the homepage
4) Observe the following error in the console:

> Warning: Prop `dangerouslySetInnerHTML` did not match. Server: "" Client: "(self.__next_s=self.__next_s||[]).push([0,{\"children\":\"\\n          console.log(\\\"test\\\");\\n        \"}])"
script
Script
head
html
Component@
RedirectBoundary
Component@
NotFoundBoundary
DevRootNotFoundBoundary
PureComponent@
HotReload
Router
Component@
ErrorBoundary
AppRouter
ServerRoot
RSCComponent
PureComponent@
Root

### Describe the Bug

`not-found.tsx` page does not render `<Script>` elements defined in layout.tsx when running in dev mode.

### Expected Behavior

`<Script>` elements defined in the root layout should execute the same way as on all other pages.

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

_No response_

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

_No response_
Repository: flutter
Issue: [camera_web]  Abilty to gracefully handle external camera disconnects
Labels: c: new feature,p: camera,package,c: proposal,team-ecosystem,P2,triaged-ecosystem

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

Currently there is no graceful way to handle the case when an external camera is disconnected. Being able to listen to changes like camera disconnect allows developers to gracefully handle when a camera is disconnected.

The camera controller already has a listener except the CameraValue in the controller does not throw an error when a camera is disconnected the preview simply turns black.

### Proposal

Add a new listener to listen for changes when a camera disconnects. Alternatively, throw an error in the CameraValue and notify listeners of the CameraController.
Repository: godot
Issue: Built-in Script errors do not highlight the line of code (in which the error ocurred) when clicked
Labels: bug,topic:gdscript,topic:editor

### Godot version

4.1.1.stable

### System information

Windows 10 - Vulkan (Forward+) - RTX 3060 laptop - AMD Ryzen 5 5600H - 24GB RAM

### Issue description

Basically, if I get an error in a normal script (saved as a .gd file) I can click the error and Godot will directly highlight the line of code where that error came from. If I do the same in a built-in script the line of code will not be highlighted nor will the built-in script be shown  in the script editor which is a pain when trying to find the origin of the error.

### Steps to reproduce

 - Make a script that gives an error in runtime;
 - make an identical one but built-in;
 - Click in the error/warning and check if the built-in script error is not highlighted in the script editor

### Minimal reproduction project

N/A
Repository: godot
Issue: Touch screen button not working on mobile version of godot
Labels: bug,topic:porting,topic:2d

### Godot version

v4.2.dev1.official [0c2144da9]

### System information

Godot v4.2.dev1 - Windows 10.0.19045 - GLES3 (Compatibility) - GeForce GT 630M () - Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (4 Threads)

### Issue description

When I tried to make mobile controls for my game, I added touch screen buttons, but they don't work on mobile when I import the game to my phone.

note: the touch screen button works on pc

note no.2:  I saw someone uploading an issue about this, I saw the solution, someone said that I have to change the "physic_process" to "process" in the player script, i did it , but only one worked , the rest don't.

### Steps to reproduce

when opening the project, focus on only 2 scene's "mobile controls" and "Player"

### Minimal reproduction project

[Nextbot's engine_0.6.zip](https://github.com/godotengine/godot/files/12146423/Nextbot.s.engine_0.6.zip)
Repository: next.js
Issue: Loading.tsx stuck in the page when JS is disabled
Labels: bug

### Verify canary release

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

### Provide environment information

```bash
Hi,
for SEO reasons, we need to show the content of the page even when the Javascript is disabled.
The loading.tsx is stuck in the page if JS is disabled therefore the content of the page does not get shown.

All the requests are made on the server side and if I remove the loading.tsx template the page does get rendered (also with JS disabled)

I think this is a bug on your side but feel free to direct me to the right place if not.

Thanks
```


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

App Router

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

https://pdrfkp-3000.csb.app/

### To Reproduce

- Create a bare minimum nextjs implementation
- Loading.tsx in the app folder
- Smallest request in the page.tsx
- Disable javascript
- Loading template is stuck in the page

### Describe the Bug

- Create a bare minimum nextjs implementation
- Loading.tsx in the app folder
- Smallest request in the page.tsx
- Disable javascript
- Loading template is stuck in the page

### Expected Behavior

The loading should be skipped for JS disabled page

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

_No response_

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

_No response_
Repository: kubernetes
Issue: verify-service-up-exec-pod is non-deterministic in multi-os clusters -  not working on EKS if we force it to run on nodeOsDistro=windows
Labels: kind/bug,sig/windows,lifecycle/stale,needs-triage

This might be an EKS CNI bug.... but filing it here bc we are trying to make the k8s e2es work on windows for more of the sig-network tests, and there might be a small change we can make in test/e2e that solve this for us, for example, mandating that this test's probe runs on a linux node - - or - - just adding this node selector, so that the test is more deterministic.

### What happened?
 

It appears that if we modify the `verify-service-up-exec-pod` to run with the `kubernetes.io/os: windows` annotation, it fails on EKS.

The reason it fails is because , it appears the CNI (vpc-bridge) is trying to attach it to a VPC but no VPC exists. 

This might be b/c if `hostNetwork: true`... the VPC controller stuff in the EKS controlplane has a different view of the network than the VPC cni ? not sure though.

@pramitagautam can attach logs. 

### What did you expect to happen?

We would be able to run agnhost containers on any k8s distro.

### How can we reproduce it (as minimally and precisely as possible)?

Modify the `func launchHostExecPod` in `test/e2e/network/service.go` to have 
```
hostExecPod.Spec.NodeSelector = map[string]string {"kubernetes.io/os":"windows"}
``` 

and then run the e2e test for up and down pods.

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
# paste output here
```

</details>


### Cloud provider

<details>

</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>