sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: deno
Issue: Error aborting a child process' signal right when it exits
Labels: bug,good first issue,runtime

```js
const controller = new AbortController();
Deno.addSignalListener("SIGCHLD", () => controller.abort());
await new Deno.Command("true", { signal: controller.signal }).output();
```

On a Mac running macOS 15.1, the `abort` call sometimes throws a `TypeError`.

```shellsession
$ deno run --allow-run=true a.js
$ deno run --allow-run=true a.js
error: Uncaught (in promise) TypeError: Child process has already terminated.
Deno.addSignalListener("SIGCHLD", () => controller.abort());
                                                   ^
    at ChildProcess.kill (ext:runtime/40_process.js:357:5)
    at onAbort (ext:runtime/40_process.js:299:32)
    at AbortSignal.[[[runAbortSteps]]] (ext:deno_web/03_abort_signal.js:182:9)
    at AbortSignal.[[[signalAbort]]] (ext:deno_web/03_abort_signal.js:166:24)
    at AbortController.abort (ext:deno_web/03_abort_signal.js:304:30)
    at …/a.js:2:52
    at loop (ext:runtime/40_signals.js:77:7)
    at eventLoopTick (ext:core/01_core.js:175:7)
$ deno --version
deno 2.1.1+1e51b65 (canary, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2
```

I wasn't able to reproduce this issue in a single-core Linux VM.
Repository: langchain
Issue: Dependency conflict between langchain-community (^0.3.5) and SQLAlchemy (^2.0.36)
Labels: investigate

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

Steps to reproduce using Poetry as dependency management:
```bash
poetry add sqlalchemy@^2.0.36
```
Attempt to add `langchain-community`:
```
poetry add langchain-community
```

### Error Message and Stack Trace (if applicable)

Because no versions of langchain-community match >0.3.8,<0.4.0
 and langchain-community (0.3.8) depends on SQLAlchemy (>=1.4,<2.0.36), langchain-community (>=0.3.8,<0.4.0) requires SQLAlchemy (>=1.4,<2.0.36).
So, because search-api-worker depends on both sqlalchemy (^2.0.36) and langchain-community (^0.3.8), version solving failed.

### Description

* I'm trying to install `langchain-community` with `SQLAlchemy` version `^2.0.36`, but encountered a dependency conflict casued by the `SQLAlchemy` version constraint.
* Downgrading to `langchain-community==0.3.4` works.

Would be great if `langchain-community` dependency requirements would allow compatibility with `SQLAlchemy` 2.x.  

### System Info

System Information
------------------
> OS:  Windows
> OS Version:  10.0.22631
> Python Version:  3.13.0 (tags/v3.13.0:60403a5, Oct  7 2024, 09:38:07) [MSC v.1941 64 bit (AMD64)]

Package Information
-------------------
> langchain_core: 0.3.21
> langchain: 0.3.8
> langchain_community: 0.3.4
> langsmith: 0.1.146
> langchain_ollama: 0.2.0
> langchain_text_splitters: 0.3.2

Optional packages not installed
-------------------------------
> langserve

Other Dependencies
------------------
> aiohttp: 3.11.7
> async-timeout: Installed. No version info available.
> dataclasses-json: 0.6.7
> httpx: 0.27.2
> httpx-sse: 0.4.0
> jsonpatch: 1.33
> numpy: 1.26.4
> ollama: 0.3.3
> orjson: 3.10.12
> packaging: 24.2
> pydantic: 2.10.2
> pydantic-settings: 2.6.1
> PyYAML: 6.0.2
> requests: 2.32.3
> requests-toolbelt: 1.0.0
> SQLAlchemy: 2.0.36
> tenacity: 9.0.0
> typing-extensions: 4.12.2
Repository: rust
Issue: search index doesn't properly regenerate when using `--document-private-items` after a normal `cargo doc` run
Labels: T-rustdoc,C-bug,A-rustdoc-search

Hi 👋🏻,

Running the following produces a documentation where private items are unsearchable:
`cargo clean && cargo doc && cargo doc --document-private-items`

Whereas running `cargo doc` with the `document-private-items` flag directly produces a search index that includes private items. (`cargo clean && cargo doc --document-private-items`)

I cannot reproduce on a fresh minimal crate, but it is consistent when trying on https://github.com/tower-lsp-community/tower-lsp-server/.

While trying to reproduce the issue, I was curious and diffed the produced `target/doc` folders. Only `search-index.js` differs: the whole part about private items is not present in the normal then `private-items` run.

### Meta

`rustc --version --verbose`:
```
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
```
→ also tested with `rustc 1.85.0-nightly (dff3e7ccd 2024-11-26)`

cc @GuillaumeGomez
Repository: godot
Issue: [TRACKER] GDScript `class_name`
Labels: topic:gdscript,tracker

```[tasklist]
### Issues
- [ ] godotengine/godot#30048
- [ ] godotengine/godot#48311
- [ ] godotengine/godot#56628
- [ ] godotengine/godot#81222
- [ ] godotengine/godot#82479
- [ ] godotengine/godot#83395
- [ ] godotengine/godot#83542
- [ ] godotengine/godot#83561
- [ ] godotengine/godot#90240
- [ ] godotengine/godot#94378
- [ ] godotengine/godot#98985
```

### Some issues brought up by `class_name`
- Addon authors avoid them because of possible naming conflicts.
- In some cases, scripts with `preload()` via transitive dependencies can load a lot of the project resources.
- Global classes clutters the node/resource creation dialog. 
  - godotengine/godot#91020
  - godotengine/godot#95806
- There are no namespaces.

Many thanks to @dalexeev for the list.
Repository: deno
Issue: deno run fail to execute npm binary file in 2.0
Labels: needs investigation,node compat

**Describe the bug**
Hi there, Andrew from supabase, we've been having report of users failing to use `supabase` CLI with Deno 2 and running into some error executing the compiled binary.

**To Reproduce**
Steps to reproduce the behavior:
1. Have Deno 2 installed
2. Create a new directory, and run `deno init` in it
3. The following content been added to `deno.json`

```json
{
  # install deps in a node_modules directory 
  "nodeModulesDir": "auto",
  "imports": {
    "supabase": "npm:supabase@^1.223.10"
  }
}
```
4. Install deps: `deno install --allow-scripts`
5. Try run the CLI with `deno run -A npm:supabase --help`

Sees the following error in terminal:

```
❯ deno run -A npm:supabase --help
error: Uncaught SyntaxError: Invalid or unexpected token
    at <anonymous> (file:///Users/folder/node_modules/.deno/supabase@1.219.2/node_modules/supabase/bin/supabase:1:1)
```

**Debug:**

Running `/Users/folder/node_modules/.deno/supabase@1.219.2/node_modules/supabase/bin/supabase` properly execute the binary.

**Expected behavior**
Deno 2 with `deno run` command should also be able to run the `supabase` CLI

**Additional context**
Opening the issue based on discussion with @bartlomieju on discord: https://discord.com/channels/684898665143206084/1308818534809210930/1309145748264325120

Related: https://github.com/supabase/cli/issues/2900

Version: Deno 2.0.6
Repository: go
Issue: runtime:cpu4: TestRuntimeLockMetricsAndProfile/runtime.lock/sample-1 failures
Labels: help wanted,NeedsInvestigation,arch-loong64,compiler/runtime

```
#!watchflakes
default <- pkg == "runtime:cpu4" && test == "TestRuntimeLockMetricsAndProfile/runtime.lock/sample-1"
```

Issue created automatically to collect these failures.

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

    === RUN   TestRuntimeLockMetricsAndProfile/runtime.lock/sample-1
        metrics_test.go:1065: lock contention growth in runtime/pprof's view  (1.241778s)
        metrics_test.go:1066: lock contention growth in runtime/metrics' view (1.241730s)
        metrics_test.go:1104: stack [runtime.unlock runtime_test.TestRuntimeLockMetricsAndProfile.func5.1 runtime_test.(*contentionWorker).run] has samples totaling n=199 value=1207128831
        metrics_test.go:1192: mutex profile reported contention count different from the known true count (199 != 200)
    --- FAIL: TestRuntimeLockMetricsAndProfile/runtime.lock/sample-1 (1.25s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: angular
Issue: Check if a required input is provided using `withComponentInputBinding`
Labels: feature,area: router

### Which @angular/* package(s) are relevant/related to the feature request?

compiler

### Description

When using `withComponentInputBinding` in ApplicationConfig, I can pass:
 
- query parameters
- path and matrix parameters
- static route data
- data from resolvers 

to component via inputs. But, even if I define my input as required it can be `undefined` if not provided, without any compilation error.
```
export abstract class ExampleComponent {
   myData = input.required<MyData>();
}
```


### Proposed solution

It would be great if the required inputs could be checked during compilation, and throw an error if missing, just like it works for components instantiated using selector:

```
Required input 'myData' from component ExampleComponent must be specified.
```

I don't think query/matrix parameters could be checked, but are the others checkable?


### Alternatives considered

None, open to suggestions.
Repository: flutter
Issue: Support all `Image` widget properties on `RawWebImage`
Labels: platform-web,e: web_canvaskit,P2,e: web_skwasm,team-web,triaged-web

### Use case

In https://github.com/flutter/flutter/pull/157755, an initial minimum viable product implementation of `WebImage` is added to Flutter. It supports some of the most commonly used `Image` properties, but not all of them. The missing properties are:

* `color`
* `opacity`
* `colorBlendMode`
* `repeat`
* `centerSlice`
* `invertColors`
* `isAntiAlias`
* `filterQuality`

These properties effect the rendering of the image. Since RawWebImage is supposed to be a drop-in replacement for RawImage, it should also support these properties.

### Proposal

Extend `RawWebImage` to support the missing properties. Some of the properties are easier to implement than others.

* `opacity`, `color` and `colorBlendMode` could probably be implemented by simply wrapping the `HTMLImageElement` in the appropriate `Opacity` and `ColorFiltered` widgets and let the web engine handle setting the CSS properties on the platform view.
* `centerSlice` could maybe be implemented using the CSS `border-image-slice` property: https://developer.mozilla.org/en-US/docs/Web/CSS/border-image-slice
* `repeat` could maybe be implemented using the `background-repeat` CSS property: https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat
* `isAntiAlias` and `filterQuality` could maybe be approximated with the `image-rendering` CSS property: https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering
Repository: go
Issue: x/tools/gopls: DidModifyFiles: "non-abs file path %q" bug in port.matches
Labels: NeedsInvestigation,gopls,Tools,gopls/telemetry-wins

```
#!stacks
"bug.Reportf" && "cache.port.matches:+5"
```
Issue created by [stacks](https://pkg.go.dev/golang.org/x/tools/gopls/internal/telemetry/cmd/stacks).

```go
func (p port) matches(path string, content []byte) bool {
	ctxt := build.Default // make a copy
	ctxt.UseAllFiles = false
	path = filepath.Clean(path)
	if !filepath.IsAbs(path) {
		bug.Reportf("non-abs file path %q", path)   // <---------
		return false // fail closed
	...
```
This stack `NaAAKw` was [reported by telemetry](https://storage.googleapis.com/prod-telemetry-merged/2024-11-26.json):

- `gopls/bug`
- [`golang.org/x/tools/gopls/internal/util/bug.report:+35`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:gopls/internal/util/bug/bug.go;l=109)
- [`golang.org/x/tools/gopls/internal/util/bug.Reportf:+1`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:gopls/internal/util/bug/bug.go;l=54)
- [`golang.org/x/tools/gopls/internal/cache.port.matches:+5`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:gopls/internal/cache/port.go;l=146)
- `golang.org/x/tools/gopls/internal/cache.matchingView[...]:+23`
- [`golang.org/x/tools/gopls/internal/cache.(*Session).viewOfLocked:+15`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:gopls/internal/cache/session.go;l=464)
- [`golang.org/x/tools/gopls/internal/cache.(*Session).DidModifyFiles:+138`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:gopls/internal/cache/session.go;l=891)
- [`golang.org/x/tools/gopls/internal/server.(*server).didModifyFiles:+36`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:gopls/internal/server/text_synchronization.go;l=256)
- [`golang.org/x/tools/gopls/internal/server.(*server).DidOpen:+20`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:gopls/internal/server/text_synchronization.go;l=114)
- [`golang.org/x/tools/gopls/internal/protocol.serverDispatch:+253`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:gopls/internal/protocol/tsserver.go;l=423)
- [`golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3:+5`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:gopls/internal/protocol/protocol.go;l=160)
- [`golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4:+52`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:gopls/internal/lsprpc/lsprpc.go;l=509)
- [`golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:internal/jsonrpc2/handler.go;l=35)
- [`golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3`](https://cs.opensource.google/go/x/tools/+/gopls/v0.17.0-pre.2:internal/jsonrpc2/handler.go;l=104)
- `runtime.goexit:+0`
```
golang.org/x/tools/gopls@v0.17.0-pre.2 go1.23.2 windows/amd64 vscode (2)
```
Dups: HAiIaQ TeKpaQ
Repository: vscode
Issue: submodule support in ui for vscode web / github.dev
Labels: feature-request,vscode.dev

vscode for web is useless when a repo has a submodule

<img src="https://github.com/user-attachments/assets/5bf2a954-8f13-4977-964d-e675bf922bf8" width="30%" />

ui should have a menu option to pull and update submodule without needing terminal access (which github.dev doesn't provide)
Repository: ollama
Issue: Model Context Protocol (MCP) support
Labels: feature request

Model Context Protocol as the name suggests standardizes the external datasource interaction.

+ the fact that is completely open source opens up the path for faster collaboration/progress imo

[Official Github](https://github.com/modelcontextprotocol/)

[15-minute-walkthrough-yt](https://github.com/modelcontextprotocol/)
Repository: rust
Issue: Tracking Issue for `BTreeSet` entry APIs
Labels: T-libs-api,C-tracking-issue

Feature gate: `#![feature(btree_set_entry)]`

This is a tracking issue for `Entry` and entry-like methods on `BTreeSet`.

### Public API

```rust
impl<T, A: Allocator + Clone> BTreeSet<T, A> {
    pub fn get_or_insert(&mut self, value: T) -> &T
    where
        T: Ord,
    {...}
    pub fn get_or_insert_with<Q: ?Sized, F>(&mut self, value: &Q, f: F) -> &T
    where
        T: Borrow<Q> + Ord,
        Q: Ord,
        F: FnOnce(&Q) -> T,
    {...}

    pub fn entry(&mut self, value: T) -> Entry<'_, T, A>
    where
        T: Ord,
    {...}
}

pub enum Entry<'a, T, A: Allocator + Clone = Global> {
    Occupied(OccupiedEntry<'a, T, A>),
    Vacant(VacantEntry<'a, T, A>),
}
pub struct OccupiedEntry<'a, T, A: Allocator + Clone = Global> {...}
pub struct VacantEntry<'a, T, A: Allocator + Clone = Global> {...}

impl<T: Debug + Ord, A: Allocator + Clone> Debug for Entry<'_, T, A> {...}
impl<T: Debug + Ord, A: Allocator + Clone> Debug for OccupiedEntry<'_, T, A> {...}
impl<T: Debug + Ord, A: Allocator + Clone> Debug for VacantEntry<'_, T, A> {...}

impl<'a, T: Ord, A: Allocator + Clone> Entry<'a, T, A> {
    pub fn insert(self) -> OccupiedEntry<'a, T, A> {...}
    pub fn or_insert(self) {...}
    pub fn get(&self) -> &T {...}
}

impl<'a, T: Ord, A: Allocator + Clone> OccupiedEntry<'a, T, A> {
    pub fn get(&self) -> &T {...}
    pub fn remove(self) -> T {...}
}

impl<'a, T: Ord, A: Allocator + Clone> VacantEntry<'a, T, A> {
    pub fn get(&self) -> &T {...}
    pub fn into_value(self) -> T {...}
    pub fn insert(self) {...}
}
```

### Steps / History

- [x] Implementation: #133548
- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilization PR can be opened by anyone.
-->

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- None yet.

See also #60896 for `HashSet`.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: pytorch
Issue: Re-evaluate `nonzero` chunks with CCCL 2.8
Labels: module: cuda,triaged

### 🚀 The feature, motivation and pitch

This has introduced chunks:
https://github.com/pytorch/pytorch/pull/141592

Here native upstream for CCCL 2.8:
https://github.com/NVIDIA/cccl/pull/2400#issuecomment-2494987280
/cc @ptrblck @msaroufim @eqy @ngimel @ezyang 

### Alternatives

_No response_

### Additional context

_No response_
Repository: next.js
Issue: Combining root catchAll route + parallel nested route causes build failure
Labels: bug,Parallel & Intercepting Routes

Example setup that causes failure:

./app/[...segment]/page.tsx
./app/someroute/page.tsx
./app/someroute/layout.tsx
./app/someroute/@someslot/subroute/page.tsx

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/distracted-chatterjee-6vjhh9?workspaceId=6caaae1b-8862-4fe4-9ff9-fe868ceec1a7

### To Reproduce

1. Run pnpm build
2. The build will fail

### Current vs. Expected behavior

The app should build /[...segment], /someroute, and /someroute/subroute but instead the build fails with `TypeError: Cannot read properties of undefined (reading 'entryCSSFiles')`

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
  Available memory (MB): 4102
  Available CPU cores: 2
Binaries:
  Node: 20.9.0
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.10.2
Relevant Packages:
  next: 15.0.4-canary.29 // Latest available version is detected (15.0.4-canary.29).
  eslint-config-next: N/A
  react: 19.0.0-rc-b01722d5-20241114
  react-dom: 19.0.0-rc-b01722d5-20241114
  typescript: 5.3.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Parallel & Intercepting Routes

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local), Vercel (Deployed), Other (Deployed)

### Additional context

_No response_
Repository: flutter
Issue: Exposing the iOS `FlutterTextInputView` to control keyboard directly
Labels: a: text input,c: new feature,platform-ios,engine,c: proposal,P3,team-ios,triaged-ios

### Use case

Searching for how to add a Done button to a number keyboard in Flutter, there are thousands of searches and no solution...

Issues such as #12220 get closed with no resolution or point you to a https://pub.dev/packages/keyboard_actions, which while popular is not native and has its issues. (Functionality / Animation / Look&Feel)

### Proposal

Since you can put almost anything above the keyboard in iOS a pure Flutter solution is impossible. There will always be someone who finds a missing feature. So the only real option, that covers everyone, is to expose the `UIView` and add your own `UIToolbar` implementation.

I looked at the engine code and found `FlutterTextInputView` inside shell/platform/darwin/ios/framework/Source

If we could somehow expose this into the `AppDelete` via a callback in response to the user interacting with a widget that opens a keyboard, then we could set up the keyboard any way we'd like (apart from the values settable from Flutter.)

Flutter sets it's values in `- (void)configureWithDictionary:(NSDictionary*)configuration`. If there was a callback raised from here providing `self` we could do additional modifications on the Swift side.

I am willing to look at this if this is an approach that is accepted. Although I have very little experience in Objective-C / Swift...
Repository: flutter
Issue: [file_selector_android] Attempting to return null paths from `FileUtils.java` results in an `IllegalStateException`
Labels: platform-android,package,P2,p: file_selector,team-android,triaged-android

`FileUtils.java` will return a null path in a couple of exception cases:
https://github.com/flutter/packages/blob/main/packages/file_selector/file_selector_android/android/src/main/java/dev/flutter/packages/file_selector_android/FileUtils.java#L139

The idea behind this approach was as an alternative to throwing errors in Java code, which would crash the app (originally in `image_picker`, these two plugins share much of this code)
https://github.com/flutter/packages/pull/4004

But this approach doesn't actually prevent a crash, because the path is marked as not nullable. The path gets returned 
https://github.com/flutter/packages/blob/main/packages/file_selector/file_selector_android/android/src/main/java/dev/flutter/packages/file_selector_android/FileSelectorApiImpl.java#L360
and then the builder will try to set that path on the object, at which point the generated Java object does the following check
https://github.com/flutter/packages/blob/main/packages/file_selector/file_selector_android/android/src/main/java/dev/flutter/packages/file_selector_android/GeneratedFileSelectorApi.java#L77
and throws an `IllegalStateException` if the path is null.

We should probably switch to surfacing exceptions in dart, following the pattern introduced in https://github.com/flutter/packages/pull/8184.

`image_picker` is likely also affected, though I haven't checked.