M12.4: preserve exact biology across ownership candidates
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m18s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 5m33s
Foundation / checks (postgres) (push) Canceled after 5m29s
Foundation / checks (tsan) (push) Canceled after 5m28s
Foundation / checks (client) (push) Canceled after 5m37s
Foundation / checks (network) (push) Canceled after 5m39s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m18s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 5m33s
Foundation / checks (postgres) (push) Canceled after 5m29s
Foundation / checks (tsan) (push) Canceled after 5m28s
Foundation / checks (client) (push) Canceled after 5m37s
Foundation / checks (network) (push) Canceled after 5m39s
This commit is contained in:
@@ -96,6 +96,12 @@ class LineageArchive {
|
||||
organism(std::uint64_t identity) const;
|
||||
[[nodiscard]] std::expected<std::uint64_t, HistoryError>
|
||||
current_genome(std::uint64_t organism) const;
|
||||
// Detached append-only merge for exact ownership transfer. Imports selected
|
||||
// living organisms, their immutable births/revisions and all genome parents.
|
||||
// IDs must be sorted/unique. Existing death or conflicting history refuses
|
||||
// the whole result; both input archives remain unchanged.
|
||||
[[nodiscard]] std::expected<LineageArchive, HistoryError>
|
||||
merge_living_from(const LineageArchive& source, std::span<const std::uint64_t> organisms) const;
|
||||
// Oldest first, ending at the founder. Still resolves after every carrier dies.
|
||||
[[nodiscard]] std::expected<std::vector<std::uint64_t>, HistoryError>
|
||||
ancestry(std::uint64_t genome) const;
|
||||
|
||||
Reference in New Issue
Block a user