sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Format on save is aborted when interacting with the editor
Labels: bug,formatting

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

## Steps to Reproduce

1. Install a formatter that takes a significant amount of time for large files (for example [YAPF](https://marketplace.visualstudio.com/items?itemName=eeyore.yapf) for Python). Note while this might require the installation of an extension, the bug is still located within the code of VS Code. With a large enough file, you can probably reproduce this with VS Code's built-in formatters as well.
2. Set `"editor.formatOnSave": true` in the settings of VS Code.
3. Open a large file so that formatting takes long enough (for YAPF, any Python file with more than 1000 lines will do).
4. Make some changes to the file make the file unformatted.
5. Save.
6. Wait until the `Saving '[...]': Running Code Actions and Formatters...` message is displayed in the status bar and the `Running '[...]' Formatter` notification is shown.
7. Before the formatter finishes and VS Code saves the formatted file, do any of the following:
   * Click anywhere in the editor so that the position of the caret is changed.
   * Press any of the four arrow keys.
   * Change the active file in the editor by clicking on another editor tab.

## Expected Behavior

The file is formatted and saved as soon as the formatter finishes.

## Actual Behavior

The file is neither formatted nor saved, even if waiting long enough. This is also indicated by the status bar message and notification immediately vanishing when performing any of the actions in step 7 above.

## Additional Information

- VS Code Version: 1.96.3
- OS Version: Windows 11
- This issue was originally included in #238044, but has been moved to separate feature request from bug report.
Repository: go
Issue: cmd/link: unexpected R_386_GOT32 relocation
Labels: NeedsInvestigation,compiler/runtime

### Go version

go version go1.23.4 linux/386

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='386'
GOBIN=''
GOCACHE='/builddir/.cache/go-build'
GOENV='/builddir/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='386'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/builddir/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/builddir/go'
GOPRIVATE=''
GOPROXY='direct'
GOROOT='/usr/lib/golang'
GOSUMDB='off'
GOTMPDIR=''
GOTOOLCHAIN='local'
GOTOOLDIR='/usr/lib/golang/pkg/tool/linux_386'
GOVCS=''
GOVERSION='go1.23.4'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/builddir/.config/go/telemetry'
GCCGO='gccgo'
GO386='sse2'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m32 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3544270386=/tmp/go-build -gno-record-gcc-switches'
```

### What did you do?

Compile the following program using GCC 15.0.1.
```
sh-5.2# gcc --version
gcc (GCC) 15.0.1 20250114 (Red Hat 15.0.1-0)

sh-5.2# cat test.go
package main

/*
extern void crosscall2 (void (*fn) (void *, int), void *, int);
extern void _cgo_panic (void *, int);
extern void _cgo_allocate (void *, int);

void
callPanic (void)
{
	  struct { const char *p; } a;
	  a.p = "panic from C";
	  crosscall2 (_cgo_panic, &a, sizeof a);
	  *(int*) 1 = 1;
}
*/
import "C"

func main() {
	C.callPanic()
}

sh-5.2# CGO_CFLAGS="-O2 -m32 -fpic" go build -ldflags "-linkmode internal" test.go 
```

This issue is also present when running `go tool dist test -run=^cmd/cgo/internal/test:internal$` using GCC 15.0.1.

### What did you see happen?

The Go linker encounters an unexpected relocation in GCC emitted object code.
```
sh-5.2# CGO_CFLAGS="-O2 -m32 -fpic" go build -ldflags "-linkmode internal" test.go 
# command-line-arguments
main(.text): unexpected GOT reloc for non-dynamic symbol _cgo_panic
main(.text): unsupported dynamic relocation for symbol _cgo_panic (type=259 (R_386_GOT32) stype=1 (STEXT))
```

The linker is expecting to find the instruction `pushl	_cgo_panic@GOT(%ebx)`, but instead encounters `pushl	_cgo_panic@GOT(%eax)`.  According to gcc devs, [this is valid (though sub optimal) code that the Go linker should handle](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118497).

### What did you expect to see?

The example program should build and link correctly.
Repository: langchain
Issue: UnstructuredPDFLoader - No module named 'pdf2image'
Labels: 🤖:bug

### Checked other resources

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

### Example Code

```py
# main.py
from langchain_community.document_loaders import UnstructuredPDFLoader
loader = UnstructuredPDFLoader("example.pdf")
docs = loader.load()
```

```bash
pip install -U langchain-community unstructured
python3 main.py
```


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

```
File "/Users/.../env/lib/python3.13/site-packages/unstructured/partition/pdf.py", line 25, in <module> import pdf2image
ModuleNotFoundError: No module named 'pdf2image'
```

### Description

I follow this [guide on UnstructuredPDFLoader](https://python.langchain.com/docs/integrations/document_loaders/unstructured_pdfloader/).

I am trying to use `UnstructuredPDFLoader` but `.load()` throws the `ModuleNotFoundError: No module named 'pdf2image'` error.

Expected: Running `python3 main.py` should work.

Actual: `ModuleNotFoundError: No module named 'pdf2image'`


### System Info

Python: 3.13.0
langchain-community==0.3.14
unstructured==0.11.8
Repository: PowerToys
Issue: Eternal process PowerToys.Settings.exe
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.1

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

The PowerToys.Settings.exe process is constantly running in the background and is taking up RAM resources. Can this be removed?

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: storybook
Issue: [Bug]: Sidebar item hover background colour makes text unreadable
Labels: bug,ui,accessibility,upgrade:8.5

### Describe the bug

The sidebar item hover background colour variable "--tree-node-background-hover" is being updated on hover and focus to a lighter or darker shade of the themes secondary colour but the font colour is not being updated to accommodate this change mean that now the text is unreadable when the items are in hover or focus.

![Image](https://github.com/user-attachments/assets/d6eb82ce-77df-475e-87e7-3dbf06f57ac8)

### Reproduction link

https://stackblitz.com/edit/github-djnsqscp?file=package.json

### Reproduction steps

1. Update from 8.4.7 to 8.5.0+
2. Set colorSecondary for the storybook theme to a dark colour eg. #1a115a
3. Run storybook
4. hover/focus on unselected items within the sidemenu are now almost unreadable

### System

```bash
Storybook Environment Info:

  System:
    OS: macOS 15.2
    CPU: (12) arm64 Apple M3 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.18.0 - /usr/local/bin/node
    npm: 10.8.2 - /usr/local/bin/npm <----- active
  Browsers:
    Chrome: 132.0.6834.84
    Edge: 131.0.2903.147
    Safari: 18.2
  npmPackages:
    @storybook/addon-a11y: ^8.4.7 => 8.5.0 
    @storybook/addon-docs: ^8.4.7 => 8.5.0 
    @storybook/addon-essentials: ^8.4.7 => 8.5.0 
    @storybook/addon-links: ^8.4.7 => 8.5.0 
    @storybook/addon-themes: ^8.4.7 => 8.5.0 
    @storybook/blocks: ^8.4.7 => 8.5.0 
    @storybook/html: ^8.4.7 => 8.5.0 
    @storybook/html-webpack5: ^8.4.7 => 8.5.0 
    @storybook/manager-api: ^8.4.7 => 8.5.0 
    @storybook/preview-api: ^8.4.7 => 8.5.0 
    @storybook/theming: ^8.4.7 => 8.5.0 
    storybook: ^8.4.7 => 8.5.0 
    storybook-addon-pseudo-states: ^4.0.2 => 4.0.2 
    storybook-addon-tag-badges: ^1.4.0 => 1.4.0 
    storybook-addon-turbo-build: ^2.0.1 => 2.0.1 
    storybook-dark-mode: ^4.0.2 => 4.0.2 
    storybook-preset-inline-svg: ^1.0.1 => 1.0.1
```

### Additional context

_No response_
Repository: PowerToys
Issue: Text extractor - Handling non langual text
Labels: Needs-Triage

### Description of the new feature / enhancement

Being able to extract text from an image that is not made of words.

### Scenario when this would be used?

For instance, having links, codes, pseudos, things like this. These days we have more and more text that are not words, it would be usefull to have this enhancement.

### Supporting information

_No response_
Repository: node
Issue: http2: confusion with how aborted ClientHttp2Stream is reported
Labels: http2

Take this sample code:
```js
const h2 = require('http2');

const server = h2.createServer();
server.on('stream', (stream) => {
  stream.session.destroy();
});

server.listen(0, () => {
  const client = h2.connect(`http://localhost:${server.address().port}`);

  client.on('close', () => {
    server.close();;
  });

  const clientStream = client.request();
  clientStream.on('aborted', () => {
    // Never called
    console.log('aborted');
  });

  clientStream.on('close', () => {
    // `rstCode === 8 (NGHTTP2_CANCEL) 
    console.log('close', clientStream.rstCode);
  });
  
  clientStream.on('error', (err) => {
    // Never called
    throw err;
  });
});
```
in which `clientStream` is aborted before any response is generated via the `stream.session.destroy()` call. I would expect in this case `clientStream` to emit an `error`, but by looking at the [code](https://github.com/nodesource/nsolid/blob/61bf0cd143936e1650527903bbee0926945c8ba2/lib/internal/http2/core.js#L2358-L2362), this specific case is explicitly not reporting the error because:

>  // RST code 8 not emitted as an error as its used by clients to signify
    // abort and is already covered by aborted event, also allows more
    // seamless compatibility with http1

but, as demonstrated in the example, the `aborted` event is not reported. I don't know exactly what the http1 compatibility means in this context.

Also, if we look at the documentation of the [`Http2Stream` `close` event](https://nodejs.org/api/http2.html#event-close_1), it seems to contradict the following statement:

> The HTTP/2 error code used when closing the stream can be retrieved using the http2stream.rstCode property. If the code is any value other than NGHTTP2_NO_ERROR (0), an 'error' event will have also been emitted.

Any thoughts whether this is a bug in the code, the documentation, both?.

Thanks!
Repository: angular
Issue: TS-994005: Angular compiler option "extendedDiagnostics.checks" has an unknown check: "skipHydrationNotStatic".
Labels: area: compiler

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

compiler-cli

### Is this a regression?

Yes

### Description

Extended diagnostic [skipHydrationNotStatic](https://angular.dev/extended-diagnostics/NG8108) does not seem to be available.

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

[Stackblitz](https://stackblitz.com/edit/stackblitz-starters-kezx2y?file=tsconfig.json)
Run `ng serve` to see the error.

### Please provide the exception or error you saw

```true
Application bundle generation failed. [39.291 seconds]

✘ [ERROR] TS-994005: Angular compiler option "extendedDiagnostics.checks" has an unknown check: "skipHydrationNotStatic".

Allowed check names are:
controlFlowPreventingContentProjection
unusedStandaloneImports
invalidBananaInBox
nullishCoalescingNotNullable
optionalChainNotNullable
missingControlFlowDirective
textAttributeNotBinding
missingNgForOfLet
suffixNotSupported
interpolatedSignalNotInvoked
uninvokedFunctionInEventBinding
unusedLetDeclaration [plugin angular-compiler]


Watch mode enabled. Watching for file changes...
```

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

```true
_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 19.1.1
Node: 20.18.1
Package Manager: yarn 1.22.22
OS: win32 x64

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

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1901.1
@angular-devkit/build-angular   19.1.1
@angular-devkit/core            19.1.1
@angular-devkit/schematics      19.1.1
@angular/cdk                    19.0.5
@schematics/angular             19.1.1
rxjs                            7.8.1
typescript                      5.7.3
zone.js                         0.15.0
```

### Anything else?

_No response_
Repository: flutter
Issue: 3.29 beta branch info
Labels: team-release

### 3.29 beta branch info ###

| Repo | Branch | Commit | 
| --- | --- | --- | 
| flutter/flutter | [flutter-3.29-candidate.0](https://github.com/flutter/flutter/tree/flutter-3.29-candidate.0) | https://github.com/flutter/flutter/commit/010c8a806bccad64ab9972286b85dd24ca98441f | 
| dart-lang/sdk | [3.7.0-323.0.dev](https://github.com/dart-lang/sdk/tree/3.7.0-323.0.dev) | https://github.com/dart-lang/sdk/commit/f6ed8d7df6bfdf6fb08b38dd93c2ee1eba476b5a |
| google/skia | as needed | https://github.com/google/skia/commit/e7b8d078851fd505475fe74359e31a421e6968ea | 

CC @christopherfujino @eyebrowsoffire @reidbaker
Repository: react
Issue: [DevTools Bug]: incorrect error on react-hooks/exhaustive-deps
Labels: Type: Bug,Status: Unconfirmed

### Website or app

http://localhost:3008/

### Repro steps

```
React Hook useMemo has unnecessary dependencies: 'store1.list' and 'store2.list'. Either exclude them or remove the dependency array. Outer scope values like 'domains.content' aren't valid dependencies because mutating them doesn't re-render the component  react-hooks/exhaustive-deps
```


For an unknown reason, it appears in the following code.
```
const list = useMemo(() => _.map(store1.list, item => ({
    ...item,
    warnings: _.map(
      _.filter(store2.list, { name: item.name }),
      ({ info }) => ({ label: `Important ${info}` })
    )
  })), [store1.list, store2.list])
```

And I am sure there is a bug because it doesn't appear in the following code:

```
const list1 = store1.list
  const list2 = store2.list
  const list = useMemo(() => _.map(list1, item => ({
    ...item,
    warnings: _.map(
      _.filter(list2, { name: item.name }),
      ({ info }) => ({ label: `Important ${info}` })
    )
  })), [list1, list2])
```


### How often does this bug happen?

Every time

### DevTools package (automated)

_No response_

### DevTools version (automated)

_No response_

### Error message (automated)

_No response_

### Error call stack (automated)

```text

```

### Error component stack (automated)

```text

```

### GitHub query string (automated)

```text

```
Repository: pytorch
Issue: Support something similar to export dynamic dims for torch.compile with fullgraph=True
Labels: triaged,oncall: pt2,module: dynamic shapes

### 🚀 The feature, motivation and pitch

In export, instead of using mark_dynamic on input Tensors, you can directly specify which inputs are dynamic or not

```
        dynamic_shapes = (({0: Dim("dim")}, None, None, None),)
        torch.export.export(
            Slice(),
            inp,
            dynamic_shapes=dynamic_shapes,
        )
```

We should support an analogous concept for torch.compile(fullgraph=True)

Note that we cannot easily support this when fullgraph=False, because a graph break inside the region will result in a bunch of intermediate tensors that won't have accurate dynamic/not dynamic annotations.

### Alternatives

_No response_

### Additional context

_No response_

cc @chauhang @penguinwu @bobrenjc93
Repository: go
Issue: proposal: cmd/go: add `work` package pattern matching all packages in work modules
Labels: Proposal,ToolProposal

### Proposal Details

I'm making this proposal to resolve #50745

This proposal is to add a new package meta-pattern to join the already existing `all`, `std`, `cmd`, and `tool` patterns. The work pattern would match all packages in the work (formerly called main) modules: either the single work module in module mode or the set of workspace modules in workspace mode.

This would allow for a single pattern to build or test all of those packages, similar to using `./...` at the root of a module to test a single module's packages.

cc @hyangah @rsc @samthanawalla
Repository: angular
Issue: i18n: RTL separated CSS files.
Labels: area: i18n

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

_No response_

### Description

Hi Angular developer ! 

I hope this catch you well ,our organization is leveraging Angular in order to develop a large-scale web application , choosing Angular was my own decision as the framework is the most organized framework out  there without any bias (: . 

You know how important for any organization to cut the maintenance costs by making it easy for developers to quickly add new features and scale up the software easily thank to the Angular way of separating folders and providing a well-organized file structures. 

In our case , we are developing a multi-language software and our default language is Arabic which is a unique-styled language as you all know , it is a RTL not LTR. 

We can easily support RTL of course by leveraging the built-in i18n or other third parties libraries and this was done by our fellow developers several time.

**The issue :**  

When the user browse the application in RTL-mode  we don't need to load the resources and CCS files of other LTR files this of course is a well-performant way as we get rid of unnecessary resources but.




- Best appreciations and regards 
Mohssine Khaloufi
   

### Proposed solution

**The  suggested Solution :**  

We need a mechanism to add a folder or a file within each component called **"componnent-rtl-css.css"** that loads depends on the selected local, this will indeed make that framework more performant and organized. 



### Alternatives considered

Instead of conditionally rendering the component.html file to check the current local (that of course consume memory and impact the performance) , why we don't just built-it by default so, we don't worry about which resource to put in action every time we switch the locals.
Repository: godot
Issue: Firefox 134 causes webexports with bigger pck files to be unable to cache correctly
Labels: bug,platform:web,confirmed,topic:thirdparty,topic:export

### Tested versions

This was tested on godot version 4.3.stable and 4.4.dev7.
It was also tested on firefox 133 and 134


### System information

Godot v4.4.dev7 - Windows 10 (build 19045) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3050 (NVIDIA; 32.0.15.6094) - AMD Ryzen 5 5500 (12 threads)

### Issue description

After the Firefox 134 update many of our users have had problem using Firefox to play godot games via web exports. It seems that a large pck file causes the Firefox cache to not work correctly, giving the following error: Couldn't load project data at path ".". Is the .pck file missing? If you've renamed the executable, the associated .pck file should also be renamed to match the executable's name (without the extension)

![Image](https://github.com/user-attachments/assets/97805c5a-1e85-4450-bd8b-3ee2ac1c4aed)

I can get it to work when disabling the cache on our live games but with the MRP I can barely get it to work after refreshing multiple times. 

### Steps to reproduce

1. Create a empty project
2. Fill the client folder with some big files so the pck size gets above 40 mb 
3. Export the project or run it with remote debug using firefox 134
4. Refresh the page a couple of times

### Minimal reproduction project (MRP)

I could not upload my MRP since it was more then 10 mb. Instead I have uploaded my MRP with only 1 bloat file called BEEG.png. To reproduce the error you will have to duplicate this file around 20 times. 

[Firefox_test.zip](https://github.com/user-attachments/files/18442457/Firefox_test.zip)
Repository: kubernetes
Issue: configure Node `ephemeral-storage` Allocatable and Capacity via kubelet pods path
Labels: area/kubelet,sig/node,kind/feature,triage/accepted

### What would you like to be added?

Ability to set the path for ephemeral storage (e.g. `/var/lib/kubelet/pods`) as opposed to relying on root directory of Kubelet.

By default Capacity and Allocatable for ephemeral-storage in standard kubernetes environment is sourced from filesystem (mounted to `rootDir` /var/lib/kubelet). This is the default location for kubelet directory.

In my use-case, I mount `/var/lib/kublet` to the root volume, but I mount `/var/lib/kubelet/pods` to a different drive. 
```
df -h
Filesystem                         Size  Used Avail Use% Mounted on
/dev/root                           39G  4.5G   35G  12% /
/dev/mapper/nvme-containerd_state  1.7T   11G  1.7T   1% /var/lib/containerd
/dev/mapper/nvme-kubelet_pods      1.7T   77G  1.6T   5% /var/lib/kubelet/pods
```

As you can see above, I allocate 1.7T to be used for ephemeral storage, but given that kubelet uses the root dir (i.e. `/var/lib/kubelet`), it defaults to size of the root drive (see blow).

```
Capacity:
  ephemeral-storage:  40462524Ki
Allocatable:
  ephemeral-storage:  38365372Ki
```

### Why is this needed?

Because the path for ephemeral storage is `/var/lib/kubelet/pods`, and not the root drive for kubelet.