sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Verify that `dart test` has acceptable semantics for engine CI
Labels: engine,P2,c: tech-debt,team-engine,triaged-engine

_Forked from https://github.com/flutter/engine/pull/55475_ some questions that shouldn't be buried on that PR.

I'm not sure what to do with this information (maybe there is an ask for the engine team to improve the infra or file downstream bugs?), but filing this for posterity to divorce it from merging https://github.com/flutter/engine/pull/55475 (which is unrelated to adding `dart test`, `dart test` already runs on engine CI).

---

> Does `dart test` do an implicit `pub get`?

Yes.

> Do we need a flag to skip implicit `pub get`s for `dart test`?

Unclear (based on the [discussion so far](https://github.com/flutter/engine/pull/55475)), leaning no.

> Does `dart test` write to the source tree at all?

Yes, since we consider `.gitignore`'d directories - `.dart_tool/test`.

> Do we need to isolate `dart test` in a way where it doesn't write to the source tree?

Unclear (based on the [discussion so far](https://github.com/flutter/engine/pull/55475)), leaning no.

> Does dart test send telemetry? Should we be explicitly disabling that on CI, somehow?

`package:unified_analytics` detect if we're running on CI and disable telemetry automatically

> Is it possible to ensure that no other process connects to a compilation server?

Yes, with [`--resident-compiler-info-file`](https://github.com/flutter/engine/pull/55475#issuecomment-2383903545)
Repository: pytorch
Issue: DISABLED test_byte_tensor_assignment (__main__.TestAdvancedIndexing)
Labels: triaged,module: flaky-tests,module: macos,skipped,module: mps

Platforms: mac, macos

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

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_byte_tensor_assignment`
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/test_mps.py", line 11657, in test_byte_tensor_assignment
    self.assertEqual(len(w), 1)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11107079890/lib/python3.9/site-packages/torch/testing/_internal/common_utils.py", line 3889, in assertEqual
    raise error_metas.pop()[0].to_error(
AssertionError: Scalars are not equal!

Expected 1 but got 2.
Absolute difference: 1
Relative difference: 1.0

To execute this test, run the following from the base repo dir:
    python test/test_mps.py TestAdvancedIndexing.test_byte_tensor_assignment

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

</details>


Test file path: `test_mps.py`

cc @clee2000 @malfet @albanD @kulinseth @DenisVieriu97 @jhavukainen
Repository: flutter
Issue: Flavor API should be derived at the `flutter assemble` level so it is set correctly when run from native tooling, like Android Studio or Xcode
Labels: platform-ios,tool,platform-mac,P2,team-tool,triaged-tool

Currently, the app flavor is passed into the `FLUTTER_APP_FLAVOR` based on the `--flavor` flag passed into the Flutter tool, as implemented in https://github.com/flutter/flutter/pull/134179

https://github.com/flutter/flutter/blob/9441f9d48fce1d0b425628731dd6ecab8c8b0826/packages/flutter_tools/lib/src/runner/flutter_command.dart#L1341-L1352

However, that solution doesn't work when run from native tooling, like Android Studio of Xcode, which calls only into `flutter assemble`, so `FLUTTER_APP_FLAVOR` is unset.  

The proposed community solution at https://github.com/flutter/website/issues/11178 for iOS/macOS requires `DART_DEFINES` to be individually set per Xcode scheme/config, which would be very easy to get out-of-sync, and essentially unnecessary given that `assemble` already has all the information it needs to parse which flavor should be used.

It would be better if the flavor parsing logic were pushed down into `assemble`.
Repository: vscode
Issue: [macOS] Custom terminal not found on first launch
Labels: bug,terminal-profiles

<!-- ⚠️⚠️ 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

<!-- 🪓 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: 1.93.1
- OS Version: macOS Sonoma 14.5

We're using a custom terminal (provided by our extension) set as the default terminal in a .code-workspace. When launching VS Code, the wrong terminal is being used for the first terminal instance created. Every subsequent terminal is created using our custom terminal as expected. This can lead to issues when using our extension because we are providing environment variables to the terminal that are missing when the wrong terminal is used.

I've tried adjusting the extension activation settings and confirmed that the extension is indeed activating.

I am able to reproduce the same issue using the terminal-sample in the VS Code extension samples repo, so it doesn't appear to be specific to our extension.

I can only reproduce this issue on macOS - I could not reproduce on Windows 10.

Steps to Reproduce:

1. Clone the `terminal-sample` (https://github.com/microsoft/vscode-extension-samples/tree/main/terminal-sample).
2. Build and debug the sample.
3. Close the Terminal view, if open.
4. Create a workspace (`File > Save Workspace As...`) and save it anywhere.
5. In the workspace settings, set the custom terminal as the default: 
```
"settings": {
    "terminal.integrated.defaultProfile.osx": "Terminal API Profile",
}
```
6. Reload the debugged VS Code Window using the Command Palette (`Developer: Reload Window`)
7. Open the workspace settings and note the warning under the "Terminal API Profile":
<img width="1512" alt="Screenshot 2024-09-30 at 3 20 42 PM" src="https://github.com/user-attachments/assets/83c69b4e-3b29-45a9-b345-193b7ead1678">
8. Create a new terminal. This should use the "Terminal API Profile" by default, but it opens `zsh` instead.
9. Create another new terminal. The "Terminal API Profile" is correctly used.
Repository: vscode
Issue: API to access the shell type for a given terminal
Labels: feature-request,api,terminal,on-testplan,api-proposal

Currently there is no API available on the terminal that allows extensions to detect the shell type. This is needed for Python where there are shell specific activation scripts.
Repository: pytorch
Issue: [inductor] requires_stride_order doesn't work with unbacked symints
Labels: triaged,module: custom-operators,oncall: pt2,module: dynamic shapes,module: inductor,module: pt2-dispatcher

```py
import torch
from torch import Tensor

torch._dynamo.config.capture_dynamic_output_shape_ops = True

@torch.library.custom_op("mylib::foo", mutates_args={})
def foo(x: Tensor) -> Tensor:
    return x.clone()

@foo.register_fake
def _(x):
    u0 = torch.library.get_ctx().new_dynamic_size()
    u1 = torch.library.get_ctx().new_dynamic_size()
    u2 = torch.library.get_ctx().new_dynamic_size()
    return x.new_empty(u0, u1, u2)

@torch.library.custom_op("mylib::bar", mutates_args={})
def bar(x: Tensor) -> Tensor:
    return x.clone()

@bar.register_fake
def _(x):
    return torch.empty_like(x)


x = torch.randn(2, 3, 4)
@torch.compile(fullgraph=True)
def f(x):
    y = foo(x)
    z = bar(y)
    return z

f(x)
print("done")
```

In this case we should be able to infer the order of the sym strides (they are `u1 * u2, u2, 1`). Maybe we just need a sorting algorithm that understand unbacked symints

cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @bdhirsh
Repository: deno
Issue: Deno test runs tests in workspace twice if test is not in a member
Labels: bug,testing,workspaces

Title isn't quite accurate, it also only happens if you pass a path to deno test.

Repro:
```jsonc
// deno.jsonc
{
  "workspace": [
    "member"
  ]
}
```
```
❯ mkdir member; touch member/deno.json
```
```ts
// main_test.ts (in root of workspace)
Deno.test(function myCoolTest() {
  console.log("running test...");
})
```
```
❯ deno test .
running 1 test from ./main_test.ts
myCoolTest ...
------- output -------
running test...
----- output end -----
myCoolTest ... ok (0ms)
running 1 test from ./main_test.ts
myCoolTest ...
------- post-test output -------
running test...
----- post-test output end -----
myCoolTest ... ok (0ms)

ok | 2 passed | 0 failed (11ms)
```

If you omit the `.` or the test is in `member`, this doesn't occur
Repository: pytorch
Issue: Namespace error when using torch::unravel_index to implement a custom function in cuda.
Labels: triaged,module: numpy

### 🚀 The feature, motivation and pitch
Thank you all for the great library. 
I wanted to please ask wlease where is the unravel_index in located in the cpp source code of torch? since it seems it is not in the namespace ? 

God bless
### Alternatives

_No response_

### Additional context

_No response_

cc @mruberry @rgommers
Repository: ui
Issue: [bug]: Tooltip have a problem with the index
Labels: bug

### Describe the bug

![Screenshot_1](https://github.com/user-attachments/assets/d7e0a0ac-eb47-4a75-9aed-11d58453d2e9)

```
<Tooltip>
      <TooltipTrigger className="w-full">
        <Button variant="ghost" className="flex w-full justify-center gap-2">
          <IconComponent className="h-4 w-4" />
        </Button>
      </TooltipTrigger>
      <TooltipContent side="right">
        <p>{text}</p>
      </TooltipContent> 
     </Tooltip>
```

The problem is that it always stays below, even though I put a higher z-index

### Affected component/components

Tooltip

### How to reproduce

1. Clone component
2. Usage component

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Windows, Arc and Brave
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: PowerToys
Issue: Sort Pattern and Replace-With lists by most recently used
Labels: Needs-Triage

### Description of the new feature / enhancement

Sort the "Pattern" and "Replace With" drop-down history lists by most recently used, rather than the current sort which seems random. 

### Scenario when this would be used?

At times I am going back and forth between a small number of patterns/filenames. It'd be nice to have my more recently-used items near the top of the history lists instead of randomly distributed (or even disappearing) from the lists.

### Supporting information

N/A
Repository: vscode
Issue: `inlineChat.viewInChat` command from notebook will cause pylance to crash
Labels: under-discussion,notebook,inline-chat

<!-- ⚠️⚠️ 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/No

<!-- 🪓 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: 1.93.1
- OS Version: Windows 11 Enterprise Version 24H2 (OS Build 26100.1742)

Steps to Reproduce:

1. Install Python and Pylance extensions
2. Open a notebook or create a notebook file with the following content, and press `ctrl + i` to open the copilot inline chat
```python
# notebook1.ipynb
def foo():
    print("foo")
```
3. Ask for a code change, then run inlineChat.viewInChat on the response (ctrl+down)![Image](https://github.com/user-attachments/assets/b966f00a-773a-4307-a262-c964c2babba6)
4. Pylance crashes with bad request
```
2024-09-30 14:25:21.458 [info] [Error - 2:25:21 PM] Request textDocument/documentSymbol failed.
2024-09-30 14:25:21.458 [info]   Message: Request textDocument/documentSymbol failed with message: Debug Failure. Notebook file should not be passed to getWorkspaceForFile: vscode-chat-code-block:/c%3A/Users/stellahuang/source/projects/issue6427/notebook1.ipynb?6ff16a3c-1351-4aff-837f-d29e7cb883a7
  Code: -32603
```

When inspecting the [textDocument/documentSymbol](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_documentSymbol) request from the Pylance side, I noticed that the `DocumentSymbolParams.textDocument.uri = 'vscode-chat-code-block:/c%3A/Users/stellahuang/source/projects/issue6427/notebook1.ipynb?3574a4e6-6692-4217-86b1-0ca8750d25f6'`. It looks like the query is for the notebook file itself, not for a specific cell, which seems like a bug.

Related bug opened in Pylance: https://github.com/microsoft/pylance-release/issues/6454
Repository: flutter
Issue: [A11y] Prelaunch report and internal android a11y testing framework can work with Flutter
Labels: P2,fyi-android,team-accessibility,triaged-accessibility

### Use case

Currently the PDC prelaunch report skips Flutter app in all android version.

Pre API 34, all warning are muted
Post API 34, PDC isn't able to read into Flutter ANI and produce a useful report.

there isn't anything we can do about pre 34 because Android doesn't provide an API to look into virtual view, but we should make sure post API 34 the PDC can correctly identify issues in Flutter apps.

### Proposal

make sure internal a11y testing framework can run on flutter post API 34
Repository: flutter
Issue: Support iOS targets in `et run`
Labels: platform-ios,P3,team-engine,triaged-engine,e: engine-tool

`et run` (which builds the engine, and passes `--local-engine` flags to `flutter run`) does not support iOS.

Besides finding a champion that regularly builds and debugs iOS engines to help develop (and dogfood) this workflow, we also might have assumptions in `et` that don't hold for iOS builds. For example, [`<RunTarget>.buildConfigFor`](https://github.com/flutter/engine/blob/bd36636b9a83dfdbb7ef4a0c8fa9ad66f04c7625/tools/engine_tool/lib/src/run_utils.dart#L44-L55) makes an assumption about a 1:1 mapping from a target platform to an engine build:

```dart
String buildConfigFor(String mode) {
  switch (targetPlatform) {
    case 'android-arm64':
      return 'android_${mode}_arm64';
    case 'darwin':
      return 'host_$mode';
    case 'web-javascript':
      return 'chrome_$mode';
    default:
      throw UnimplementedError('No mapping for $targetPlatform');
  }
}
```

However, for iOS, there isn't such a 1:1 mapping, as there are separate builds for an iOS simulator or device.

`RunTarget` would need to be expanded to receive both the `TargetPlatform` _and_  [`emulator`](https://github.com/flutter/flutter/blob/9441f9d48fce1d0b425628731dd6ecab8c8b0826/packages/flutter_tools/lib/src/device.dart#L899) key.
Repository: PowerToys
Issue: [Advanced Paste] - Add "Copy by column or zone"
Labels: Needs-Triage

### Description of the new feature / enhancement

"Copy by Column" acting the same as the actual everyday copy function (being by rows) but vertically, down to the end of the page (not the window). By pointer definibile column start and width.
"Copy by Zone" acts creating a quadrangular zone with the pointer to inscribe a specific portion of text to be copied.

### Scenario when this would be used?

a. extract text from column formatted text e.g. newspapers online to be possibly processed with A.I., and/or pasted and collected in various file types
b. extract text or specific parts of text from data-sheet tables other then (or including) spreadsheets, like texted pdf, rtf, web pages, etc.


### Supporting information

A significant number of publications are formatted by columns, from scholar to technical manuals in every sector, patent documents etc.. Many webpages are too.
Mostly, the sole by-row-copy can't help. 

"Copy by Column" can be technically a little variant of the function "Copy by Zone". But from the point of view of the user it makes a big difference in use being able to specify by cursor the to be selected column width only, having the entire text down to the end of the page selected and copied without having to scroll down and then up again for the next column selection and so on.
Repository: vscode
Issue: Contributing a text editor provider raises warning, even when user selects it as 'workbench.editor.defaultBinaryEditor'
Labels: bug,help wanted,custom-editors

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
Contributing a 'CustomTextEditorProvider', to be selected by the user as 'workbench.editor.defaultBinaryEditor' still raises the warning of 'File seems to be binary and cannot be opened as text'
<img width="277" alt="Warning" src="https://github.com/user-attachments/assets/129b30d7-dc1d-4b82-a7a6-962545ff52a6">

**Context:**
We are currently developing a VSCode extension, to parse binaries with objdump and provide the information about the binary. We need the output to be presented in a text editor, not a custom editor as we are contributing a new language model for objdump output. So, mainly we need the output syntax coloring, as document symbols to be provided, which is not possible in the custom editor WebView.

We need a way to bypass the warning, as the user selects the provided custom text editor as the default binary editor.

[Related Discussion](https://github.com/microsoft/vscode-discussions/discussions/1532#discussioncomment-10799293)
Repository: transformers
Issue: T5 is ExecuTorch compatible
Labels: Feature request,ExecuTorch

### Feature request

Enable T5 to ["Export to ExecuTorch"](https://github.com/huggingface/transformers/issues/32253) workflow

### Motivation

See details in #32253

### Your contribution

model enablement
Repository: transformers
Issue: Stable Diffusion is ExecuTorch compatible
Labels: Feature request,ExecuTorch

### Feature request

Enable Stable Diffusion to ["Export to ExecuTorch"](https://github.com/huggingface/transformers/issues/32253) workflow

### Motivation

See details in #32253

### Your contribution

Stable Diffusion model enablement
Repository: transformers
Issue: Phi3 is ExecuTorch compatible
Labels: Feature request,ExecuTorch

### Feature request

Enable Phi3-mini to ["Export to ExecuTorch"](https://github.com/huggingface/transformers/issues/32253) workflow

### Motivation

See details in #32253

### Your contribution

model enablement
Repository: PowerToys
Issue: [Mouse Without Borders] - refactoring "Common" classes
Labels: Idea-Enhancement,Status-In progress,Product-Mouse Without Borders

### Description of the new feature / enhancement

As a precursor to https://github.com/microsoft/PowerToys/issues/34126 (Integrate Mouse Jump with Mouse Without Borders) I've spoken with @crutkas and @ethanfangg about doing some mechanical refactoring to break the large "Common" class into multiple smaller classes as general maintenance / housekeeping work.

Each "Common.*.cs" partial file will be turned into a separate static class so as to reduce the scope of the private members inside them and make it easier / safer to perform other changes (e.g. integration with Mouse Jump) at a later date.

Changes to each "Common.*.cs" file will be submitted as a separate PR.

### Scenario when this would be used?

No change in functionality - this is a refactoring / maintenance change designed to make some future work easier / safer to implement.

### Supporting information

_No response_
Repository: transformers
Issue: Mamba is ExecuTorch compatible
Labels: Feature request,ExecuTorch

### Feature request

Enable Mamba to ["Export to ExecuTorch"](https://github.com/huggingface/transformers/issues/32253) workflow

### Motivation

See details in #32253

### Your contribution

Mamba model enablement
Repository: transformers
Issue: Whisper is ExecuTorch compatible
Labels: Feature request,ExecuTorch

### Feature request

Enable Whisper to ["Export to ExecuTorch"](https://github.com/huggingface/transformers/issues/32253) workflow

### Motivation

See details in #32253

### Your contribution

TBD
Repository: bitcoin
Issue: Docs: "External signer" documentation is outdated. (plz close if unwanted request)
Labels: Docs

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Current behaviour

Specification documents some basic command-line options only.

### Expected behaviour

Including missing flags, at least `--account`, `--chain`, `--stdin`. And in case of `--stdin`, all further stdin-commands and corresponding results.

### Steps to reproduce

N/A

### Relevant log output

N/A

### How did you obtain Bitcoin Core

Other

### What version of Bitcoin Core are you using?

master-ref in repo

### Operating system and version

N/A

### Machine specifications

N/A