sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: Inherited environment variables don't work (for the very first tab)
Labels: Issue-Bug,Product-Terminal,Area-Windowing

### Windows Terminal version

1.18.2822.0

### Windows build number

_No response_

### Other Software

_No response_

### Steps to reproduce

- Launch wt with powershell
- execute `$env:path+=";FOO_BAR"`
- execute `wt`
- execute `$env:path` in new terminal instance

Config already contains:
"compatibility.reloadEnvironmentVariables": false

### Expected Behavior

Environment variables MUST be inherited as is the case for ages and every other terminal on Windows.
This changes causes massive issues for us as it's no longer possible to transport environment variables down the chain.

### Actual Behavior

Environment variables are not inherited.
Repository: storybook
Issue: [Documentation]: Improve addon documentation
Labels: documentation

### Describe the problem

I want to quickly make my own custom panel addon without creating a standalone package.
I followed this documentation: https://storybook.js.org/docs/vue/addons/addon-types#panels
Since I'm using vite+vue the js (or ts) extension throws an error related to jsx support, this is easily resolved by using the jsx/tsx extension so vite knows what to do with it.
The second issue that took me the longest to figure out is the file you add to the main.js/ts addon array has to have a specific name for your addon or it won't actually register. It silently fails... I finally managed to get an error when importing the file directly into the addon array instead of using a string. This error showed me a missing filename.

**TLDR;**
Explicitly mention the addon filename should be for example `register.jsx|tsx` with the available options and maybe some context as to why this is needed.
Explain addons are written with react and you have to use js**x** or ts**x** when using a non-react setup like vite+vue to get it to work (or I assume additional vite config can be used to support react in js/ts? and example would be nice)

### Additional context

I use storybook for WordPress components written in PHP (blade). This is a very custom setup for our own theme/framework. 
I wanted to add an HTML panel to show the rendered output but since it's such a custom system the available addons show my vue (proxy) component loading state instead of the actual final markup.
Repository: vscode
Issue: Test label not shown in Testing panel
Labels: polish,testing

Testing #196332

The label given in the config file isn't shown in the UI:

![Image](https://github.com/microsoft/vscode/assets/9205389/aa33da51-5770-49ee-be58-e83f6db33c7e)
Repository: stable-diffusion-webui
Issue: [Bug]: PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x00000240CBB2CDB0>
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

When dragging generated images from the output folders, this error occurs, it never happened to me before and it worked normally some versions ago. 
I installed a new NVME SSD, but I don't think this has anything to do with it.

### Steps to reproduce the problem

Drag any image from the output folders to the PNG info window.

### What should have happened?

Read the image with the corresponding metadata without problems.

### Sysinfo

[sysinfo-2023-10-25-07-57.txt](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/13162926/sysinfo-2023-10-25-07-57.txt)


### What browsers do you use to access the UI ?

_No response_

### Console logs

```Shell
Traceback (most recent call last):
  File "X:\STABLE DIFFUSION\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "X:\STABLE DIFFUSION\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1429, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "X:\STABLE DIFFUSION\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1239, in preprocess_data
    processed_input.append(block.preprocess(inputs[i]))
  File "X:\STABLE DIFFUSION\stable-diffusion-webui\venv\lib\site-packages\gradio\components\image.py", line 274, in preprocess
    im = processing_utils.decode_base64_to_image(x)
  File "X:\STABLE DIFFUSION\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 59, in decode_base64_to_image
    img = Image.open(BytesIO(base64.b64decode(image_encoded)))
  File "X:\STABLE DIFFUSION\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 3298, in open
    raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x00000240CBB2CDB0>
```


### Additional information

_No response_
Repository: transformers
Issue: Tracking full integration for fill-in-middle (FIM)
Labels: WIP,contributions-welcome

Given that most code LLMs are trained using the FIM objective [1], I think it makes a lot of sense to work on:

* A training example just like how we have it here: https://github.com/huggingface/transformers/tree/main/examples/pytorch. This can also be turned into a task guide later (example: https://huggingface.co/docs/transformers/tasks/language_modeling).
* A dedicated pipeline so that users can load FIM-trained models easily with `pipeline("fill-in-middle")`. 
* A task page to list all the relevant resources. 

Cc @ArthurZucker since we discussed it internally via Slack. 

**References**

[1] Efficient Training of Language Models to Fill in the Middle, https://arxiv.org/abs/2207.14255.
Repository: Python
Issue: Container build failed in codespaces
Labels: bug

### Repository commit

d91ca8b6b75140e04a1cea051cbf09474215a2bd

### Python version (python --version)

Python 3.11.5

### Dependencies version (pip freeze)

cfgv==3.4.0
distlib==0.3.7
filelock==3.12.4
identify==2.5.30
nodeenv==1.8.0
platformdirs==3.11.0
pre-commit==3.5.0
PyYAML==6.0.1
setuptools==68.2.2
virtualenv==20.24.6
wheel==0.41.2

### Expected behavior

Container build successfully.



### Actual behavior

Container build failed.
![image](https://github.com/TheAlgorithms/Python/assets/91361573/1a45ca2c-87f3-4c9e-b07e-1f9a17ef23a2)
Repository: ant-design
Issue: 开启table的虚拟滚动，表头会出现频发性位置错乱
Labels: 🐛 Bug,help wanted,Inactive

### Reproduction link

[https://gitee.com/RondoLin/table-virtual-bug.git](https://github.com/ant-design/ant-design/issues/url)

### Steps to reproduce

开启table的虚拟滚动，将table的横向滚动条左右托动。

### What is expected?

表头位置不会错乱

### What is actually happening?

表头会出现频发性位置错乱，会向左方偏移。

| Environment | Info |
| --- | --- |
| antd | 5.10.2 |
| React | 17.0.2 |
| System | window10 |
| Browser | 103.0.5060.134 |

---
官方demo例子也能复现。

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: rust
Issue: E0499 - Improved diagnostic when deref is involved
Labels: A-diagnostics,T-compiler

### Code

```Rust
struct A {
    a_value: i32,
    b: B,
}

struct B {
    b_value: i32
}

impl std::ops::Deref for A {
    type Target = B;
    fn deref(&self) -> &Self::Target {
        &self.b
    }
}

impl std::ops::DerefMut for A {
    fn deref_mut(&mut self) -> &mut Self::Target {
        &mut self.b
    }
}

fn main() {
    
    let mut a = A { a_value: 1234, b: B { b_value: 5467 } };
    
    let a_value = &mut a.a_value;
    let b_value = &mut a.b_value;
    
    println!("a_value: {}", *a_value);
    let _ = b_value;
    
}
```


### Current output

```Shell
error[E0499]: cannot borrow `a` as mutable more than once at a time
  --> src/main.rs:28:24
   |
27 |     let a_value = &mut a.a_value;
   |                   -------------- first mutable borrow occurs here
28 |     let b_value = &mut a.b_value;
   |                        ^ second mutable borrow occurs here
29 |     
30 |     println!("a_value: {}", *a_value);
   |                             -------- first borrow later used here

For more information about this error, try `rustc --explain E0499`.
```


### Desired output

```Shell
error[E0499]: cannot borrow `a` as mutable more than once at a time
  --> src/main.rs:28:24
   |
27 |     let a_value = &mut a.a_value;
   |                   -------------- first mutable borrow occurs here
28 |     let b_value = &mut a.b_value;
   |                        ^ second mutable borrow occurs here (implicit deref)
29 |     
30 |     println!("a_value: {}", *a_value);
   |                             -------- first borrow later used here
   |
   = note: a deref is implicitly occurring when accessing `b_value` on `a`, 
           therefore the fields of `a` cannot be borrowed at the same time

For more information about this error, try `rustc --explain E0499`.
```


### Rationale and extra context

Mentioning the implicit deref in such cases would be a great help for people willing to use deref on non-container types *(types that provides both public fields and deref)*.


### Other cases

_No response_

### Anything else?

_No response_
Repository: godot
Issue: GodotSynchronizationContext Task Send and Post always run on main thread?
Labels: discussion,topic:dotnet

### Godot version

4.1

### System information

win10 godot4.1-latest

### Issue description

```csharp
var Context = GodotSynchronizationContext.Current;
GD.Print($"main thread id : {Thread.CurrentThread.ManagedThreadId}");
    Task.Run(() =>
		{
			GD.Print($"thread id : {Thread.CurrentThread.ManagedThreadId}");
            Context.Send((obj) =>
            {
                GD.Print($"Send thread id : {Thread.CurrentThread.ManagedThreadId}");
            }, null);
            Context.Post((obj) =>
            {
                GD.Print($"Post thread id : {Thread.CurrentThread.ManagedThreadId}");
            }, null);
        }); 
```
### Steps to reproduce

GodotSynchronizationContext  Post run on main thread , is this a bug?
run the code
output

> main thread id : 1
thread id : 4
Send thread id : 1
Post thread id : 1

### Minimal reproduction project

 "N/A"
Repository: next.js
Issue: Parsing searchParams through URLSearchParams results in a static built page (app dir)
Labels: bug

### Link to the code that reproduces this issue

https://github.com/sean-nicholas/next-url-search-params-bug

### To Reproduce

1. Create a new page
2. Get searchParams from the page props
3. Wrap them in `const params = new URLSearchParams(searchParams)`
4. Access a property via `const name = params.get('name')`
5. Return this variable in jsx `return <div>{ name }</div>`

Example Code:

```ts
// file: src/app/not-working/page.tsx

export default function NotWorking({
  searchParams,
}: {
  searchParams: Record<string, string>
}) {
  const params = new URLSearchParams(searchParams)
  const name = params.get('name')

  return <div>Hello {name}</div>
}
```

### Current vs. Expected behavior

Currently the site is statically built, but it should be built dynamically. Here is the build output:

```
Route (app)                              Size     First Load JS
┌ ○ /                                    144 B          87.5 kB
├ ○ /_not-found                          882 B          88.3 kB
└ ○ /not-working                         145 B          87.5 kB
+ First Load JS shared by all            87.4 kB
  ├ chunks/472-b52a6e43ae18aa6e.js       32.3 kB
  ├ chunks/fd9d1056-7bc4f66d3604ee23.js  53.2 kB
  ├ chunks/main-app-217286bdf4350867.js  232 B
  └ chunks/webpack-bf1a64d1eafd2816.js   1.66 kB


○  (Static)  automatically rendered as static HTML (uses no initial props)
```

If you access `name` directly the page would be built dynamic.

### 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 23.0.0: Fri Sep 15 14:41:34 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T8103
Binaries:
  Node: 18.16.1
  npm: 9.5.1
  Yarn: 1.22.19
  pnpm: 8.9.2
Relevant Packages:
  next: 13.5.7-canary.25
  eslint-config-next: 13.5.6
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


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

App Router

### Additional context

I would love to fix the issue myself. I found `createSearchParamsBailoutProxy`. URLSearchParams does not call `get()` but `ownKeys()`. So I would add this to the proxy and call `staticGenerationBailout()`.

The only question I have is: What's the purpose of the `if` and do I need to reflect that in `ownKeys()`?

https://github.com/vercel/next.js/blob/305bb015060e82be3e6ae59a3d063c11a3e207f9/packages/next/src/client/components/searchparams-bailout-proxy.ts#L8-L9
Repository: tauri
Issue: [bug] [macOs] Tauri updater fails with "Tauri API error: Permission Denied (os error 13)" for standard (non-admin) users
Labels: type: bug,platform: macOS,status: needs triage

### Describe the bug

The built in Tauri updater (and the official updater plugin for v2) fails with a cryptic error message for "Standard" users, meaning users that are not administrators on their Mac. 

### Reproduction


https://github.com/tauri-apps/tauri/assets/1098408/b7a447d8-214d-4c28-bc90-168bddf34a50

1. Create and login to a standard user on mac (not an administrator user).
2. Download the next-newest version from https://github.com/spacedriveapp/spacedrive/releases (or any other popular tauri app)
3. Install the app to /Applications, type in an administrator username and password when prompted by the OS
4. Run the app and accept the update prompt
5. Updater fails with "Tauri API error: Permission Denied (os error 13)"

### Expected behavior

The scenario should be a first-class citizen, first of all - less cryptic error message, documented.

I have a working, semi tested version of the updater function for mac (`#[cfg(target_os = "macos")] fn copy_files_and_run`) here:
https://github.com/0rvar/tauri/commit/7c740516efaa4ff8b14b27c31d3c9a2cf54e21ed

Let me know if I should create a signed PR with this approach.

It prompts for elevated privileges if needed using Applescript. There are other approaches as well:
* Using `security_AuthorizationExecuteWithPrivileges`, but this has been deprecated for a very long time
* Using SMJobless. No idea how that works

### Platform and versions

```text
Mac, any version
```
Repository: vscode
Issue: Comments sync/resume is flaky and has unexpected UX
Labels: feature-request,ux,cloud-changes

Testing #193104

This is probably unrelated to the comments component and maybe more an issue for cloud changes in general.

I was testing with 2 windows machines opening a PR and seeing if comments synced. I only got this to work once, and its hard for me to know why it failed in some other cases.

**Things to consider:**
* this should not require me to do a change to a file for the sync of comments to work (sounds like a bug)
* I want to enable sync once and then it should work, I would not want to store/resume changes as a user action each time I switch machines

All in all I would expect this to work like settings sync: in the background ✅
Repository: next.js
Issue: Nonce is not applied to the <style /> tag while using CSS Modules. 
Labels: bug,Runtime

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/happy-mendel-rhfvvq?file=%2Fmiddleware.js%3A50%2C21

### To Reproduce

1. Run the codesandbox
2. run dev
3. The CSS module styles absent from head tag due to the CSP nonce for style-src.
4. To enable styles back comment CSP section in the middleware (They will appear in the head)

### Current vs. Expected behavior

Current
Nonce parameter is not applied to the style tag

Expected
Nonce parameter is applied to the style tag 

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
Binaries:
  Node: 18.18.2
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 13.5.7-canary.25
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.0.4
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

CSS Modules, Middleware / Edge (API routes, runtime)

### Additional context

Related issue: [https://github.com/vercel/next.js/issues/35389](https://github.com/vercel/next.js/issues/35389)
I have tested it also with production build and it seems partially works, but still not as expected.
Repository: PowerToys
Issue: "Bring To Current Screen"
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

In multi-monitor/multi-screen environments, it would be immensely useful to have a keyboard shortcut which can:

- Bring an open window onto the current screen
- Bring all open windows onto the current screen

The 'current screen' could be either the screen on which the mouse currently resides, or perhaps even display a list of available screens to allow users to manually pick the screen.

### Scenario when this would be used?

I would use this frequently; I have a multi-monitor workstation, which I remotely control. Often it is the case that a window is open on the 'wrong' screen and I have to either navigate to that screen, or repeatedly press Win+left or Win+right to bring the active window into my view.

### Supporting information

_No response_
Repository: vscode
Issue: Git - Allow users to still force push, or drive them to the new force push settings
Labels: git,under-discussion

https://github.com/microsoft/vscode/issues/190356 changed the default force push rules in VS Code. A user will now get this dialog when attempting to force push to a branch, when the force push isn't necessarily a rollback:

<img width="999" alt="image" src="https://github.com/microsoft/vscode/assets/22350/b39c5090-a4c5-459e-9a06-70aa5520c332">

Until now, this would've worked. Sure, it's destructive, but it's also what some users really want to do in that moment. Two thoughts:

- The error shown is the traditional one that used to show when the user attempted to push without "force". Showing it when using "force" is confusing, we need to change the phrasing as to why really the force push didn't work.
- Having just a setting for this is dangerous since users might then toggle the setting off and forget to toggle it back on, risking other future calls of Force Push.
- I wonder if that error dialog should now talk a little bit more about what it knows is set in VS Code and allow the user to override the behavior for that specific push error. Instead of suggesting to "Pull", maybe it's better to just say "Notice you have ifincludes enabled. Do you still want to force push the branch, potentially losing data?" with an extra button to "Yes, I know what I'm doing"
Repository: storybook
Issue: [Bug]: manager received preloadStories but was unable to determine the source of the event
Labels: bug,composition,sev:S2

### Describe the bug

I am currently facing this issue only on the deployed version, locally unable to reproduce this issue . 

I am using `"storybook": "^7.4.0"`.

Please help

<img width="738" alt="Screenshot 2023-10-25 at 6 24 22 PM" src="https://github.com/storybookjs/storybook/assets/105192459/955e7762-c449-4f8d-9740-03c6650d200a">


### To Reproduce

_No response_

### System

_No response_

### Additional context

_No response_
Repository: flutter
Issue: Implement similar widget to``AnimatedDefaultTextStyle`` but for child ``Icon``
Labels: c: new feature,f: material design,c: proposal,P3,team-design,triaged-design

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

I have a ``Row``with a ``Text``and an ``Icon`` as children. I'm using ``AnimateDefaultTextStyle`` to animate the color change and the fontWeight change on the text, but I want to apply that same color animation that the text has, to the icon. 

### Proposal

``AnimateDefaultTextStyle`` should also affect to child ``Icon``. Based on the use case I commented, If I want to also animate the color change on the icon, apart of the text, I have to create an animation controller and the animation just for the icon, because the text does that with the ``AnimateDefaultTextStyle``.
The alternative would be to create a widget similar to ``AnimateDefaultTextStyle`` but for ``Icon``.
Repository: godot
Issue: Window transparency enabled + a hidden screen-reading shader over a Camera3D makes the game window semi-transparent
Labels: bug,topic:rendering

### Godot version

v4.1.2.stable.official [399c9dc39], v4.2.beta3.official [e8d57afae], Forward+

### System information

Godot v4.2.beta3 - Windows 10.0.19044 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.3699) - Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz (4 Threads)

### Issue description

There seems to be a bug with sampling the screen texture when:

1. Window transparency is enabled
2. A canvas item that has a material with a screen-reading shader is *hidden*, i.e. this node's `visibility` is `false`
3. The scene is 3D
4. Only in Forward+

It only seems to happen when *all* of these are true.

![transparency_bug](https://github.com/godotengine/godot/assets/22931572/7baba81a-3068-4c30-981d-07f76df59cea)

A workaround is to keep the node visible and instead set the alpha of its `modulate` to 0

I think #78207 could be related, but I haven't found any other issue with this problem

### Steps to reproduce

1. Start a project in Forward+
2. Enable Window Transparency in the project settings (`display/window/size/transparent`, and other settings related to transparency do not seem to affect this issue)
3. Add a ColorRect covering the screen, add a ShaderMaterial to it with the following shader:
```
shader_type canvas_item;

uniform sampler2D screen_texture : hint_screen_texture;

void fragment() {
    COLOR = texture(screen_texture, SCREEN_UV);
}
```
4. **Hide this node**
5. Add a Camera3D to the scene


### Minimal reproduction project

[Transparency Bug Minimal Repro.zip](https://github.com/godotengine/godot/files/13166596/Transparency.Bug.Minimal.Repro.zip)
Repository: godot
Issue: WorldEnvironment glow has no effect in EditorPlugin
Labels: topic:editor,topic:plugin,needs testing

### Godot version

v4.2.beta2.official [f8818f85e]

### System information

Vulkan API 1.3.205 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 3060 Ti

### Issue description

WorldEnvironment glow has no effect in EditorPlugin when addon activated.

<img width="767" alt="屏幕截图 2023-10-25 213224" src="https://github.com/godotengine/godot/assets/42859362/b9a80851-5a39-4fa3-858d-db7ef72a20f5">
<img width="584" alt="屏幕截图 2023-10-25 213258" src="https://github.com/godotengine/godot/assets/42859362/449a0200-67a7-4923-9af8-3849ecc752fe">


### Steps to reproduce

NA

### Minimal reproduction project

[test_worldenvironment_in_editorplugin.zip](https://github.com/godotengine/godot/files/13166625/test_worldenvironment_in_editorplugin.zip)
Repository: deno
Issue: Storing non-extractable CryptoKeys in Deno.Kv
Labels: feat,ext/kv

In Deno, is there any way to persist a non-extractable `CryptoKey` (e.g. the private key of a ed25519 keypair)?

Browsers are able to store and retrieve non-extractable webcrypto private keys in IndexedDB.

Could Deno.Kv recreate this behaviour?

As of 1.37.2, Deno.Kv will let me set a `CryptoKey`, but I don't think this does anything. When I query it back I get an empty object.