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

chore: release checklist #125

Open
12 tasks
Tracked by #33 ...
mudler opened this issue Jul 1, 2024 · 12 comments
Open
12 tasks
Tracked by #33 ...

chore: release checklist #125

mudler opened this issue Jul 1, 2024 · 12 comments
Assignees
Labels

Comments

@mudler
Copy link
Contributor

mudler commented Jul 1, 2024

As we are going to release bittensor to the public soon, we want to have a "release pre-flight checklist" that gives us a set of steps to follow in order to have a release.

For instance, an hypothetical checklist can be:

Acceptance criteria

@juanmanso
Copy link
Contributor

From my understanding this task is blocked by the following (if true, then we could edit the description to show said blockers):

I've put the last one optional since we could go with the realise without static checks as linter for PRs.

@juanmanso
Copy link
Contributor

Regarding functionalities or additional blockers to the release, I'd say that:

doesn't block the release since the current selection criteria is implemented, we are only making it more performant right now IMO.

@mudler mudler removed the triage label Jul 3, 2024
@obasilakis
Copy link
Contributor

* Blocked by [Github action to deploy devnet (opentensor subtensor instance with a subnet) #111](https://github.com/masa-finance/masa-bittensor/issues/111)

@juanmanso this isn't a blocker since the users will use the already deployed devnet.

@juanmanso
Copy link
Contributor

@obasilakis I would agree but afaik the ticket was meant to tackle updates also. It could be avoided if deployment of any updates is handled automatically for the time being

@obasilakis
Copy link
Contributor

  • Restart devnet for clean state
  • Remove local state for:
    • miner
    • validator
    • protocol node
  • Follow instructions in docs/setup to make sure everything is accurate and up-to-date

@juanmanso
Copy link
Contributor

I'd say that the only thing remaining is the release notes.

Since development wasn't planned to be used as release notes (via PRs) maybe we can autogenerate it and then clean it up. Moreover, maybe we need to start it from scratch (hopefully not 🙏 )

@mudler
Copy link
Contributor Author

mudler commented Jul 8, 2024

  • Restart devnet for clean state

  • Remove local state for:

    • miner
    • validator
    • protocol node

@obasilakis can you expand on these items? would anyone in the team be able to pick these items up by reading this check list ? ( spoiler: I can't )

@obasilakis
Copy link
Contributor

@mudler I created this list before I knew about the competition. it's deprecated now.

@mudler
Copy link
Contributor Author

mudler commented Jul 10, 2024

ok I'm even more confused now - what is the checklist? does this needs to be worked on? are we good with the current checklist?

@Luka-Loncar
Copy link

@obasilakis can we get some clarity here before you go to your days off?

@giovaroma
Copy link

Overlaps with ticket #20 regarding the checklist. Ticket #20 to be updated as we have a more clear understanding. For now its under waterline and this ticket is a dependency.

@grantdfoster
Copy link
Contributor

Release Checklist

Security

  • Ensure dependencies are up to date and there are no known vulnerabilities. Run pip list --outdated to see outdated dependencies. If any dependencies need upgrading (and are in fact upgraded), run pip freeze > requirements.txt to update the requirements!

Continuous Integration (CI)

  • Ensure all CI tests are passing
    • Docker Build and Publish / check-and-build (subtensor)
    • Docker Build and Publish / check-and-build (subnet)
    • Docker Build and Publish / check-and-build (miner)
    • Docker Build and Publish / check-and-build (validator)
    • Docker Build and Publish / check-and-build (protocol)
      it is possible that we will de-couple the protocol CI build and check in future iterations

Issue Tracking

  • Verify there are no blockers to the release
    a typical release will look like this, verify all issues are resolved!

Tagging

  • Tag the masa-bittensor release, and ensure the latest tag is visible here

Release Notes

  • Update release notes text. An example of a previous release is here, built off of the release.yml configuration here
  • Ensure the latest release notes are captured here so they automatically get published to our dev docs.

Docker

Documentation

  • Ensure documentation is updated. This includes our setup documentation as well as advanced sections. All markdown files here are automatically pushed to our developer docs website. If certain documents do not appear, edit the sidebar here
  • Review and update installation instructions if needed: Installation Guide

Notifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants