Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-controller/src/review_classifier
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas daaf920e06 review classifier: keep stored runs this build can't decode
A run record this build couldn't decode was dropped from the list it
read, and the next recorded run wrote the list back without it, so a
rollback followed by a roll-forward lost the newer build's runs for
good. The stored list is now a list of entries, each a decoded run or
the raw JSON of one that didn't decode. The route still shows only the
decoded runs. An undecodable entry keeps its place, counts toward the
100, and is written back as it was read. A read that finds any logs one
WARN with their count and the first error.

The settings decode derived its known fields from what
`Settings::default()` serializes, so a later field skipped when unset
would have been stripped from a valid stored document and lost on the
next PUT. The known fields are now an explicit list. A test serializes
a fully populated `Settings`, checks that its keys match the list, and
checks that `decode` round-trips it.
2026-10-13 08:10:51 +02:00
..
review.rs review classifier: model, effort and review concurrency as swarm-wide settings 2026-10-13 01:45:19 +02:00
runs.rs review classifier: keep stored runs this build can't decode 2026-10-13 08:10:51 +02:00
settings.rs review classifier: keep stored runs this build can't decode 2026-10-13 08:10:51 +02:00