Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Remove page-view tracking

0a12642f6c01236d1fbd4ee06aaa2bd2283c6bf0 · Keenan Nemetz · 3d ago · parent 8f6548a6

Remove page-view tracking

Counting a page wrote a row to instance.db on every successful HTML GET, so
reading the instance contended with CI and the merge worker for the one
write lock. The counters answered one status page and were not part of what
a restore has to keep, so the feature is gone rather than moved.

The status overview loses its page-view card and table; the rest of the
Admin page is unchanged. An instance that recorded views keeps the old
page_views table in instance.db, which nothing reads.

Refs #398

docs/reference/configuration.md +3−3

@@ -112,8 +112,8 @@ The data directory contains both authoritative state and derived indexes. Do not
112 112 treat every database as disposable.
113 113
114 114 There are two SQLite files. `instance.db` holds everything that has to be
115 restored together: accounts, keys, sessions, access rules, locks, page-view
116 counters, release channels, CI queue and history, and the sealed secret rows.
115 restored together: accounts, keys, sessions, access rules, locks, release
116 channels, CI queue and history, and the sealed secret rows.
117 117 `index.db` is derived and can be rebuilt. `vole admin db list` prints them with
118 118 that classification.
119 119
@@ -125,7 +125,7 @@ Before release channels joined the account database, it was `data/users.db`; see
125 125 | Repositories | `data/repos/<name>.git` | No; Git is the source |
126 126 | Issues, changes, approvals, and release pointers | The `vole` branch in each repository | No; Git is the source |
127 127 | CI runs, steps, queue state, artifact pointers, and contributor CI approvals | `data/instance.db` | No; back it up |
128 | Accounts, roles, keys, passkeys, sessions, access rules, locks, page-view counters, release channels, and sealed secrets | `data/instance.db` | No; back it up |
128 | Accounts, roles, keys, passkeys, sessions, access rules, locks, release channels, and sealed secrets | `data/instance.db` | No; back it up |
129 129 | Web, activity, and search indexes | `data/index.db` | Yes, with `vole admin index rebuild` |
130 130 | CI attempt logs | `data/logs/` | No; back them up |
131 131 | LFS files and build artifacts | `data/lfs/` | No; stored by content |