Tests, tunes and datagen could only use https://github.com/<user>/<repo>.
Gitea servers listed under "gitea_hosts" in Config/config.json are now
accepted too, starting with https://gitea.rektdie.com.
- OpenBench/git_hosts.py holds all host logic: repo validation, API base,
resolving a branch/tag/sha, compare counts, diff links and source URLs.
- The server talks to Gitea with the token in Config/credentials.gitea and
sends it nowhere else; Github requests stay unchanged.
- Gitea may require a login even to read, so workers cannot download the
archive themselves. The server gives them a /giteaSource/ link signed with
an HMAC of repo and commit (SECRET_KEY), and streams the archive from the
Gitea API. No client change, no client version bump.
- Diff links, the out-of-date check and the profile page handle Gitea repos;
the repo fields of the forms accept every configured prefix.
- Private engines stay Github-only, they depend on Github Actions artifacts.
- Static version bumped to v5 for the changed default_text.js.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Load balances tests with relation to each engine. If set to true, the effective throughput during work allocation will be scaled linearly with the number of tests which share the same dev engine.
Namely, it can be used in a large framework to ensure equal allocation of resources across various engines. This comit will be followed by one which allows the user to specify an engine to the client, via --engine MyEngine, to force their worker to selfishly select their engine.
We will account for cases where the selfish-engine is not a top-prio workload, and not play the low prio one.
We will account for the other workers, by ignoring this worker's contribution to overall worker distrubtion. This ensures that it is a strict net gain to attach your own machines to a framework
client.py will pull from github, as requested by the server
client.py will extract and put all files locally ( except replacing itself ? )
Moved cutechess directly into the Client folder to it gets pulled.
May need to chmod +x the cutechess-ob for Linux on demand.
In the future, the cleanup script will delete everythinge except:
client.py, and any credentials.* files.
Such that one can run an openbench client in any directory, from a single file.
Produce some verification of correctness for those configs
Begin future client auto-updating things, with new config fields
client_repo_url, and client_repo_ref specifically.