Overview
| Comment: | User state in ~/.pic/pic.sqlite instead of loose files (ticket 2ad667b78b)
pic's user-level state now lives in one SQLite database, shared by every pic process (WAL, a busy timeout), in tables prefixed picu_: settings, the model catalog cache from pi.dev (stored with the SQLite Archive compression rule; sqlar_compress and sqlar_uncompress are registered), project trust, model scopes and the workspaces pic has used. ~/.pic/settings.json and ~/.pic/models-store.json are imported on first open in one transaction and then deleted. pic settings shows and changes settings. Tests and benchmarks now run with a private HOME and an offline catalog, so they no longer read or write the real ~/.pic. |
|---|---|
| Timelines: | family | ancestors | descendants | both | userdb |
| Files: | files | file ages | folders |
| SHA3-256: |
dd27c70e9de5c54255c62fadb830f142 |
| User & Date: | dmestas on 2026-11-19 16:10:29.641 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-19
| ||
| 16:11 |
Give the Fil-C payload a private HOME
pic keeps user state under $HOME/.pic; the remote run now keeps it inside its own directory, which teardown removes, and runs the catalog offline. check-in: fc236129ed user: dmestas tags: userdb | |
| 16:10 |
User state in ~/.pic/pic.sqlite instead of loose files (ticket 2ad667b78b)
pic's user-level state now lives in one SQLite database, shared by every pic process (WAL, a busy timeout), in tables prefixed picu_: settings, the model catalog cache from pi.dev (stored with the SQLite Archive compression rule; sqlar_compress and sqlar_uncompress are registered), project trust, model scopes and the workspaces pic has used. ~/.pic/settings.json and ~/.pic/models-store.json are imported on first open in one transaction and then deleted. pic settings shows and changes settings. Tests and benchmarks now run with a private HOME and an offline catalog, so they no longer read or write the real ~/.pic. check-in: dd27c70e9d user: dmestas tags: userdb | |
| 15:45 | CI green on 998e8169f137; live check on three providers check-in: 5058e3b40f user: dmestas tags: trunk | |