Skip to content

fix(liquibase): keep populated Oracle observed instants on upgrade - #137

Merged
fjlopez merged 2 commits into
devfrom
fix/135-observed-timestamptz-rebuild
Oct 31, 2026
Merged

fjlopez merged 2 commits into
devfrom
fix/135-observed-timestamptz-rebuild

Conversation

@fjlopez

@fjlopez fjlopez commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Populated SEC_OBSERVED and SCS_OBSERVED values are copied as UTC before the empty-column ALTER. The ALTER changesets are unchanged.
  • Oracle changelog 35 and PostgreSQL changelog 35 run before changelog 33. Development changelog 91 runs before changelog 89.
  • The backend pointer is bdd95385 on sitmun-backend-core#355. That pull request does not close this issue.

Fixes #135

CI

  • oracle-from and dev-oracle-from run the new changesets on empty tables.
  • Backend test-oracle runs the populated case, ServiceCheckOracleObservedRebuildIT.
  • prepare-extracted-unit runs tools/tests/test_service_check_observed_rebuild_order.py.

Test plan

  • oracle-from and dev-oracle-from pass
  • prepare-extracted-unit passes
  • Backend test-oracle on pull request 355 passes ServiceCheckOracleObservedRebuildIT

Copy stored UTC values before the empty-column ALTER. A Europe/Madrid
session would otherwise shift every existing service check.
@fjlopez
fjlopez merged commit dc9ea07 into dev Oct 31, 2026
18 checks passed
@fjlopez
fjlopez deleted the fix/135-observed-timestamptz-rebuild branch November 1, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant