Tags and Properties for Check-in f6eb510ee2
- branch=pic-rows propagates to descendants
- ci-pass=387ba2e93816837c9485839f72bdd0c4 added by [c74be2e620] on 2026-11-19 18:50:03
- closed added by [4a99cd23a3] on 2026-11-19 19:00:39
- sym-pic-rows propagates to descendants
- sym-trunk cancelled
|
2026-11-19
| ||
| 19:00 | • Edit [f6eb510ee2]: Mark "Closed". artifact: 4a99cd23a3 user: quarry | |
| 18:50 | • Edit [f6eb510ee2]: Add "ci-pass" with value "387ba2e93816837c9485839f72bdd0c4". artifact: c74be2e620 user: quarry | |
| 18:39 |
Archive pic conversations from rows in pic.sqlite (picu_pi_session_line)
pic is moving its conversations off ~/.pic/sessions files into a table of ~/.pic/pic.sqlite holding the same Pi v3 lines. ctx now reads those rows: each decoded line goes through the existing Pi path, so turns get the same pi- - The session id comes from the header row, kept in a per-conversation cursor (ctx_pic_cursor) with the last seq read and the workspace; a conversation whose header can't be decoded is skipped.
- pic.sqlite is opened read-only, the conversation list is read first and rows in chunks, so no read is held across ctx's commits; a WAL database with no -wal or -shm is read immutable and re-checked after each read.
- An unchanged database (size, mtime and change counter) is skipped on the hourly scan.
- ctx exclude --project and --remove work for pic conversations by their workspace.
- Deflated rows are inflated with zlib, with size checks; a bad row is skipped with a warning.
- CTX_PIC_DB sets the path (default ~/.pic/pic.sqlite); empty skips it. | |