sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: `vscode.workspace.fs.copy` does not copy folders properly on github.dev
Labels: bug,vscode.dev

<!-- ⚠️⚠️ 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. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 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: github.dev
- OS Version: Windows 11 24H2

Steps to Reproduce:

1. Have an extension with the following code be run on github.dev:
```ts
// copy `lib` folder from `assets/initial-project` from extension files to the root of current workspace

const initDir = vscode.Uri.joinPath(
    context.extensionUri,
    "assets/initial-project"
);

const workspaceUri = vscode.workspace.workspaceFolders?.[0]?.uri!;

await vscode.workspace.fs.copy(
    vscode.Uri.joinPath(initDir, "lib"),
    vscode.Uri.joinPath(workspaceUri, "lib")
);
```
2. The file gets created with json listing of folder's contents. 

![Image](https://github.com/user-attachments/assets/8593b134-6f83-4406-9d42-d8a21712a3be)

NOTE: The folder is copied properly when run on VSCode desktop and vscode.dev with local filesystem.

Here is the [URL of the folder](https://glebbash.vscode-unpkg.net/glebbash/lo/0.0.57/extension/assets/initial-project/lib) from my extension, I guess the fix is to somehow detect that this is a folder and not a file in github.dev file system provider.
Repository: vscode
Issue: Git - Opening diff from blame should reveal previously focused line
Labels: git,polish

1. Put cursor in a SCM-tracked text document line
2. Click the blame decoration

🐛 Multi file diff editor opens scrolled to the top.

It would be great if the line of that document would automatically be revealed and scrolled into view.
Repository: rust
Issue: Investigate linker warnings
Labels: A-linkage,T-compiler,T-bootstrap,C-tracking-issue,A-linkers,L-linker_messages

https://github.com/rust-lang/rust/pull/119286 unsilences linker warnings by default, and then promptly silences them again for rust-lang/rust itself. We should investigate and fix them.

So far I have seen the following kinds of warnings:
- [ ] `ignoring duplicate libraries: -lm` on MacOS [when running any tests/ui-fulldeps test](https://github.com/rust-lang/rust/pull/119286#issuecomment-2603311102), and also [when building rustc itself for stage 2](https://github.com/rust-lang-ci/rust/actions/runs/12097780194/job/33733532232#step:27:6292).
- [ ] `ld: cannot export hidden symbol compiler_builtins::int::leading_zeros::__clzdi2::ha6dd05e8d8124fab` [when building compiler-builtins](https://github.com/rust-lang/rust/pull/119286#issuecomment-2372510636)
- [ ] `ld: cannot export hidden symbol ___llvm_profile_filename` [when building tests/ui/issues/issue-85461.rs](https://github.com/rust-lang/rust/pull/119286#issuecomment-2372510636)
- [ ] ``ld: build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core.mini_core.2ab949a2a8595fff-cgu.0.rcgu.o: relocation in read-only section `.rodata.global.c'`` and `ld: creating DT_TEXTREL in a shared object` [when building rustc_codegen_gcc](https://github.com/rust-lang/rust/pull/119286#issuecomment-2509868641)

and they are silenced in these places:
- https://github.com/rust-lang/rust/blob/4b4007a500e27f708038e81549d7ad6437ce1b71/src/bootstrap/src/core/build_steps/test.rs#L1869-L1872
- https://github.com/rust-lang/rust/blob/4b4007a500e27f708038e81549d7ad6437ce1b71/src/bootstrap/src/core/build_steps/test.rs#L3587-L3588
- https://github.com/rust-lang/rust/blob/4b4007a500e27f708038e81549d7ad6437ce1b71/src/bootstrap/src/core/builder/cargo.rs#L276

@rustbot label S-tracking-issue
Repository: godot
Issue: Can't set Control Pivot Offset through inspector when in a Container
Labels: enhancement,discussion,topic:editor,usability,topic:gui

### Tested versions

Godot v4.4.beta1.mono

### System information

Godot v4.4.beta1.mono - Windows 11 (build 22631) - Multi-window, 2 monitors - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4070 (NVIDIA; 32.0.15.6636) - 12th Gen Intel(R) Core(TM) i7-12700KF (20 threads)

### Issue description

It's not possible to set the Pivot Offset for a control that exists in a Container node. Transform fields are all disabled :

![Image](https://github.com/user-attachments/assets/a7dd6180-74fb-435e-8f67-23886775209b)

Sure it's possible using the `v` shortcut or the button on top of the scene editor but it's not precise enough for the majority of cases out there.

### Steps to reproduce

In a new project, create a HBoxContainer and add a Control inside, select it and go to its inspector transform tab.

### Minimal reproduction project (MRP)

None
Repository: vscode
Issue: Wrong Keyboard Layout and ignored settings - happens on `vscode.dev`
Labels: triage-needed,stale

<!-- ⚠️⚠️ 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. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 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. -->
- Version: 1.96.4
- Commit: cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba
- Date: 2025-01-16T00:16:19.038Z
- Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Steps to Reproduce:

1. open `vscode.dev`
2. change keyboard layout by clicking the link in the status bar (right corner) from US (default) to Germany (or other)
3. verify that the `keyboard.layout` setting was changed correctly
4. reload the browser page
5. the status bas link indicates an incorrect default for US, although the expected value of `keyboard.layout` is set to "Germany"

https://github.com/user-attachments/assets/3441154e-3c52-430e-947d-c173521f4288
Repository: go
Issue: net/netip: ParseAddr should reject invalid zone
Labels: NeedsInvestigation,BugReport

### Proposal Details

I have the following use case:
```
package main

import (
    "fmt"
    "net/netip"
)

func main() {
    addr, err := netip.ParseAddr("2006:abcd::1%%")
    fmt.Printf("addr = %s,zone = %s,err = %v\n", addr.String(), addr.Zone(), err)
}
```
https://go.dev/play/p/soSl7hzPhJx
output:
```
addr = 2006:abcd::1%%,zone = %,err = <nil>
```

When running with Go 1.23, it considers the last % as the IPv6 zone ID. However, when parsing the same address in other languages, it considers the parameter as an invalid IP, for example:

### **1.C Language**
```
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <netdb.h>
#include <arpa/inet.h>

const char* parse_ipv6_with_zone_id(const char *input) {
    struct addrinfo hints, *res;
    int status;

    memset(&hints, 0, sizeof(hints));
    hints.ai_family = AF_INET6;
    hints.ai_socktype = SOCK_STREAM;

    status = getaddrinfo(input, NULL, &hints, &res);

    if (status != 0) {
        return "Invalid";
    }

    freeaddrinfo(res);
    return "Valid";
}

int main() {
    const char *input1 = "2006:abcd::1%%";

    printf("Address 1: %s - %s\n", input1, parse_ipv6_with_zone_id(input1));

    return 0;
}

```

**gcc version**
```
gcc version 10.3.1 (GCC)
```
**and output:**
```
Address 1: 2006:abcd::1%% - Invalid
```
### **2. java**
```
import java.net.Inet6Address;
import java.net.InetAddress;
import java.net.URI;
import java.net.URISyntaxException;

public class IPv6ZoneIDParser {
 public static void main(String[] args) {
        final String ipv6WithZone = "2006:abcd::1%%";
        try {
            InetAddress inetAddress = InetAddress.getByName(ipv6WithZone);
            if (inetAddress instanceof Inet6Address) {
                System.out.println(ipv6WithZone + " It is an IPv6 address.");
            }

        } catch (java.net.UnknownHostException e) {
            System.out.println(ipv6WithZone + " It is a invalid ip address.");
        }
    }
}
```
**java -version**
`openjdk version "1.8.0_392"`

**output:**
`2006:abcd::1%% It is a invalid ip address.`
### 3. python
```
import ipaddress

def is_valid_ip(ip):
    try:
        ipaddress.ip_address(ip)
        return True
    except ValueError:
        return False

print(is_valid_ip("2006:abcd::1%%"))
```
**python version**
`Python 3.9.11 (main, Jul 18 2024, 15:21:06)`

**output:**
`False`

why Go language behaves differently when parsing IPv6 zone IDs compared to other languages as shown above? Thank you.
Repository: PowerToys
Issue: [Peek] Peek Files in Zip
Labels: Needs-Triage

### Description of the new feature / enhancement

Any File with a custom Peek view within a Zip should be "Peekable" too, i.e. images, PDFs, Word Documents...

### Scenario when this would be used?

Whenever you are browsing a zip file in the Windows Explorer (which is possible without unzipping) and you'd want to see the file contents of a file like images, PDFs, or word Documents, instead of opening it in the native app (which unzips that file into a temp folder) you could open it with Peek (which would still unzip that file into a temp folder).

### Supporting information

_No response_
Repository: flutter
Issue: Issue with MSAL Authentication After Modifying MainActivity Class for Local Auth Plugin Integration
Labels: waiting for customer response,in triage

### Steps to reproduce

I am using MSAL for SSO authentication in my app, and it has been working fine.

However, after implementing the local_auth plugin, the MainActivity class was modified to extend FlutterFragmentActivity. MSAL, on the other hand, uses BrowserTabActivity to open the Microsoft authentication in an in-app browser.

After the modification to the MainActivity.kt class, the existing MSAL authentication has stopped working and is now throwing an error: 'Activity can't be null.

### Expected results

Its should need to support both functionality. 

### Actual results

The biometric is working fine but msal authentication is failed now.

### Code sample

<details open><summary>Code sample</summary>

```dart
MainActivity file 
Before 
"
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
"


After 

"import io.flutter.embedding.android.FlutterFragmentActivity

class MainActivity: FlutterFragmentActivity() {
}
"
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[Paste your output here]
```

</details>
Repository: electron
Issue: Rare SIGSEGV on Linux in development mode
Labels: platform/linux,crash :boom:,bug :beetle:,34-x-y

### Preflight Checklist

- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

34.0.0

### What operating system(s) are you using?

Ubuntu

### Operating System Version

Ubuntu 22

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

We run not packaged (i.e. development mode) electron app from Node.js script as part of tests like

```js
const util = require("util");
const execFilePromise = util.promisify(require("child_process").execFile);
const electronPath = require("electron");

// ...
await execCmd(electronPath, [ /* params */);
```

The app is configured as a CLI tool, it does not interact with GUI with the user. It just reads some files, opens hidden `BrowserWindow`, reads/writes to IndexedDB, writes some files and quits. It's configures to use new empty `userData` and `cacheData` dirs for each run:

```js
app.setPath("userData", funcTestDir);
app.setPath("userCache", funcTestDir);
```

Usually, the process finishes OK.


### Actual Behavior

Rarely, the process crashes with SIGSEGV on Linux only (on Windows it's OK, we do not use it on Mac). Error output is just:
```
MESA-INTEL: warning: cannot initialize blitter engine
```
(But this warning is printed even if the app runs OK.)

The crash seems random, sometimes it happens e.g. approx. every 1 of 20, sometimes e.g. approx. 1 of 100 runs, depends on machine and maybe also machine load or other circumstances? From our app logging, I guess it crashes very soon after the main process start.

We have configured Crashpad and here's the one fail result: [Crashpad.zip](https://github.com/user-attachments/files/18492067/Crashpad.zip) Surprisingly, the error output was then:
```
MESA-INTEL: warning: cannot initialize blitter engine
[0121/144135.557524:ERROR:elf_dynamic_array_reader.h(64)] tag not found
```

I am sorry I have no code to reproduce since the app is quite complex I do not have a clue which part may cause that.

### Testcase Gist URL

_No response_

### Additional Information

It seems the problem is approx since the autumn 2024 (we upgrade Electron version approx every two months).

Also, GPU is switched off by:
```js
    app.commandLine.appendSwitch("in-process-gpu");
    app.commandLine.appendSwitch("disable-gpu");
    app.commandLine.appendSwitch("ignore-gpu-blacklist");
    app.commandLine.appendSwitch("use-gl", "swiftshader");
```
Repository: angular
Issue: Zone.js crashes in MS Edge on iOS
Labels: needs reproduction,area: zones

### Which @angular/* package(s) are the source of the bug?

zone.js

### Is this a regression?

Yes

### Description

Hi everyone,

About week ago we migrated our project to ng19 and started receiving in Sentry new kind of errors related to `zone.js`.
User agent is always iOS and Mobile Edge browser.
Was not able to reproduce in Desktop Edge.

I was able to reproduce this issue on my iPhone when installed Edge from AppStore. 
It looks like for some reasons zone.js can not patch `timers`, but was not able to debug deeper, because Edge does not support remote debug..


### Please provide a link to a minimal reproduction of the bug

_No response_

### Please provide the exception or error you saw

```true
undefined is not an object (evaluating 'handleOrId.refresh')

polyfills-2SRK6US5.js in scheduleTask at line 1409:49
polyfills-2SRK6US5.js in scheduleTask at line 317:26
polyfills-2SRK6US5.js in scheduleTask at line 174:47
polyfills-2SRK6US5.js in ? at line 1440:52
main-TMGBBAUM.js in waitToScan at line 23197:19
main-TMGBBAUM.js in setup at line 23201:21
polyfills-2SRK6US5.js in run at line 97:41
main-TMGBBAUM.js in start at line 23209:22
main-TMGBBAUM.js in ? at line 23384:40
main-TMGBBAUM.js in onInvoke at line 7852:31
polyfills-2SRK6US5.js in run at line 97:41
polyfills-2SRK6US5.js in ? at line 2005:33
main-TMGBBAUM.js in onInvokeTask at line 7634:32
main-TMGBBAUM.js in onInvokeTask at line 7841:35
polyfills-2SRK6US5.js in runTask at line 135:47
polyfills-2SRK6US5.js in drainMicroTaskQueue at line 482:30
polyfills-2SRK6US5.js in invokeTask at line 401:30
polyfills-2SRK6US5.js in invokeTask at line 924:18
polyfills-2SRK6US5.js in globalCallback at line 945:31
```

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 19.0.6
Node: 18.19.0
Package Manager: npm 10.9.2
OS: darwin arm64

Angular: 19.0.5
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1900.6
@angular-devkit/build-angular   19.0.6
@angular-devkit/core            19.0.6
@angular-devkit/schematics      19.0.6
@angular/cdk                    19.0.4
@angular/cli                    19.0.6
@schematics/angular             19.0.6
rxjs                            7.8.1
typescript                      5.6.3
zone.js                         0.15.0
```

### Anything else?

_No response_
Repository: ollama
Issue: CLI: Managing models like (Docker) containers via ID
Labels: feature request

Could we please have
`ollama ps`
`ollama stop <ID>`
instead of
`ollama stop this-is-a-llm-with-a-pretty-long-name:1337b_instruzioni_v3.33_q5_K_S`
or at least tab autocompletion?

Sorry in advance: Maybe this is already a duplicate (did look for it!), as it is not really a highly inventive idea.
Repository: go
Issue: x/mobile: flag -androidapi is being ignored
Labels: NeedsInvestigation,mobile,BugReport

I'm implementing a simple project in Golang which compiles, but when i try to install the .apk on the smartphone simulator in android studio it return this error:
`
Error code: 'INSTALL_FAILED_DEPRECATED_SDK_VERSION', message='INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 24, but found 16'
`

The command i'm using:
 `gomobile build -target android -androidapi 24 -o myapp.apk`
Repository: go
Issue: x/tools/gopls: gopls api json should preserve deprecated configuration
Labels: gopls,Tools,ToolProposal

### gopls version

N/A

### go env

```shell
N/A
```

### What did you do?

N/A

### What did you see happen?

As of now, gopls apijson only contains fields that is effective, or currently being deprecated. 

The state of being deprecated usually means, the field exist in the struct, the field is still being acknowledged and interpreted by the gopls but probably will be removed in the up coming release. 



### What did you expect to see?

gopls apijson output should preserve fields that is already deprecated. 

### Editor and settings







### Logs

Context: vscode-go is reading the gopls apijson to create the package.json. This package.json will be read by vscode. 

```
package.json
  name: ui.noSemanticTokenString
  markdownDescription: ...
  deprecationMessage: ...
```

If a field is being deprecated, the package.json will a `deprecationMessage` field providing instructions for users to migrate their configs. VSCode will highlight to user this field is deprecated and user can hover over to check the deprecation message. This is great.

<img width="530" alt="Image" src="https://github.com/user-attachments/assets/f656d8ed-a7aa-4593-822b-f3372420dd20" />

Once a field is fully deprecated, usually, the field is just removed, it will be deleted from api json output and deleted from package.json as well. 
Because its missing from package.json, vscode does not understand this field, there is no hover over information and no deprecation highlight

<img width="289" alt="Image" src="https://github.com/user-attachments/assets/bc76f4c0-c380-4070-87c4-7c7032b1059e" />


@findleyr @adonovan
Repository: deno
Issue: Improve startup performance of `deno` command after `npm install -g deno`
Labels: perf

npm adds about ~200ms to running `deno`. We could improve the performance by pointing to the binary directly instead of going through a JS file.
Repository: storybook
Issue: [Bug]: Vue3 sourcecode does not reflect given template
Labels: bug,block: source,vue3

### Describe the bug

When editing stories, sometimes you need to create your own `template` from the setup function, to inject big content into slots (which contain subcomponents).
It was working for me with the `v8.2.9`, but after the migration (currently `8.5.0`) nothing is working as expected.

The only code output I have is the name of the component, its args if given, and that's it.
To be honest I'm quite surprised, because there is no specific configuration/context to reproduce it. It's directly reproducible from a fresh project.

Is there anything new since the 8.4.0 ? Do we have to use only args with named slots into it to render our slots and have the right code snippet ? It doesn't work anyway when tryin to render other Vue components into it, from a basic string.

Thanks !

### Reproduction link

None

### Reproduction steps

1. Create a new storybook project, from scratch in an empty directory: `npx storybook@8.5.0`
2. Select `@storybook/vue3-vite` from the prompt
3. Run the storybook locally
4. Edit the Button example component (`src/stories/Button.vue`) generated by default, and add a default slot
5. Change the story of the Button component, to use the setup system like following : 

```
export const Primary: Story = {
  render: (args: any) => ({
    components: { Button },
    setup() {
      return { args };
    },
    template: 'Test',
  }),
  args: {
    primary: true,
    label: 'Button',
  },
};
```

The code snippet should render "Test" only, but it does not. 
I only have 

```
<template>
  <Button :primary="false" />
</template>
```

![Image](https://github.com/user-attachments/assets/0d0a7322-2ed2-481a-920e-136c0cfe3885)

### System

```bash
Storybook Environment Info:
  Binaries:
    Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
    npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
    pnpm: 8.7.5 - ~/.nvm/versions/node/v18.17.1/bin/pnpm <----- active
  Browsers:
    Chrome: 131.0.6778.204
  npmPackages:
    @storybook/addon-essentials: 8.5.0 => 8.5.0 
    @storybook/addon-interactions: 8.5.0 => 8.5.0 
    @storybook/addon-onboarding: 8.5.0 => 8.5.0 
    @storybook/blocks: 8.5.0 => 8.5.0 
    @storybook/test: 8.5.0 => 8.5.0 
    @storybook/vue3: 8.5.0 => 8.5.0 
    @storybook/vue3-vite: 8.5.0 => 8.5.0 
    storybook: 8.5.0 => 8.5.0
```

### Additional context

_No response_
Repository: vscode
Issue: color the outline header
Labels: feature-request,notebook-toc-outline

<!-- ⚠️⚠️ 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. -->

using Jupiter notes for studying and documenting , it would be helpful if there is an ability to color the markdown headers in the outline to highlight important sections .
Repository: PowerToys
Issue: PowerToys Peek degraded performance on win11
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.86.0

### Installation method

WinGet

### Running as admin

No

### Area(s) with issue?

Peek

### Steps to reproduce

open a video with peek and switch between videos using the arrow keys

### ✔️ Expected Behavior

Instant video playback

### ❌ Actual Behavior

video hangs(frozen frame) for a biref moment before playback which wasn't the case before "upgrading" to windows 11

### Other Software

_No response_