googleapis / googleapis/google-cloud-cpp
Consider adding error handling for ParseComputeOperationInfo
- Dominant language
- C++
- Stars
- 659
- Forks
- 462
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 89
Description
The call sites for `ParseComputeOperationInfo` do not provide the ability to propagate an error if `ParseComputeOperationInfo` detected one, such as a malformed URL. Consider enhancing the async get and async cancel request setting mechanism in `AsyncRestLongRunningOperation` to handle errors and refactor `ParseComputeOperationInfo` to return a `StatusOr`.
Contributor guide
Research direction
Start by locating ParseComputeOperationInfo and its call sites, then inspect the async get and async cancel request-setting paths in AsyncRestLongRunningOperation. Trace how malformed URLs are currently handled. Done means errors can propagate through both paths and ParseComputeOperationInfo returns StatusOr.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100