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

Handle PENDING Operation Status #1228

Merged
merged 4 commits into from
Dec 22, 2023

Conversation

mjeffryes
Copy link
Member

Fixes: #1219

This could have been a one liner, but I decided to pull out a helper method to add a test. There are a couple other values of OperationStatus that we may need to handle in the future, but I'm punting on those, b/c I haven't seen them in the wild and I'm not 100% sure how they ought to be handled.

@mjeffryes mjeffryes requested a review from a team December 19, 2023 22:42
Copy link
Contributor

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link

codecov bot commented Dec 19, 2023

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (a83751e) 12.77% compared to head (a607d2d) 13.07%.

Files Patch % Lines
provider/pkg/provider/provider.go 51.72% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1228      +/-   ##
==========================================
+ Coverage   12.77%   13.07%   +0.29%     
==========================================
  Files          22       22              
  Lines        4703     4711       +8     
==========================================
+ Hits          601      616      +15     
+ Misses       4046     4039       -7     
  Partials       56       56              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@danielrbradley danielrbradley left a comment

Choose a reason for hiding this comment

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

Looks good 👍

Just need to get the tests passing!

We don't actually run the preview during the test, but it's not a great example if it fails.
@danielrbradley danielrbradley merged commit f5bbff0 into master Dec 22, 2023
16 checks passed
@danielrbradley danielrbradley deleted the 1219-support-PENDING-resource-state branch December 22, 2023 08:42
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.

Add support for AWS operation status of PENDING
2 participants