sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: git: Staging a selection stages entire block
Labels: bug,git,diff-editor

<!-- ⚠️⚠️ 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.94.0
- OS Version: Windows 10

Steps to Reproduce:

1. Make a multiline change to a file in a git repo
2. Goto `Source Control` view and click the file under `Changes`
3. Observe that the actions in between the diff editors are `-> Revert Block` and `+ Stage Block`
4. Now select a subset of the change and observe the actions change to `-> Revert Selection` and `+ Stage selection`
5. Click `+ Stage selection`
6. The entire change/block gets staged instead of just the selected lines

Weirdly enough, it only happens for some changes in some files
Repository: flutter
Issue: [Cupertino] Support Linear Progress View  style
Labels: c: new feature,framework,a: fidelity,f: cupertino,c: proposal,P2,team-design,triaged-design

### Use case

iOS `ProgressView` supports both circular and linear progress styles.
https://developer.apple.com/documentation/swiftui/progressview

![image](https://github.com/user-attachments/assets/a0b5effc-45f3-4900-872c-35b9d1ce4dd1)
![image](https://github.com/user-attachments/assets/5f958799-c355-434b-9f85-3e5f8bad4043)


### Proposal

[CupertinoActivityIndicator](https://api.flutter.dev/flutter/cupertino/CupertinoActivityIndicator-class.html) currently on supports circular progress view style.

<img width="346" alt="image" src="https://github.com/user-attachments/assets/e8d37574-e5e4-4aeb-b60c-33af1c116eab">


Add linear progress view style
Repository: godot
Issue: Some debugger tabs break editor UI at minimal window width
Labels: bug,topic:editor,topic:gui

### Tested versions

v4.4.dev.custom_build [5ccbf6e4c]

### System information

Godot v4.4.dev (5ccbf6e4c) - macOS 14.5.0 - Multi-window, 1 monitor - Metal (Forward+) - integrated Apple M1 Max (Apple7) - Apple M1 Max (10 threads)

### Issue description

Profiler, Visual Profiler and Network Profiler make the window content clip:

https://github.com/user-attachments/assets/02004b50-9ef2-4999-b2b4-d1137e119f78



### Steps to reproduce

Open Profiler/Visual Profiler/Network Profiler and resize the window

### Minimal reproduction project (MRP)

N/A
Repository: flutter
Issue: Re-add `--suppress-analytics` to the `gen_dartcli_call` GN template
Labels: dependency: dart,P2,blocked,c: tech-debt,team-engine,triaged-engine,dependency:dart-triaged

Blocked on https://github.com/dart-lang/sdk/issues/56842.
Repository: rust
Issue: Support "zippered" macOS binaries
Labels: O-macos,O-ios,T-compiler,C-feature-request,A-targets

Dynamic libraries on macOS can be built in a way that allows loading them when running under Mac Catalyst as well. This is similar in spirit to [universal binaries](https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary), but technologically different in that only a single binary and architecture is actually built, which allows for a lot of code sharing.

This can be used in Xcode [when creating XCFramework bundles](https://developer.apple.com/documentation/xcode/creating-a-multi-platform-binary-framework-bundle), and is underpinned by the the [`-darwin-target-variant`](https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-darwin-target-variant) flag in Clang - but that's the only official docs I could find on it. I did find [this note](https://github.com/nico/hack/blob/be6e1a6885a9d5179558b37a0b4c36bec9c4d377/notes/catalyst.md#building-a-zippered-dylib) though that explains the details really well.

If we wanted to support this in `rustc`, there's two questions that need answering:
- How does the user activate it? A separate triple? An extra commandline flag?
- How does the user detect this mode of compilation in their code? `cfg(all(target_os = "macos", target_abi = "macabi"))`? `target_abi = "zippered"`?

Opening this issue to have a place to refer back to, I'm undecided whether it's worth the effort to try to support, would like to see a concrete use-case first (if you know of one, please comment below!)

@rustbot label O-ios O-macos C-feature-request A-targets
Repository: go
Issue: cmd/internal/testdir: Test/fixedbugs/issue44732.go failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "cmd/internal/testdir" && test == "Test/fixedbugs/issue44732.go"
```

Issue created automatically to collect these failures.

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

    === RUN   Test/fixedbugs/issue44732.go
    === PAUSE Test/fixedbugs/issue44732.go
    === CONT  Test/fixedbugs/issue44732.go
        testdir_test.go:147: exit status 1
            go: error obtaining buildID for go tool compile: signal: segmentation fault (core dumped)
            
    --- FAIL: Test/fixedbugs/issue44732.go (2.57s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: flutter
Issue: Remove packages not intended to be user facing from api.flutter.dev
Labels: framework,d: api docs,c: proposal,P3,team-framework,triaged-framework

Some packages listed on the left side of api.flutter.dev are not intended to be user facing so the current positioning is misleading. From a quick skim at least boolean_selector, source_span, stack_trace , string_scanner, term_glyph, test_api are packages which are explicitly developed by us for our own tooling. We don't block external use, but we don't allocate resources to supporting external use. There may be other packages that aren't helpful for flutter users to have promoted.

My guess is most of these are pulled because of transitive flutter deps.

Can we filter these packages?
Repository: flutter
Issue: Local engine `gen_snapshot` path is incorrect, gen_snapshot_arm64 not found
Labels: engine,P2,team-ios,triaged-ios

This is breaking running with a locally built engine in profile.

## reproduction steps
```
flutter --local-engine=ios_profile --local-engine-host=host_profile_arm64 --local-engine-src-path=/Users/aaclarke/dev/engine/src/ run --profile
```

## seen results
```
Launching lib/main.dart on iPhone (5) in profile mode...
Warning: Missing build name (CFBundleShortVersionString).
Warning: Missing build number (CFBundleVersion).
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
Automatically signing iOS for device deployment using specified development team in Xcode project: S8QB4VV633
Running Xcode build...                                                  
Xcode build done.                                           21.4s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): Target aot_assembly_profile failed: ProcessException: Failed to find
"/Users/aaclarke/dev/engine/src/out/ios_profile/clang_x64/gen_snapshot_arm64" in the search path.
```

## expected results
I believe the corret path should be `/Users/aaclarke/dev/engine/src/out/ios_profile/clang_arm64/gen_snapshot`

## doctor
```
[!] Flutter (Channel [user-branch], 3.26.0-1.0.pre.350, on macOS 14.7 23H124 darwin-arm64, locale en)
    ! Flutter version 3.26.0-1.0.pre.350 on channel [user-branch] at /Users/aaclarke/dev/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision 59e57437db (61 minutes ago), 2024-10-03 13:09:19 -0700
    • Engine revision de1762dbc5
    • Dart version 3.6.0 (build 3.6.0-316.0.dev)
    • DevTools version 2.40.0-dev.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform
      update checks and upgrades.
```
Repository: go
Issue: cmd/compile: segmentation fault on trivial tests (openbsd-ppc64)
Labels: NeedsInvestigation,compiler/runtime

```
#!watchflakes
default <- pkg == "cmd/internal/testdir" && test == "Test/ken/robfor.go"
```

Issue created automatically to collect these failures.

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

    === RUN   Test/ken/robfor.go
    === PAUSE Test/ken/robfor.go
    === CONT  Test/ken/robfor.go
        testdir_test.go:147: signal: segmentation fault (core dumped)
            
    --- FAIL: Test/ken/robfor.go (0.90s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: rust
Issue: private_interfaces reports the visability of items in pseudocode
Labels: A-diagnostics,T-compiler,D-papercut

### Code

```rs
#![allow(dead_code)]

mod a {
    pub mod b {
        pub(in crate::a) struct Huh;
        pub fn eee() -> Huh { Huh }
    }
}
```

### Current output

```

warning: type `Huh` is more private than the item `eee`
 --> src/lib.rs:6:9
  |
6 |         pub fn eee() -> Huh { Huh }
  |         ^^^^^^^^^^^^^^^^^^^ function `eee` is reachable at visibility `pub(crate)`
  |
note: but type `Huh` is only usable at visibility `pub(a)`
 --> src/lib.rs:5:9
  |
5 |         pub(in crate::a) struct Huh;
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = note: `#[warn(private_interfaces)]` on by default
```

### Desired output

```

warning: type `Huh` is more private than the item `eee`
 --> src/lib.rs:6:9
  |
6 |         pub fn eee() -> Huh { Huh }
  |         ^^^^^^^^^^^^^^^^^^^ function `eee` is reachable at visibility `pub(crate)`
  |
note: but type `Huh` is only usable at visibility `pub(in crate::a)`
 --> src/lib.rs:5:9
  |
5 |         pub(in crate::a) struct Huh;
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = note: `#[warn(private_interfaces)]` on by default
```

### Rationale and extra context

`pub(a)` is not valid rust code in any edition.

### Other cases

_No response_

### Rust Version

rustc 1.83.0-nightly (2bd1e894e 2024-09-26)
binary: rustc
commit-hash: 2bd1e894efde3b6be857ad345914a3b1cea51def
commit-date: 2024-09-26
host: x86_64-unknown-linux-gnu
release: 1.83.0-nightly
LLVM version: 19.1.0


### Anything else?

_No response_
Repository: go
Issue: net: TestAllocs failures
Labels: NeedsInvestigation

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

Issue created automatically to collect these failures.

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

    === RUN   TestAllocs
        udpsock_test.go:540: write udp4 127.0.0.1:53085->127.0.0.1:53085: sendto: no buffer space available
    --- FAIL: TestAllocs (0.40s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: flutter
Issue: Add Tajik Language (tg_TJ) Support to Flutter Localization (l10n)
Labels: c: new feature,tool,framework,a: internationalization,c: proposal,P2,team-framework,triaged-framework

### Use case

As a developer, I want to create a Flutter application that supports multiple languages, including Tajik, so that I can provide a localized experience for Tajik-speaking users.

User Story:

As a Tajik-speaking user, I should be able to interact with mobile applications in my native language, making it easier to navigate, understand, and use the app’s features.
Currently, Flutter does not natively support Tajik in its flutter_localizations package, limiting developers' ability to create fully localized apps for Tajik-speaking communities.
Problem:

The lack of Tajik language support in Flutter localization forces developers to rely on custom implementations or external libraries, which may not be as robust or future-proof as native Flutter localization support.
Proposed Solution:

Implement and integrate the Tajik language (ISO code: tg) into the flutter_localizations package.
Add Tajik translations for date, time, and number formatting, as well as standard UI elements such as buttons, dialogs, alerts, etc.
Provide Tajik language support for Material components and widgets where localization is required.

Refs: 
https://api.flutter.dev/flutter/flutter_localizations/GlobalMaterialLocalizations-class.html
https://github.com/flutter/flutter/blob/master/packages/flutter_localizations/lib/src/l10n/README.md
### Proposal

We propose adding support for the Tajik language (ISO 639-1 code: tg) to the Flutter localization (flutter_localizations) package. Tajik is a variant of Persian spoken by over 9 million people primarily in Tajikistan and surrounding regions. Adding support for Tajik would enable developers to create localized Flutter applications that cater to Tajik-speaking users, ensuring wider accessibility and inclusivity in the global market.
Repository: go
Issue: net: TestIPv6WriteMsgUDPAddrPortTargetAddrIPVersion failures
Labels: NeedsInvestigation

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

Issue created automatically to collect these failures.

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

    === RUN   TestIPv6WriteMsgUDPAddrPortTargetAddrIPVersion
        udpsock_test.go:691: write udp [::]:57774->127.0.0.1:12345: sendmsg: no buffer space available
    --- FAIL: TestIPv6WriteMsgUDPAddrPortTargetAddrIPVersion (0.00s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: angular
Issue: Standalone components not respecting NO_ERRORS_SCHEMA or stubbed component
Labels: area: testing,area: docs

### Which @angular/* package(s) are the source of the bug?

Don't known / other

### Is this a regression?

No

### Description

According to the [Nested Component Tests](https://angular.dev/guide/testing/components-scenarios#nested-component-tests) documentation, we should be able to use `schemas: [NO_ERRORS_SCHEMA]` or a stubbed component, but I'm seeing that the nested component is compiled and available on the DOM.

*Steps to repro*
1. `npm install`
2. `ng test`

*Expected result*
Tests pass

*Actual result*
Nested component (`app-child` in repo example) is compiled and therefore its injected services need to be mocked, so it's throwing an error `No provider for HttpClient`

### Please provide a link to a minimal reproduction of the bug

https://github.com/lcecil-uw/standalone-tests

### Please provide the exception or error you saw

NullInjectorError: R3InjectorError(DynamicTestModule)[ApiService -> HttpClient -> HttpClient]: 
  NullInjectorError: No provider for HttpClient!

### Please provide the environment you discovered this bug in (run `ng version`)

Angular CLI: 18.2.7
Node: 20.15.0
Package Manager: npm 10.7.0
OS: win32 x64

Angular: 18.2.7
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.7
@angular-devkit/build-angular   18.2.7
@angular-devkit/core            18.2.7
@angular-devkit/schematics      18.2.7
@schematics/angular             18.2.7
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.10

### Anything else?

_No response_
Repository: go
Issue: net: TestUDPIPVersionReadMsg failures
Labels: NeedsInvestigation

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

Issue created automatically to collect these failures.

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

    === RUN   TestUDPIPVersionReadMsg
        udpsock_test.go:636: write udp4 127.0.0.1:53084->127.0.0.1:53084: sendto: no buffer space available
    --- FAIL: TestUDPIPVersionReadMsg (0.00s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: pytorch
Issue: [torch2.4][Distributed Checkpoint] new flatten logic is error-prone
Labels: oncall: distributed,module: distributed_checkpoint,oncall: distributed checkpointing

### 🐛 Describe the bug

Hi team, 
the new [state dict flatten logic](https://github.com/pytorch/pytorch/commit/6f1e3a6bf73327a351dc8a8c08635bd727b3134f) introduced in torch 2.4 can caused undesired key mismatch. 

let's say before training any batch, state_dict() has an item like this: 
`state_dict["my_key"] = []`

after train a few batches, i stored some information, and it becomes: 
`state_dict["my_key"] = [{"key_1":1}, {"key_2":2}]`

with distributed checkpointing, when saving: 
the state dict key will be flattened as:
`my_key.0.key_1`
`my_key.1.key_2`

but when loading before training any batch, since state_dict["my_key"] = [], after flatten, the key is
`my_key`

so it will cause mismatch here https://github.com/pytorch/pytorch/blob/v2.4.0/torch/distributed/checkpoint/default_planner.py#L316. 

But what user want in above case is just set `[{"key_1":1}, {"key_2":2}]` as a whole to state_dict["my_key"] 

So, this basically recursively requires:
1. if the state dict **value** is a map, its key must match between the save and load state dict
2. if the state dict **value** is a list, its number of element must match





### Versions

NA

cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @LucasLLC @MeetVadakkanchery @mhorowitz @pradeepfn
Repository: PowerToys
Issue: Workspaces - close existing apps
Labels: Needs-Triage,Product-Workspaces

### Description of the new feature / enhancement

The function is superb! Can open multiple applications without any issue. But, it would be great if can add CLOSE FUNCTION for all opened applications that had opened using workspaces. 

### Scenario when this would be used?

To simplify closing all app that had open previously. 

### Supporting information

_No response_
Repository: tauri
Issue: [feat] Remove duplicated packages and implement things ourselves
Labels: type: feature request,priority: 3 low

### Describe the problem

Right now, a Tauri project contains +400 to +700 packages, not counting the frontend packages which bring this number even further up. See the dependency graph below of simple `"Hello, World!"` Tauri 2 project:

![graph](https://github.com/user-attachments/assets/9499a2a6-d61b-4ecc-a5a2-714b770d4a75)

Some of Tauri's dependencies, like [dirs](https://docs.rs/dirs/latest/dirs/), provide simple things that we could just implement ourselves. 

The amount of packages Tauri relies on makes it vulnerable to possible supply chain attacks, and now that we have a stable release for Tauri 2, I think it's important to address that.




### Describe the solution you'd like

* Remove duplicated packages;
* Implement things ourselves;
* Consolidate dependencies.

### Alternatives considered

_No response_

### Additional context

https://www.memorysafety.org/blog/reducing-dependencies-in-sudo/
Repository: tensorflow
Issue: Request to bring back GPU compatibility checks for TFLite `model_analyzer`
Labels: stat:awaiting tensorflower,type:feature,comp:lite

### Issue type

Feature Request

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

binary

### TensorFlow version

tf_nightly == 2.19.0.dev20241003

### Custom code

Yes

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

3.10

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

While using the nightly version I discover that the GPU compatibility checks are deprecated for the [model_analyzer](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/python/analyzer_wrapper/model_analyzer.cc#L443) tool in TF lite, following [this PR](https://github.com/tensorflow/tensorflow/pull/74830).

Currently the code for checking GPU compatibility is deprecated, but the output still prints "Your model is compatible with GPU delegate" (because there are essentially no checks). IMO this is actually confusing. I would suggest to change the output print to "Skipping GPU compatibility as it is deprecated", or just deprecate the `gpu_compatibility` boolean flag.

The previous logic is handy enough for my use case to expose non-compatible operators beforehand, and apply the tunings required manually on the `.tflite` graph, so curious why it is deprecated and what are the plans moving forward. Thanks!

### Standalone code to reproduce the issue

```shell
Attached PR regarding deprecation: https://github.com/tensorflow/tensorflow/pull/74830
```


### Relevant log output

_No response_
Repository: angular
Issue: Dynamically-created component not removed when zoneless is combined with animations
Labels: area: animations,hotlist: components team,area: core,P2,bug,core: zoneless

### Is this a regression?

- [x] Yes, this behavior used to work in the previous version

### The previous version in which this bug was not present was

no very sure, but around 18.2.x

### Description

![Image](https://github.com/user-attachments/assets/edf3af97-3ea8-44a9-a4db-7dcfffc30469)

The overlay content has not been removed.

### Reproduction

StackBlitz link: 
Steps to reproduce:
1. git clone [https://github.com/keatkeat87/ng-mat-overlay-detach-issue.git](https://github.com/keatkeat87/ng-mat-overlay-detach-issue.git)
2. ng serve
3. click open and then close.
![Image](https://github.com/user-attachments/assets/edf3af97-3ea8-44a9-a4db-7dcfffc30469)


if use ZoneChangeDetection, then no problem.
```
export const appConfig: ApplicationConfig = {
  providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideAnimations()] // work
  // providers: [provideExperimentalZonelessChangeDetection(), provideAnimations()] // no work
};
```
only ZonelessChangeDetection have the problem.

if we manual call detectChanges(), then it work.
```
export class ModalContainerComponent {
  private readonly overlayRef = inject(OverlayRef);
  private cdk = inject(ChangeDetectorRef);

  close() {
    this.overlayRef.detach();
    this.cdk.detectChanges(); // manual detectChanges will work
    // this.cdk.detectChanges(); // without detectChanges no work
  }
}
```


### Expected Behavior

The overlay content should be removed.

### Actual Behavior

The overlay content has not been removed.

### Environment

Angular CLI: 18.2.7
Node: 20.11.1
Package Manager: yarn 1.22.19
OS: win32 x64

Angular: 18.2.7
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.7
@angular-devkit/build-angular   18.2.7
@angular-devkit/core            18.2.7
@angular-devkit/schematics      18.2.7
@angular/cdk                    18.2.6
@angular/material               18.2.6
@schematics/angular             18.2.7
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.10