Signed-off-by: Jakub Martin <kubam@spacelift.io>
8.5 KiB
Weekly Updates
02.10.2023
Hey!
Another week, another update! This last week has been all about the alpha release, which is planned to be released this week, ideally tomorrow (Tuesday).
- Current Status
- Alpha release is blocked only by the initial registry work
- There's a PR open for using the OpenTofu registry as the default in OpenTofu.
- There's been extensive work on caching, discussed in a GitHub issue and a Slack channel.
- One PR introduced a better version listing cache in DynamoDB, to reuse the cache across provider listing and provider downloading.
- Another PR introduced http-level caching for all requests to GitHub, which generally avoids making the same request twice in quick succession.
- There's a bug in the provider mirroring scripts which makes them not properly trigger GitHub Actions. We're working on a fix.
- There's a bug with module downloading, for which both tags in the form of
x.y.z
andvx.y.z
are supported, while we only support one of them.
- Alpha release is blocked only by the initial registry work
- Up next
- The alpha release is planned for this week, using our alpha registry.
- As described last week, once the alpha release is out, we'll be kicking off discussions about the stable registry design.
- One such issue has already been opened and explores the problem space of handling signatures and public keys.
- How can I help?
- Right now the best way to help is to create issues, discuss on issues, and spread the word about OpenTofu. Additionally, the alpha release is coming out this week. We'd appreciate you taking it for a test drive and letting us know about any issues you encounter.
- There are some occasional minor issues which are accepted and open to external contribution, esp. ones outside the release-blocking path. We’re also happy to accept any minor refactors or linter fixes. Please see the contributing guide for more details.
- We have multiple engineers available full-time in the core team, so we’re generally trying to own any issues that are release blockers - this way we can make sure we get to the release as soon as possible.
- The amount of pending-decision-labeled issues on the repository might be a bit off-putting. The reason for that is that right now we’re prioritizing the alpha and stable release. Only after we have a stable release in place do we aim to start actually accepting enhancement proposals and getting them implemented/merged. Still, we encourage you to open those issues and discuss them!
- Issues and Pull Requests with enhancements or major changes will generally be frozen until we have the first stable release out. We will introduce a milestone to mark them as such more clearly.
Please let us know if you have any feedback on what we could improve, either with these updates or more generally! We're available on Slack, via GitHub issues, or even in the pull request creating this very file.
26.09.2023
Hello!
We’ve received some feedback that it’s currently hard to track the status of OpenTofu and what is currently being worked on. We hear you, and we’ll do better. We’re slowly moving discussions from our internal slack to public GitHub issues, to make them more inclusive. In addition, we’ll now be publishing an update like this once a week to give you a breakdown of where we’re at, what we’re currently working on, how you can best help, and what’s up next.
- Current Status
- Right now we’re primarily working towards the first alpha release. There are two remaining blockers here:
- Finishing the renaming to OpenTofu. There's only a single PR left here.
- Preparing the alpha registry replacement to be ready for use. The main current issue here is #97, described in a bit more detail below.
- The current registry design is a glorified GitHub redirector.
- This is by no means the final design! It’s meant to be a “get it working” design for the alpha release. Soon (~once the alpha release is out) we’ll start public discussions regarding the “stable” design for the registry, and we’re not ruling out any options here yet.
- Right now the main issue is caching. Since the registry is a GitHub redirector, it is affected by GitHub rate limits. The rate limit is 5k requests per hour. We already do extensive caching here, but we can still do better and want to do better prior to the alpha release. This issue contains more details about the work being done here.
- Also, even though OpenTofu alpha will skip signature validation when the key is not available, we’re collecting provider signing keys for the registry to serve. So, if you’re a provider author, please make sure to create a Pull Request to the registry repo and add your public key. Here's the latest example of such a PR.
- We’ve also made a mirror of all official HashiCorp providers so that they’re hosted on the OpenTofu GitHub, like any other 3rd-party provider. This included getting all historic versions to build (which was quite a challenge!) but we’re done with it and the end result is that out of 2260 provider versions we only have 16 failures, which are generally old and broken versions, so you should be able to easily work around this.
- The reason for this is that the registry being a GitHub redirector needs all artifacts on GitHub, while HashiCorp hosts these providers directly on their registry and doesn't include them in GitHub releases.
- Long-term we’re planning to host these most-used providers on Fastly.
- Right now we’re primarily working towards the first alpha release. There are two remaining blockers here:
- Up next
- Early next week we’re planning to make available an alpha release of OpenTofu, with a fully drop-in working registry for providers and modules.
- With the above, we’ll also kick off the discussion around the stable registry.
- We’ll publish an initial list of requirements for the registry in the original registry issue. The list itself will be open to changes based on further discussion.
- Based on those requirements, we will be creating RFC’s for possible solutions. If you’d like to propose a solution, feel free to post an RFC too!
- After having discussions there and possibly doing some PoC’s, the technical steering committee will make the final call which approach to pursue.
- How can I help?
- Right now the best way to help is to create issues, discuss on issues, and spread the word about OpenTofu.
- There are some occasional minor issues which are accepted and open to external contribution, esp. ones outside the release-blocking path. We’re also happy to accept any minor refactors or linter fixes. Please see the contributing guide for more details.
- We have multiple engineers available full-time in the core team, so we’re generally trying to own any issues that are release blockers - this way we can make sure we get to the release as soon as possible.
- The amount of pending-decision-labeled issues on the repository might be a bit off-putting. The reason for that is that right now we’re prioritizing the alpha and stable release. Only after we have a stable release in place do we aim to start actually accepting enhancement proposals and getting them implemented/merged. Still, we encourage you to open those issues and discuss them!
- Issues and Pull Requests with enhancements or major changes will generally be frozen until we have the first stable release out. We will introduce a milestone to mark them as such more clearly.
- Once we make the alpha release available next week, the best way to help will be by test-driving that release and creating GitHub issues for any problems you find.
Please let us know if you have any feedback on what we could improve, either with these updates or more generally! We're available on Slack, via GitHub issues, or even in the pull request creating this very file.