chore: upgrade to 0.9.0+3.5.0 #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "upgrade-0.8.0+3.5.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
chore: upgrade to 0.9.0+3.5.0
Image updates
All other images (bitnamilegacy/discourse:3.5.0, pgvector/pgvector:pg17) unchanged from PR #2.
Recipe version bump
0.8.0+3.5.0→0.9.0+3.5.0(minor bump for redis major version upgrade)Breaking changes / operator notes
⚠️ Operator Action Required (postgres — pre-existing in this PR)
The postgres upgrade (13→pg17) requires manual data migration per the recipe README. This was already noted in the PR; the redis bump does not change this requirement.
Tested on cc-ci recipe CI server. NOT merged — for operator review.
cc @trav @notplants
Tested green on the cc-ci recipe CI server (full suite, cold, against this PR head). NOT merged — for operator review.
cc @trav @notplants
!testme
🌻 cc-ci —
discourse@eb29b960❌ failurefull logs · dashboard
chore: upgrade to 0.8.0+3.5.0to fix(backup): add pg_backup.sh + proper backup/restore hooks, 20m start_period!testme
!testme build 171 — custom tier failure (stale test)
What passed
What failed
custom:
test_create_topic_roundtrip— the test POSTs to/posts.jsonwithout acategory_id:Root cause: stale test, not a broken upgrade
Discourse 3.5.0 ships with
allow_uncategorized_topics = falseas the default site setting (Discourse tightened defaults between 3.3.1 and 3.5.0). The test was written for 3.3.1 where uncategorized topics were allowed; it does not pass acategory_idin the create-topic POST. With 3.5.0's default, this fails.The upgrade itself is correct:
bitnami/discourse:3.3.1→bitnamilegacy/discourse:3.5.0(namespace relocated + version bump)postgres:13→postgres:16(auto-migrated via entrypoint.postgres.sh.tmpl; backup/restore both passing)pg_backup.shhook (gzip dump in the postgres volume + restore post-hook)What the test needs
The test at
tests/discourse/functional/test_create_topic.pyneeds to be updated to either:PUT /site_settings/allow_uncategorized_topicswith{"allow_uncategorized_topics": true}, ORcategory_idin the POST (using the default uncategorized category ID, typically 1)Next steps
Re-run
/recipe-upgrade discourse --with-teststo also open a verified cc-ci test-update PR.Nothing was merged; this PR awaits operator review.
eb29b96040to5091fd999e!testme
🌻 cc-ci —
discourse@5091fd99❌ failurefull logs · dashboard
9f61774737tob0f9ae743a!testme
🌻 cc-ci —
discourse@b0f9ae74✅ passedfull logs · dashboard
fix(backup): add pg_backup.sh + proper backup/restore hooks, 20m start_periodto chore: upgrade to 0.9.0+3.5.0!testme
🌻 cc-ci —
discourse@7ae7b0f7❌ failurefull logs · dashboard
!testme
🌻 cc-ci —
discourse@7ae7b0f7✅ passedfull logs · dashboard
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.