sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [iOS][a11y] Widgets inside OverlayPortal  don't display iOS number labels for VoiceControl
Labels: platform-ios,framework,a: accessibility,has reproducible steps,P1,customer: quake (g3),found in release: 3.24,team-accessibility,triaged-accessibility,found in release: 3.27

### Steps to reproduce

1. Turn Voice Control on
2. Show numbers
3. Create a widget with actionable widgets, such as buttons inside an OverlayPortal
4. Trigger the OverlayPortal

See buttons inside the OverlayPortal widget don't show numbers

b/368207734

### Expected results

Buttons should display numbers, like other buttons inside the main Widget tree

### Actual results

No iOS number labels are shown inside the OverlayPortal

### Code sample


```dart
class OverlayPortalExampleApp extends StatelessWidget {
  const OverlayPortalExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('OverlayPortal Example')),
      body: const Center(child: ClickableTooltipWidget()),
    );
  }
}

class ClickableTooltipWidget extends StatefulWidget {
  const ClickableTooltipWidget({super.key});

  @override
  State<StatefulWidget> createState() => ClickableTooltipWidgetState();
}

class ClickableTooltipWidgetState extends State<ClickableTooltipWidget> {
  final OverlayPortalController _tooltipController = OverlayPortalController();

  @override
  Widget build(BuildContext context) {
    return TextButton(
      onPressed: _tooltipController.toggle,
      child: OverlayPortal(
        controller: _tooltipController,
        overlayChildBuilder: (BuildContext context) {
          return Positioned(
            right: 50,
            bottom: 50,
            child: Material(
              color: Colors.grey,
              child: Column(
                children: [
                  TextButton(
                    onPressed: _tooltipController.toggle,
                    child: Text('Button1'),
                  ),
                  TextButton(
                    onPressed: _tooltipController.toggle,
                    child: Text('Button2'),
                  ),
                  TextButton(
                    onPressed: _tooltipController.toggle,
                    child: Text('Button3'),
                  ),
                ],
              ),
            ),
          );
        },
        child: const Text('Press to show/hide button'),
      ),
    );
  }
}
```

### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel google3, on macOS 14.7 
    • Framework revision b9f62f6f9f (0 days ago), 2024-10-28T00:00:00.000
    • Engine revision 2522789c41
    • Dart version a75848f922
```

</details>
Repository: next.js
Issue: Docs: Node.js version
Labels: bug

### What is the documentation issue?

In a Getting Start guide you're suggesting to use Node.js `v18.18.0` and above, but for me it doesn't work with Node.js `v19.0.0` and `v19.5.0` also. 

Maybe it'll be a useful catch :)

### Is there any context that might help us understand?

`MacOS Sequoia v15.0.1`   

### Does the docs page already exist? Please link to it.

https://nextjs.org/docs/getting-started/installation
Repository: react-native
Issue: TextInput value cannot be manipulated via setNativeProps after user input on iOS
Labels: Platform: iOS,Issue: Author Provided Repro,Component: TextInput,Type: New Architecture

### Description

When an uncontrolled TextInput has had its value manipulated via `setNativeProps`, receives user input and is then manipulated again via `setNativeProps`, the displayed value does not change.

This looks to be a New Arch issue and the issue is not reproducible in 0.76.0 on the old architecture.

### Steps to reproduce

1. Install the application with `yarn ios`
2. Press "Press me!"
3. Note that the TextInput contains the text "bananas"
5. Clear the input field
6. Press "Press me!"
7. Note that the input field remains empty

### React Native Version

0.76.0

### Affected Platforms

Runtime - iOS

### Areas

Fabric - The New Renderer

### Output of `npx react-native info`

```text
System:
  OS: macOS 14.7
  CPU: (16) arm64 Apple M3 Max
  Memory: 2.53 GB / 48.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.20.4
    path: /opt/homebrew/Cellar/node@18/18.20.4_1/bin/node
  Yarn:
    version: 1.22.22
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.7.0
    path: /opt/homebrew/Cellar/node@18/18.20.4_1/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.0
      - iOS 18.0
      - macOS 15.0
      - tvOS 18.0
      - visionOS 2.0
      - watchOS 11.0
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 16.0/16A242d
    path: /usr/bin/xcodebuild
Languages:
  Java: Not Found
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.0-alpha.2
    wanted: 15.0.0-alpha.2
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.0
    wanted: 0.76.0
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true
```


### Stacktrace or Logs

```text
None
```


### Reproducer

https://github.com/mhoran/new-arch-set-text-repro/

### Screenshots and Videos

_No response_
Repository: flutter
Issue: Migrate some framework mac hostonly tests to be pinned to arm64
Labels: team-infra,P2,triaged-infra

The intel macs are increasingly experiencing hardware issues, so to de-risk framework CI, we will slowly migrate framework tests from intel mac to arm mac a few at a time.
Repository: go
Issue: proposal: os: add iterator variant of File.ReadDir
Labels: Proposal

### Proposal Details

Today we have:

https://pkg.go.dev/os#File.ReadDir etc

```go
func (f *File) ReadDir(n int) ([]DirEntry, error)
```

That `n` feels so antiquated now that we have iterators! I propose that we add an iterator-based variant. 😄 

/cc @neild
Repository: neovim
Issue: Setting `winfixbuf` immediately after startup will cause window duplication
Labels: bug,has:workaround,startup,netrw

### Problem

In my case, using `vim.schedule` fixed this

Ref: https://github.com/kawre/leetcode.nvim/issues/141

### Steps to reproduce

```lua
-- Run this file as `nvim --clean -u minimal.lua`

for name, url in pairs({
	-- ADD PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE, e.g:
	-- 'https://github.com/author1/plugin1',
	-- 'https://github.com/author2/plugin2',
}) do
	local install_path = vim.fn.fnamemodify("nvim_issue/" .. name, ":p")
	if vim.fn.isdirectory(install_path) == 0 then
		vim.fn.system({ "git", "clone", "--depth=1", url, install_path })
	end
	vim.opt.runtimepath:append(install_path)
end

-- ADD INIT.LUA SETTINGS _NECESSARY_ FOR REPRODUCING THE ISSUE

vim.api.nvim_set_option_value("winfixbuf", true, {})
```

### Expected behavior

.

### Nvim version (nvim -v)

v0.10.2

### Vim (not Nvim) behaves the same?

no, 9.1.785

### Operating system/version

6.11.5-arch1-1

### Terminal name/version

kitty

### $TERM environment variable

xterm-kitty

### Installation

pacman
Repository: svelte
Issue: onintrostart does not respect delay
Labels: bug,transition/animation

### Describe the bug

The onintrostart fires immediately, before the element has been mounted ignoring the `delay` parameter. This is in Svelte 4 and 5

### Reproduction

https://svelte.dev/playground/9e45fd9f78974bb6a4b7714b1eed5417?version=5.1.3

### Logs

_No response_

### System Info

```shell
System:
    OS: macOS 14.6.1
    CPU: (8) arm64 Apple M1
    Memory: 107.25 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/Library/Caches/fnm_multishells/2228_1725926009881/bin/node
    npm: 10.2.3 - ~/Library/Caches/fnm_multishells/2228_1725926009881/bin/npm
    pnpm: 9.4.0 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 130.0.6723.70
    Safari: 17.6
```


### Severity

annoyance
Repository: godot
Issue: Can't record microphone (Windows 10 Pro Version 22H2)
Labels: bug,needs testing,topic:audio

### Tested versions

I'm having issues in every version I tested (can't remember them all)
My Project is running on Godot v4.3 ([GodotSteam 4.11](https://github.com/GodotSteam/GodotSteam/releases/tag/v4.11))
Also tried the Recording Demo but the problem hasn't vanished

### System information

Windows 10 Pro - GodotSteam 4.11 - OpenGL3 - Forward+

### Issue description

I want to implement a voice chat and therefore need to record the microphone. I can hear myself when I unmute my mute-bus - I have a record and a mute-bus. But when trying to record the microphone I only get an array of 0s. When monitoring the decibels everything seems to be right.

I tried this on another system (Windows 10 Home) and it worked. Apps like Discord work without any troubles on my system. I even tried recording audio with a custom Python Script and I got a recording

This is really frustrating and I would appreciate some help :-)

### Steps to reproduce

To reproduce this you'd just need a Input AudioStream with a Recording Bus which uses a AudioEffectRecord and a output like an AudioStreamPlayer or any other way to know your get_recording().data

### Minimal reproduction project (MRP)

This Script is getting called every X amount of frames and if a certain decibel threshold has been surpassed:
```
func gatherRecordingData() -> AudioStreamWAV:
        var sample:AudioStreamWAV = AudioStreamWAV.new()
	sample.mix_rate = 22050
	print(effect.get_recording().data)
	sample.data = effect.get_recording().data
	sample.format = AudioStreamWAV.FORMAT_16_BITS
	print(sample.data) #returns just 0s
        return sample
Repository: pytorch
Issue: [FlexAttention] Update the way we generate kernel options
Labels: triaged,oncall: pt2,module: inductor,module: higher order operators,module: pt2-dispatcher,module: flex attention

# Summary

FlexAttention differs from other TritonTemplates currently supported in inductor (mm variants). Traditional templates are typically only enabled when compiling with max-autotune and sweep over many configurations, trying all potential options (relying on aten as a fallback). This approach allows templates to try both erroring and successful configs, with no issues as long as at least one viable configuration is found (typically at least Aten).

However, FlexAttention has encountered scenarios where the default config for certain hardware types runs out of shared memory. For example, this issue was reported in torchtune: https://github.com/pytorch/torchtune/pull/1835#discussion_r1810401819.

To address this issue, we've made the kernel options user-modifiable. However, this should ideally be a last resort rather than the only way to run FlexAttention.

Beyond the hard errors with compile + Flex, there are also potential performance cliffs with default configs. For instance, we've observed that default configs can reduce occupancy by half, leading to approximately 75% performance degradation on certain mask modes.

## Proposal

We should enable smarter kernel selection based on available resources at runtime. This involves two key steps:

1. Use default device properties to more intelligently pick the base config option without autotune.

2. Investigate what compilation metrics are returned by Triton to:
   - Pick more optimal configurations
   - Prune the search space in max-autotune compilation

cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov @zou3519 @ydwu4 @bdhirsh @Chillee @yanboliang @BoyuanFeng
Repository: pytorch
Issue: DISABLED test_manual_with_data_parallel_dp_type_DDP_ScheduleClass0_use_new_runtime_False (__main__.ComposabilityTest)
Labels: oncall: distributed,module: flaky-tests,skipped

Platforms: linux

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

Over the past 3 hours, it has been determined flaky in 6 workflow(s) with 8 failures and 6 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_manual_with_data_parallel_dp_type_DDP_ScheduleClass0_use_new_runtime_False`
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 "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 563, in wrapper
    self._join_processes(fn)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 795, in _join_processes
    self._check_return_codes(elapsed_time)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_distributed.py", line 849, in _check_return_codes
    raise RuntimeError(
RuntimeError: Process 0 terminated or timed out after 300.0627839565277 seconds
```

</details>


Test file path: `distributed/_composable/test_composability/test_pp_composability.py`

cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @clee2000
Repository: pytorch
Issue: Some files in sccache are owned by `hostmaster+pytorch`
Labels: module: ci,triaged,module: infra

### 🐛 Describe the bug

See screenshot below 
![image](https://github.com/user-attachments/assets/2a24f74c-3139-447b-b9cd-114edde398be)


And
```
% aws s3api get-object-acl --bucket ossci-compiler-cache-circleci-v2 --key pull/.sccache_check

An error occurred (AccessDenied) when calling the GetObjectAcl operation: Access Denied
% aws s3api get-object-acl --bucket ossci-compiler-cache-circleci-v2 --key trunk/.sccache_check
{
    "Owner": {
        "DisplayName": "AWS_CORPSEC+fbossci",
        "ID": "5765cc9ab5a7f95f15b72ed8da5f8b860f94713e1d59c518c16ce2b9ef140882"
    },
    "Grants": [
        {
            "Grantee": {
                "DisplayName": "AWS_CORPSEC+fbossci",
                "ID": "5765cc9ab5a7f95f15b72ed8da5f8b860f94713e1d59c518c16ce2b9ef140882",
                "Type": "CanonicalUser"
            },
            "Permission": "FULL_CONTROL"
        }
    ]
}
```

### Versions

CI

cc @seemethere @pytorch/pytorch-dev-infra
Repository: langchain
Issue: create_react_agent will reset max_length = 20
Labels: 🤖:bug

### Checked other resources

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

### Example Code

```
hf = HuggingFacePipeline.from_model_id(
    model_id="Qwen/Qwen2.5-3B-Instruct-AWQ",
    task="text-generation",
    device=0,
    pipeline_kwargs={"max_new_tokens": 512},
)

agent = create_react_agent(hf, tools, custom_prompt)
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True")
agent_executor.invoke({"input": conten})
```



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

Traceback (most recent call last):
  File "D:\AI\anaconda3\envs\autotest\Lib\threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "D:\AI\anaconda3\envs\autotest\Lib\threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "D:\AI\anaconda3\envs\autotest\Lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\anaconda3\envs\autotest\Lib\site-packages\transformers\generation\utils.py", line 2068, in generate
    self._validate_generated_length(generation_config, input_ids_length, has_default_max_length)
  File "D:\AI\anaconda3\envs\autotest\Lib\site-packages\transformers\generation\utils.py", line 1383, in _validate_generated_length
    raise ValueError(
ValueError: Input length of input_ids is 617, but `max_length` is set to 20. This can lead to unexpected behavior. You should consider increasing `max_length` or, better yet, setting `max_new_tokens`.

### Description

but if use initialize_agent ,it work.

### System Info

System Information
------------------
> OS:  Windows
> OS Version:  10.0.19045
> Python Version:  3.11.10 | packaged by Anaconda, Inc. | (main, Oct  3 2024, 07:22:26) [MSC v.1929 64 bit (AMD64)]

Package Information
-------------------
> langchain_core: 0.3.12
> langchain: 0.3.4
> langchain_community: 0.3.3
> langsmith: 0.1.137
> langchain_huggingface: 0.1.0
> langchain_text_splitters: 0.3.0

Optional packages not installed
-------------------------------
> langgraph
> langserve

Other Dependencies
------------------
> aiohttp: 3.10.10
> async-timeout: Installed. No version info available.
> dataclasses-json: 0.6.7
> httpx: 0.27.2
> huggingface-hub: 0.26.1
> jsonpatch: 1.33
> numpy: 1.26.4
> orjson: 3.10.10
> packaging: 24.1
> pydantic: 2.9.2
> pydantic-settings: 2.6.0
> PyYAML: 6.0.2
> requests: 2.32.3
> requests-toolbelt: 1.0.0
> sentence-transformers: 3.2.1
> SQLAlchemy: 2.0.36
> tenacity: 9.0.0
> tokenizers: 0.20.1
> transformers: 4.46.0
> typing-extensions: 4.12.2
Repository: PowerToys
Issue: File association profiles and/or backup
Labels: Needs-Triage

### Description of the new feature / enhancement

It takes a while to set up file associations to match my workflow. There are several applications that will silently change those associations for every file type they support (Wondershare Uniconverter springs to mind, but is not the only one) forcing me to go back into settings and put them back the way I want them. Since there are dozens of file types affected, and a lot of different applications to choose from for some of them, this takes a lot of time and is quite annoying.

I would like a tool that simply backs up my file associations and allows me to restore them easily.

It can do this for all or selected file types.  If it allows selection of the file types to save the associations for, this would allow a user to create profiles for their workflows, simply restoring the file associations stored in that profile.

I believe this would be a fairly straight forward tool to implement and that many people would find it useful.

### Scenario when this would be used?

- Restoring users preferences after an application installer messes them up:

  1. User configures file associations with applications of their choice
  2. User saves the file associations in a file
  3. User updates or installs an application that unconditionally changes file associations for files it may be used on
  4. User notices that clicking on a file brings up the wrong application and is annoyed
  5. User restores the file associations from the file saved in step 2
  6. User is now no longer annoyed

- Workflow profiles
  1. User configures file associations for media files with application set A (eg, Nero)
  2. User saves current file associations for selected media file types in a profile named "Media Apps 1"
  1. User configures file associations for media files with application set B (eg, Adobe)
  2. User saves current file associations for selected media file types in a profile named "Media Apps 2"
  3. User wants to use application set A to create a video: User restores "Media Apps 1" profile
  4. User creates the video
  5. User wants to use application set B to refine the video and add special effects: User restores "Media Apps B" profile
  6. User refines the video

### Supporting information

At it's simplest level, I believe this is simply saving off and restoring registry entries for file type associations.

Adding a dialog to display the known file types and allowing the user to select the settings to be saved will allow for profiles.

I don't think it's required to have a dialog to allow the user to select the settings to restore, but that would also be a nice option.
Repository: rust
Issue: rustdoc: Appearance of `#[doc(hidden)]` differs from all the other attributes
Labels: T-rustdoc,A-attributes,P-low,C-bug,requires-nightly,A-rustdoc-ui

One reproducer where it's quite pronounced:

```rs
#[doc(hidden)]
#[non_exhaustive]
#[repr(C)]
pub struct S(u8);
```

Output (with `--document-hidden-items -Zunstable-options`[^1]):

![Image](https://github.com/user-attachments/assets/aa17fc4e-bde1-4edf-ab3b-38b70efb5d7f)

That's because it gets rendered separately in `visibility_print_with_space`. I would rather we didn't do that. It should be printed together with all the other attributes and have the same visual appearance.

[^1]: Hence the https://github.com/rust-lang/rust/labels/requires-nightly label

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"poliorcetics"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: langchain
Issue: Offline using DirectoryLoader/UnstructuredLoader timeout
Labels: 🤖:bug

### Checked other resources

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

### Example Code

loader = DirectoryLoader("path/", glob="**/*.txt")
document = loader.load()

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

_No response_

### Description

When I load a folder containing only 1 txt file into Document format offline using DirectoryLoader/UnstructuredLoader, it gets stuck at loader.load(). However, this issue does not occur when I switch to TextLoader.
What could be the situation? Does UnstructuredLoader load public URLs during its operation?

### System Info

offline 
python==3.12
langchain==0.3.4
langchain_community==0.3.3
langchain_unstructured==0.1.5