Skip to content

sqlite: tests! Reenabling and adding a whole lot of them.#3489

Open
badboy wants to merge 5 commits into
sqlite/rkv-migrationfrom
sqlite/tests
Open

sqlite: tests! Reenabling and adding a whole lot of them.#3489
badboy wants to merge 5 commits into
sqlite/rkv-migrationfrom
sqlite/tests

Conversation

@badboy

@badboy badboy commented Jun 8, 2026

Copy link
Copy Markdown
Member

No description provided.

@badboy badboy added the sqlite Any changes to the new SQLite storage backend label Jun 8, 2026
@badboy badboy force-pushed the sqlite/rkv-migration branch 2 times, most recently from 5990091 to 0da9f2b Compare June 9, 2026 12:07
@badboy badboy marked this pull request as ready for review June 9, 2026 12:52
@badboy badboy requested a review from a team as a code owner June 9, 2026 12:52
@badboy badboy requested review from travis79 and removed request for a team June 9, 2026 12:52
@badboy badboy force-pushed the sqlite/rkv-migration branch from 0da9f2b to d7bdb39 Compare June 10, 2026 10:12
@badboy badboy force-pushed the sqlite/rkv-migration branch from d7bdb39 to cb9ef95 Compare June 10, 2026 11:02
@badboy badboy force-pushed the sqlite/rkv-migration branch from cb9ef95 to 79d8ba3 Compare June 10, 2026 11:05
badboy added 5 commits June 10, 2026 13:11
These tests were disabled because they are very rkv-specific:
Manually opening and writing to an Rkv database in the format that Glean
expects.
Then testing Glean behaves accordingly.

We now do the same, but do it in SQL.
What individual tests do should be clear from their name or further
comments inline.
This currently fails.
The database is locked, so Glean can't access it.
It's unclear how we should handle that.
It's not a particular likely case to happen in practice.
The data was generated with

    cargo run -p glean-tests --bin verify-data -- tmp

on an Rkv-powered Glean checkout.
The database (`tmp/db/data.safe.bin`) was then copied into glean-core/rlb/tests/rkv-database.safe.bin
@badboy badboy force-pushed the sqlite/rkv-migration branch from 79d8ba3 to cd9b97b Compare June 10, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sqlite Any changes to the new SQLite storage backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant