circus/crates/common/src
NotAShelf 5b472a2f57
fc-common: add GC pinning and machine health infrastructure
Migration 017 adds `builds.keep`, `jobsets.keep_nr`, and health tracking
columns to `remote_builders`. Repo layer implements `set_keep`,
`list_pinned_ids`, `record_failure` with exponential backoff,
`record_success`, and `find_for_system` filtering of disabled builders.
GC root cleanup now skips pinned builds.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibba121de3dc42f71204e3a8f5776aa8b6a6a6964
2026-02-28 12:18:04 +03:00
..
repo fc-common: add GC pinning and machine health infrastructure 2026-02-28 12:18:04 +03:00
alerts.rs fc-common: add AlertConfig and AlertManager for error tracking 2026-02-14 18:08:17 +03:00
bootstrap.rs fc-common: add GC pinning and machine health infrastructure 2026-02-28 12:18:04 +03:00
config.rs fc-common: add GC pinning and machine health infrastructure 2026-02-28 12:18:04 +03:00
database.rs chore: format with updated rustfmt and taplo rules 2026-02-05 22:45:06 +03:00
error.rs treewide: format with nightly rustfmt; auto-fix Clippy lints 2026-02-08 22:23:28 +03:00
gc_roots.rs fc-common: add GC pinning and machine health infrastructure 2026-02-28 12:18:04 +03:00
lib.rs fc-common: add PostgreSQL LISTEN/NOTIFY infrastructure 2026-02-16 23:42:36 +03:00
log_storage.rs treewide: format with nightly rustfmt; auto-fix Clippy lints 2026-02-08 22:23:28 +03:00
migrate.rs chore: format with updated rustfmt and taplo rules 2026-02-05 22:45:06 +03:00
migrate_cli.rs chore: format with updated rustfmt and taplo rules 2026-02-05 22:45:06 +03:00
models.rs fc-common: add GC pinning and machine health infrastructure 2026-02-28 12:18:04 +03:00
nix_probe.rs treewide: format with nightly rustfmt; auto-fix Clippy lints 2026-02-08 22:23:28 +03:00
notifications.rs fc-common: update notifications to handle all BuildStatus variants 2026-02-16 13:02:24 +03:00
pg_notify.rs fc-common: add PostgreSQL LISTEN/NOTIFY infrastructure 2026-02-16 23:42:36 +03:00
roles.rs treewide: format with nightly rustfmt; auto-fix Clippy lints 2026-02-08 22:23:28 +03:00
tracing_init.rs chore: format with updated rustfmt and taplo rules 2026-02-05 22:45:06 +03:00
validate.rs fc-common: add GC pinning and machine health infrastructure 2026-02-28 12:18:04 +03:00
validation.rs treewide: format with nightly rustfmt; auto-fix Clippy lints 2026-02-08 22:23:20 +03:00