Repository navigation
feat(runs): give every job an identity that follows it across copies and moves - #402
Merged
Merged
Conversation
This was referenced Nov 24, 2026
…and moves A new Nullius standard job declares a UUID, standard.uuid in its config.json: a run resumed into the same folder keeps it, a merge makes a new one. The reader exposes Job.uid and Job.uid_source: the declared id, else a uuid5 derived from fixed facts of the files (format, folder name, what ran, the start), else pending for a job with no trial and no start. No path is a fact, so a copy or a move keeps the identity; old files are never rewritten to gain one. Trial.key names a trial within it, a try by its attempt.
…it move with the feed A run resumed under the same name keeps the folder's uuid only when the earlier config names the same benchmark, plugged agent or capability, model and dataset; a job from before standard.uuid is given the uid it was read under. A Harbor job's start is read from result.json only, never from Nullius's feed, which may appear later; a feed that is not UTF-8 is read with replacement. A merge writes its config.json first and whole, so its result is never read without the merge's uuid. Imports' identity by folder name is marked as a known limit.
…t is not one and a late feed write_config writes config.json whole. A resumed job keeps the uid it is read under, so a standard.uuid that is not a UUID gets the derived one. An older standard job's start is result.json started_at, its feed only without one.
Two changes that bump parse.SCHEMA to one value no longer read each other's caches as current.
…ver derived from its feed A standard job from before standard.uuid read with only its feed took the feed's start for its uid, and took another uid when result.json arrived with the runner's own start. Such a job is now pending until result.json arrives, and a killed one stays pending; the feed is no longer read for the uid, so the cache, which already tracks result.json, never serves the earlier one.
harenome
force-pushed
the
feat/job-identity
branch
from
November 25, 2026 14:12
b8c5fb4 to
810e08f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #399
What
Job.uid(declared,derivedorpending); each try hasTrial.key.standard.uuidin aconfig.jsonwritten whole. A resume of the same job keeps it; another job under that name, or a merge, gets a new one.uuid5of the format, folder name, what ran and theresult.jsonstart. No path, so a copy or move keeps it. An older standard job withoutresult.jsonstays pending.parse.SCHEMAis 20.Verified
test_job_uid: a resume keeps its uuid; another model, dataset or agent gets a new one. Copy and move keep a derived uid. A job with only its feed is pending.test_standard_shard: a merge declares its own uid.test_workspace: a cache of another field set is parsed again.Risk
standard.uuidgets a new uid. Today everything keys on the folder name.started_atbefore its first trial. If not, its uid changes once.Agents