Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core-http] throw AbortError on request cancellation #5663

Merged
merged 5 commits into from
Oct 21, 2019

Conversation

chradek
Copy link
Contributor

@chradek chradek commented Oct 18, 2019

Fixes #5659

This puts us in accordance with our guidelines. See the linked issue for more details.

@chradek chradek closed this Oct 18, 2019
@chradek chradek reopened this Oct 18, 2019
Copy link
Member

@bterlson bterlson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The standard error message is "The operation was aborted." Might be best to align with that.

@XiaoningLiu
Copy link
Member

@HarshaNalluru Does storage packages align to use AbortError too?

@chradek
Copy link
Contributor Author

chradek commented Oct 21, 2019

@daviwil
This also now touches identity (managed credentials)

@daviwil
Copy link
Contributor

daviwil commented Oct 21, 2019

I'll take a look :)

@HarshaNalluru
Copy link
Member

/azp run js - storage-blob - tests

@HarshaNalluru
Copy link
Member

/azp run js - storage-file - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@HarshaNalluru
Copy link
Member

/azp run js - storage-queue - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@chradek
Copy link
Contributor Author

chradek commented Oct 21, 2019

The storage-file failures look like an existing issue. I'm seeing failures since Thursday (after the feature/storage branch was merged into master, which is when we saw the AbortError issue as well)

Copy link
Member

@HarshaNalluru HarshaNalluru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, @chradek .
The test failure is being taken care of at #5689.
This PR looks good.

@HarshaNalluru
Copy link
Member

HarshaNalluru commented Oct 21, 2019

@HarshaNalluru Does storage packages align to use AbortError too?

yes, @XiaoningLiu .

@chradek
Copy link
Contributor Author

chradek commented Oct 21, 2019

/azp run js - storage-file - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ramya-rao-a
Copy link
Contributor

/azp run js - storage-file - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@chradek chradek merged commit a1a3259 into Azure:master Oct 21, 2019
@chradek chradek deleted the core-http-abort-error branch October 21, 2019 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[core-http] cancelledrequests throw request_aborted_error instead of AbortError.
7 participants