sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: root not-found page not displayed when inside a route group
Labels: bug,Navigation

### Link to the code that reproduces this issue

https://github.com/stefanprobst/issue-next-not-found-route-group

### To Reproduce

1. clone the [repo](https://github.com/stefanprobst/issue-next-not-found-route-group)
2. `pnpm install && pnpm build && pnpm start`
3. open http://localhost:3000/not-existing-route
4. see the built-in default not-found page being displayed, not the one from `/app/(app)/not-found.tsx`

### Current vs. Expected behavior

the custom root not-found page is not shown for e.g. http://localhost:3000/not-existing-route because it lives in a route group (instead the built-in default 404 page is shown):

```
└── app
    └── (app)
        ├── layout.tsx
        ├── not-found.tsx
        └── page.tsx
```

it only works correctly when getting rid of the route group (check out the [no-route-group branch](https://github.com/stefanprobst/issue-next-not-found-route-group/tree/no-route-group))

```
└── app
    ├── layout.tsx
    ├──	not-found.tsx
    └── page.tsx
```


### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #49-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov  4 02:06:24 UTC 2024
  Available memory (MB): 32041
  Available CPU cores: 4
Binaries:
  Node: 22.11.0
  npm: 10.9.0
  Yarn: N/A
  pnpm: 9.14.2
Relevant Packages:
  next: 15.0.4-canary.32 // Latest available version is detected (15.0.4-canary.32).
  eslint-config-next: N/A
  react: 19.0.0-rc-b01722d5-20241114
  react-dom: 19.0.0-rc-b01722d5-20241114
  typescript: 5.7.2
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

_No response_
Repository: kubernetes
Issue: possibility of resource reservation features
Labels: sig/scheduling,sig/node,kind/feature,needs-triage

### What would you like to be added?

What about the possibility of resource reservation? For example, in an online cluster with rescheduling capabilities, or when certain nodes (due to node maintenance or eviction from the cluster) need to be taken offline for some operational tasks. Suppose we have an online cluster with hundreds of nodes, and we use node labels to differentiate resource pools for different business units. If today I need to decommission a specific node or several nodes within a particular resource pool, I would need to "migrate" the pods on those nodes (i.e., evict the pods so they can be rescheduled to other nodes in different pools). We want to safely migrate the online services, so we are looking for a mechanism similar to "resource reservation." We want to preemptively reserve certain resources on the nodes before the pods are created, ensuring that our high-priority pods can definitely be scheduled successfully.

### Why is this needed?

For some high-priority pods, we want them to remain intact during node maintenance, which is very important to us. If we cannot preempt them, we will not evict them. 
I know this seems to be a very complicated problem in a large cluster, and I may not have considered it comprehensively. Or if there is already a similar feature, that would be great.
Repository: react
Issue: [React 19] useTranslations Hook Causes "Expected a Suspended Thenable" Error in Async React Components Requiring Client-Side Rendering
Labels: Status: Unconfirmed

### Bug Report

**React version:** 19  

---

### Description of the Bug

When creating an **async React component** and calling the `useTranslations` hook, which requires client-side rendering, React does not provide an error message indicating the issue. Instead, it throws an **internal error** with the following message:

```
Internal error: Error: Expected a suspended thenable. This is a bug in React. Please file an issue.
    at getSuspendedThenable ...
    at retryTask ...
    at performWork ...
```

It appears that React is not correctly handling the combination of `useTranslations` (a client-side rendering hook) inside an asynchronous component. This leads to React attempting to suspend improperly, resulting in the error.

---

### Steps to Reproduce

1. Create an **async React component**.
2. Use the `useTranslations` hook inside the component.
3. Attempt to render the component in a server-side context or without proper client-side rendering setup.
4. Observe the error described above.

---

### Link to Code Example

Here is a minimal example demonstrating the issue:  
```jsx
import { useTranslations } from 'next-intl';

const AsyncComponent = async () => {
  const t = useTranslations(); // Requires client-side rendering
  return <div>{t('exampleKey')}</div>;
};

export default AsyncComponent;
```

---

### The Current Behavior

Instead of providing a clear error indicating the need for client-side rendering or proper handling of hooks within async components, React throws the following error:
```
Internal error: Error: Expected a suspended thenable. This is a bug in React. Please file an issue.
    at getSuspendedThenable ...
    at retryTask ...
    at performWork ...
```

Additionally, errors such as `Invalid state: ReadableStream is already closed` and `failed to pipe response` are observed, leading to significant debugging overhead.

---

### The Expected Behavior

React should:
1. Provide a **clear error message** that explains why `useTranslations` cannot be used in this context (e.g., "useTranslations must be called in a client-side rendering context").
2. Avoid internal errors such as "Expected a suspended thenable."

This would help developers quickly identify and fix the issue without requiring extensive debugging of React internals.
Repository: rust
Issue: Tracking Issue for const_swap_nonoverlapping
Labels: T-libs-api,C-tracking-issue,I-lang-nominated

<!--
Thank you for creating a tracking issue!

Tracking issues are for tracking a feature from implementation to stabilization.

Make sure to include the relevant RFC for the feature if it has one.

If the new feature is small, it may be fine to skip the RFC process. In that
case, you can use `issue = "none"` in your initial implementation PR. The
reviewer will ask you to open a tracking issue if they agree your feature can be
added without an RFC.
-->

Feature gate: `#![feature(const_swap_nonoverlapping)]`

This is a tracking issue for making `swap_nonoverlapping` a `const fn`.

<!--
Include a short description of the feature.
-->

### Public API

```rust
mod ptr {
    pub const unsafe fn swap_nonoverlapping<T>(x: *mut T, y: *mut T, count: usize);
}
```

### Steps / History

<!--
For larger features, more steps might be involved.
If the feature is changed later, please add those PRs here as well.
-->

- [x] Split out of https://github.com/rust-lang/rust/issues/83163
- [ ] Resolve blocking issues
- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilization PR can be opened by anyone.
-->

### Blocking Issues

`ptr::swap_nonoverlapping` has a limitation currently where it can fail when the data-to-swap contains pointers that cross the "element boundary" of such a swap (i.e., `count > 0` and the pointer straddles the boundary between two `T`). Here's an example of code that unexpectedly fails:
```rust
    const {
        let mut ptr1 = &1;
        let mut ptr2 = &666;

        // Swap ptr1 and ptr2, bytewise.
        unsafe {
            ptr::swap_nonoverlapping(
                ptr::from_mut(&mut ptr1).cast::<u8>(),
                ptr::from_mut(&mut ptr2).cast::<u8>(),
                mem::size_of::<&i32>(),
            );
        }

        // Make sure they still work.
        assert!(*ptr1 == 666);
        assert!(*ptr2 == 1);
    };
```

The proper way to fix this is to implement https://github.com/rust-lang/const-eval/issues/72.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: material-ui
Issue: [Autocomplete] Provide more details in the `details` param of  `onChange` prop
Labels: waiting for 👍,package: material-ui,component: autocomplete,enhancement

### Steps to reproduce

Steps:
1. Add an `Autocomplete` component with `multiple={true}` and `disableClearable={false}`.
2. Add values
3. Press the clear button


### Current behavior

When `onChange` is called you get:
• `event = {...}`
• `value = []`
• `reason = 'clear'`
• `details = undefined`

### Expected behavior

When `onChange` is called you get:
• `event = {...}`
• `value = []`
• `reason = 'clear'`
• `details = { option: [...clearedValues] }`

### Context

When you have an `Autocomplete` with `multiple` and not `disableClearable` and you:
1. Select an option (op5) you get:
	• `event = {...}`
	• `value = [op1, op2, op5]`
	• `reason = 'selectOption'`
	• `details = { option: op5 }`
2. Remove an option (op5) you get:
	• `event = {...}`
	• `value = [op1, op2]`
	• `reason = 'removeOption'`
	• `details = { option: op5 }`

### Your environment

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  System:
    OS: Windows 10 10.0.19045
  Binaries:
    Node: 18.20.3 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD   
    pnpm: 8.14.0 - C:\Program Files\nodejs\pnpm.CMD 
  Browsers:
    Chrome: Not Found
    Edge: Chromium (131.0.2903.51)
  npmPackages:
    @emotion/react: ^11.13.3 => 11.13.3
    @emotion/styled: ^11.13.0 => 11.13.0
    @mui/base:  5.0.0-beta.40
    @mui/core-downloads-tracker:  6.1.7
    @mui/icons-material: ^6.1.7 => 6.1.7
    @mui/lab:  5.0.0-alpha.173
    @mui/material: ^6.1.7 => 6.1.7
    @mui/private-theming:  5.16.6
    @mui/styled-engine:  5.16.6
    @mui/system:  5.16.7
    @mui/types:  7.2.19
    @mui/utils:  5.16.6
    @types/react:  18.3.12
    react: ^18.3.1 => 18.3.1
    react-dom: ^18.3.1 => 18.3.1
    typescript:  4.9.5
```
</details>

 I use Chrome: Version 131.0.6778.86 (Official Build) (64-bit)

**Search keywords**: multiple onChange reason clear details disableClearable
Repository: ollama
Issue: Remove macOS menu bar icon
Labels: feature request

Can we please get the ability to turn off the macOS menu bar icon?
Repository: deno
Issue: Not implemented: BrotliDecompress.prototype.constructor
Labels: bug,node compat

stderr:
sharp: Installation error: Not implemented: BrotliDecompress.prototype.constructor
gyp info it worked if it ends with ok
gyp info using node-gyp@9.3.0
gyp info using node@20.16.0 | linux | x64
gyp info find Python using Python version 3.12.7 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/usr/share/nodejs/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/test/deno/node_modules/.deno/sharp@0.32.6/node_modules/sharp/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/share/nodejs/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/include/nodejs/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/usr/include/nodejs',
gyp info spawn args   '-Dnode_gyp_dir=/usr/share/nodejs/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/usr/include/nodejs/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/test/deno/node_modules/.deno/sharp@0.32.6/node_modules/sharp',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
<string>:108: SyntaxWarning: invalid escape sequence '\/'
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
../src/common.cc:13:10: fatal error: vips/vips8: No such file or directory
   13 | #include <vips/vips8>
      |          ^~~~~~~~~~~~
Repository: deno
Issue: Upgrading to Deno 2.1.0 causes a mismatched versions in some node packages
Labels: bug,needs investigation,node compat,node resolution

Version: Deno 2.1.0

For my project, I am using the following stack:
- `@trpc/server` v11.0.0
- `@trpc/client` v11.0.0
- `@trpc/react-query` v11.0.0
- `@tanstack/react-query` v5.62.0

Upgrading from Deno 2.0.6 to Deno 2.1.0 causes the following mismatched version error 👇

```
Type 
'import("file:///Users/x/Documents/perso/stay/$node_modules/.deno/@tanstack+query-core@5.62.0/$node_modules/@tanstack/query-core/build/modern/hydration-OMuWWX9N").b' 
is not assignable to type 
'import("file:///Users/x/Documents/perso/stay/$node_modules/.deno/@tanstack+query-core@5.62.0/$node_modules/@tanstack/query-core/build/modern/hydration-BOBMySlm").b'.

Property '#private' in type 'QueryClient' refers to a different member that cannot be accessed from within type 'QueryClient'.deno-ts(2322)

context.d.ts(56, 5): The expected type comes from property 'queryClient' which is declared here on type 'IntrinsicAttributes & TRPCProviderProps<BuiltRouter<{ ctx: { currentUser: { id: string; firstName: string; lastName: string | null; email: string; encryptedPassword: string; } | null; }; meta: object; errorShape: DefaultErrorShape; transformer: true; }, { ...; }>, unknown>'
```

<img width="965" alt="image" src="https://github.com/user-attachments/assets/58688820-edb7-41af-96f2-e7e5e825897d">


Looking at the [Deno 2.1.0 release](https://github.com/denoland/deno/releases/tag/v2.1.0), I couldn't find the commit that makes this error appears
Repository: yt-dlp
Issue: Feature for Subtitle Translation embedding with Video
Labels: enhancement,incomplete,triage,core:post-processor

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm requesting a feature unrelated to a specific site
- [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Provide a description that is worded well enough to be understood

- [ ] 1. If we download YT Videos from Korean Auto Generated or French Subtitle, it should be translated to another language like English etc.

- [ ] 2. When I downloaded YT Video which has Thai ( Auto - Generated ) Subtitle and I will not see this Subtitle in MX Player. And make sure Auto - Generated can be Translated based on Selected language.

- [ ] 3. Use Translation to get proper Subtitles in English or another language.

- [ ] 4. Video and Audio quality selection should have grid for better visibility, but in List it made it hard for me to read the size that I want to choose also they are big text without spacing and sizes. It took time for me.

- [ ] 5. Show bit rates Video and Audio quality selection in mb and kb to check Video and Audio quality.

- [ ] 6. Skip any error coming from Subtitle "en-GB" etc

### Provide verbose output that clearly demonstrates the problem

- [ ] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [ ] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
Nil
```
Repository: flutter
Issue: [Windows]: Blank content when using FancyZones
Labels: platform-windows,a: desktop,P3,team-windows,triaged-windows

### Steps to reproduce

1. Install Microsoft's FancyZones, setup any kind of zone,
2. Run a Flutter-based app (in my case it's Rustdesk but demo is done with Flutter Simple Demo, timecode: 0:12)
3. Bind app to a zone you created (timecode: 0:15)
4. Restart the app
5. Graphics get corrupted, no content is showing (0:22)
6. Move the app out of the zone and restart the app (timecode: 0:28)
7. Everything is fine again.

Reference video: https://www.youtube.com/watch?v=hr3hcWKMIhY

### Expected results

Everything shows up correctly, no blanking.

### Actual results

Content is blank, application is unusable.

### Code sample

There's no way for me to provide this piece, I'm not a developer of neither of the apps.

### Screenshots or Video

<details open>
<summary>Video demonstration</summary>
https://www.youtube.com/watch?v=hr3hcWKMIhY
</details>

### Logs

_No response_

### Flutter Doctor output

There's no way for me to provide this piece, I'm not a developer of neither of the apps.
Repository: ollama
Issue: jina-clip-v2
Labels: model request

It does have some interesting features for embeddings.

https://huggingface.co/jinaai/jina-clip-v2
Repository: flutter
Issue: [in_app_purchase_storekit] Add `AppStore.sync()` for StoreKit2 wrapper
Labels: c: new feature,platform-ios,p: in_app_purchase,package,c: proposal,P2,team-ios,triaged-ios

### Use case

I would like to request the addition of `AppStore.sync()` to allow users to manually restore their purchases. 

According to the documentation:
> Include some mechanism in your app, such as a Restore Purchases button, to let users restore their in-app purchases. In rare cases when a user suspects the app isn’t showing all the transactions, call sync(). By calling sync(), you force the app to obtain transaction information and subscription status from the App Store.

For details, see:
- [sync() | Apple Developer Documentation](https://developer.apple.com/documentation/storekit/appstore/3791906-sync)
- [Meet StoreKit 2 - WWDC21 - Videos - Apple Developer](https://developer.apple.com/videos/play/wwdc2021/10114?time=1316)


### Proposal

Add `sync()` (Wrapper for StoreKit2's [`sync()`](https://developer.apple.com/documentation/storekit/appstore/3791906-sync)) to [`AppStore`](https://pub.dev/documentation/in_app_purchase_storekit/latest/store_kit_2_wrappers/AppStore-class.html) class.
Repository: vscode
Issue: When using alt+up/down arrow to move code, indentation does not apply
Labels: bug,editor-autoindent

<!-- ⚠️⚠️ 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. -->
<!-- 🪓 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. -->
before:
![Image](https://github.com/user-attachments/assets/10e8420d-dc13-46b2-98d4-988e5fcdbc4b)
After doing **alt+up**:
![Image](https://github.com/user-attachments/assets/fa0d3980-23ac-4581-8090-d77ac731f961)

As I recall, it was changing its indentation according to the parent loop, but now it's not functioning as intended.
Repository: node
Issue: Proposal: Add a method to check if a string is a OneByteString
Labels: feature request

### What is the problem this feature will solve?

In the Buffer module, we have a series of methods for handling string writing and reading, such as `buffer.write("string", 'latin1')` and `buffer.write("string", 'utf16le')`. However, in some situations, we don't know the actual encoding of the string without checking every character. Checking the encoding will introduce overhead, especially when the string is large since SIMD is not accessible on the JavaScript side. In some string processing programs like the serialize framework (https://fury.apache.org/), high performance in string processing is highly beneficial for such programs.

### What is the feature you are proposing to solve the problem?

Add `isOneByteString` function on the javascript side.
```javascript
function isOneByteString(str) {
    if (typeof str  !== "string") {
        return null;
    }
    return getIsOneByte(str);
}
```
Add the getIsOneByte function on the C++ side.
There is `GetIsOneByteSlow` for the slow mode, which is used when the place where it is being used cannot be compiled by TurboFan.
And there is `GetIsOneByteFast` for the fast mode. This function is only applicable when the input string is a `FastOneByteString`, and in such a case, it will return true directly.
```c++
void GetIsOneByteSlow(
    const v8::FunctionCallbackInfo<v8::Value>& info) {
  DCHECK(ValidateCallbackInfo(info));
  if (info.Length() != 1 || !info[0]->IsString()) {
    info.GetIsolate()->ThrowError(
        "isOneByteString() requires a single string argument.");
    return;
  }
  bool is_one_byte = Utils::OpenDirectHandle(*info[0].As<v8::String>())
                         ->IsOneByteRepresentation();
  info.GetReturnValue().Set(is_one_byte);
}

bool GetIsOneByteFast(v8::Local<v8::Value> receiver,
                  const v8::FastOneByteString &source) {
  return true;
}
```

### What alternatives have you considered?

_No response_
Repository: vscode
Issue: Error when opening notebook files in tests
Labels: info-needed

I have written an extension that automatically opens a notebook file.  The relevant code for that is below:

```typescript
const p = path.join(__dirname, "simple-notebook.ipynb");

const u = vscode.Uri.file(p);
const nb = await vscode.workspace.openNotebookDocument(u);
await vscode.window.showNotebookDocument(nb);
```

When I run the extension in debug mode, this works just fine.  When I try to test this logic via the API, the following error occurs:

```
Error: Notebook Editor creation failure for document {"$mid":1,"external":"file:///c%3A/Users/.../simple-notebook.ipynb","path":"/c:/Users/.../simple-notebook.ipynb","scheme":"file"}
```