Repository navigation
Conversation
Copy the bundle assembled at the root c742e48 pins: V1, eight later migrations and grants. baseline.sha256 is now 1dc82694, the value root records in source-revisions.json.
This was referenced Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
db/canonical-baselinewas stale against the central bundle. HereV1__initial_schema.sqlwase3bec375andR__database_runtime_grants.sqlwasea009867. Backend and root haveccc5950aand30a9381d. The copy also lacked the eight migrations after V1. Itsbaseline.sha256(4833d2ac) did not matchcanonical_baseline_sha256=1dc82694, which rootdb/flyway-ci-bundle/source-revisions.jsonrecords for this trading commit.db/canonical-baseline/README.mddescribes. Root developc742e48pins backend69dd804, backtesta568df0, tradingeb97bc3and data-pipelined8bd3c0. At those pins, rootscripts/prepare-flyway-bundle.ps1assembled the bundle. All ten.sqlfiles were copied verbatim, andbaseline.manifestandbaseline.sha256were regenerated. Nothing was hand-edited.CanonicalBaselineContractTestnow expects V1, the eight approved later migrations (the same list roottest-flyway-ci-bundle.ps1enforces), and the runtime grants. The schema now has 185 canonical tables instead of 181: V1 addsoperations.operator_login_credentialsandoperations.operator_sessions, andV20260902000001adds twostoragetables.Verified
pwsh scripts/prepare-flyway-bundle.ps1in a root worktree atc742e48, with the pinned submodules: passed, with bundle sha2569dbb764a, equal to the rootbundle_sha256. Each assembled.sqlfile is byte-identical (cmp) to rootdb/flyway-ci-bundleand to the copy here.baseline.sha256is1dc826948878b358058b19b7623562a5e8fd85855677dd0791008eea433d138e, equal to rootcanonical_baseline_sha256../gradlew check --no-daemon --no-build-cachewith Docker (colima): BUILD SUCCESSFUL, with 745 tests and 0 skipped, failed or errored. All 5CanonicalBaselineContractTesttests ran and passed.Checklist
Related: #161 (narrowed trading grants) is stacked on this branch.