Feat v0.5.5 upgrade testing #35

Merged
xcaliber merged 2 commits from feat/v0.5.5-upgrade-testing into main 2026-03-30 20:50:53 +00:00
Owner
No description provided.
xcaliber added 1 commit 2026-03-30 20:29:32 +00:00
Feat v0.5.5 upgrade testing
Some checks failed
CI/CD / detect-changes (pull_request) Successful in 3s
CI/CD / test-frontend (pull_request) Successful in 5s
CI/CD / test-go-pg (pull_request) Failing after 2m39s
CI/CD / test-sqlite (pull_request) Successful in 2m44s
CI/CD / build-and-deploy (pull_request) Has been skipped
2c792cd3ec
Upgrade test harness, schema edge case tests, and two bug fixes found
during testing.

New: docker-compose-upgrade.yml + ci/e2e-upgrade-test.sh for single-replica
upgrade testing (seed → upgrade → verify). ci/e2e-upgrade-rolling.sh for
multi-replica rolling upgrade with shared Postgres. 11 Go unit tests for
schema migration edge cases, settings preservation, and package compat.

Fix: Bundled permission auto-grant on Postgres — SQL used SQLite-style
`granted = 1` on BOOLEAN columns. Now dialect-aware (true/false on PG).
Fix: E2E chat test API fields — login, token extraction, profile endpoint.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
xcaliber added 1 commit 2026-03-30 20:42:39 +00:00
Fix upgrade test bool literal for Postgres
All checks were successful
CI/CD / detect-changes (pull_request) Successful in 4s
CI/CD / test-frontend (pull_request) Successful in 5s
CI/CD / test-go-pg (pull_request) Successful in 2m35s
CI/CD / test-sqlite (pull_request) Successful in 2m51s
CI/CD / build-and-deploy (pull_request) Successful in 1m4s
4e1f54b28d
Use `true` instead of `1` for BOOLEAN column insert in
TestUpgrade_SchemaMultiColumnAdd. Postgres BOOLEAN rejects integer
literals; `true` works on both PG and SQLite.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
xcaliber merged commit 768f15b3cd into main 2026-03-30 20:50:53 +00:00
xcaliber deleted branch feat/v0.5.5-upgrade-testing 2026-03-30 20:50:55 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: switchboard/core#35