Skip to content

Document the Alaveteli 0.47.0.0 upgrade - #1196

Merged
benrfairless merged 1 commit into
stagingfrom
feature/1195-alaveteli-0.47.0.0-theme-updates
Nov 27, 2026
Merged

benrfairless merged 1 commit into
stagingfrom
feature/1195-alaveteli-0.47.0.0-theme-updates

Conversation

@benrfairless

@benrfairless benrfairless commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

What and why

Documents the Alaveteli 0.47.0.0 upgrade in the theme repository.
No theme code needs to change: the theme overrides none of the 11 templates upstream changed or the 3 it moved, and it adds no new general.yml keys.

  • Adds ADR 0007, "Alaveteli 0.47.0.0 is a one-way upgrade". We encrypt the two factor authentication secrets at deploy time, so rolling back to 0.46.8.0 is unsupported and the recovery route is an RDS snapshot taken just before the production deploy.
  • Adds master.key and credentials.yml.enc to the first-time server setup in README.md, and says where they come from (the infrastructure role, from Ansible vault, one pair per stage).
  • Master plan and checklist: Plan the upgrade from Alaveteli 0.46.8.0 to 0.47.0.0 #1195
  • Related: Upgrade STAGING to 0.47.0.0 alaveteli#70 (the fork's upgrade) and the infrastructure merge request https://gitlab.com/openaustralia/infrastructure/-/merge_requests/996
  • Not in this pull request: the CHANGELOG.md section, which goes in the staging to production release pull request. Also not here: a fix for an intermittent timing failure in spec/mask_job_runtime_conflict_spec.rb (still_stranded?), which I will raise separately.

Type of change

  • Documentation

How this was checked

I ran the theme specs on a throwaway Docker stack built from Alaveteli release/0.47.0.0: 251 examples, with one intermittent failure from the timing issue above and no other failures.
This pull request changes only README.md and an ADR, so the specs do not exercise it, and I did not run make lint or /code-review.

  • Checked the affected area on my own or a staging system
  • Ran the automated tests
  • Ran /code-review (or equivalent): fixed any concerns (and rechecked), linked follow-up issues above, or noted why they are not important above
  • GitHub Actions tests: likewise fixed so they pass or linked a follow-up issue / replied why not important directly on each comment (reviewer will mark resolved as part of review)
  • Documentation updated, or not needed

Assisted-by: Claude Code:claude-sonnet-5-5

- Add ADR 0007: the 2FA secrets are encrypted at deploy time, so rolling
  back to 0.46.8.0 is unsupported, and the key and credentials file are the
  single point of failure.
- List master.key and credentials.yml.enc in the first-time server setup
  and explain where they come from.

No theme code changes are needed for 0.47.0.0: the theme overrides none of
the changed or moved templates.

Refs #1195

Assisted-by: Claude Code:claude-sonnet-5-5
Signed-off-by: Ben Fairless <ben@oaf.org.au>
@benrfairless benrfairless added the devops Deployment automation label Nov 27, 2026
@benrfairless benrfairless self-assigned this Nov 27, 2026
@github-project-automation github-project-automation Bot moved this to Backlog - General in Right to Know Nov 27, 2026
@benrfairless
benrfairless marked this pull request as ready for review November 27, 2026 01:53
@benrfairless
benrfairless requested a review from a team as a code owner November 27, 2026 01:53
@benrfairless
benrfairless merged commit 8d9f357 into staging Nov 27, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog - General to In review in Right to Know Nov 27, 2026
@benrfairless
benrfairless deleted the feature/1195-alaveteli-0.47.0.0-theme-updates branch November 27, 2026 04:11
@github-project-automation github-project-automation Bot moved this from In review to Done in Right to Know Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops Deployment automation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants