lotus/documentation/misc/RELEASE_ISSUE_TEMPLATE.md

91 lines
4.7 KiB
Markdown
Raw Normal View History

2021-03-17 06:35:44 +00:00
> Release Issue Template
# Lotus X.Y.Z Release
[//]: # (Open this issue as [WIP] Lotus vX.Y.Z)
[//]: # (Apply the `tpm` label to it, and pin the issue on GitHub)
2021-03-17 06:35:44 +00:00
## 🚢 Estimated shipping date
<Date this release will ship on if everything goes to plan (week beginning...)>
## ✅ Release Checklist
**Note for whoever is owning the release:** please capture notes as comments in this issue for anything you noticed that could be improved for future releases. There is a *Post Release* step below for incorporating changes back into the [RELEASE_ISSUE_TEMPLATE](https://github.com/filecoin-project/lotus/blob/master/documentation/misc/RELEASE_ISSUE_TEMPLATE.md), and this is easier done by collecting notes from along the way rather than just thinking about it at the end.
2021-03-17 06:35:44 +00:00
First steps:
- [ ] FFI: Fork a new branch (`release/lotus-vX.Y.Z`) from the filecoin-ffi `master` branch
- [ ] FFI: Tag the head of `release/lotus-vX.Y.Z` as `vX.Y.Z-pre1`
- [ ] Open and land a PR in lotus `master` that updates the FFI dependency to `vX.Y.Z-pre1` as cut in the previous step
2021-03-17 06:35:44 +00:00
- [ ] Fork a new branch (`release/vX.Y.Z`) from `master` and make any further release related changes to this branch. If any "non-trivial" changes get added to the release, uncheck all the checkboxes and return to this stage.
2022-11-16 21:12:04 +00:00
- [ ] Bump the version in `build/version.go` in the `master` branch to `vX.Y.(Z+1)-dev` (bump from feature release) or `vX.(Y+1).0-dev` (bump from mandatory release). Run make gen and make docsgen-cli before committing changes
2021-03-17 06:35:44 +00:00
**Prepping an RC**:
2021-03-17 06:35:44 +00:00
2022-11-16 21:12:04 +00:00
- [ ] version string in `build/version.go` has been updated (in the `release/vX.Y.Z` branch)
- [ ] run `make gen && make docsgen-cli`
2022-11-16 21:12:04 +00:00
- [ ] Generate changelog using the script at scripts/mkreleaselog
- [ ] Add contents of generated text to lotus/CHANGELOG.md in addition to other details
2021-03-17 06:35:44 +00:00
- [ ] tag commit with `vX.Y.Z-rcN`
- [ ] cut a pre-release [here](https://github.com/filecoin-project/lotus/releases/new?prerelease=true)
2021-03-17 06:35:44 +00:00
**Testing an RC**:
2021-03-17 06:35:44 +00:00
- [ ] **Stage 0 - Automated Testing**
- Automated Testing
- [ ] CI: Ensure that all tests are passing.
- [ ] Testground tests
- [ ] **Stage 1 - Internal Testing**
- Binaries
- [ ] Ensure the RC release has downloadable binaries
2021-03-17 06:35:44 +00:00
- Upgrade our testnet infra
- [ ] Wait 24 hours, confirm nodes stay in sync
2021-03-17 06:35:44 +00:00
- Upgrade our mainnet infra
- [ ] Subset of development full archival nodes
- [ ] Subset of bootstrappers (1 per region)
- [ ] Confirm nodes stay in sync
- Metrics report
- Block validation time
- Memory / CPU usage
- Number of goroutines
- IPLD block read latency
- Bandwidth usage
- [ ] If anything has worsened significantly, investigate + fix
- Confirm the following work (some combination of Testground / Calibnet / Mainnet / beta users)
2021-03-17 06:35:44 +00:00
- [ ] Seal a sector
- [ ] make a deal
- [ ] Submit a PoSt
- [ ] (optional) let a sector go faulty, and see it be recovered
2021-03-17 06:35:44 +00:00
- [ ] **Stage 2 - Community Testing**
2022-06-16 20:52:44 +00:00
- [ ] Test with [SPX](https://github.com/filecoin-project/lotus/discussions/7461) fellows
- [ ] Work on documentations for new features, configuration changes and so on.
2021-03-17 06:35:44 +00:00
- [ ] **Stage 3 - Community Prod Testing**
- [ ] Update the [CHANGELOG.md](https://github.com/filecoin-project/lotus/blob/master/CHANGELOG.md) to the state that can be used as release note.
- [ ] Invite the wider community through (link to the release issue)
2021-03-17 06:35:44 +00:00
**Stable Release**
2021-03-17 06:35:44 +00:00
- [ ] Final preparation
- [ ] Verify that version string in [`version.go`](https://github.com/filecoin-project/lotus/blob/master/build/version.go) has been updated.
- [ ] Verify that codegen is up to date (`make gen && make docsgen-cli`)
- [ ] Ensure that [CHANGELOG.md](https://github.com/filecoin-project/lotus/blob/master/CHANGELOG.md) is up to date
2021-03-17 06:35:44 +00:00
- [ ] Merge `release-vX.Y.Z` into the `releases` branch.
2021-05-15 03:18:04 +00:00
- [ ] Tag this merge commit (on the `releases` branch) with `vX.Y.Z`
- [ ] Cut the release [here](https://github.com/filecoin-project/lotus/releases/new?prerelease=false&target=releases).
2021-03-17 06:35:44 +00:00
**Post-Release**
- [ ] Merge the `releases` branch back into `master`, ignoring the changes to `version.go` (keep the `-dev` version from master). Do NOT delete the `releases` branch when doing so!
- [ ] Update [RELEASE_ISSUE_TEMPLATE.md](https://github.com/filecoin-project/lotus/blob/master/documentation/misc/RELEASE_ISSUE_TEMPLATE.md) with any improvements determined from this latest release iteration.
- [ ] Create an issue using [RELEASE_ISSUE_TEMPLATE.md](https://github.com/filecoin-project/lotus/blob/master/documentation/misc/RELEASE_ISSUE_TEMPLATE.md) for the _next_ release.
2021-03-17 06:35:44 +00:00
## ❤️ Contributors
2021-07-27 03:15:09 +00:00
See the final release notes!
2021-03-17 06:35:44 +00:00
## ⁉️ Do you have questions?
Leave a comment in this ticket!