Sign in

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

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Store CI run records in the database, not the repository

b312e1660ac3d570fc35350a22b3514c56ab466f · Keenan Nemetz · 11d ago · parent db5e4382

Store CI run records in the database, not the repository

A finished attempt was a set of files on the vole branch: a record, step
ranges, and artifact pointers, pushed as a commit. At 959 files, CI records
were 849 of them, and every human metadata write had to carry them.

The runner now sends the record with its finish message over the SSH channel
that holds the lease. The server checks the account, the job, and the log and
artifact pointers, then writes the attempt, steps, artifacts, attestation, and
run result in one transaction in data/runs.db. A tagged build still pushes its
release pointers to the branch after the record is stored.

Pre-receive refuses a new runs/ file. vole admin index rebuild imports records
still on an old branch; records written since are never deleted by a rebuild.
The run page reads the stored attempt, and runs.db is now a source that must be
backed up.

This stops new CI history from entering Git. Existing commits keep the records
they already have; removing those would require rewriting the protected vole
branch, which this change does not do.

docs/issues.md +2−2

@@ -133,8 +133,8 @@ vole issue new --title "the docs page is blank" \
133 133 ## Rules
134 134
135 135 - Issues and comments live under `issues/` and `requests/` on the `vole` branch.
136 Other paths are rejected. Releases and CI records have their own paths, written
137 by Vole.
136 Other paths are rejected. Releases have their own paths, written by Vole. CI
137 records are not stored on the branch; they live in `data/runs.db`.
138 138 - History on the `vole` branch must be linear. Merge commits are not allowed.
139 139 - Force-pushing `vole` requires repository admin and is recorded in
140 140 `data/audit.log`. It is meant for redaction, not normal work.