Skip to content

Conversation

@markwallace-microsoft
Copy link
Member

@markwallace-microsoft markwallace-microsoft commented Jul 5, 2024

Motivation and Context

Closes #7118

When request is cancelled due to configured Timeout on HttpClient, SK will throw KernelFunctionCanceledException. This change sets the Url, request payload etc. on the KernelFunctionCanceledException.

Description

Contribution Checklist

@markwallace-microsoft markwallace-microsoft requested a review from a team as a code owner July 5, 2024 22:21
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel kernel.core labels Jul 5, 2024
@github-actions github-actions bot changed the title Include request data when operation is cancelled .Net: Include request data when operation is cancelled Jul 5, 2024
@markwallace-microsoft markwallace-microsoft force-pushed the users/markwallace/issue_7118 branch from 2c01f0d to 021f695 Compare July 5, 2024 22:28
@markwallace-microsoft markwallace-microsoft added this pull request to the merge queue Jul 8, 2024
Merged via the queue into microsoft:main with commit 13e3a22 Jul 8, 2024
@markwallace-microsoft markwallace-microsoft deleted the users/markwallace/issue_7118 branch July 8, 2024 16:13
github-merge-queue bot pushed a commit that referenced this pull request Jul 26, 2024
…xception (#7450)

### Motivation and Context

Reversing this decision
#7119 (comment)
based on developer feedback

### Contribution Checklist

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
LudoCorporateShark pushed a commit to LudoCorporateShark/semantic-kernel that referenced this pull request Aug 25, 2024
### Motivation and Context

Closes microsoft#7118 

When request is cancelled due to configured Timeout on HttpClient, SK
will throw `KernelFunctionCanceledException`. This change sets the Url,
request payload etc. on the `KernelFunctionCanceledException`.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
LudoCorporateShark pushed a commit to LudoCorporateShark/semantic-kernel that referenced this pull request Aug 25, 2024
…xception (microsoft#7450)

### Motivation and Context

Reversing this decision
microsoft#7119 (comment)
based on developer feedback

### Contribution Checklist

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.Net: Include request data when operation is cancelled

4 participants