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.

Keep the authoritative instance in one database

1a9b383890c40885709804293cd3a75e775f06a0 · Keenan Nemetz · 3d ago · parent 12221a79

Keep the authoritative instance in one database

Move the CI queue and the sealed secret rows into instance.db, leaving index.db as the one derived database. Backups now copy the single authoritative file, and the index stays disposable.

Hooks and the SSH front door use the instance database for run credentials and required checks. The admin db commands and documentation now describe one authoritative database plus the derived index.

This was migrated once by hand on the rodent.software instance; there is no migration command and no legacy-layout check in the shipped code.

server/deployment_modes_test.go −1

@@ -28,7 +28,6 @@ func TestFreshInstanceCreatesNoReadableSecrets(t *testing.T) {
28 28 f.cfg.DataDir,
29 29 f.cfg.InstanceDB(),
30 30 f.cfg.IndexDB(),
31 f.cfg.RunsDB(),
32 31 f.cfg.SSHHostKey(),
33 32 f.cfg.AuditLog(),
34 33 }