sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: node
Issue: dot test-reporter includes more info
Labels: feature request,test_runner

### Version

22.2.0

### Platform

all platforms

### Subsystem

_No response_

### What steps will reproduce the bug?

- run any test with `node --test-reporter dot`
- expect to see only dots and `X`
- see stack traces instead

### How often does it reproduce? Is there a required condition?

Always

### What is the expected behavior? Why is that the expected behavior?

See only dots and `X`

### What do you see instead?

Stack traces and helpful debug info

### Additional information

See : https://github.com/nodejs/node/issues/51769

------

We rely on the previous way the dot reporter worked.
All the new output is actually breaking for us.

We picked the dot reporter for self tests on another test suite exactly because it omits debug info.

The lack of debug info and stack traces makes it a perfect smell test that runs the same on any platform.

Because this was changed in a minor node version we now have a broken main :D

I am unsure how to proceed.
Is there a way to restore the old behavior of the dot reporter?
Repository: go
Issue: x/playground: corrupted output on long slice printing
Labels: NeedsInvestigation

### Go version

1.22

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

```shell
playground
```


### What did you do?

https://go.dev/play/p/1ZOjQOU_9Wz

### What did you see happen?

The output contains corrupted data.
Some strange characters are printed, and the list of numbers is not displayed correctly.
The list doesn't start at the first number.

### What did you expect to see?

A list of increasing numbers.
Repository: pytorch
Issue: Triton kernel doing more work uses less registers
Labels: triaged,oncall: pt2

We are trying to recompute softmax in backward pass so we can save a store and load of the large [BxT, V] tensor. More context in: https://github.com/pytorch/pytorch/pull/126348

One weird thing we encounter is, the kernel in backward pass that computes gradient of softmax input now need do a bit more things (recompute softmax) but uses ***less*** registers than before. The outcome is inductor miss a much better triton config which can be picked if we scale RBLOCK down.

Old kernel without recomputation: https://gist.github.com/shunting314/f46a7598866e2ed69ce3b677a7694300 , script output:
```
rblock=2048 kernel.n_regs=40 ms=16.207
rblock=1024 kernel.n_regs=32 ms=12.833
```

New kernel with recomputation: https://gist.github.com/shunting314/7653edb6b2d036027b2ee7fd84a32353 , script output:
```
rblock=2048 kernel.n_regs=32 ms=17.223
rblock=1024 kernel.n_regs=32 ms=12.831
```

cc @Chillee , @eellison , @jansel  as FYI
cc @htyu  can we check why triton has such counter-intuitive behavior regarding register usage?
Repository: vscode
Issue: Show Quick pick if multiple extensions register `notebook.format` code action providers.
Labels: feature-request,notebook-format,notebook-code-actions

              later we can show a quick pick.

_Originally posted by @rebornix in https://github.com/microsoft/vscode/pull/212750#discussion_r1604049009_

--- 
Tie quick pick into `notebook.defaultFormatter` setting. Quick Pick should display all the extension ID's and can likely leverage the DefaultFormatter class the same as the setting to populate
Repository: go
Issue: proposal: x/exp/xiter: add Compact{,Func}{,2}
Labels: Proposal

Add
```go
func Compact[E comparable](iter.Seq[E]) iter.Seq[E]

func CompactFunc[E any](iter.Seq[E], func(E, E) bool) iter.Seq[E]
```
(and similarly for the `iter.Seq2` variants) to `x/exp/xiter`.

These are the iter equivalent of `slices.Compact{,Func}`.

In #61898, @rsc said:
> There was a suggestion to add Compact and CompactFunc, analogous to slices.Compact and slices.CompactFunc. Those seem less important for Seqs than slices, since they are intended for use after slices.Sort, and there is no xiter.Sort, nor can there be. (At that point, code might as well use slices.Collect+slices.Sort.) Filing a separate proposal for these would make sense, to separate that discussion.

There are two reasons to prefer an iterator version for slices
1. you need to keep the original with duplicates but want to walk it without
2. you no longer need the slice and could avoid moving its contents around by deduplicating online

There are nonslice uses as well
1. the input is coming from some kind of process that is sorted but may contain runs of duplicates (DB results, output of a forked process, etc.)
2. the input is unsorted but you can still ignore runs of duplicates safely
3. you're mapping the values of a seq in a way that can cause runs of duplicates in the output that weren't in the input
Repository: go
Issue: proposal: x/exp/xiter: add {Drop,Take}{,While}{,2}
Labels: Proposal

Add
```go
func Drop[K any](int, iter.Seq[K]) iter.Seq[K]

func DropWhile[K any](func(K) bool, iter.Seq[K]) iter.Seq[K]

func Take[K any](int, iter.Seq[K]) iter.Seq[K]

func TakeWhile[K any](func(K) bool, iter.Seq[K]) iter.Seq[K]
```

(and similarly for the `iter.Seq2` variants) to `x/exp/xiter`.

`t := Take(n, seq)` returns an iterator `t` that takes up to the first `n` results of `seq`. If `seq` yields `m` values than the iterator `t` yields `min(m, n)` values.

`TakeWhile(pred, seq)` is similar to `Take` except instead of taking a set number of values it yields while `pred` returns `true`.

`Drop(n, seq)` skips the first `n` results of `seq`. `DropWhile` similarly skips results while its predicate evaluates to true.

---

Note that `Take{,2}` is `Limit{,2}` in #61898. This proposal thus includes renaming that.

These names and functions are standard across all languages I checked (Python, Haskell, OCaml, Scheme). I had originally proposed these as `LimitFunc{,2}` and `Skip{,Func}{,2}` to go with `Limit` but decided to stick with the common names in this proposal.

While there is an argument to be made that `TakeFunc` etc. would be more in line with Go naming, but, in addition, to bucking the trend from other languages' libraries that doesn't say which way the predicate is used whereas While makes it clear.

Here is a link with basic examples and implementations https://go.dev/play/p/DQhz7X_95wf?v=gotip
Repository: go
Issue: google.golang.org/protobuf: TestIntegration/Go1.22.3/ProtoLegacy failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "google.golang.org/protobuf" && test == "TestIntegration/Go1.22.3/ProtoLegacy"
```

Issue created automatically to collect these failures.

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

    === RUN   TestIntegration/Go1.22.3/ProtoLegacy
        integration_test.go:134: executing (go1.22.3 test -tags protolegacy ./...): exit status 1
            ?   	google.golang.org/protobuf/cmd/protoc-gen-go/internal_gengo	[no test files]
            ok  	google.golang.org/protobuf	0.088s
            ok  	google.golang.org/protobuf/cmd/protoc-gen-go	0.088s
            ok  	google.golang.org/protobuf/compiler/protogen	0.055s
            ok  	google.golang.org/protobuf/encoding	0.058s [no tests to run]
            ok  	google.golang.org/protobuf/encoding/protodelim	0.102s
            ok  	google.golang.org/protobuf/encoding/protojson	0.210s
            ok  	google.golang.org/protobuf/encoding/prototext	0.160s
    ...
            --- FAIL: TestExtensionGetRace (0.00s)
                extension_test.go:374: marshaling goproto.proto.test.TestAllExtensions: size mismatch (see https://github.com/golang/protobuf/issues/1609): calculated=0, measured=2
            FAIL
            FAIL	google.golang.org/protobuf/proto	0.239s
            ok  	google.golang.org/protobuf/reflect/protodesc	0.035s
            ok  	google.golang.org/protobuf/reflect/protorange	0.111s
            ok  	google.golang.org/protobuf/reflect/protoreflect	0.062s
            ok  	google.golang.org/protobuf/reflect/protoregistry	0.056s
            ok  	google.golang.org/protobuf/testing/protocmp	0.138s
            ok  	google.golang.org/protobuf/testing/protopack	0.029s
            ok  	google.golang.org/protobuf/testing/prototest	1.049s
            ok  	google.golang.org/protobuf/types/dynamicpb	0.142s
            ok  	google.golang.org/protobuf/types/known/anypb	0.041s
            ok  	google.golang.org/protobuf/types/known/durationpb	0.023s
            ok  	google.golang.org/protobuf/types/known/fieldmaskpb	0.026s
            ok  	google.golang.org/protobuf/types/known/structpb	0.037s
            ok  	google.golang.org/protobuf/types/known/timestamppb	0.011s
            FAIL
    --- FAIL: TestIntegration/Go1.22.3/ProtoLegacy (57.77s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: next.js
Issue: Tab title is reset for a moment when navigating to a dynamic page
Labels: bug,Navigation

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/focused-moser-hh9nk8

### To Reproduce

1. Start the application usign `npm run dev`
2. Open sandbox preview in a new browser tab to be able to see the tab title
3. Click on a link that takes you to another page while looking at the tab title
4. If you did not notice the title reset, then refresh the page and do step 3 again

https://github.com/vercel/next.js/assets/35101788/9e53be20-e9e2-42d7-915c-69dd56384e61



### Current vs. Expected behavior

Tab title shouldn't reset when navigating to another page

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
  Available memory (MB): 4102
  Available CPU cores: 2
Binaries:
  Node: 20.9.0
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.10.2
Relevant Packages:
  next: 14.2.3 // Latest available version is detected (14.2.3).
  eslint-config-next: 14.2.1
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.5
Next.js Config:
  output: N/A
```


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

Navigation

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

next dev (local), next start (local)

### Additional context

I noticed that it doesn't happen when there is no loading.tsx file
Repository: pytorch
Issue: DISABLED test_mixed_mm_epi_works (__main__.TestPatternMatcher)
Labels: triaged,module: flaky-tests,skipped,oncall: pt2,module: inductor

Platforms: linux, rocm



This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_mixed_mm_epi_works&suite=TestPatternMatcher&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/25075228987).

Over the past 3 hours, it has been determined flaky in 2 workflow(s) with 2 failures and 2 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `test_mixed_mm_epi_works`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.



<details><summary>Sample error message</summary>

```
Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/test/inductor/test_pattern_matcher.py", line 262, in test_mixed_mm_epi_works
    self._test_mixed_impl(fn, args, True, False)
  File "/var/lib/jenkins/workspace/test/inductor/test_pattern_matcher.py", line 183, in _test_mixed_impl
    self.assertEqual("mixed_mm" in code, mixed_mm_expected)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3639, in assertEqual
    raise error_metas.pop()[0].to_error(
AssertionError: Booleans mismatch: False is not True

To execute this test, run the following from the base repo dir:
     python test/inductor/test_pattern_matcher.py -k TestPatternMatcher.test_mixed_mm_epi_works

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
```

</details>


Test file path: `inductor/test_pattern_matcher.py`

cc @clee2000 @ezyang @msaroufim @bdhirsh @anijain2305 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire
Repository: tauri
Issue: [bug] file association issues
Labels: type: bug,status: needs triage

### Describe the bug

I use file association in v2 app, and it works great in macOS. However in Linux it doesn't work at all and the app isn't suggested by right clicking some file.
In Windows it's partially works, with nsis: it doesn't list the app on right click but I also need to click "Choose another app" under the suggested apps context menu.
With msi it doesn't list it at all.


### Reproduction

Add file association to tauri app, compile and install in Linux/Windows and then right click some file with the desired extension 

### Expected behavior

It should list in suggested app just by right click some file and choosing open with

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 124.0.2478.97
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.77.1 (7cf61ebde 2024-03-27)
    ✔ cargo: 1.77.1 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.12.0
    - npm: 10.5.0
    - bun: 1.1.7

[-] Packages
    - tauri [RUST]: 2.0.0-beta.19
    - tauri-build [RUST]: 2.0.0-beta.15
    - wry [RUST]: 0.39.5
    - tao [RUST]: 0.28.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.11
    - @tauri-apps/cli [NPM]: 2.0.0-beta.17

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

Repro open source app [vibe](https://github.com/thewh1teagle/vibe)
Repository: rust
Issue: regression: reached recursion limit
Labels: P-medium,T-compiler,regression-from-stable-to-stable

- https://crater-reports.s3.amazonaws.com/beta-1.79-2/beta-2024-05-11/gh/jwiegley.motoko_parse/log.txt
```
[INFO] [stdout] error: reached the recursion limit while instantiating `<(&mut combine::parser::sequence::Skip<combine::parser::combinator::Try<combine::parser::error::Expected<..., ...>>, ...>, ..., ...) as Parser<...>>::parse_mode::<...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.2/src/parser/combinator.rs:236:15
[INFO] [stdout]     |
[INFO] [stdout] 236 |         match self.0.parse_mode(mode, input, state) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
```
Repository: storybook
Issue: [Documentation]: using children as an arg section missing completely from docs
Labels: documentation

### Describe the problem

https://storybook.js.org/docs/writing-stories/stories-for-multiple-components#using-children-as-an-arg

This section still shows up in google, and the sidebar menu item still exists, but it links nowhere and there appears to be a missing section in the docs on this page, and elsewhere seems not to be any documentation about using the `children` arg on the site anymore. As a result, I must be using it wrong because it just throws errors for me, and I can't work out how to get it to work or how its intended to be used.

1. If this feature was removed in v8 or something like this, perhaps a depreciation message would be suitable in the docs so that we don't chase a no longer supported feature, and providing an alternative encouraged approach would be appreciated 
2. If it is still supported then we need some documentation

Thanks!

### Additional context

_No response_
Repository: neovim
Issue: The statusline will be hidden when cmdheight=0 with nvim_feedkeys
Labels: bug,ui,messages

### Problem

https://github.com/hrsh7th/nvim-cmp/issues/1382
https://github.com/hrsh7th/nvim-cmp/issues/1396

The statusline is disappear when cmdheight=0 with nvim_feedkeys.

### Steps to reproduce

```
$ cat test.vim
set cmdheight=0
set laststatus=2

autocmd InsertEnter * call nvim_feedkeys(nvim_replace_termcodes('<Cmd>call v:lua.call()<CR>', v:true, v:false, v:true), 'n', v:true)

lua << END
_G.call = function()
end
END
$ nvim -u test.vim
```

* Enter to the insert mode

### Expected behavior

The statusline is shown

### Neovim version (nvim -v)

v0.11.0-dev-4515+g06135cc21

### Vim (not Nvim) behaves the same?

no

### Operating system/version

Manjaro Linux

### Terminal name/version

Alacritty 0.13.2

### $TERM environment variable

alacritty

### Installation

from repo
Repository: godot
Issue: Internal script error! Opcode: 116 (please report).
Labels: bug,topic:gdscript,needs testing,crash

### Tested versions

Reproducible on Godot 4.2.2

### System information

Godot v4.2.2.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 Ti (NVIDIA; 31.0.15.5244) - 12th Gen Intel(R) Core(TM) i9-12900K (24 Threads)

### Issue description

**Random crashes with no warning or Internal script errors (every time I run it's something else)**
I have a big project I'm working with around 50 gdscript files different player states
The project always crashes on interaction (any) and leaves me with different error codes
![test](https://github.com/godotengine/godot/assets/85768334/d7654622-3853-470d-9075-beb0d3009dd4)
![image](https://github.com/godotengine/godot/assets/85768334/38bd2222-edee-46ca-a393-5d636c538cd3)
Or just a random crash with no error code or warning
I couldn't figure out what happens on which interaction, I just know it happens with await
Please tell me if there is a way I could debug this myself since every time I run the project godot says it's a different file that causes the issue, never one specific file

### Steps to reproduce

I wish I knew, it happens mostly with await and specifically on waiting for animations with await animation_player.animation_finished (that was how I fixed the same problem last time)

### Minimal reproduction project (MRP)

I couldn't remake the project and get the same error, only in this big project I've seen it happening
Repository: react
Issue: We need a feature like Vue's Keep-alive. Because this is often a basic requirement when developing SI. I really wish this was available by default with self-support.
Labels: Status: Unconfirmed

## Summary
We need a feature like Vue's Keep-alive. Because this is often a basic requirement when developing SI. I really wish this was available by default with self-support.
<!--
  Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a
  repository on GitHub, or provide a minimal code example that reproduces the
  problem. You may provide a screenshot of the application if you think it is
  relevant to your bug report. Here are some tips for providing a minimal
  example: https://stackoverflow.com/help/mcve.
-->
Repository: PowerToys
Issue: The never ending "Permissions" issues with files, folders and pictures coming from other hard drives etc.
Labels: Needs-Triage

### Description of the new feature / enhancement

Windows sometimes "loses" the permissions for my files, even though I own them, just because I've transferred them between different drives or reinstalled Windows. Thank you in advance to all the amazing programmers who can address this issue! 

### Scenario when this would be used?

Okay, I generally manage to resolve basic issues on my own, but sometimes I resort to using NTFS Permissions Tools. I'm not an expert and would appreciate a user-friendly tool that can swiftly change ownership, grant permissions, and perform these tasks efficiently.  

### Supporting information

_No response_
Repository: godot
Issue: Attempt to open script 'XXX' resulted in error 'File not found'
Labels: bug,topic:gdscript

### Tested versions

v4.3.dev6.mono.official [89850d553]

### System information

Godot v4.3.dev6.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 5GB (NVIDIA; 31.0.15.3623) - AMD Ryzen 9 3900X 12-Core Processor (24 Threads)

### Issue description

Report follow error but I don't known how to fix it(IMO, delete `global_script_class_cache.cfg` was not a good idea):
![image](https://github.com/godotengine/godot/assets/35988767/24d65d02-e650-4635-b0e6-ddddc084690e)


### Steps to reproduce

* Create a project.
* Add a GDS `Test.gd` and set class_name `Test`
![image](https://github.com/godotengine/godot/assets/35988767/429a5c2a-d4c2-4f69-8196-40b51b6942ef)
* Close project
* Delete the `Test.gd` from folder
* Open the project
* Try add scene Node
![image](https://github.com/godotengine/godot/assets/35988767/9e8597a7-322c-4a7b-8112-631c8a8eba21)


ADDTION: This issue like https://github.com/godotengine/godot/pull/90186

### Minimal reproduction project (MRP)

See the steps.
Repository: ollama
Issue: Is there anybody who successfully imported llama-3-8b-web?
Labels: bug

I followed instructions described here [https://github.com/ollama/ollama/blob/main/docs/import.md](url).
Converted this model using options "--ctx 8192 --outtype f16 --vocab-type bpe" and quantized the result with option "q4_0". Both ended successfully.
But when using ollama to run the result, I got "Error: llama runner process no longer running: -1".

Is there anybody who successfully imported and run it?

Best regards, Bill
Repository: go
Issue: proposal: x/exp/xiter: add {All,Any,None}{,2}
Labels: Proposal

### Proposal Details

Proposed to add below funcitons:
```go
-- func Fold[A, E any](s Seq[E], init A, f func(A, E) A) A--
// Remove Fold because original proposal's `Reduce` takes an initial value.

func All[E any](s Seq[E], f func(E) bool) bool {
    return Fold(s, true, func(x bool, e E) bool { return x && f(e) })
}

func Any[E any](s Seq[E], f func(E) bool) bool {
    return ...
}

func None[E any](s Seq[E], f func(E) bool) bool {
    return ...
}
```

Same as seq2.

Different from `reduce`, `fold` needs to provide an initial value
Repository: go
Issue: proposal: x/exp/xiter: add Compare/CompareFunc{2}
Labels: Proposal

### Proposal Details

Proposed to add below functions:
```go
func Compare[E cmp.Ordered](x, y Seq[E]) int

func Compare[E any](x, y Seq[E], cmp func(E, E) int) int
```

Same as seq2
Repository: go
Issue: proposal: x/exp/xiter: add Max/Min/MinMax{Func}
Labels: Proposal

### Proposal Details

Proposed add below functions:
```go
func Max[E cmp.Ordered](s Seq[E]) E // zero length seq panics, like slices.Max

func MaxFunc[E any](s Seq[E], f func(E, E) int) E

func Min[E cmp.Ordered](s Seq[E]) E

func MinFunc[E any](s Seq[E], f func(E, E) int) E

func MinMax[E cmp.Ordered](s Seq[E]) (E, E)

func MinMaxFunc[E any](s Seq[E], f func(E, E) int) (E, E)
```
Repository: go
Issue: proposal: x/exp/xiter: add IsSorted/IsSortedFunc
Labels: Proposal

### Proposal Details

Proposed add below functions:
```go
func IsSorted[E cmp.Ordered](s Seq[E])

func IsSortedFunc[E any](s Seq[E], f func(E, E) int)
```
Repository: go
Issue: proposal: x/exp/xiter: add Find/FindMap/Contains/ContainsFunc
Labels: Proposal

### Proposal Details

Proposed add below functions:
```go
func Find[E any](s Seq[E], f func(E) bool) (E, bool)
func FindMap[E, U any](s Seq[E], f func(E) (U, bool)) (U, bool)

func Contains[E comprable](s Seq[E], v E) bool {
    return ContainsFunc(s, func (x E) bool { return x==v})
}
func ContainsFunc[E any](s Seq[E], f func(E) bool) bool {
    _, ok := Find(s, f)
    return ok
}
```