sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: Missing styles on not-found (404) page (affecting windows)
Labels: bug

### Link to the code that reproduces this issue

https://github.com/kkoudelka/nextjs-missing-styles-reproduction-app

### To Reproduce

1. Start the dev server `yarn dev`
2. navigate to `/`
3. navigate to `/asdf` (or any other non-existent page)

### Current vs. Expected behavior

**Expected result:** 404 page renders correctly (same layout, just different texts)

**Current result**: 404 renders without styles from .module.css

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
  Available memory (MB): 32510
  Available CPU cores: 28
Binaries:
  Node: 20.11.1
  npm: N/A
  Yarn: N/A
  pnpm: 8.3.1
Relevant Packages:
  next: 14.2.0-canary.62 // Latest available version is detected (14.2.0-canary.62).
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


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

App Router

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

next dev (local), next build (local), next start (local)

### Additional context

_No response_
Repository: vscode
Issue: Diff editor: some elements are floating before content shows
Labels: bug,diff-editor

This was on github.dev, so maybe outdated (but using insiders):

![Recording 2024-04-08 at 18 04 54](https://github.com/microsoft/vscode/assets/900690/3e8a07f3-5baf-4b3b-ac4c-374b74c876e8)
Repository: go
Issue: net: TestUDPZeroBytePayload failures
Labels: NeedsInvestigation

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

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/2b1127cd2aae2321e85e428dc7e1033d89345218)):

    --- FAIL: TestUDPZeroBytePayload (30.02s)
        udpsock_test.go:372: ReadFrom of zero byte packet failed: read udp4 127.0.0.1:58168: i/o timeout


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: electron
Issue: [Feature Request]: Allow the use of Tray icon *names* to allow for icon theming in supported platforms
Labels: enhancement :sparkles:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success. _There is one issue marked as a wontfix from 6 years ago, I'm hoping that's enough time for a re-request_

### Problem Description

Currently, Electron applications have to bundle their own icons and hardcode their path when creating a `Tray` object.  Some allow for a choice of style (full-color vs monocrhome, light vs dark) but the icons are still from hardcoded paths.  In XDG-compliant systems like Linux, applications are not expected to select their own icons, but instead use a _name_ for the icon, that will be later searched in the user's selected _icon theme_, so that the style of all icons in the system tray match.

### Proposed Solution

The `Tray` object should support being provided with both an _icon name_ as well as an _icon image_, so that the name is used in platforms that support it, falling back to the specified image if the name is not supported or not found.

### Alternatives Considered

An external library could implement the XDG icon lookup algorithm (given in the official [XDG icon theme specification](https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html) page) and be called prior to creating the `Tray` object to pick the icon (I'm currently in the process of finding such a library).

This has the clear disadvantage that the icon lookup has to be made by the client, who might not be able to know the expected size, format, scale, etc. of the system tray, while otherwise passing the name of the icon leaves that decision to the underlying implementation.


### Additional Information

_No response_
Repository: vscode
Issue: Add run in terminal button to markdown viewer when a code block's language is a shell language
Labels: help wanted,feature-request,markdown
Repository: go
Issue: x/tools/gopls: nil panic loading analysisNode.summary
Labels: gopls,Tools,gopls/analysis,gopls/telemetry-wins

gopls version: v0.15.2/go1.20.1
gopls flags: 
update flags: proxy
extension version: 0.41.2
environment: Visual Studio Code win32
initialization error: undefined
issue timestamp: Sun, 07 Apr 2024 03:13:55 GMT
restart history:
Sun, 07 Apr 2024 03:01:06 GMT: activation (enabled: true)

ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.

Describe what you observed.

<ANSWER HERE>

<pre>panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x40 pc=0x163a7fc]

goroutine 186 [running]:
golang.org/x/tools/gopls/internal/cache.(*Snapshot).Analyze(0x0, {0x1e17ad8, 0xc00082df50}, 0xc000219bf0, {0xc00017f800, 0xcc, 0xc000867d88%3F}, 0xc00048ea20)
	  analysis.go:461  0x139c
golang.org/x/tools/gopls/internal/golang.Analyze({0x1e17ad8, 0xc00082df50}, 0xc00007e240, 0xc0005a5560%3F, 0x1a4f8a0%3F)
	  diagnostics.go:42  0x16b
golang.org/x/tools/gopls/internal/server.(*server).diagnose.func6()
	  diagnostics.go:507  0xc5
created by golang.org/x/tools/gopls/internal/server.(*server).diagnose
	  diagnostics.go:502  0x10a5
</pre>

<details><summary>gopls stats -anon</summary>
{
  "DirStats": {
    "Files": 2,
    "TestdataFiles": 0,
    "GoFiles": 1,
    "ModFiles": 1,
    "Dirs": 1
  },
  "GOARCH": "amd64",
  "GOOS": "windows",
  "GOPACKAGESDRIVER": "",
  "GOPLSCACHE": "",
  "GoVersion": "go1.20.1",
  "GoplsVersion": "v0.15.2",
  "InitialWorkspaceLoadDuration": "1.8348831s",
  "MemStats": {
    "HeapAlloc": 2531088,
    "HeapInUse": 5169152,
    "TotalAlloc": 12289392
  },
  "WorkspaceStats": {
    "Files": {
      "Total": 2,
      "Largest": 60,
      "Errs": 0
    },
    "Views": [
      {
        "GoCommandVersion": "go1.22.2",
        "AllPackages": {
          "Packages": 1,
          "LargestPackage": 1,
          "CompiledGoFiles": 1,
          "Modules": 1
        },
        "WorkspacePackages": {
          "Packages": 1,
          "LargestPackage": 1,
          "CompiledGoFiles": 1,
          "Modules": 1
        },
        "Diagnostics": 0
      }
    ]
  }
}

</details>

OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.

NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.

<OPTIONAL: ATTACH LOGS HERE>



Dups: 3DjTOg
Repository: TypeScript
Issue: Preserve `set`-only accessors in declaration emit
Labels: Suggestion,In Discussion

[Playground Link](https://www.typescriptlang.org/play?#code/KYDwDg9gTgLgBAG2PAzgQwLbDgXjgbwCg4S4Vk4QAKANzQQFdgAuMmKASwDsBzASgLFSAXwA0QkjwrU+rFO249BpFXBgALKBADucLsF0BRKFqhUARADkI8DhjBIsXGMAAmAOnN8JcMYWEA3ISEoJCwiBSuHDTAUFLOuMqk5PDUdIwsbJy8AkQqfipSqVSyegwYAEaxSapqmjp6BnDGphbWtvaOwM5unt754oHBodDwSPBQwGiuEFwIAJ6JeaRFlCVyCrw1qhpauvpGJtBtNnB2DsBOLh5ePn5DIeCjEfDanC6zC0s+KWvpTBtsvxtvcAkA)

Related to https://github.com/microsoft/TypeScript/issues/58112#issuecomment-2043419380

```ts
export let same = {
    set x(value: string) {
    },
    get x(): string {
        throw new Error("Not implemented.")
    },
};

export let divergent = {
    set x(value: string) {
    },
    get x(): number {
        throw new Error("Not implemented.")
    },
};

export let readonly = {
    get x(): string {
        throw new Error("Not implemented.")
    },
};

export let writeonly = {
    set x(value: string) {
    },
};
```

# Current

Notice that in the declaration of `writeonly`, we don't preserve the accessor at all.

```ts
export declare let same: {
    x: string;
};
export declare let divergent: {
    get x(): number;
    set x(value: string);
};
export declare let readonly: {
    readonly x: string;
};
export declare let writeonly: {
    x: string;
};
```

# Expected

If we had a `writeonly` modifier, I'd argue we could just use that as a parallel to the `readonly` declaration; however, we do support accessors in declaration emit, and we could emit that in the case of a write-only accessor.

It is technically a breaking change though for consumers of older TypeScript versions, and the only way to opt out would be to declare a no-op `get` accessor.

```ts
export declare let same: {
    x: string;
};
export declare let divergent: {
    get x(): number;
    set x(value: string);
};
export declare let readonly: {
    readonly x: string;
};
export declare let writeonly: {
    set x(): string;
};
```
Repository: pytorch
Issue: Revisit the whole torch.ops overloading and caching mechanism
Labels: triaged,module: custom-operators

This is really footgun-y and prevents us from easily adding new features. The main problems are:
- torch.ops.namespace.foo is an OpOverloadPacket
- the OpOverloadPacket caches all of the OpOverloads associated with it.
- If someone defines a new OpOverload after accessing the OpOverloadPacket, it doesn't automatically get associated with the OpOverloadPacket
Repository: rust
Issue: Confusing error message on using `step_by` and `take` on infinite iterator
Labels: A-diagnostics,A-trait-system,T-compiler,C-bug,D-confusing,D-verbose

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

[Rust playground link](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=ff45c4ff2ecdda2371c3af3a51a0e22a)

I expected to see this happen:

Error message saying `Range<Integer>` is not `ExactSizedIterator`

Instead, this happened:

Current error message:

```shell
  Compiling playground v0.0.1 (/playground)
error[E0599]: the method `len` exists for struct `StepBy<Take<RangeFrom<{integer}>>>`, but its trait bounds were not satisfied
  --> src/main.rs:5:44
   |
5  |     println!("{}",(0..).take(2).step_by(2).len());
   |                                            ^^^ method cannot be called on `StepBy<Take<RangeFrom<{integer}>>>` due to unsatisfied trait bounds
   |
  ::: /playground/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/take.rs:19:1
   |
19 | pub struct Take<I> {
   | ------------------ doesn't satisfy `_: ExactSizeIterator`
   |
  ::: /playground/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/step_by.rs:18:1
   |
18 | pub struct StepBy<I> {
   | -------------------- doesn't satisfy `_: ExactSizeIterator`
   |
   = note: the following trait bounds were not satisfied:
           `std::iter::Take<RangeFrom<{integer}>>: ExactSizeIterator`
           which is required by `StepBy<std::iter::Take<RangeFrom<{integer}>>>: ExactSizeIterator`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `playground` (bin "playground") due to 1 previous error
```

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
Rust Playground (latest stable Rust release: v 1.77.1)

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary>N/A</summary>
<p>

```
<backtrace>
```

</p>
</details>
Repository: PowerToys
Issue: Feature question for slow mouse control
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

Hi team.  What a great product you have created with PowerToys.  Thank you.

I'd like to request a slow mouse control. I have two monitors that span a resolution of 8960 pixels.  When I enable "mouse without borders", I get to over 10K pixels wide. Getting pixel-accurate with a mouse becomes very difficult if you are cropping or trying to copy a piece of your screen (which I do as a UX designer).  It would be super helpful to have a preset that lets you slow mouse movement down when you press a key sequence of your choice.  This way you can get accurate when you need to. pixel-accurate

### Scenario when this would be used?

I am copying something I rendered and placing it into a PowerPoint slide.
Copying a 16x16 pixel design. etc etc

### Supporting information

Wacom has an equivalent feature where you can slow down the pen.  I don't use the pen that much for UX design, but that feature was handy which is why I requested it for the mouse.
Repository: rust
Issue: Tracking Issue for pattern types
Labels: C-tracking-issue,S-tracking-perma-unstable,T-types,F-pattern_types

This is a tracking issue for the feature gate `#![feature(pattern_types)`.

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps

- [x] Implementation (#120131)
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Formatting for new syntax has been added to the [Style Guide] ([nightly-style-procedure])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs
[nightly-style-procedure]: https://github.com/rust-lang/style-team/blob/master/nightly-style-procedure.md 
[Style Guide]: https://github.com/rust-lang/rust/tree/master/src/doc/style-guide

### Unresolved Questions

### Implementation history

* #120131 initial implementation of range patterns
Repository: vscode
Issue: Language Status popup commands/links stop working after an update is received and it shows outdated text (until it's closed/re-shown)
Labels: bug,languages-basic,ux,workbench-status

<!-- ⚠️⚠️ 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 (but you need an extension like the C/C++ extension that updates the language status info).

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: Version: 1.89.0-insider (user setup)
Commit: ed6c6d3f28fa4cb66f6d73918365e41fb81db14c
Date: 2024-04-08T05:50:44.055Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

Steps to Reproduce:

1. Hover or click on the language status icon for a language extension like C/C++.
2. Click a command in the language status that causes a status change like a Rescan.

Bug1: See the screenshot -- the main status bar updates its busy state correctly but the popup status UI doesn't refresh until it's made hidden/visible again, i.e. the top screenshot shows a stale "complete" state and the bottom screenshot shows a stale "updating" state. This could confuse users who expect the popup to have updated info. This is a regression from an earlier version, not sure which.

<img width="180" alt="image" src="https://github.com/microsoft/vscode/assets/19859882/f7b394dc-acbf-4031-b210-6342ef39de2b">

Bug2 (more severe issue): Also, after an update for the language status is received, the commands/links in the UI stop working when clicked -- this appears to have the same root cause as bug 1, because it looks like the popup UI becomes readonly after the update. From the user's perspective (who may not visibly see any update change due to the tooltips being updated), it appears that the commands/links don't work when clicked, e.g. if the status tooltip showing parsing percentage progress updates from 1% to 100% every second then the "Pause" command/link may never work for the user due to all the updates making the command readonly.
Repository: go
Issue: os/signal: unrecognized failures
Labels: NeedsInvestigation,compiler/runtime

```
#!watchflakes
default <- pkg == "os/signal" && test == ""
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/16720055e8d78401c6d7b300bb14fd67385d33eb)):

    SIGSEGV: segmentation violation
    PC=0x3a1b8c m=10 sigcode=1 addr=0x3a1b8c
    
    goroutine 0 gp=0xc000082e00 m=10 mp=0xc000081808 [idle]:
    runtime.fpTracebackPCs(...)
    	/tmp/workdir/go/src/runtime/trace2stack.go:255
    runtime.traceStack(0xc000082700?, 0x200000004?, 0x4d)
    	/tmp/workdir/go/src/runtime/trace2stack.go:109 +0x28c fp=0x2f4250db0 sp=0x2f4250948 pc=0x3a1b8c
    runtime.traceAdvance.func1.1()
    	/tmp/workdir/go/src/runtime/trace2.go:370 +0xbd fp=0x2f4250e08 sp=0x2f4250db0 pc=0x39d43d
    ...
    r11    0xc000032508
    r12    0x2f42509c8
    r13    0xc000033b00
    r14    0xc000082e00
    r15    0x4
    rip    0x3a1b8c
    rflags 0x10202
    cs     0x2b
    fs     0x0
    gs     0x0


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: pytorch
Issue: Dynamo unsupported: Dynamic slicing on data-dependent value is not supported
Labels: high priority,triaged,onnx-needs-info,oncall: pt2,module: dynamic shapes

### 🐛 Describe the bug

A simplified repro is as follows. 

```python
import torch


def func(x, img_size):
    x = x[:img_size]
    return x

x = torch.randn(10, 3, 224, 224)
img_size = torch.tensor(5)
torch._dynamo.export(func)(x, img_size)
```

```
  File "/pytorch/torch/_dynamo/symbolic_convert.py", line 1391, in BUILD_SLICE
    self.push(SliceVariable(items))
  File "/pytorch/torch/_dynamo/variables/lists.py", line 597, in __init__
    unimplemented("Dynamic slicing on data-dependent value is not supported")
  File "/pytorch/torch/_dynamo/exc.py", line 204, in unimplemented
    raise Unsupported(msg)
torch._dynamo.exc.Unsupported: Dynamic slicing on data-dependent value is not supported

from user code:
   File "/repro_datadependent_slice.py", line 13, in func
    x = x[:img_size]

Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information
```

### Versions

torch                     2.4.0a0+git4946558

cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @chauhang @penguinwu @bobrenjc93 @bdhirsh @anijain2305 @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4
Repository: flutter
Issue: See if there is a way to create a standalone emulator
Labels: team-infra,P2,triaged-infra

### Type of Request

infra task

### Infrastructure Environment

Android Emulators

### What is happening?

Currently there is an open issue for creating an emulator in docker but we should see if there is a different way to create a local emulator for testing purposes.

Cloudtops can be used however it is next to impossible to get a cloudtop with kvm activated.

### Steps to reproduce

NA

### Expected results

NA
Repository: kubernetes
Issue: ValidatingAdmissionPolicy using CRDs as paramKind can fail due to 30s discovery mechanism
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

When a ValidatingAdmissionPolicy is using CRDs as paramKind, it can result in `failed to find resource referenced by paramKind` error if the custom resource is created around the same time as the vap resource. This could result in new resources getting blocked by this vap because it thinks the custom type does not exist assuming fail policy is set to `fail`. 

As discussed with @alexzielenski on slack:
> It can take up to 30s for the discovery mechanism to pickup the change to the CRD list

### What did you expect to happen?

Allow retries on CRD list to resync without breaking the vap. 

### How can we reproduce it (as minimally and precisely as possible)?

A example of failed unit test https://github.com/open-policy-agent/gatekeeper/actions/runs/8070764571/job/22048871826?pr=3289 the test tries to create a custom resource after the vap resource is created and this new resource is blocked because it thinks the custom type referenced by paramKind does not exist

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
1.29
```

</details>


### Cloud provider

<details>

</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: flutter
Issue: Create a Matrix of the current tests and versions the emulators are using
Labels: team-infra,P2,triaged-infra

### Type of Request

infra task

### Infrastructure Environment

Android Emulators

### What is happening?

Need to create a document that tracks the current versions of emulators being used across tests. This included the tests, the version and the cipd version of that particular package.

### Steps to reproduce

NA

### Expected results

NA
Repository: flutter
Issue: Update the existing documentation on adding integration tests
Labels: team-infra,P2,triaged-infra

### Type of Request

infra task

### Infrastructure Environment

Android Emulators

### What is happening?

See if we can update the documentation in line with something like this guide: https://bazel.build/docs/android-instrumentation-test

For adding a new Android integration test in flutter CI.

### Steps to reproduce

NA

### Expected results

NA
Repository: PowerToys
Issue: file searching tool
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

It would be highly appreciated to have a feature that allows for easier and more intelligent file searching. Perhaps a filtering system could include options to search by date of last modification or the type of file being searched for. This would make searching faster and much more efficient.

### Scenario when this would be used?

When searching for a lost document and having to use the Windows search tool, it quickly becomes cumbersome. The results are slow and unsatisfactory. A new tool would correct this issue.

### Supporting information

_No response_