Start SQL Integration Tests#1292
Conversation
Coverage Report for CI Build 29745821027Warning No base build found for commit Coverage: 57.437%Details
Uncovered Changes
Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |
16e8413 to
b23830b
Compare
8e55040 to
1f88969
Compare
b23830b to
ecb2ba3
Compare
1f88969 to
d011a90
Compare
ecb2ba3 to
7341df7
Compare
d011a90 to
8758c4f
Compare
|
No issues found by |
7341df7 to
1905c03
Compare
1f88969 to
b3d4be8
Compare
|
No issues found by |
|
No issues found by |
|
No issues found by |
8c0aa34 to
f9a0403
Compare
a6cedc5 to
cb48727
Compare
f9a0403 to
2a8d83a
Compare
cb48727 to
b685487
Compare
|
No issues found by |
2a8d83a to
4552199
Compare
b685487 to
9f5b912
Compare
|
No issues found by |
|
No issues found by |
|
No issues found by |
4552199 to
f6d677d
Compare
9f5b912 to
63691af
Compare
|
No issues found by |
|
No issues found by |
|
No issues found by |
f6d677d to
950e3de
Compare
| // backend is SQLite and no SQLite path was given, a deterministic default is | ||
| // derived next to the legacy kvdb database (DB.KVDB.DBPath) so the runtime | ||
| // store has a stable on-disk location. | ||
| func (c DBConfig) withDefaults() DBConfig { |
There was a problem hiding this comment.
This PR is still based on the pre-restructure impl-runtime-store-6: its head (63691af) is not an ancestor of the new stack, GitHub reports CONFLICTING, and the PR diff currently shows the entire old 27-commit stack underneath its own 2 commits; rebase onto the new impl-runtime-store-6 (950e3de) so the diff shrinks back to the two sqlite-default commits. k3
|
No issues found by |
| // The account is absent. On an already created wallet this is an | ||
| // over-create adding a new account, not a partial-import retry to | ||
| // complete, so reject it instead of mutating the wallet. | ||
| if preCreated { |
There was a problem hiding this comment.
This reintroduces the partial-create wedge that the base fixed: when an earlier attempt created the wallet row and imported only a prefix of InitialAccounts, retry sets preCreated and rejects the first missing account instead of completing it; keep the durable create_complete marker and only reject wallets marked complete. (gpt-5.5)
Flip the zero-value store Backend from DBBackendKVDB to DBBackendSQLite, so new library-created wallets default to the SQLite runtime store. Callers opening an existing kvdb-only wallet must now set DBBackendKVDB explicitly to keep using walletdb.
Default the integration-test backend to SQLite and wire the harness to resolve the configured backend: kvdb and SQLite both run off the subtest DB path, while postgres is rejected with a clear message since the harness provisions no DSN. Update the Makefile default and ADR 0008 to match.
950e3de to
99030fe
Compare
63691af to
2684a57
Compare
|
No issues found by |
|
No issues found by |
Switches the default runtime store backend for newly-created wallets from kvdb
to SQLite so the integration tests exercise the SQL store by default: an unset
DBConfig.Backendnow resolves to SQLite, with a default SQLite path derivednext to the legacy kvdb database. Callers opening an existing kvdb-only wallet
set
Backend: DBBackendKVDBexplicitly. The bwtest harness now honors itsconfigured backend so
db=kvdbparity runs still exercise kvdb rather thansilently falling back to SQLite.
Single commit. Stacked on
impl-runtime-store-6.