radicle-heartwood-lfs/radicle/src
Lars Wirzenius df44cee9ef
cob: Add an experimental "job" COB
This is meant to record in Radicle that automated "jobs" have been run
on a repository. The job might be, for example, a CI run that builds
the software and runs its tests. The recording is done in a "job COB",
which can be in three states:

* fresh -- when the job has been triggered, but has not yet started running
* running -- when it's running
* finished -- when it's finished running

The finished state also records whether the job was successful or if
it failed.

A job COB records the git commit that it runs on, and the "run ID" of
the job. The run ID represents an external identifier, such as one
assigned by a remote CI system. The COB can optionally store a URL
related to the job, such as to the build log from CI.

Add the "rad job" subcommand to create and manage job COBs. For
production use, the COBs should be created and updated using
`heartwood` as a library instead of running "rad job", if at all
possible. However, "rad job list" lists the jobs that have been run on
the repository.

The COB type name is xyz.radicle.beta.job, until we've gained
experience with the COB and its implementation and are ready to
declare it stable.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-11-06 17:26:00 +01:00
..
canonical Update toolchain to Rust 1.71 2023-08-09 18:49:13 +02:00
cob cob: Add an experimental "job" COB 2024-11-06 17:26:00 +01:00
git radicle: Fix log when delegate is not found 2024-08-06 16:36:27 +02:00
identity radicle: refactor doc 2024-10-22 14:58:12 +01:00
logger node: Improved message logging 2024-04-23 10:41:43 +02:00
node radicle: Fix clippy warnings around `unwrap` 2024-10-21 16:42:06 +02:00
profile cli: Add config modification sub-commands 2024-10-23 17:19:27 +02:00
storage radicle: Compute root OID for older remotes 2024-10-31 17:34:03 +01:00
test radicle: refactor doc 2024-10-22 14:58:12 +01:00
canonical.rs radicle: custom CanonicalFormatter 2023-02-24 11:59:36 +01:00
cli.rs cli: Hints system 2023-11-23 11:07:07 +01:00
cob.rs cob: Add an experimental "job" COB 2024-11-06 17:26:00 +01:00
collections.rs Introduce `cargo-deny` 2023-08-22 14:33:00 +02:00
explorer.rs Rename `Id` to `RepoId` 2024-01-22 15:51:44 +01:00
git.rs Include new `rad/root` in signed refs 2024-10-21 16:32:49 +02:00
identity.rs radicle: refactor doc 2024-10-22 14:58:12 +01:00
io.rs radicle: Fix file limit setting for FreeBSD 2024-05-21 13:48:44 +02:00
lib.rs radicle: refactor doc 2024-10-22 14:58:12 +01:00
logger.rs cli: Have a way of enabling logging in helper 2024-01-17 17:34:30 +01:00
node.rs cli: Try to connect to seeds specified as options 2024-11-05 12:18:12 +01:00
profile.rs cli: Add config modification sub-commands 2024-10-23 17:19:27 +02:00
rad.rs radicle: refactor doc 2024-10-22 14:58:12 +01:00
serde_ext.rs radicle: Fix clippy warnings around `unwrap` 2024-10-21 16:42:06 +02:00
sql.rs radicle: Improve SQL type errors 2024-06-13 11:28:09 +02:00
storage.rs radicle: refactor doc 2024-10-22 14:58:12 +01:00
test.rs radicle: fix tests to not leave temporary files behind 2024-04-24 11:47:14 +02:00
version.rs radicle: Fix clippy warnings around `unwrap` 2024-10-21 16:42:06 +02:00
web.rs node: Change node web config metadata fields 2024-07-18 13:56:31 +02:00