Commit Graph
628 Commits
Author SHA1 Message Date
Lars Wirzenius de51e04590 feat: define an adapter protocol version number constant 2026-09-08 14:09:59 +03:00
Lars Wirzenius 71360e526f feat: shorten DIDs for patches and pushes in broker
This is broken, because the shortened whom is stored, rather than the
DID and alias separately.
2026-08-26 16:13:34 +03:00
Lars Wirzenius c051e711a8 feat: shorten job COB ID in front page 2026-08-26 11:43:21 +03:00
Lars Wirzenius 1689644c49 feat: shorten commit ID in per-repo report page 2026-08-26 11:37:57 +03:00
Lars Wirzenius 9b41627596 fix: shorten whence for source to fit better in narrow browser 2026-08-26 11:16:25 +03:00
Lars Wirzenius 0d9a101542 feat: make it clearer what the repo name is 2026-08-26 11:12:23 +03:00
Lars Wirzenius 6bc3a5682e fix: clarity what has last been updated 2026-08-26 11:00:08 +03:00
Lars Wirzenius 642bfd54f0 fix: CSS class name patches 2026-08-26 10:58:25 +03:00
Lars Wirzenius 8aa84b14ca fix: CSS class names for branches and commits 2026-08-26 10:57:38 +03:00
Lars Wirzenius ffdaa64b7c feat: clarify that job id is COB id 2026-08-26 10:54:27 +03:00
Lars Wirzenius 0f7903ab86 feat: don't show job COB id if not set 2026-08-26 10:53:40 +03:00
Lars Wirzenius 1ed8e9bf52 feat: don't show adapter run id if not set 2026-08-26 10:50:32 +03:00
Lars Wirzenius 756733f91a feat: make per-repo page title have repo name at start
This makes is easier to distinguish between tabs in Firefox.
2026-08-26 09:56:15 +03:00
Lars Wirzenius d4747c00bf feat: make link to front page clearer 2026-08-26 09:54:39 +03:00
Lars Wirzenius d5658ef558 fix: set report page title correctly
Previously the title claimed to be for a node, even when page was for
repository.
2026-08-26 09:49:02 +03:00
Lars Wirzenius 2e1fc47675 feat: hide empty event queue table, show count 2026-08-26 09:26:09 +03:00
Lars Wirzenius 33df49b75d feat: move run count to status list
More up-front, less space-taking than a paragraph before the repository
list.
2026-08-26 09:20:10 +03:00
Lars Wirzenius d1da8c5823 feat: make broker status information into a list
This is more visually distinct than a plain paragraph, but less heavy
than a heading.
2026-08-26 09:16:46 +03:00
Lars Wirzenius dccd17b7d8 feat: move RSS feed links to bottom of front page
I don't feel they need to be as prominent as they were.
2026-08-26 09:12:38 +03:00
Lars Wirzenius 40db6937aa fix: show node alias in cib report pages
Previously it was hard coded to the empty string.
2026-08-26 08:54:44 +03:00
Lars Wirzenius f80dbd95eb test: install binaries in the inst directory, run from there
This avoids having to determine the rigth path in the Cargo target
directory, which is tricky when --target is used.
2026-08-24 18:07:38 +03:00
technohippie 884dda7794 fix(cob): announce refs in the local node namespace 2026-08-24 16:48:08 +03:00
Nolan Darilek c7666c3246 fix: separate sensitive environment to prevent log leaks 2026-08-24 16:38:57 +03:00
Lars Wirzenius 9b8e1fea13 fix: typo in doc comment 2026-08-24 11:46:28 +03:00
Lars Wirzenius a688afde1f fix: references to types that were wrong 2026-08-04 11:49:27 +03:00
Lars Wirzenius 0e7ddc020f feat: add a sub-crate with things needed by an adapter implement in Rust
Move radicle_ci_broker::msg::* to radicle_ci_adapter::*. This is meant
to make building adapters in Rust to build much faster, as they only
need to build new radicle_ci_adapter crate, not the whole of
radicle_ci_broker.
2026-07-14 10:22:34 +03:00
Lars Wirzenius 12a32a0798 fix: disable generation of sample messages
The "signer" change in Radicle broke this and I can't figure out how to
do fix this, while using a mock repository. I'll disable it for now.
Will fix later.
2026-07-09 12:41:42 +03:00
Lars Wirzenius abd799612c fix(src/bin/cibtoolcmd/message.rs): adjust for new Patches API 2026-07-09 12:09:23 +03:00
Lars Wirzenius 036735c0fc fix(src/cob.rs): adjust to new radicle-job crate API 2026-07-09 12:09:23 +03:00
Lars Wirzenius 6efe6a86d0 fix(src/cob.rs): adjust to new way of getting node socket path 2026-07-09 11:03:04 +03:00
Lars Wirzenius c66194402e fix(src/ci_event.rs): adapt to new Radicle API 2026-07-09 11:01:41 +03:00
Lars Wirzenius 2a852035b7 fix(src/node_event_source.rs): use new API for getting node socket path 2026-07-09 10:51:43 +03:00
Lars Wirzenius 43c40e4dbb fix(src/msg.rs): adapt to new radicle crate Patches API 2026-07-09 10:47:58 +03:00
Lars Wirzenius e56ef9cfdc feat: explicitly ignore all known-pointless-for-us node events
Log the first occurence of the rest.
2026-06-30 09:53:26 +03:00
Lars Wirzenius 2bae93c019 feat: log each kind of unhandled event once per run
Also raise to debug level so they're not so hidden.
2026-06-30 09:46:28 +03:00
Lars Wirzenius 21d234ad68 feat: make HTML refresh interval configurable 2026-06-29 13:44:49 +03:00
Yorgos Saslis 33d5a514a2 feat(logger.rs): honor RUST_LOG for per-module log filtering
Use the tracing-subscriber `EnvFilter::builder()` +
`from_env_lossy()` pattern so `RUST_LOG`, when set, takes
precedence over the `--log-level` flag. This lets operators
silence noisy dependencies (e.g. radicle-cob's "Loading object
of type ..." debug stream emitted with `target: "cob"`) while
keeping the broker itself at `debug` level.

Example: `RUST_LOG="debug,cob=info" cib ...`

`from_env_lossy()` also reports invalid directives to stderr
("ignoring '<directive>': <err>") instead of swallowing them,
so this allows operators to quickly realise if they've set the
wrong log level.

This also works with `log` crate records (most heartwood crates),
as they are bridged into tracing via tracing-subscriber's
default-enabled `tracing-log` feature, so they respect the
same directives.

Also fixes typos in the `--log-level` doc-comment.

Signed-off-by: Yorgos Saslis <yorgos.work@proton.me>
2026-05-19 17:37:49 +03:00
vagrant 3273b20686 fix: log unhandled node events at trace, not debug
NodeAnnounced, InventoryAnnounced, RefsAnnounced and other
gossip events the broker intentionally ignores fire constantly
on a connected node. At debug they drown out adapter output,
which is the main reason to run the broker at debug level.
2026-05-19 15:31:52 +03:00
Lars Wirzenius ed7170c39e chore: update Radicle home page URLs to new domain 2026-05-12 10:03:30 +03:00
Lars Wirzenius bf8be65677 feat: allow disabling updates to job COBs in config 2026-05-11 15:03:21 +03:00
Lars Wirzenius ecce2a73a5 feat: add a variant to KnownJobCobs that makes no updates 2026-05-11 14:30:34 +03:00
Lars Wirzenius fd7d8a91af refactor: make KnownJobCobs into an enum
This is in preparation of adding a do-not-update variant.
2026-05-11 14:26:02 +03:00
Lars Wirzenius 7739164263 refactor: use a clearer way to get matching values from hashmap
Found by clippy.
2026-05-05 14:39:10 +03:00
Lars Wirzenius 276187c685 feat(src/pages.rs): shorten meta refresh value a lot
Five seconds will work better for demos, but may be too short for real
use.
2026-04-13 11:51:13 +03:00
Lars Wirzenius 8da2ffd0cf fix(src/config.rs): point at correct place where meta refresh is set 2026-04-13 11:50:11 +03:00
Lars Wirzenius 071e3e7b95 refactor(src/notif.fs): fix typo in constant name 2026-04-13 11:43:30 +03:00
Lars Wirzenius bbc4e4239b fix(src/config.rs): fix typo in doc comment 2026-04-13 11:42:15 +03:00
Defelo cae4ced619 chore: update dependencies
Includes the security fix added in Radicle 1.7.0
2026-03-23 17:26:21 +01:00
Lars Wirzenius 369227ca55 chore: bump Radicle dependencies
Also fix up things that break.
2026-03-06 08:56:47 +02:00
Lars Wirzenius bb1b8b5e58 chore: bump dependency on html-page to new 0.4.2
Fix warnings about argument type. The new version allows borrowed or
owned values.
2026-02-15 18:12:32 +02:00