sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: vscode not sync `python.venvFolders`
Labels: info-needed

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.95.3
- OS Version: win11 23H2 22631.4460
Repository: go
Issue: crypto/cipher: TestFuzz failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "crypto/cipher" && test == "TestFuzz"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8730877636484667713)):

    === RUN   TestFuzz
    --- FAIL: TestFuzz (0.00s)
    panic: crypto/cipher: internal error: generic CBC used with AES [recovered]
    	panic: crypto/cipher: internal error: generic CBC used with AES
    
    goroutine 796 gp=0xc000005880 m=6 mp=0xc000047808 [running]:
    panic({0x238980?, 0x2e1b70?})
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:806 +0x188 fp=0xc00011ba88 sp=0xc00011b9c8 pc=0x89468
    testing.tRunner.func1.2({0x238980, 0x2e1b70})
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1706 +0x1d8 fp=0xc00011bb48 sp=0xc00011ba88 pc=0x151798
    ...
    runtime.gopark(0x1bbb7c8dce3f4c?, 0x0?, 0x0?, 0x0?, 0x0?)
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:435 +0x114 fp=0xc0000b1ee0 sp=0xc0000b1eb0 pc=0x89964
    runtime.gcBgMarkWorker(0xc00040bb90)
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mgc.go:1412 +0xfc fp=0xc0000b1f98 sp=0xc0000b1ee0 pc=0x2b95c
    runtime.gcBgMarkStartWorkers.gowrap1()
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mgc.go:1328 +0x4c fp=0xc0000b1fc0 sp=0xc0000b1f98 pc=0x2b83c
    runtime.goexit({})
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_ppc64x.s:1022 +0x4 fp=0xc0000b1fc0 sp=0xc0000b1fc0 pc=0x91214
    created by runtime.gcBgMarkStartWorkers in goroutine 429
    	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mgc.go:1328 +0x160


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: PowerToys
Issue: Colour blindness simulator
Labels: Needs-Triage

### Description of the new feature / enhancement

Present a simple screen overlay to assist with colourblind accessibility design.

### Scenario when this would be used?

Designing accessible content within window, pairs well with color picker PowerToys app.
Please see colororacle.org for proof of concept.

### Supporting information

Please see colororacle.org for proof of concept.
Repository: deno
Issue: Crawlee/Playwright struggles to start with default project
Labels: bug,needs investigation,node compat

Version: Deno 2.1.3
macOS 15.2 arm64
https://github.com/apify/crawlee

## Reproduction

```
deno run -A npm:crawlee create crawlee -t getting-started-ts
cd crawlee
deno run -A npm:playwright install
deno run -A src/main.ts
```

## Result
```
❯ deno run -A src/main.ts
INFO  PlaywrightCrawler: Starting the crawler.
WARN  PlaywrightCrawler: Reclaiming failed request back to the list or queue. page.goto: net::ERR_TIMED_OUT at https://crawlee.dev/
Call log:
  - navigating to "https://crawlee.dev/", waiting until "load"

    at eventLoopTick (/Users/drewbitt/Documents/Repos/crawlee/ext:core/01_core.js:214:9) {"id":"3FULW9cbbkMrV4R","url":"https://crawlee.dev","retryCount":1}
INFO  PlaywrightCrawler:Statistics: PlaywrightCrawler request statistics: {"requestAvgFailedDurationMillis":null,"requestAvgFinishedDurationMillis":null,"requestsFinishedPerMinute":0,"requestsFailedPerMinute":0,"requestTotalDurationMillis":0,"requestsTotal":0,"crawlerRuntimeMillis":60151,"retryHistogram":[]}
INFO  PlaywrightCrawler:AutoscaledPool: state {"currentConcurrency":1,"desiredConcurrency":3,"systemStatus":{"isSystemIdle":true,"memInfo":{"isOverloaded":false,"limitRatio":0.2,"actualRatio":0},"eventLoopInfo":{"isOverloaded":false,"limitRatio":0.6,"actualRatio":0},"cpuInfo":{"isOverloaded":false,"limitRatio":0.4,"actualRatio":0},"clientInfo":{"isOverloaded":false,"limitRatio":0.3,"actualRatio":0}}}
```

## Expected result

Same command with tsx 
```
❯ npx tsx src/main.ts
INFO  PlaywrightCrawler: Starting the crawler.
INFO  PlaywrightCrawler: Title of https://crawlee.dev/ is 'Crawlee · Build reliable crawlers. Fast.'
```

## Comments

Crawlee encourages CLI usage so this is a typical flow someone might do to start a new crawlee project in Deno, even though it installs a node project only for now. 

Playwright is the one throwing the timeout error when it attempts to do a `Page.navigate`.
Repository: deno
Issue: Running Only Modified Feature `Tests` and Their Dependencies 
Labels: suggestion

Hello everyone,

I'm working on a Deno project and using  BDD for testing. The project is structured with each feature and its slices in separate folders, each containing their own code and test cases.

## **The Issue**

I recently updated a feature called **"User Profile Management"**, which is a dependency for another feature, **"Authentication"**. When I run `deno test`, it executes all the tests in the project, including unrelated ones like **"Payment Processing"**, which takes a lot of time.

**What I'm Looking For:**

I want to run only the test cases for the **User Profile Management** feature and its dependents (like **Authentication**) after making changes. This way, I can save time and focus on relevant tests.

**Attempts So Far:**

- **Running Specific Tests:** I tried `deno test src/user_profile/`, but it doesn't include tests from **Authentication**.
- **Manual Selection:** Specifying multiple test files manually isn't practical as dependencies grow.

**Project Structure Example:**

```
src/
├── authentication/
│   ├── auth.ts (imports ../user_profile/profile.ts)
│   └── auth_test.ts
├── user_profile/
│   ├── profile.ts 
│   └── profile_test.ts
├── payment_processing/
│   ├── payment.ts
│   └── payment_test.ts
```

## **Goal**

- After changing `profile.ts`, I want to run `profile_test.ts` and `auth_test.ts`.
- Avoid running unrelated tests like `payment_test.ts`.

## **Why It Matters**

- **Efficiency:** Saves time during development.
- **Focus:** Helps concentrate on affected code areas.
- **Scalability:** Important as the project grows.

## **Proposed Enhancements**

1. **Auto-Run Affected Tests Based on Changes:**
   
   - Introduce a  flag (e.g., `--affected`) that detects code modifications and automatically executes only the relevant tests, including those from dependent features. This would streamline the workflow by saving time and focusing on necessary tests.

2. **CLI Integration for Including Dependent Tests:**
   
   - Enhance the `deno test` command with a configuration option (e.g., `--include-dependencies`) to run tests for a modified feature along with its dependencies. This would improve testing efficiency by ensuring related tests are executed without manual selection.
Repository: flutter
Issue: Update spirv-cross to support new variants of `SPIRType`
Labels: engine,c: proposal,P1,team-engine,triaged-engine

Internal bug: b/379793706

Internally, spirv-cross was recently updated with some breaking changes. Enum variants were introduced to `spirv_cross::SPIRType`. Specifically the following:

- https://github.com/KhronosGroup/SPIRV-Cross/commit/3a0366bfb77800b68436193dcea8a90da2bcd22b#diff-7f55b169badc85bf4776406295bf87e1261023642aefb97cd23e24e90b4b8e5a
- https://github.com/KhronosGroup/SPIRV-Cross/commit/30b0b98340fca15ec4b0e91571aa34503c1257a7#diff-7f55b169badc85bf4776406295bf87e1261023642aefb97cd23e24e90b4b8e5a

For example, this causes the following errors with `-Wswitch`

```
impeller/compiler/shader_bundle_data.cc:58:11: error: enumeration value 'Meshlet' not handled in switch [-Werror,-Wswitch]
   58 |   switch (type) {
      |           ^~~~
1 error generated.
```

[This query](https://github.com/search?q=repo%3Aflutter%2Fengine%20%22case%20spirv_cross%3A%3ASPIRType%3A%3AUnknown%22&type=code) could be a heuristic of the switch statements that need to be changed.

The request here is to roll spirv-cross past these commits above so that there is no need to workaround them with source transformations internally.
Repository: ollama
Issue: docker build error
Labels: bug

### What is the issue?

ERROR: failed to solve: process "/bin/sh -c CMAKE_VERSION=${CMAKE_VERSION} GOLANG_VERSION=${GOLANG_VERSION} sh /rh_linux_deps.sh" did not complete successfully: exit code: 2


```
1289.9 
1289.9 Complete!
1290.2 + '[' x86_64 = x86_64 ']'
1290.2 + curl -s -L https://github.com/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2-linux-x86_64.tar.xz
1290.2 + tar -Jx -C /tmp --strip-components 1
2477.3 xz: (stdin): Unexpected end of input
2477.3 tar: Unexpected EOF in archive
2477.3 tar: Unexpected EOF in archive
2477.3 tar: Error is not recoverable: exiting now
2477.3 + '[' -n 3.22.1 ']'
2477.3 + tar -zx -C /usr --strip-components 1
2477.3 ++ uname -m
2477.3 + curl -s -L https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-linux-x86_64.tar.gz
3509.3 
3509.3 gzip: stdin: unexpected end of file
3509.3 tar: Unexpected EOF in archive
3509.3 tar: Unexpected EOF in archive
3509.3 tar: Error is not recoverable: exiting now
------
```
Then I tried to modify the code
```
 if [ "${MACHINE}" = "x86_64" ] ; then
-    curl -s -L https://github.com/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2-linux-x86_64.tar.xz | tar -Jx -C /tmp --strip-components 1 && \
+    curl -s -L -o /tmp/ccache-4.10.2-linux-x86_64.tar.xz https://github.com/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2-linux-x86_64.tar.xz && \
+    tar -xf /tmp/ccache-4.10.2-linux-x86_64.tar.xz -C /tmp --strip-components=1 && \
     mv /tmp/ccache /usr/local/bin/
 else
     yum -y install epel-release

```

Delete the parameter -J to make it effective

### OS

macOS

### GPU

_No response_

### CPU

Apple

### Ollama version

,0.3.13
Repository: tauri
Issue: [docs] Android File System Access
Labels: type: documentation

Hi,
currently I'm trying to access the file system in an Android 14 context.
I've already done all, that needs to be done for the Linux side, and can now access a file from within a js/html context.
However the same success eludes me in the Android 14 domain.

I've followed the instructions 
[https://v2.tauri.app/plugin/file-system/#configuration](https://v2.tauri.app/plugin/file-system/#configuration)

I also added `fs:allow-home-read-recursive` in `src-tauri/capabilities/default.json`

The path resulting from convertFileSrc seems legit.
I think the only thing missing is, that the app actually requests the permissions.

If this is a _me_ error, I would like to see a complete example showcasing android filesystem access, which I can follow start to finish to get e.g. an image from the file system on screen.

Thanks in advance.
Repository: opencv
Issue: how to get the inpaint results like this
Labels: question (invalid tracker)

### System Information

OpenCV version: 4.5.4
Operating System / Platform: win 11 x64
Compiler & compiler version: vs 2019

### Detailed description

I tried inpaint methods in opencv, the results is quite different from below. the interpolated pixel is nearly pure with opencv.
how to get the result like below. Thank you for any hints!
src image with white mask
![src image with white mask](https://github.com/user-attachments/assets/c0c660f5-8e5d-4989-aeb8-55b7b1f65e46)

expect inpaint results
![expect inpaint results](https://github.com/user-attachments/assets/396bc407-e456-4438-813c-917ff5a01246)



### Steps to reproduce
input image
![image](https://github.com/user-attachments/assets/5f70ae6c-24d9-48a9-873f-d9b19c012ce5)
mask 
![mask](https://github.com/user-attachments/assets/a7f75cee-76c2-45fa-81c3-9633b0af7f76)
test with cv::inpaint
![image-0](https://github.com/user-attachments/assets/b9fcdc8d-78ae-43c3-a166-07f0c2aacf02)

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [ ] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: PowerToys
Issue: Supporting for Q-Dir
Labels: Needs-Triage

### Description of the new feature / enhancement

PowerToys does not yet support [Q-Dir](http://q-dir.com/), which is a convenient and widely-used file manager software.

### Scenario when this would be used?

Consider using Q-Dir as your file explorer instead of the Windows file explorer.

### Supporting information

_No response_
Repository: go
Issue: x/text/message: catalog.Var between two substitutions
Labels: NeedsInvestigation

### Go version

go version go1.21.4 darwin/arm64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE='on'
GOARCH='arm64'
GOBIN='/Users/xxx/go/bin'
GOCACHE='/Users/xxx/Library/Caches/go-build'
GOENV='/Users/xxx/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/xxx/go/pkg/mod'
GOOS='darwin'
GOPATH='/Users/xxx/go'
GOROOT='/opt/homebrew/opt/go/libexec'
GOSUMDB='sum.golang.google.cn'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/homebrew/opt/go/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.21.4'
GCCGO='gccgo'
AR='ar'
CC='cc'
CXX='c++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/b1/0fd1b6hs7lz0fm_mh346lybm0000gn/T/go-build2121787907=/tmp/go-build -gno-record-gcc-switches -fno-common'
```


### What did you do?

```text
golang.org/x/text=v0.20.0
```

I use `catalog.Var` between two `%d` substitutions.

```go
lang := language.English
v := catalog.Var("var", catalog.String("value"))
message.Set(lang, "key1", v, catalog.String("%d %d\n"))              // two %d
message.Set(lang, "key2", v, catalog.String("%d ${var} %d\n"))       // var between two %d
message.Set(lang, "key3", v, catalog.String("%d %d ${var}\n"))       // var after two %d
message.Set(lang, "key4", v, catalog.String("%[1]d ${var} %[2]d\n")) // var between two %[?]d

printer := message.NewPrinter(lang)
printer.Printf("key1", 1, 2) // 1 2
printer.Printf("key2", 1, 2) // 1 %!(EXTRA int=2)value%!(EXTRA int=2) 2
printer.Printf("key3", 1, 2) // 1 2 value
printer.Printf("key4", 1, 2) // 1 value 2
```

### What did you see happen?

```text
1 2
1 %!(EXTRA int=2)value%!(EXTRA int=2) 2
1 2 value
1 value 2
```

### What did you expect to see?

```text
1 2
1 value 2
1 2 value
1 value 2
```
Repository: rust
Issue: rustc/cargo not properly detecting the host
Labels: C-discussion

I tried this command:

```bash
cargo fetch --verbose --target stable-x86_64-unknown-linux-gnu
```

I expected to see this happen: *explanation*

Rust to work properly

Instead, this happened: *explanation*

error: `rustc -vV` didn't have a line for `host:`, got:


```
rustc 1.82.0 (f6e511eec 2024-10-15)
binary: rustc
commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14
commit-date: 2024-10-15
host: x86_64-unknown-linux-gnu
release: 1.82.0
LLVM version: 19.1.1

RUST_BACKTRACE=1 cargo fetch --verbose --target stable-x86_64-unknown-linux-gnu
error: `rustc -vV` didn't have a line for `host:`, got:
```


For reference, I am trying to compile `eza`, the `ls` replacement. If there is any other information that I can provide or other commands that you would like me to run, please, let me know.
Repository: tauri
Issue: [bug] jenkins in mac studio m1 pro  “proc macro panicked” “unknown codegen target null”
Labels: type: bug,platform: macOS,status: needs triage

### Describe the bug

if i into mac studio and build manual， it’s success

but if i build in jenkins，it‘s error。

all environments are the same

```text
error: proc macro panicked
  --> src/main.rs:52:14
   |
52 |         .run(tauri::generate_context!())
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: unknown codegen target null

error: could not compile `app` (bin "app") due to 1 previous error
```

### Reproduction
```text
build-dependencies]
tauri-build = { version = "1.5.1", features = ['codegen']  }

[dependencies]
serde_json = "1.0.108"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.5.4",features = ["api-all"]}
log = { version = "0.4.20", features = ["std", "serde"] }
cmd_lib = "1.9.3"
nom = "3.2.1"
network-interface = "1.1.1"
wifi-rs = "0.2.4"
reqwest = { version = "0.11.23", features = ["json"] }
tokio = { version = "1.35.1", features = ["full"] }
screenshots = "0.5.3"
rusb = "0.9"
edid-rs = "0.1.0"
serde-xml-rs = "0.6.0"
regex = "1.10.5"
wio = "0.2.2"
log4rs = "1.3.0"


[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.9.4"
mach = "0.3.2"
plist = "1.7.0"

```
### Expected behavior

_No response_

### Full `tauri info` output

```text
yarn run v1.22.19
$ tauri info

[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.80.0 (051478957 2024-07-21)
    ✔ cargo: 1.80.0 (376290515 2024-07-16)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: 1.80.0-aarch64-apple-darwin (default)
    - node: 16.18.1
    - yarn: 1.22.19
    - npm: 8.19.2

[-] Packages
    - tauri [RUST]: 1.8.1
    - tauri-build [RUST]: 1.5.5
    - wry [RUST]: 0.24.11
    - tao [RUST]: 0.16.10
    - @tauri-apps/api [NPM]: 1.5.3
    - @tauri-apps/cli [NPM]: 1.5.9

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../build
    - devPath: http://localhost:3000/
    - framework: React
✨  Done in 5.71s.
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: ollama
Issue: Allow passing file context for FIM tasks on /api/generate
Labels: feature request

It's relatively common now that FIM tasks use additional "context" - files related to the FIM task - to better perform their task.
Generally this context includes the file path + name, as well as the contents.

Enter the problem, models use different tokens to denote the start/end of this information. For example, deepseek-coder looks like
```
# /path/to/file.java
package com.my.app

class MyApp {
}
```
And StarCoder has different tokens (and some extra data)
```
<reponame>MyGitRepository
<filename>/path/to/file.java
package com.my.app

class MyApp {
}


```

It'd be neat if we had a model-agnostic way of handling this, similar to how `suffix` works now
Repository: kubernetes
Issue: Add support for compiling Kubectl to webassembly
Labels: kind/feature,sig/cli,needs-triage

### What would you like to be added?

I would like to have the option to compile kubectl as a webassembly output. At the moment there is a few compilation errors:

```
$ GOOS=js GOARCH=wasm go build -v ./cmd/kubectl
github.com/moby/term
# github.com/moby/term
vendor/github.com/moby/term/term_unix.go:21:15: undefined: unix.Termios
vendor/github.com/moby/term/term_unix.go:39:19: undefined: unix.IoctlGetWinsize
vendor/github.com/moby/term/term_unix.go:39:49: undefined: unix.TIOCGWINSZ
vendor/github.com/moby/term/term_unix.go:45:14: undefined: unix.IoctlSetWinsize
vendor/github.com/moby/term/term_unix.go:45:44: undefined: unix.TIOCSWINSZ
vendor/github.com/moby/term/term_unix.go:88:31: undefined: unix.Termios
vendor/github.com/moby/term/term_unix.go:96:32: undefined: unix.Termios
vendor/github.com/moby/term/termios_unix.go:13:21: undefined: unix.Termios
vendor/github.com/moby/term/termios_nonbsd.go:11:20: undefined: unix.TCGETS
vendor/github.com/moby/term/termios_nonbsd.go:12:20: undefined: unix.TCSETS
vendor/github.com/moby/term/term_unix.go:45:44: too many errors
k8s.io/kubectl/pkg/util/interrupt
k8s.io/kubectl/pkg/util
# k8s.io/kubectl/pkg/util/interrupt
staging/src/k8s.io/kubectl/pkg/util/interrupt/interrupt.go:28:46: undefined: syscall.SIGHUP
# k8s.io/kubectl/pkg/util
staging/src/k8s.io/kubectl/pkg/util/umask.go:28:14: undefined: unix.Umask
```

I was wondering how much those package could be put out of `kubectl` or at least disabled with compilation flags in case we want to compile to webassembly

### Why is this needed?

We would like to have the option to run a `kubectl` tool inside a browser. This would be helpful to ease up intervention on clusters.
Repository: kubernetes
Issue: pod requesting zero devices with zero available fails admission for 'Allocate failed due to no healthy devices present'
Labels: kind/bug,priority/backlog,sig/node,triage/accepted

### What happened?

pod create failed

```
status:
  message: 'Pod was rejected: Allocate failed due to no healthy devices present; cannot allocate unhealthy devices      nvidia.com/gpu, which is unexpected'
  phase: Failed
  reason: UnexpectedAdmissionError
  startTime: "2024-11-19T03:04:55z"
```

pod yaml is 

```
apiVersion: apps/v1
kind: Deployment
metadata:
  name: jktest
spec:
  selector:
    matchLabels:
      workload.es.io: jktest
  template:
    metadata:
      labels:
        workload: jktest
    spec:
      containers:
      - image: centos:latest
        imagePullPolicy: IfNotPresent
        name: test
        resources:
          limits:
            cpu: 250m
            memory: 512Mi
            nvidia.com/gpu: "0"
          requests:
            cpu: 250m
            memory: 512Mi
            nvidia.com/gpu: "0"
```

the node info is

```
...
allocatable: 
  memory: 252717800Ki       
  nvidia.com/gpu: "0"
  pods: "255"
capacity: 
  memory: 263278312Ki 
  nvidia.com/gpu: "0" 
  pods: "255"
```

This failure are very similar to https://github.com/kubernetes/kubernetes/issues/109191 , but the prompts are different.

### What did you expect to happen?

When the number of `external resource` requests in a pod is `0`, the creation is successful.

### How can we reproduce it (as minimally and precisely as possible)?

1 create pod a which use hot pluggable device in resource.request, and the resource is 1
2 remove device
3 create pod b which use hot pluggable device in resource.request, and the ressource is 0

### Anything else we need to know?

I am confident that this issue was introduced by the [pull](https://github.com/kubernetes/kubernetes/pull/114640).

Unable to control the application even when resources are not used, but set to 0, for more information see [issue](https://github.com/kubernetes/kubernetes/issues/109191).

### Kubernetes version


```console
$ kubectl version
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.2
```


### 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>