sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: cmd/go: TestScript/test_fuzz_test_race failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/test_fuzz_test_race"
```

Issue created automatically to collect these failures.

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

    === RUN   TestScript/test_fuzz_test_race
    === PAUSE TestScript/test_fuzz_test_race
    === CONT  TestScript/test_fuzz_test_race
        script_test.go:135: 2025-01-17T03:48:20Z
        script_test.go:137: $WORK=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-3791638293/tmpdir3335962428/test_fuzz_test_race378197647
        script_test.go:159: 
            PATH=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-3791638293/tmpdir3335962428/testbin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/cache/tools/bin:/Users/swarming/.swarming/w/ir/bbagent_utility_packages:/Users/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages:/Users/swarming/.swarming/w/ir/cipd_bin_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/Users/swarming/.swarming/w/ir/cache/cipd_client:/Users/swarming/.swarming/w/ir/cache/cipd_client/bin:/Users/swarming/.swarming/cipd_cache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
            HOME=/no-home
            CCACHE_DISABLE=1
            GOARCH=amd64
    ...
            [stdout]
            FAIL	test [build failed]
            [stderr]
            # internal/fuzz
            <autogenerated>:1: internal compiler error: panic: runtime error: invalid memory address or nil pointer dereference
            
            Please file a bug report including a short program that triggers the error.
            https://go.dev/issue/new
        script_test.go:159: FAIL: testdata/script/test_fuzz_test_race.txt:16: go test -race -v: exit status 1
    --- FAIL: TestScript/test_fuzz_test_race (198.20s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: go
Issue: x/sys/unix: Connectx is broken on darwin/amd64
Labels: OS-Darwin,NeedsInvestigation,compiler/runtime,BugReport

### Go version

go version go1.23.5 darwin/arm64

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

```shell
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/database64128/Library/Caches/go-build'
GOENV='/Users/database64128/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/database64128/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/database64128/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/homebrew/Cellar/go/1.23.5/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='local'
GOTOOLDIR='/opt/homebrew/Cellar/go/1.23.5/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.23.5'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/database64128/Library/Application Support/go/telemetry'
GCCGO='gccgo'
GOARM64='v8.0'
AR='ar'
CC='cc'
CXX='c++'
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 -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/xd/v25clzgj08d6_cbbp7lwszfr0000gn/T/go-build880517508=/tmp/go-build -gno-record-gcc-switches -fno-common'
```

### What did you do?

@wwqgtxx reports that [`x/sys/unix.Connectx`](https://pkg.go.dev/golang.org/x/sys/unix?GOOS=darwin#Connectx) is broken on darwin/amd64. The call succeeds, but does not return the correct number of bytes sent, and may cause memory corruption (`fatal error: stack not a power of 2`).

They were able to work around the issue by making the following minimal change:

```diff
diff --git a/sys/unix/zsyscall_darwin_amd64.go b/sys/unix/zsyscall_darwin_amd64.go
index 24b346e..f8cc117 100644
--- a/sys/unix/zsyscall_darwin_amd64.go
+++ b/sys/unix/zsyscall_darwin_amd64.go
@@ -848,7 +848,7 @@ func connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32,
 	} else {
 		_p0 = unsafe.Pointer(&_zero)
 	}
-	_, _, e1 := syscall_syscall9(libc_connectx_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(endpoints)), uintptr(associd), uintptr(flags), uintptr(_p0), uintptr(len(iov)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(connid)), 0)
+	_, _, e1 := Syscall9(SYS_CONNECTX, uintptr(fd), uintptr(unsafe.Pointer(endpoints)), uintptr(associd), uintptr(flags), uintptr(_p0), uintptr(len(iov)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(connid)), 0)
 	if e1 != 0 {
 		err = errnoErr(e1)
 	}
```

`Connectx` was added by me in golang/sys@59665e5b431b8aea43003a9fba126c1d2f36a5d9 ([CL 606155](https://go.dev/cl/606155)). It does not have any issues on darwin/arm64. We spent hours on this and were not able to pinpoint the exact cause.

### What did you see happen?

`Connectx` is broken on darwin/amd64.

### What did you expect to see?

`Connectx` works on darwin/amd64.
Repository: ollama
Issue: FR: Meaningful names of models in models/blobs dir
Labels: feature request

Please make models to have meaningful filenames (like user/modelname-quantization.gguf) in models/blobs directory, so they can be (easier) used with other model inference software.

Currently they have a lot of similar names like `sha256-2bada8a7450677000f678be90653b85d364de7db25eb5ea54136ada5f3933730`.
Repository: go
Issue: cmd/internal/bootstrap_test: TestRepeatBootstrap failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "cmd/internal/bootstrap_test" && test == "TestRepeatBootstrap"
```

Issue created automatically to collect these failures.

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

    === RUN   TestRepeatBootstrap
        reboot_test.go:59: GOROOT overlay set up in 8.441881598s
    Building Go cmd/dist using /Users/swarming/.swarming/w/ir/x/w/goroot. (go1.23.4-devel_bb8230f80535945648e8b56739ad450cf433eba9 darwin/amd64)
    Building Go toolchain1 using /Users/swarming/.swarming/w/ir/x/w/goroot.
    Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
    Building Go toolchain2 using go_bootstrap and Go toolchain1.
    Building Go toolchain3 using go_bootstrap and Go toolchain2.
    # internal/bisect
    runtime: newstack sp=0xc000a3cffe stack=[0xc000a44000, 0xc000a4c000]
    	morebuf={pc:0x0 sp:0xc000a3d00e lr:0x0}
    ...
    fatal error: runtime: split stack overflow
    
    runtime stack:
    runtime.throw({0xadd9f61?, 0x70000b496e60?})
    	runtime/panic.go:1067 +0x48 fp=0x70000b496e18 sp=0x70000b496de8 pc=0xa5482a8
    runtime.newstack()
    	runtime/stack.go:1061 +0x74d fp=0x70000b496f58 sp=0x70000b496e18 pc=0xa52b34d
    runtime.morestack()
    	runtime/asm_amd64.s:621 +0x7a fp=0x70000b496f60 sp=0x70000b496f58 pc=0xa54e83a
    
    ...
    	cmd/compile/internal/gc/compile.go:188 +0x38 fp=0xc002e79fb0 sp=0xc002e79f70 pc=0xa385d98
    cmd/compile/internal/gc.compileFunctions.func3.1()
    	cmd/compile/internal/gc/compile.go:170 +0x30 fp=0xc002e79fe0 sp=0xc002e79fb0 pc=0xa386190
    runtime.goexit({})
    	runtime/asm_amd64.s:1700 +0x1 fp=0xc002e79fe8 sp=0xc002e79fe0 pc=0x9b46581
    created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 3
    	cmd/compile/internal/gc/compile.go:169 +0x247
    go tool dist: FAILED: /Users/swarming/.swarming/w/ir/x/t/TestRepeatBootstrap2135723931/001/goroot/pkg/tool/darwin_amd64/go_bootstrap install -a cmd/asm cmd/cgo cmd/compile cmd/link cmd/preprofile: exit status 1
        reboot_test.go:82: exit status 2
    --- FAIL: TestRepeatBootstrap (412.72s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: go
Issue: cmd/internal/obj/x86: TestVexEvexPCrelative failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "cmd/internal/obj/x86" && test == "TestVexEvexPCrelative"
```

Issue created automatically to collect these failures.

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

    === RUN   TestVexEvexPCrelative
        pcrelative_test.go:68: error exit status 1 output # runtime
            runtime: s.allocCount= 167 s.nelems= 168
            fatal error: s.allocCount != s.nelems && freeIndex == s.nelems
            
            goroutine 2033 gp=0xc006678000 m=3 mp=0xc000080008 [running]:
            runtime.throw({0x3fcd7f7?, 0x50?})
            	runtime/panic.go:1099 +0x48 fp=0xc0086e36f0 sp=0xc0086e36c0 pc=0x3676188
            runtime.(*mcache).nextFree(0x4a80a78, 0xa)
            	runtime/malloc.go:962 +0x4ca fp=0xc0086e3748 sp=0xc0086e36f0 pc=0x360c14a
    ...
            	runtime/chan.go:283
            runtime.chansend1(0xc003f13ab0, 0xc002b34a10)
            	runtime/chan.go:161 +0x35a fp=0xc0081f5fb0 sp=0xc0081f5f40 pc=0x360361a
            cmd/compile/internal/gc.compileFunctions.func3.1()
            	cmd/compile/internal/gc/compile.go:172 +0x3f fp=0xc0081f5fe0 sp=0xc0081f5fb0 pc=0x3f53b3f
            runtime.goexit({})
            	runtime/asm_amd64.s:1700 +0x1 fp=0xc0081f5fe8 sp=0xc0081f5fe0 pc=0x367d7c1
            created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 202
            	cmd/compile/internal/gc/compile.go:170 +0x247
    --- FAIL: TestVexEvexPCrelative (4.29s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: pytorch
Issue: Make flex_attention work if `score_mod`'s output doesn't require gradients at all
Labels: triaged,oncall: pt2,module: higher order operators,module: pt2-dispatcher,module: flex attention

### 🚀 The feature, motivation and pitch

See https://github.com/pytorch/pytorch/issues/139548#issuecomment-2597509430

```
import warnings
import numpy as np
import torch
from torch.nn.attention.flex_attention import flex_attention, create_mask, create_block_mask

# import astropy_healpix as hp


hlc = 4
num_healpix_cells = 12 * 4**hlc 
print( f'seq_length : {num_healpix_cells}')

# with warnings.catch_warnings(action="ignore"):
#     nbours= hp.neighbours( np.arange(num_healpix_cells), 2**hlc, order='nested').transpose()
# build adjacency matrix (smarter ways to do it ...)
nbours_mat = torch.zeros( (num_healpix_cells,num_healpix_cells), dtype=torch.bool, device='cuda')
# for i in range(num_healpix_cells) :
#     for j in nbours[i] :
#         nbours_mat[i,j] = True if j>=0 else False
hp_adjacency = nbours_mat

# tc_tokens = torch.from_numpy( np.load( 'tc_tokens.npy')).to(torch.float16).to('cuda')
tc_tokens = torch.ones( [204458, 256], dtype=torch.float16, device='cuda', requires_grad=True)
# tcs_lens = torch.from_numpy( np.load( './tcs_lens.npy')).to(torch.int32).to('cuda')
# tcs_lens = torch.ra
# print( f'tc_tokens = {tc_tokens.shape}')
# print( f'tcs_lens = {tcs_lens.shape}')

tc_tokens_cell_idx = torch.zeros(204458, dtype=torch.int, device='cuda')

def sparsity_mask( score, b, h, q_idx, kv_idx):
    return hp_adjacency[ tc_tokens_cell_idx[q_idx], tc_tokens_cell_idx[kv_idx] ]

compiled_flex_attention = torch.compile(flex_attention, dynamic=False)

toks = tc_tokens[:,:64].unsqueeze(0).unsqueeze(0)
out = compiled_flex_attention( toks, toks, toks, score_mod=sparsity_mask)

t = torch.zeros_like( out)
mse = torch.nn.MSELoss()
loss = mse( t, out)
loss.backward()
```

### Alternatives

_No response_

### Additional context

_No response_

cc @chauhang @penguinwu @zou3519 @ydwu4 @bdhirsh @yf225 @drisspg @yanboliang @BoyuanFeng
Repository: deno
Issue: compat: deno install `file:` protocol
Labels: node compat

Version: Deno 2.1.6

When running `deno install` in an existing node project (using its `package.json` file), it should be able to install/link local files and directories as dependencies.

> see https://docs.npmjs.com/cli/v11/commands/npm-install#install-links

```json
{
  "dependencies": {
    "foobar": "file:./foobar"
  }
}
```
Repository: pytorch
Issue: DISABLED test_nested_optimize_decorator (__main__.MiscTests)
Labels: triaged,module: flaky-tests,skipped,oncall: pt2,module: dynamo

Platforms: linux, mac, macos

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

Over the past 3 hours, it has been determined flaky in 3 workflow(s) with 3 failures and 3 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_nested_optimize_decorator`
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 "/Users/ec2-user/runner/_work/pytorch/pytorch/test/dynamo/test_misc.py", line 4045, in test_nested_optimize_decorator
    self.assertEqual(cnts3.op_count, 4)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_12820448148/lib/python3.9/site-packages/torch/testing/_internal/common_utils.py", line 4036, in assertEqual
    raise error_metas.pop()[0].to_error(  # type: ignore[index]
AssertionError: Scalars are not equal!

Expected 4 but got 3.
Absolute difference: 1
Relative difference: 0.25

To execute this test, run the following from the base repo dir:
    python test/dynamo/test_misc.py MiscTests.test_nested_optimize_decorator

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

</details>


Test file path: `dynamo/test_misc.py`

cc @clee2000 @wdvr @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
Repository: PowerToys
Issue: FancyZones is unable to differentiate multiple web apps that run on Edge.
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.1

### Installation method

Microsoft Store, PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

Run multiple instances of Edge whether be it a full browser or web app that runs on Edge behind the scenes (not WebView2) then snap either of them to one of the zones

### ✔️ Expected Behavior

FancyZones should be able to differentiate web apps or _tabs_ that run on their own windows that run on the same executable (such as Edge)

### ❌ Actual Behavior

all instances that relies on Edge will snap to that specific zone when new instances are run.

### Other Software

Chromium Edge
Repository: three.js
Issue: Slow rendering on : webgpu_compute_particles
Labels: Suggestion

### Description

On iphone12 pro max it seems the "[webgpu_compute_particles](https://threejs.org/examples/?q=webgpu%20particle#webgpu_compute_particles)" is very slow, I originally though its the computation, but it's actually the particule rendering: 

- Webgpu safari, top angle : 60fps 
- Webgpu safari, bottom angle : 20fps

I'm a bit surprised cause I though render 1M particles would have been a piece of cake in webgpu. 

For the moment I can do a PR : 
- to setup 256k particles on mobiles by default
- add a gui to select the number and regenerate the particles system. 
- pause/play the physics 

 So it might help to monitoring the performance on various mobile

### Reproduction steps

1. open the example on mobile
2. play with the camera angle

### Code

X


### Live example

X


### Screenshots

X

### Version

r172

### Device

Mobile

### Browser

Safari

### OS

iOS
Repository: ant-design
Issue: CheckableTag组件添加可访问性增强
Labels: ⌨️ Accessibility

### What problem does this feature solve?

用户使用可以用键盘操控

### What does the proposed API look like?

使用<button/>替代<span/>实现

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: next.js
Issue: `new URL(”...” , import.meta.url)` to get the path, but the file contents are unintentionally loaded at build time.
Labels: Module Resolution

### Link to the code that reproduces this issue

https://github.com/yskszk63/nextjs-unexpected-js-eval

### To Reproduce

1. `npm run build`

### Current vs. Expected behavior

## Current

```
$ npm run build

> build
> next build

   ▲ Next.js 15.2.0-canary.13

   Creating an optimized production build ...
 ✓ Compiled successfully
 ✓ Linting and checking validity of types    
 ✓ Collecting page data    
Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
Error: 🙈
    at Object.<anonymous> (/home/yskszk63/work/nextjs-unexpected-js-eval/node_modules/throw-error-on-load/throw.js:1:7)
    at Module._compile (node:internal/modules/cjs/loader:1566:14)
    at Object..js (node:internal/modules/cjs/loader:1718:10)
    at Module.load (node:internal/modules/cjs/loader:1305:32)
    at Function._load (node:internal/modules/cjs/loader:1119:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Module.<anonymous> (node:internal/modules/cjs/loader:1327:12)
    at mod.require (/home/yskszk63/work/nextjs-unexpected-js-eval/node_modules/next/dist/server/require-hook.js:65:28)
    at require (node:internal/modules/helpers:136:16)
Export encountered an error on /page: /, exiting the build.
 ⨯ Static worker exited with code: 1 and signal: null
```

## Expected behavior

The build completes successfully.

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Fri, 10 Jan 2025 00:39:41 +0000
  Available memory (MB): 30844
  Available CPU cores: 16
Binaries:
  Node: 23.4.0
  npm: 11.0.0
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.2.0-canary.13 // Latest available version is detected (15.2.0-canary.13).
  eslint-config-next: N/A
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.7.3
Next.js Config:
  output: N/A
```

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

Module Resolution

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

next dev (local), next build (local)

### Additional context

I want to get the path of an asset after build, but unintentionally the specified file is loaded.

Removing `serverExternalPackages` from next.config.ts works as expected.
Repository: go
Issue: unique: unrecognized failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "unique" && test == ""
```

Issue created automatically to collect these failures.

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

    FAIL	unique [build failed]
    # unique [unique.test]
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5e48fd2]
    
    goroutine 1167 gp=0xc003b0ce00 m=3 mp=0xc000080008 [running]:
    panic({0x6275460?, 0x6883b40?})
    	runtime/panic.go:806 +0x168 fp=0xc0004149a8 sp=0xc0004148f8 pc=0x575ce08
    runtime.panicmem(...)
    	runtime/panic.go:262
    ...
    runtime.chansend(...)
    	runtime/chan.go:283
    runtime.chansend1(0xc003f28700, 0xc00465b570)
    	runtime/chan.go:161 +0x35a fp=0xc000e69fb0 sp=0xc000e69f40 pc=0x56ea61a
    cmd/compile/internal/gc.compileFunctions.func3.1()
    	cmd/compile/internal/gc/compile.go:172 +0x3f fp=0xc000e69fe0 sp=0xc000e69fb0 pc=0x603a83f
    runtime.goexit({})
    	runtime/asm_amd64.s:1700 +0x1 fp=0xc000e69fe8 sp=0xc000e69fe0 pc=0x57647c1
    created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 5
    	cmd/compile/internal/gc/compile.go:170 +0x247


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: godot
Issue: Manually activating the game window requires pressing "Input" or other tabs in the embedded game window
Labels: bug,topic:editor,usability

### Tested versions

v4.4.beta1.official [d33da79d3]

### System information

w11

### Issue description

When the game is running and you switch between the "Input," "2D," or "3D" tabs, the game window loses focus.  
Example: You select "2D" and then switch to "Input" to control the game. However, at this point, keyboard input no longer goes directly to the game window but instead to the editor. After selecting "Input," you need to click on the embedded game window again to redirect keyboard input to the game instead of the editor.  

This behavior is somewhat inconvenient. Could an option be added to automatically activate the game window when "Input" is selected?

Observe the video: I activate "2D" and then "Input," and immediately try to control the character, but the keyboard input is directed to the editor.

As shown in the video, after activating "2D" and then "Input," I attempt to control the character. However, the keyboard input is still directed to the editor. To regain control of the character, I have to click on the embedded game window again.

https://github.com/user-attachments/assets/b85e6bcb-1711-421e-ba01-21239b29bbe1

### Steps to reproduce

See the video

### Minimal reproduction project (MRP)

...