sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: `Trying to call an async function without "await".` false positive when calling `Callable.get_object()` on an awaiting callable
Labels: bug,topic:gdscript

### Tested versions

v4.2.2.stable.official [15073afe3]
v4.3.rc2.official [3978628c6]

### System information

N/A

### Issue description

`awaiting_callable.get_object()` is incorrectly triggering `Trying to call an async function without "await".` error in some specific circumstances, see the snippet below. Seems to happen when it's some operator's operand? :thinking:

### Steps to reproduce

Run:
```gdscript
extends Node

signal _signal

func foo():
	await _signal

func _ready():
	foo()
	
	var awaiting_callable_typed: Callable = _signal.get_connections()[0].callable
	if awaiting_callable_typed.get_object() == null: # OK
		pass
		
	var awaiting_callable = _signal.get_connections()[0].callable
	if awaiting_callable.get_object() == null: # Error: Trying to call an async function without "await".
		pass

	awaiting_callable.get_object() # OK
	not awaiting_callable.get_object() # Error: Trying to call an async function without "await".
```

### Minimal reproduction project (MRP)

[async_call_with_no_await_fake_error.zip](https://github.com/user-attachments/files/16514502/async_call_with_no_await_fake_error.zip)
Repository: flutter
Issue: Return a value from a route even if back gestures are used
Labels: c: new feature,framework,f: routes,c: proposal,P3,team-framework,triaged-framework

### Use case

I want to be able to return a result from a page even when gestures are used (on IOS). Using `PopScope` is not viable since this disables gestures on iOS (https://github.com/flutter/flutter/issues/138624). The documentation https://docs.flutter.dev/cookbook/navigation/returning-data provides no information regarding gestures. Maybe I'm missing an obvious alternative solution?

My use case is:
- Starting on a page with a list of items
- Click on one item → open a page where the item can viewed → open a page where the item is edited
- Go back to the list page and pop the view page with the info that the item has been edited
- Update the list page if the item has changed

The problem is that it is not possible to keep gestures enabled on the item view page, since I want to pop with data (changed or not). 
 

### Proposal

I've already suggested https://github.com/flutter/flutter/issues/118102 as a solution to this, but understandably, it's not a great API. As suggested in that issue, this issue is a more general description of the feature I want. 
Nonetheless, here is another possible solution 😄  Either something similar to `PopScope` that allows to edit the popped result could be added. For example:
```
PopResultOverride(
  onPop: (oldResult) {
    return newResult;
  },
  child: ...
)
```

Or allow iOS back gestures with pop scope but don't complete them when `canPop=false` and call `onPopInvokedWithResult`.
Repository: PowerToys
Issue: Take full privileges for folders
Labels: Needs-Triage

### Description of the new feature / enhancement

In the contextual menu for a folder (or possibly even file), a new option would appear. It would run a series of commands, such as `takeown /R /A /F "C:\selected\directory\here" /D N` and `icacls "C:\selected\directory\here" /grant Administrators:F /T /C` (I've used these to rename and then delete some program folders that I didn't need but that were limited to _TrustedInstaller_ or _SYSTEM_, but those don't always work, so you should find the most appropriate commands) to give the current user full access to a specific folder.

### Scenario when this would be used?

I've used this, for example, to get rid of the _Internet Explorer_ folder, as it isn't supported anymore but I couldn't delete it as it was a system folder. This can also be helpful to fully reinstall something, I've recently had problems with my audio drivers so I manually deleted every _Realtek_ folder to basically run a fresh install. If I hadn't done this, to this day I wouldn't have a working microphone.

### Supporting information

Before doing this, you would be prompted to grant administrator privileges or whether you're sure about what you're doing, possibly with a link leading to the explanation page for this utility.
Repository: go
Issue: cmd/go: TestScript/work_module_not_in_go_work failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/work_module_not_in_go_work"
```

Issue created automatically to collect these failures.

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

    === RUN   TestScript/work_module_not_in_go_work
    === PAUSE TestScript/work_module_not_in_go_work
    === CONT  TestScript/work_module_not_in_go_work
        script_test.go:132: 2024-07-31T17:06:18Z
        script_test.go:134: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1480825932\tmpdir546241789\work_module_not_in_go_work2039227295
        script_test.go:156: 
            PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1480825932\tmpdir546241789\testbin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\cache\tools\bin;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3\bin;C:\Users\swarming\.swarming\w\ir\cache\cipd_client;C:\Users\swarming\.swarming\w\ir\cache\cipd_client\bin;C:\Users\swarming\.swarming\cipd_cache\bin;C:\Python311\Scripts\;C:\Python311\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\swarming\AppData\Local\Microsoft\WindowsApps;C:\Users\swarming\.swarming\w\ir\cache\tools\cc\windows\gcc64\bin
            USERPROFILE=/no-home
            CCACHE_DISABLE=1
            GOARCH=arm64
    ...
            	go work use a
            [exit status 1]
            > stderr 'directory a[\\/]c is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:\n\tgo work use a'
            matched: directory a\c is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:
            	go work use a
            > cd a/c
            > ! go run .
            [exit status 1]
        script_test.go:156: FAIL: testdata\script\work_module_not_in_go_work.txt:16: context deadline exceeded
    --- FAIL: TestScript/work_module_not_in_go_work (0.56s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: next.js
Issue: Link component leads to unnecessary re-renders with legacyBehavior
Labels: bug,Navigation,Performance,Runtime

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/hardcore-neumann-dw8484

### To Reproduce

Click the "Update Time" button, which updates a query parameter in the URL to the current time. Observe that the component "MyButton" re-renders due to the "Link" wrapper after a query param changed, despite its render being totally independent to changing query parameters and using React.memo

### Current vs. Expected behavior

Current behavior is that the Link component uses `useRouter()` causing it to re-render when any query parameters change. This causes it to pass a new instance of the 'onClick', 'onMouseEnter', and 'onTouchStart' props to the child, which forces it to rerender.

Expected behavior is that the Link component should not need to re-render at all in this case, and even if it did re-render it should pass a stable function for onClick/onMouseEnter/onTouchStart to prevent the button from re-rendering (since only query params have changed, nothing related to the button's navigation has changed).

This causes many unnecessary re-renders across a website when navigations happen, in particular for components which remain mounted such as a header/left-rail or when only query parameters are changing (which doesn't impact most of the page typically).

### 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.0-canary.104 // Latest available version is detected (15.0.0-canary.104).
  eslint-config-next: N/A
  react: 19.0.0-rc-06d0b89e-20240801
  react-dom: 19.0.0-rc-06d0b89e-20240801
  typescript: 5.3.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Navigation, Performance, Runtime

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local), Vercel (Deployed), Other (Deployed)

### Additional context

I started a related discussion at https://github.com/vercel/next.js/discussions/67520, but there was no traction there.

Also note that legacyBehavior is required for any custom button components (ex. using MUI or styled-components) and [recommended in docs](https://nextjs.org/docs/pages/api-reference/components/link#if-the-child-is-a-custom-component-that-wraps-an-a-tag), so I don't think its valid to ignore
Repository: vscode
Issue: [css] allow to overtype the semicolon
Labels: feature-request,css-less-scss

Type: <b>Bug</b>

When i am coding in CSS and press tab to lets say run "margin: 0;"
and then when i am done and go to press the colon key for the end of the line it doesnt overwrite the existing ; and instead adds a second one, like this
ul {
     padding: 0;;
}
and makes it a real pain to code quickly as i have to either delete the existing colon first or go one space right using the right arrow key before pressing return.
Thank you.

VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.19045
Modes:


<!-- generated by issue reporter -->
Repository: flutter
Issue: [Impeller] --trace-startup should disable pipeline caches.
Labels: P3,e: impeller,team-engine,triaged-engine

This should give a better idea of first-time app startup performance. Today, to gauge first-time startup performance, the caches have to either be manually deleted or the engine patched to not load the caches.
Repository: deno
Issue: Tab completions in `navigator.gpu` are not shown in repl
Labels: bug,repl

```
Moriken-M1-MacBook-Air:~/Developer/deno% deno --unstable-webgpu
exit using ctrl+d, ctrl+c, or close()
REPL is running with all permissions allowed.
To specify permissions, run `deno repl` with allow flags.
> navigator.gpu.[Tab pressed]
```

Version: Deno 1.45.5
Repository: flutter
Issue: [Dev] [Manual Tests] Image URL in card_collection.dart
Labels: a: tests,framework,a: images,P3,team-framework,triaged-framework

### Steps to reproduce

1. Run the [card_collection.dart](https://github.com/flutter/flutter/blob/master/dev/manual_tests/lib/card_collection.dart) on [Dartpad](https://dartpad.dev).
2. Open the Drawer.
3. Check the `Let the sun shine`

### Expected results

`Let the sun shine` should load the image.

### Actual results

`Let the sun shine` doesn't load the image because URL returns 503. 

https://github.com/flutter/flutter/blob/8329f676394ed00cc55b4541897edc7676f6acea/dev/manual_tests/lib/card_collection.dart#L33

### Code sample

<details open><summary>Code sample</summary>

https://github.com/flutter/flutter/blob/master/dev/manual_tests/lib/card_collection.dart

### Screenshots

<details open>
<summary>Screenshot demonstration</summary>

![screenshot_2024-08-07_at_1 48 38___am](https://github.com/user-attachments/assets/223675a9-3de5-43c8-bb57-93a71583124d)

</details>


### Logs

<details open><summary>Logs</summary>

```console
 ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
 The following ProgressEvent object was thrown resolving an image codec:
   [object ProgressEvent]
 
 When the exception was thrown, this was the stack
 
 Image provider:
   NetworkImage("http://www.walltor.com/images/wallpaper/good-morning-sunshine-58540.jpg", scale:
   1.0)
 Image key: NetworkImage("http://www.walltor.com/images/wallpaper/good-morning-sunshine-58540.jpg",
   scale: 1.0)
 ════════════════════════════════════════════════════════════════════════════════════════════════════
```

</detaills>

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Flutter 3.24 & Dart 2.5 on Dartpad
```

</details>
Repository: go
Issue: x/build/cmd/watchflakes: should report x/ repo breakage caused by Go repo change
Labels: Builders,NeedsFix,FeatureRequest,Friction

A part of issue #58819 was was making watchflakes report, rather than skip, cases of consistent test failures.

golang.org/x/exp/typeparams.TestAPIConsistency is currently broken (e.g., https://ci.chromium.org/b/8740322578467634353) and has been consistently failing on all builders since [CL 575455](https://go.dev/cl/575455) was submitted about 6 days ago, but it doesn't seem to be reported by watchflakes.

I haven't looked very closely, but the problem might be that the breaking change was in the main Go repo rather than the x/exp repo itself, so looking at the latest x/exp commit in the https://ci.chromium.org/p/golang/g/x-exp-gotip/console view shows it as green, and there haven't been newer commits that landed in x/exp. Many failing commits are visible in the "by Go commit" view at https://ci.chromium.org/p/golang/g/x-exp-gotip-by-go/console, though.

Perhaps there's more to do for watchflakes to report consistent failures when they happen due to a change in the main Go repo. CC @cherrymui, @cagedmantis.
Repository: vscode
Issue: Respect `editor.scrollbar.vertical/horizontal` in chat code blocks
Labels: bug,panel-chat

From https://github.com/microsoft/vscode-copilot-release/issues/1453

Request is to respect settings like `"editor.scrollbar.horizontal": "visible"` for code blocks in chat. Currently seem to have no effect
Repository: vscode
Issue: Make chat code block wrapping more discoverable
Labels: polish,panel-chat

From https://github.com/microsoft/vscode-copilot-release/issues/1453

Wonder if we can add some UX to make chat word wrap more discoverable. Right now you need to know about the setting

Some ideas:

- Add a button in the top of the chat overflow menu
- Add a button the individual chat code block overflow menu
- Have a `toggle chat word wrap` command or similar in the command palette

I personally typically want wrapping off but want to turn it in certain cases. That's why having a toggle command would be useful
Repository: flutter
Issue: Google auth apis: migrate to FedCM
Labels: platform-web,p: google_sign_in,package,P2,team-web,triaged-web,p: google_identity_services_web

See notes here: https://developers.google.com/identity/gsi/web/guides/fedcm-migration
Repository: flutter
Issue: the Flutter pub roller bot should comment outdated dependencies
Labels: team-tool

The flutter pub roller bot will update the packages in flutter/flutter to the latest versions *that produce a valid solve*, as determined by pub.

However, sometimes transitive dependencies get "stuck" at an old version, because a package that depends on it has an outdated constraint the forbids the latest version. If multiple packages in flutter/flutter depend or transitively depend on this outdated package version, they may also get stuck.

The pub roller bot ([src](https://github.com/flutter/flutter/blob/master/dev/conductor/core/bin/packages_autoroller.dart)) should pass the `--synthetic-package-path` option when invoking `flutter update-packages --force-upgrade` ([src](https://github.com/flutter/flutter/blob/master/dev/conductor/core/lib/src/packages_autoroller.dart#L117)) so that the flutter tool will not delete this synthetic package after finishing. Then the packages autoroller script should run `dart pub outdated --json` in this directory to get data on all the packages that are outdated. For any packages that are at least a major version outdated, the autoroller should then add them to the PR description with a warning that a human should investigate ([src](https://github.com/flutter/flutter/blob/master/dev/conductor/core/lib/src/packages_autoroller.dart#L53)).
Repository: ui
Issue: [bug]: Outdated component
Labels: bug

### Describe the bug

Shadcn calendar component isn't compatible with react-day-picker 9.0.0 or later

### Affected component/components

Calendar

### How to reproduce

Just update react-day-picker to 9.0.0 or later.

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Any
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: ollama
Issue: [question] Do you plan to upstream patches for llama.cpp?
Labels: bug

### What is the issue?

We would like to use the packaged version of llama.cpp (to simplify packaging on FreeBSD) but patches need to be upstreamed first.


### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.3.4
Repository: terminal
Issue: [Quick Fix] WinGet suggestions not shown for elevated sessions
Labels: Product-Terminal,Issue-Task,Needs-Tag-Fix,Area-Suggestions

Internal request tracked here: https://microsoft.visualstudio.com/OS/_workitems/edit/50066117
Repository: material-ui
Issue: [material-ui][Autocomplete] onHighlightChange called when listbox opens or closes without any option being highlighted
Labels: bug 🐛,package: material-ui,component: autocomplete

### Steps to reproduce

Link to live example: https://stackblitz.com/edit/react-d4b5ls?file=Demo.tsx

Steps:
1. Set the `onHighlightChange` prop
2. Check what is passed in for the `event` param


### Current behavior

Hello 👋 

I'm noticing that the `onHighlightChange` is [typed as](https://github.com/mui/material-ui/blob/1184488681d6c49f71ec76ad66319453a28b1d98/packages/mui-material/src/useAutocomplete/useAutocomplete.d.ts#L249-L254):

```
onHighlightChange?: (
    event: React.SyntheticEvent,
    option: Value | null,
    reason: AutocompleteHighlightChangeReason,
) => void;
```

with a non-null `event` param, but `undefined` seems to be coming through for the param. [See demo](https://stackblitz.com/edit/react-d4b5ls?file=Demo.tsx):

![autocomplete-undefined-event](https://github.com/user-attachments/assets/9a03081c-2da7-497f-adfe-3c3834b41d97)


### Expected behavior

Would it be possible to change the typing of the prop to reflect the values that are being passed to `event`?

```
- event: React.SyntheticEvent,
+ event: React.SyntheticEvent | undefined,
```

This seems like it would be consistent with [some other onHighlightChange props](https://sourcegraph.com/search?q=repo:%5Egithub%5C.com/mui/material-ui%24+onHighlightChange%3F:+-file:doc+-file:test&patternType=keyword&sm=0).

### Context

We are trying to use strict null safety

### Your environment

See [codesandbox link](https://stackblitz.com/edit/react-d4b5ls?file=Demo.tsx)

**Search keywords**: onHighlightChange, undefined event
Repository: godot
Issue: Signal `editor_description_changed` not disconnected on SceneTreeDock refresh
Labels: bug,topic:editor,performance

### Tested versions

Reproductible in 4.3 master eabeafd8c3

### System information

Windows 11

### Issue description

While debugging performance issue #95104, I saw a problem where the signal `editor_description_changed` is not disconnected on the nodes even if this code is present in `SceneTreeEditor::_add_nodes`:
```cpp
Callable delay_update_tooltip = callable_mp(this, &SceneTreeEditor::_queue_update_node_tooltip);
if (p_node->is_connected("editor_description_changed", delay_update_tooltip)) {
	p_node->disconnect("editor_description_changed", delay_update_tooltip);
}
p_node->connect("editor_description_changed", delay_update_tooltip.bind(item));
```

So each time the tree is refreshed, a new connection is made. There's no direct problem, but if the editor is open a while with a lot of refreshes, it could cause some performance problems including scene reloading because all the connections on reloaded nodes are copied.

Exemple:
![image](https://github.com/user-attachments/assets/10e8b1ab-378d-4fa1-a31a-6ecc613f5708)


### Steps to reproduce

Just switch between 2 scenes in the editor.

### Minimal reproduction project (MRP)

Any scene.
Repository: ollama
Issue: Embedding model performance improvements
Labels: feature request

### What is the issue?

1. Embedding models should disable kv cache size (e.g. num_ctx) as it may not be used
2. Embedding models should by default use higher parallization (10+) for batches to be faster

### OS

_No response_

### GPU

_No response_

### CPU

_No response_

### Ollama version

_No response_
Repository: flutter
Issue: `flutter test` should be able to run when there's no `test` folder, without warnings
Labels: a: tests,c: new feature,tool,c: proposal,P3,team-tool,triaged-tool

### Use case

`flutter test` shows a warning when we run it on a project that doesn't have a `test` folder.

When I create a new project, from my template, I don't have any tests yet, and the warning breaks my CICD pipeline. In order to fix this, I am forced to add a fake test, or only run `flutter test` if the directory exists.

### Proposal

Add a flag into `flutter test` to disable warnings when it detects no test directory.
Repository: ant-design
Issue: Use @ant-design/fast-color to replace @ctrl/tinycolor
Labels: help wanted,Inactive

See https://github.com/ant-design/ant-design/pull/49846

TODO list:

- [ ] [@ant-design/colors](https://github.com/ant-design/ant-design-colors) https://github.com/ant-design/ant-design-colors/pull/92
- [ ] [@ant-design/happy-work-theme](https://github.com/ant-design/happy-work-theme)
- [ ] [antd](https://github.com/ant-design/ant-design)
Repository: go
Issue: x/mobile: compatibility with Android 15
Labels: NeedsInvestigation,mobile

How to adapt to Android 15?
android : https://developer.android.google.cn/guide/practices/page-sizes?hl=zh-cn#build
![WechatIMG16047](https://github.com/user-attachments/assets/21a4b46e-58e4-4ce7-a143-a321b25e3e70)
Repository: godot
Issue: No Godot v4.3 build will launch any projects on macOS Sonoma (OpenCore)
Labels: bug,platform:macos,topic:rendering,topic:thirdparty,needs testing,regression

### Tested versions

- Reproducible in any Godot v4.3 build 

### System information

macOS Sonoma (OpenCore) - Godot v4.3.rc2.mono.official - Vulkan (Forward+) - 2.7 GHz 12-Core Intel Xeon E5 - AMD FirePro D700 6 GB

### Issue description

Before in Godot v4.2.2.stable, I could work with Forward+, but in Godot v4.3.rc2, any project I try to open up just crashes. Opening it up with the terminal gives this error message:
```bash
binpuki@vipro unnamedgame % /Applications/Godot\ Engine/Godot\ 4.3\ RC2.app/Contents/MacOS/Godot -e
Godot Engine v4.3.rc2.mono.official.3978628c6 - https://godotengine.org
Vulkan 1.2.283 - Forward+ - Using Device #0: AMD - AMD Radeon HD - FirePro D700

-[_MTLCommandEncoder dealloc]:131: failed assertion `Command encoder released without endEncoding'
zsh: abort      /Applications/Godot\ Engine/Godot\ 4.3\ RC2.app/Contents/MacOS/Godot -e
binpuki@vipro unnamedgame % 
```

If it opens, I'm running macOS Sonoma on a Mac Pro 2013 with OpenCore.

### Steps to reproduce

Open any project with the Godot editor, doesn't matter if it's an old or a new project.

### Minimal reproduction project (MRP)

N/A