{"html_url": "https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991306712", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/354", "id": 991306712, "node_id": "IC_kwDOCGYnMM47FiPY", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-10T21:28:27Z", "updated_at": "2021-12-10T21:28:27Z", "author_association": "OWNER", "body": "Failures started with this commit, which only touches documentation so is completely unrelated: https://github.com/simonw/sqlite-utils/commit/e328db8eba1fbf29a69eda95dfec861954f9e771", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1077243232, "label": "Test failure in test_rebuild_fts"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991307422", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/354", "id": 991307422, "node_id": "IC_kwDOCGYnMM47Fiae", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-10T21:29:34Z", "updated_at": "2021-12-10T21:29:34Z", "author_association": "OWNER", "body": "Here's the test in question. The way it works is a bit weird (deleting everything in the `_fts_data` table in order to force errors that can be fixed with `.rebuild_fts()`): https://github.com/simonw/sqlite-utils/blob/8ae77a6961fed94ef2c9cc81fcfc7c81d222d9a2/tests/test_fts.py#L257-L285", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1077243232, "label": "Test failure in test_rebuild_fts"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991309002", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/354", "id": 991309002, "node_id": "IC_kwDOCGYnMM47FizK", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-10T21:32:14Z", "updated_at": "2021-12-10T21:32:14Z", "author_association": "OWNER", "body": "Here's what the method does: https://github.com/simonw/sqlite-utils/blob/e328db8eba1fbf29a69eda95dfec861954f9e771/sqlite_utils/db.py#L1941-L1952\r\n\r\nMaybe I don't need a test that deliberately corrupts the database here? Not sure how to test that `rebuild` has been called though.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1077243232, "label": "Test failure in test_rebuild_fts"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991309759", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/354", "id": 991309759, "node_id": "IC_kwDOCGYnMM47Fi-_", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-10T21:33:18Z", "updated_at": "2021-12-10T21:33:18Z", "author_association": "OWNER", "body": "https://www.sqlite.org/fts5.html#the_rebuild_command says:\r\n\r\n> This command first deletes the entire full-text index, then rebuilds it based on the contents of the table or [content table](https://www.sqlite.org/fts5.html#external_content_tables). It is not available with [contentless tables](https://www.sqlite.org/fts5.html#contentless_tables).\r\n> \r\n> `INSERT INTO ft(ft) VALUES('rebuild');`", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1077243232, "label": "Test failure in test_rebuild_fts"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991395919", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/354", "id": 991395919, "node_id": "IC_kwDOCGYnMM47F4BP", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-11T00:52:31Z", "updated_at": "2021-12-11T00:52:31Z", "author_association": "OWNER", "body": "It turns out `rebuild` does indeed work against content tables, so I can put that in the test instead.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1077243232, "label": "Test failure in test_rebuild_fts"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991398367", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/354", "id": 991398367, "node_id": "IC_kwDOCGYnMM47F4nf", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-11T01:03:14Z", "updated_at": "2021-12-11T01:03:14Z", "author_association": "OWNER", "body": "The new test: https://github.com/simonw/sqlite-utils/blob/ee13f98c2c7ca3b819bd0fc55da3108cb6a6434a/tests/test_fts.py#L270-L277", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1077243232, "label": "Test failure in test_rebuild_fts"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991399604", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/354", "id": 991399604, "node_id": "IC_kwDOCGYnMM47F460", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-11T01:08:46Z", "updated_at": "2021-12-11T01:08:46Z", "author_association": "OWNER", "body": "That passed!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1077243232, "label": "Test failure in test_rebuild_fts"}, "performed_via_github_app": null}