-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Treat new revisions of ECS task definitions as updates instead of new resources #11506
Treat new revisions of ECS task definitions as updates instead of new resources #11506
Conversation
Basic manual testing looks good however there's still a fair amount of work to be done before this PR is ready:
|
c2aae65
to
8fbeeb4
Compare
Okay I'm pretty sure I've got this ready for review now. Some notes for the reviewer:
|
a756ea2
to
35fb7ef
Compare
rebased to fix write conflicts and force-pushed. |
the current travis failure appears to be unrelated to my change, and looks like there might have been a disruption between travis and github. The travis job for #11892 looks like it had similar problems. |
@sworisbreathing - any update on this? |
@kellym56 I don't have any more information than what you see here on the PR. Still waiting for review/approval from the repository maintainers. If you sort the open PRs by 👍 this one's sitting about 3/4 of the way down page 2 so there's still a few prioritized above it. I'm really keen to see it merged because I'm getting tired of doing a |
No automated tests yet (tested manually). refs #632.
…inition custom diff
05b6e51
to
949d869
Compare
@siassaj I've yet to hear back from any of the repository maintainers, and no one's been assigned to or reviewed the PR despite repeated requests through multiple channels:
As best I can tell there's been no movement on it. |
yes, really looking forward to have this PR landed... |
@sworisbreathing idiotically I didn't realise it had been under review this whole time, sorry for badgering you. I do look forward to it, though... managing the definitions in terraform & ci has been ...unfun |
Hi @maryelizbeth @bflad @gdavison @anGie44 @breathingdust @ksatirli, can we please start the ball rolling on the review process for this PR? |
Also tagging @YakDriver for possible review |
I've just updated to resolve a conflict that appeared due to changes that got merged after I raised the PR nearly a year and a half ago. Pretty sure this happened once before but I rebased that time so I don't have visibility of it. This time I resolved through GitHub and it got added as a merge commit. |
ping @maryelizbeth @bflad @gdavison @anGie44 @breathingdust @ksatirli @YakDriver. |
Pull request #21306 has significantly refactored the AWS Provider codebase. As a result, most PRs opened prior to the refactor now have merge conflicts that must be resolved before proceeding. Specifically, PR #21306 relocated the code for all AWS resources and data sources from a single We recognize that many pull requests have been open for some time without yet being addressed by our maintainers. Therefore, we want to make it clear that resolving these conflicts in no way affects the prioritization of a particular pull request. Once a pull request has been prioritized for review, the necessary changes will be made by a maintainer -- either directly or in collaboration with the pull request author. For a more complete description of this refactor, including examples of how old filepaths and function names correspond to their new counterparts: please refer to issue #20000. For a quick guide on how to amend your pull request to resolve the merge conflicts resulting from this refactor and bring it in line with our new code patterns: please refer to our Service Package Refactor Pull Request Guide. |
@sworisbreathing Thank you for your contribution! The main gist of this PR is covered by #22269. However, some portions, such as the improvements to importing, are not. I recommend moving those enhancements to a new PR once #22269 is merged. |
This functionality has been released in v3.72.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
@YakDriver let me see if I understand correctly....
Forgive me if I sound a bit bitter, but there's a real "not invented here" vibe coming out of all of this. Given y'all's attitude towards community contributions, why should I raise a new PR that's just going to be ignored until one of the provider maintainers decides they'd rather write their own code for it instead? |
Hey @sworisbreathing 👋 I wanted to follow up here to acknowledge that the experience you had here isn't how we want things to go, and let you know that we're taking steps to make sure this kind of thing doesn't happen in the future. We care a lot about our community and hopefully the length of this reply, and that four different people worked on it, helps show that. First thing's first; an introduction: My name is Justin and I am the technical community manager for the AWS provider. I started this role in September, and was the second hire of this type of role at HashiCorp (though for what it's worth, I have been with the company since 2018). The entire point of my role is to be a liaison between the company and our community, to try to make sure we're doing right by folks who are contributing back to our tools, like you've done here. As you may have noticed, the AWS provider gets a lot of attention (at the time of writing, there's around 3.1k open issues and 475 open PRs, which is down from the peak of 820 open PRs in early/mid 2021!), which is why the AWS provider was one of the first areas that received a technical community manager. We also have a new developer starting soon, and look to be hiring another later this year. With these new members, we hope to have more time to focus on the current backlog and addressing efforts from the community. This isn't an excuse for what you experienced, but rather an acknowledgement that we needed to do better, and are actively trying to. I read over the history of this PR and #22269 to try to get a better idea of what happened here so that we could have a better understanding of where things went wrong, so that we could learn from it. I wanted to relay some of those findings to you here for the sake of transparency. This got a little lengthy as I typed it, but I feel you deserve as much information as I can give. I see that a few comments above you noted the ":+1:" prioritization; that is still part of how we prioritize things, and while I can't speak to the history of whether other things wound up getting more reactions after your comment, I can only infer that likely what happened is that other things came up and got prioritized above this functionality for one reason or another (for what it’s worth, there are other things that are taken into consideration when prioritizing). I also wanted to touch on the fact that you'd @ mentioned a few of our engineers a couple of times to no avail. Unfortunately, this method isn't always as fruitful as we'd like simply due to the sheer volume of times where our engineers are tagged on PRs and issues. I'm hopeful that with my being here now, I'll be able to keep up with this sort of thing more often and hopefully fill that gap. Because #632 was closed, it was no longer on our radar when it came time to review for work that needed to be completed by the next milestone. On the other hand #258 was on our radar, as it was still open and had 49 ":+1:" reactions when @YakDriver picked it up, which is why we began to work on a new PR to fix it. It's our practice to search for other issues and PRs when starting work on fixing an issue, to try to catch situations like this where someone else has already opened a PR -- frankly, it's in our best interest to not repeat work that's already done! In looking at the edit history of the PR description of #22269, I see that @YakDriver looked around for related PRs. However, the engineering team had agreed on a new approach for these types of situations, reflected in #11997 - merged Nov 18, 2021, that avoided breaking changes. The approach was not taken in any of the PRs, including #11506. We strive to apply new patterns as consistently as possible. We recognize that you would have had no way of knowing, unless you followed the Lambda PR. In addition, on 2021-10-19, we refactored the repository leading to all open PRs needing to be altered in order to resolve merge conflicts. We were (and are) unable to consider merging any PRs that have not had these conflicts resolved. Given that @YakDriver's PR followed the new pattern and was built on the refactored structure, it took precedence. I, and the rest of the team, recognize that this was not a great experience for you, and I speak for all of us when I say that we understand your frustration, most of us having been on the contributor side also, and we're sorry to have caused it. I hope that this experience doesn't put you off of contributing, and that this breakdown helps in some way. If you'd like to continue the discussion, I'd be more than happy to. We can do so here, or if you'd prefer you can send me a message on Discuss (I use the same username there, so I'm relatively easy to find). |
Wow. Thank you. It's great to see an acknowledgement that things went wrong, and even more so the appointment of a community manager for the project to help improve the engagement with the open source community.
I figured as much. Ultimately the bulk of the provider maintainers are employed directly by Hashicorp, and it's understandable that you'll need to balance your commercial priorities with the community ones. But the contributing guide should reflect that reality. It'd be nice to have a bit more transparency around this process, or at the very least least, call it out in the contributing guide that upvotes are only part of the way issues are prioritised. As for the @ mentioning, that was sort of a last resort after trying the other "official" paths stated in the contributing guide. For what it's worth, I didn't see a lot of responses to other folks' requests for PR reviews from gitter/discuss either.
I'll argue that the closing of #632 should have been handled differently. I would have liked to have seen a bit more discussion between the community and the maintainers first. And there were several requests that the comment thread not be locked so users could continue to discuss workarounds. But those requests went unheeded and comments were locked anyway. I'm not sure why I hadn't tagged @YakDriver on this PR along with the other maintainers. Possibly he wasn't listed in the docs I was looking at? I don't really remember. But @breathingdust had seen it and flagged it for review. The last time I checked the open PRs, it was only on page 2 if you sorted by 👍 reactions, and probably would have been high on the list of you'd searched open PRS for ECS, sorted by 👍
#22269 appears to have been merged without a code review. Granted, @YakDriver did the code review for #11997, but still, it might have been worth further discussion. For both of those, I would argue that
If you look at the history on this PR, I rebased it 3 different times due to other stuff getting merged in. This contributed a bit to my frustration, considering that some of those PRs were newer than mine and/or had fewer votes. I did notice merge conflicts after the provider refactor, but I didn't see the point of putting in the effort of another rebase, when none of the maintainers was looking at the PR anyway.
The experience did put me off of making additional contributions, but your reply was very thoughtful and considerate, and exactly the sort of thing that would make me willing to contribute in the future. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Relates #632
Release note for CHANGELOG:
Output from acceptance testing: