sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: storybook
Issue: [Bug]: [plugin:storybook:vue-docgen-plugin] Could not parse template expression
Labels: bug,needs triage

### Describe the bug

Hey, I'm encountering this bug also in **Storybook 7.3.0**. I've got a custom onClick event, where I am setting to values: 
```
@scuclick="{
      (showServerAssets = true), (managingServer = false);
   }"
```
This resolves in the error [plugin:storybook:vue-docgen-plugin] Could not parse template expression Unexpected token (3:16)

### To Reproduce

<script lang="ts" setup>
const managingServer = ref(false);
const showServerAssets = ref(false);

</script>
<template>
<Button
  @onClick="
   {
      (showServerAssets = true), (managingServer = false);
    }"
/>
</template>

### System

```shell
System:
    OS: macOS 13.2.1
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 19.5.0 - /opt/homebrew/bin/node
    npm: 9.3.1 - /opt/homebrew/bin/npm
  Browsers:
    Edge: 115.0.1901.183
    Safari: 16.3
  npmPackages:
    @storybook/addon-actions: ^7.3.0 => 7.3.0 
    @storybook/addon-essentials: ^7.3.0 => 7.3.0 
    @storybook/vue3: 7.3.0 => 7.3.0 
    @storybook/vue3-vite: ^7.3.0 => 7.3.0
```


### Additional context

_No response_
Repository: godot
Issue: Does not run on the RISC-V64, VisionFive2 SBC,
Labels: bug,platform:linuxbsd,topic:buildsystem,topic:porting,crash

### Godot version

3.5stable

### System information

Debian

### Issue description

Godot Engine v3.5.2.stable.custom_build.170ba337 - https://godotengine.org
free(): invalid pointer
Aborted

what should i do?

on VisionFive2 

### Steps to reproduce

make and run

### Minimal reproduction project

any
Repository: material-ui
Issue: [docs-infra] Improve google search results
Labels: discussion,scope: docs-infra

When searching for a component, on Google, results contain a mix of demo and API pages.

![image](https://github.com/mui/material-ui/assets/45398769/074c7178-c453-49ba-a39e-d3fb275ee6b1)

I doubt anyone would like to land on an API page from Google search. Maybe it could be interesting to have a [sitemap](https://www.sitemaps.org/fr/protocol.html) with low `priority` on API pages and high priority on demo pages.
Repository: storybook
Issue: [Bug]: Autodocs not working with Lit component
Labels: documentation,web-components,lit

### Describe the bug

When using the `tags: ["autodocs"]` feature together wit a Lit component the jsdoc comments in the component file do not show up in the Storybook docs page.

### To Reproduce

https://codesandbox.io/p/sandbox/storybook-lit-and-autodocs-gzktrj?file=/stories/Button.js:7,15

To use: 
`npm i`
followed by `npm run dev`

This repo has a clean install using `npx storybook@latest init`

In the wizard I chose vite and web-components.

`Button.js` has jsdoc comments at the top. These comments do not show up in the corresponding docs page.

### System

```shell
Environment Info:

  System:
    OS: macOS 13.4.1
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
  Binaries:
    Node: 16.20.0 - ~/.nvm/versions/node/v16.20.0/bin/node
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.0/bin/npm
  Browsers:
    Chrome: 116.0.5845.96
    Safari: 16.5.2
```


### Additional context

_No response_
Repository: material-ui
Issue: [Tabs][Joy] KeepMounted property added on the latest version of Joy doesn't work as expected
Labels: component: tabs,package: joy-ui,enhancement

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

When the `keepMounted` prop is applied to a TabPanel, the panel remains visible at all times, even if it's not the currently selected tab. This behavior is not desirable, as it can lead to confusion for users and might impact the overall performance if the content within the panels is resource-intensive. It's crucial that we evaluate the possibility of deferring the mounting of TabPanel components until they are selected for the first time.

### Current behavior 😯

_No response_

### Expected behavior 🤔

_No response_

### Context 🔦

_No response_

### Your environment 🌎

_No response_
Repository: vscode
Issue: Bracket pair colorizing fails in nested template strings 
Labels: bug,bracket-pair-colorization

Type: <b>Bug</b>

The following line of code has a template placeholder `${getWorld((5 - 1) + "123"[2])}` two times. On the top level of the template string and inside another template string inside a placeholder.

```
    test = `Hello, ${getWorld((5 - 1) + "123"[2])} ${`${getWorld((5 - 1) + "123"[2])}`}`;
```

![image](https://github.com/microsoft/vscode/assets/11886663/c85d7de4-b9ae-48ec-972d-2418c1c01051)


The one in the top level gets the bracket pair colorized and the one deeper doesn't.

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621


<!-- generated by issue reporter -->
Repository: go
Issue: crypto/x509: AKI (Authority Key Id) exclusion logic is broken
Labels: NeedsInvestigation

[Fix](https://go.googlesource.com/go/+/b623b71509b2d24df915d5bc68602e1c6edf38ca%5E%21/) for a previous issue #15194, in 2016, introduces a breaking change,
where AKIs suddenly stops appearing in created certificates after the
golang upgrade.

The main case for the original issue is probably not an issue for 
actually self-signed certificates. But; the logic for excluding AKI
from output, instead of comparing KeyIds, it compares `Subject`(CN)s.

So if you use same CNs for a CA and a certificate to sign, the 
signed certificate will not have AKI included, even though it is not
self-signed at all.

This change caused us quite a deal of confusion, and months of delay
for upgrading our tooling. Workaround wasn't obvious, we just tried
changing CN fields after so many things. And it just worked, which
confused us even more.

### go version

1.7+

### Does this issue reproduce with the latest release?

I believe so, but did not do a through testing.

### What did you do?

The problem was observed when upgrading CFSSL from 1.2 to 1.6.
Which indicates this change in the [README:158](https://github.com/cloudflare/cfssl/blob/f4c754536a79a03d09131f3f997a3134db34661a/README.md?plain=1#L158).


### What did you expect to see?

AKI omission decision to be made by checking if KeyIds are actually same or not.

```go
if len(parent.SubjectKeyId) > 0 && template.SubjectKeyId != parent.SubjectKeyId ...
```

### What did you see instead?

to decide KeyId is same, comparison is done on `Subject` fields :(

```go
if !bytes.Equal(asn1Issuer, asn1Subject) && len(parent.SubjectKeyId) > 0 ...
```
Repository: godot
Issue: In the Animation Editor, animation is played when you press RMB + A and D keys if 2 or more viewports are open.
Labels: bug,topic:editor,topic:animation

### Godot version

Godot 4.1.1 stable

### System information

Windows 11

### Issue description

In the Animation Editor, animation is played when you press RMB + A and D keys (just fly in 3d scene) if 2 or more viewports are open.

https://github.com/godotengine/godot/assets/61734748/5c7a3ae2-6a60-48a4-88a1-466786b5379f



### Steps to reproduce

1) create simple animation with 2 or more keys
2) select 2 viewports view
3) open animation tab
4) just fly around scene in one of 2 viewport -- you wil see that animation plays 

### Minimal reproduction project

[animaton-2viewports-issue.zip](https://github.com/godotengine/godot/files/12358490/animaton-2viewports-issue.zip)
Repository: vscode
Issue: notebook find replace instance does not increment to next match correctly
Labels: bug,notebook-find

running on Ventura 13.5 Mac OS. 

https://github.com/microsoft/vscode/assets/19147547/b69f6797-3a20-4b8a-97b3-641b89ce91c7


```
Version: 1.80.2 (Universal)
Commit: 2ccd690cbff1569e4a83d7c43d45101f817401dc
Date: 2023-07-27T21:05:41.366Z
Electron: 22.3.14
ElectronBuildId: 22695494
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.6.0
Steps to Reproduce:
```

1.  open replace in python notebook, selection jumps from double digit number eg. 26 to 6
It should continue with 26 
(it doesn't matter whether there is filter or it is not, in video code cell source is selected) 

This bug doesn't occur in python files. 

Please fix this, I find this really annoying. 
If you need any more infromation about extensions, just let me know.
Repository: deno
Issue: Support importing `.geojson` files
Labels: bug

`import ... with { type: "json" }` allows loading any file that has a JSON MIME type (step 9 of HTML's [fetch a single module script](https://html.spec.whatwg.org/#fetch-a-single-module-script)). A JSON MIME type is `application/json`, `text/json`, or any that ends in `+json` (https://mimesniff.spec.whatwg.org/#json-mime-type).

GeoJSON files have `application/geo+json` MIME type (https://www.iana.org/assignments/media-types/application/geo+json), and as such HTML supports them.

It would be great if Deno could align with browsers on this, by allowing imports of `.geojson` files. Note that I didn't test what happens in Deno when loading a remote file with `application/geo+json` MIME type, but only when loading local file with the `.geojson` extension.
Repository: electron
Issue: [Bug]: Enabling Vibrancy and backdrop-filter blur doesn't render properly
Labels: bug :beetle:,has-repro-gist,25-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

25.5.0

### What operating system are you using?

macOS

### Operating System Version

macOS sonoma 14

### What arch are you using?

arm64 (including Apple Silicon)

### Last Known Working Electron version

_No response_

### Expected Behavior

Have an electron application with vibrancy enabled. Get some text or other element absolutely positioned and add another element with both a transparent background and the backdrop-filter set to blur(10px) (or any value). This should just have the text in the background render blurred.

### Actual Behavior

However the text in the background gets blurred and not at the same time. An example can be found under the additional informations section

### Testcase Gist URL

_No response_

### Additional Information

I have used the latest bleeding edge version of vscode for this using the vibrancy extension to add vibrancy to vscode. As you can see I added the background color and the backdrop-filter and it produces a weird effect.

<img width="1800" alt="image" src="https://github.com/electron/electron/assets/48829979/3f03e13a-1380-4edb-af77-2b5bef2b51e7">

I also tried this in plain html and chrome (minus the vibrancy of the browser of course) and it works as expected.

<img width="1800" alt="image" src="https://github.com/electron/electron/assets/48829979/bf979118-099a-4f91-897b-cc92d379ccee">

This seems to also affect other operating systems as well. I sadly cannot test it myself but I saw that another issue that tackled the same bug as I do here (that issue now has an unsupported electron version) had reports from both windows and macOS. [This](https://github.com/electron/electron/issues/19765#issue-480974006) is the issue I referenced.
Repository: rust
Issue: Branch elimination not performed on dead store / failure to introduce a spurious store
Labels: I-slow,T-compiler,C-bug,C-optimization

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```rust
pub fn bar(count: &mut usize, n: usize) {
    for i in 0..n {
        *count = count.wrapping_add(1);
    }
}
```

I expected to see this happen:
```asm
example::bar:
        add     qword ptr [rdi], rsi
        ret
```

Instead, this happened:
```asm
example::bar:
        test    rsi, rsi
        je      .LBB1_2
        add     qword ptr [rdi], rsi
.LBB1_2:
        ret
```

The missed branch is going to be much more expansive than throwing something in a store buffer. Maybe you could argue the compiler thinks n=0 is going to be common, but I find that unlikely.

I'm pretty sure Rust's ownership system allows inserting stores that didn't exist because an `&mut` can't be used on another thread.
Repository: rust
Issue: Incomplete assertions in `shrink_to_fit` example
Labels: A-docs,T-libs

### Location

https://github.com/rust-lang/rust/blob/2bc7929138a3e1460cac48fcd320f87d1da5ceaf/library/std/src/collections/hash/map.rs#L799

### Summary

When reading the [`shrink_to_fit`](https://github.com/rust-lang/rust/blob/2bc7929138a3e1460cac48fcd320f87d1da5ceaf/library/std/src/collections/hash/map.rs#L799) docs, I noticed that the last assertion isn't meaningful since removing the line `map.shrink_to_fit();` wouldn't make the assertion fail.

I propose adding another `assert!` at the end of the example: `assert!(map.capacity() < 100);` which does fail if you remove the call to `shrink_to_fit()` as you can see in this [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b4df4d18d794ee86358e39208a4ed48b).
    
````rust
/// Shrinks the capacity of the map as much as possible. It will drop
/// down as much as possible while maintaining the internal rules
/// and possibly leaving some space in accordance with the resize policy.
///
/// # Examples
///
/// ```
/// use std::collections::HashMap;
///
/// let mut map: HashMap<i32, i32> = HashMap::with_capacity(100);
/// map.insert(1, 2);
/// map.insert(3, 4);
/// assert!(map.capacity() >= 100);
/// map.shrink_to_fit();
/// assert!(map.capacity() >= 2);
/// ```
````

This is also the case in `shrink_to`. I'm happy to open a simple PR for these if you think it's an improvement.
Repository: vscode
Issue: One particular Jupyter Notebook not responding after returning
Labels: bug,freeze-slow-crash-leak,under-discussion,notebook

<!-- ⚠️⚠️ 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/No
Since the problem happens with a Jupyter Notebook, I've disabled all extenstions execept:
- Jupyter extensions that haven't been updated in months
- The main Jupyter Notebook itself (older build)
- Python (Newest version).
It still occurs then.

<!-- 🪓 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.81.1 (user setup)
Date: 2023-08-09T22:22:42.175Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.22621

After coming back from vacation, I tried to run 2 of my .ipynb files that worked fine prior. While one works as normal, the other gives me a 'The window is not responding' error (see below) after barely any time, even less if running any code.

![image](https://github.com/microsoft/vscode/assets/100164994/5cbafa69-82c6-482d-9e26-5c36801f3bf2)

Steps to Reproduce:

1. SSH to the host where I'm storing my work
2. Open up the file
3. Either scrolling around a bit or trying to import some packages and defining some constants
4. The error message pop-up.

As stated prior, this doesn't happen to the other file, or after trying others, them either. This was working fine prior but has suddenly stopped working. My best guess is that it is a longer file, so that could be a part of the problem.
I'm not using McAfee and I've tried going back to older packages.
Due to the file not responding after a while, I'm not quite able to see if anything about it is behaving oddly beyond that.

I hope you may have some ideas.

Quick edit: Trying to copy segments of code from the old file to a new one to see where and if that breaks it.

Kind regards
-Magnus
Repository: rust
Issue: Possibly broken llvm pass ordering: flickering optimization
Labels: A-LLVM,I-slow,C-bug,C-optimization

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```rust
pub fn bar(count: &mut usize, n: usize) {
    for i in 0..n {
        if *count == 0 {
            assert!(i == 0);
            // unsafe {see();}
        }

        *count = count.saturating_add(1);
    }
}

extern "Rust" {
    fn see();
}
```

The assert is still present in the generated assembly. Very weirdly though, uncommenting the `see` method call makes the optimization work.
Repository: next.js
Issue: Envs that are not NEXT_PUBLIC are undefined in middleware.ts on vercel
Labels: bug,Runtime

### Verify canary release

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

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000
    Binaries:
      Node: 18.14.2
      npm: 9.6.2
      Yarn: 1.22.19
      pnpm: N/A
    Relevant Packages:
      next: 13.4.13-canary.6
      eslint-config-next: 13.4.12
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 4.9.5
    Next.js Config:
      output: N/A
```


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

Middleware / Edge (API routes, runtime)

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

vercel

### To Reproduce

- Define env without NEXT_PUBLIC (ex: MY_VAR=foo) into `.env.local`
- npx vercel build
- npx vercel deploy --prebuilt --archive=tgz
- try to log it or use in `middleware.ts`

I cannot reproduce the bug locally, the env variables are correctly defined when using npm run dev

### Describe the Bug

Any env that is not using NEXT_PUBLIC is undefined in the middleware.

ENV defined on vercel seems to be working but we noticed that using env variable directly on vercel works for production deployment. It does not work for preview / dev deployment.

We deploy our site with:

`npx vercel build --prod && npx vercel deploy --prebuilt --archive=tgz --prod and npx vercel build && npx vercel deploy --prebuilt --archive=tgz`

Not sure why there is this inconsistency. Also worth noting that we do not (don't want) to use vercel env variable since we inject them on some other CI inside .env files.

### Expected Behavior

any server env should be available in middleware since it's server code.

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

_No response_

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

_No response_
Repository: vscode
Issue: Inconsistencies between `vscode-uri` and `uri` typings
Labels: debt,uri

**Description**

The [vscode-uri](https://github.com/microsoft/vscode-uri) module and typings from the application are inconsistent, is this expected?

For instance, the interface `UriComponents` is defined differently:
- [vscode-uri](https://github.com/microsoft/vscode-uri/blob/5af89bac2109c0dc7f904b20cc88cac0568747b1/src/uri.ts#L380-L386)

```ts
export interface UriComponents {
	scheme: string;
	authority: string;
	path: string;
	query: string;
	fragment: string;
}
```

- [vscode](https://github.com/microsoft/vscode/blob/85dab33f18ea9e16a36609cd203e1f18b1d76e45/src/vs/base/common/uri.ts#L418-L424)

```ts
export interface UriComponents {
	scheme: string;
	authority?: string;
	path?: string;
	query?: string;
	fragment?: string;
}
```


<!-- ⚠️⚠️ 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: 1.81.1
- OS Version: Ubuntu 20.04.6 LTS

Steps to Reproduce:

1. N/A