spinframework / spinframework/spin
Recovery when release automation fails
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.5k
- Forks
- 310
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 24
Description
A user hit a problem where Spin 1.3 could not compile a newly created Rust app. This turned out to be because they were using HEAD templates, which were temporarily broken (a conscious decision whose reasons we need to address but are out of scope for this issue). This in turn was because the release automation had not created the spin/templates/v1.3. Which was because the template tagging automation is triggered only by a PR from fermybot, and for 1.3 the relevant PR was sent by a human. Which I believe was because something went wrong in the automation that was meant to update the template SDK references, and human intervention was needed to get things back on track.
(Don't ask me for five whys. That's all the whys I got.)
How should we avoid this happening in future? E.g. some or all of:
- More comprehensive documentation on recovery steps when automation fails
- More flexible automation, able to accept manual interventions
- Being able to manually force the automation to run (from wherever it failed)
- Post-release checks that all artifacts, tags, etc. exist
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the release automation from the template SDK reference update through template tagging and creation of the spin/templates/v1.3 artifact. Compare the failed 1.3 path with a successful release, then define recovery documentation, manual intervention or rerun support, and post-release checks as the done criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- ci-cd, release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100