gruntwork-io / go-commons

A standard library to use in all Gruntwork CLI tools
https://www.gruntwork.io/
MIT License
35 stars 26 forks source link

Feature: DynamoDB Lock #46

Closed ina-stoyanova closed 3 years ago

ina-stoyanova commented 3 years ago

Adding a DynamoDB lock feature based on the code from prototypes/release-notes-drafter.

Related: https://github.com/gruntwork-io/go-commons/issues/44

ina-stoyanova commented 3 years ago

I've gone ahead and addressed all of the above feedback. Another set of eyes will be very much appreciated :)

ina-stoyanova commented 3 years ago

Thanks for the review and approval @bwhaley :)

ina-stoyanova commented 3 years ago

Thanks, Jim! That's all really great feedback from you and Ben! I'll get to this today 🙂

ina-stoyanova commented 3 years ago

Next todo:

brikis98 commented 3 years ago

Is this ready for re-review?

ina-stoyanova commented 3 years ago

Just coming back to this now! I'll ping you again! I'm following up on this:

marinalimeira commented 3 years ago

Updates on TicketJam:

ina-stoyanova commented 3 years ago

remove cleanup, it causes concurrency errors if a test is waiting to lock while another test finished running and deleted the table.

Ahhh! I didn't see that coming! I actually could see that there was many tables created, which didn't seem right, so wanted a way to clean them up! Anyway - thanks for catching this! 🙇

ina-stoyanova commented 3 years ago

I believe this is ready for hopefully a final set of eyes @brikis98 if you've got the chance :)

ina-stoyanova commented 3 years ago

So, I've updated a few more comments actually - hope they make sense now and are useful! Thanks for all the reviews here :)

ina-stoyanova commented 3 years ago

Thanks for the review, Jim! I'm merging and releasing this!