You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pingqiu
7436b3b79c
feat: add integration closure and observability (Phase 05 Slice 4)
New files:
- observe.go: RegistryStatus, SenderStatus, RecoveryLog for debugging
- integration_test.go: V2-boundary integration tests through real
engine entry path
Observability:
- Registry.Status() returns full snapshot: per-sender state, session
snapshots, counts by category (InSync, Recovering, Rebuilding)
- RecoveryLog: append-only event log for recovery lifecycle debugging
Integration tests (6):
- ChangedAddress_FullFlow: initial recovery → address change →
sender preserved → new session → recovery with proof
- NeedsRebuild_ThenRebuildAssignment: catch-up fails → NeedsRebuild
→ rebuild assignment → history-driven source → InSync
- EpochBump_DuringRecovery: mid-recovery epoch bump → old session
rejected → new assignment at new epoch → InSync
- MultiReplica_MixedOutcomes: 3 replicas, 3 outcomes via
RetainedHistory proofs, registry status verified
- RegistryStatus_Snapshot: observability snapshot structure
- RecoveryLog: event recording and filtering
Engine module at 54 tests (12 + 18 + 18 + 6).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
3 days ago |
| .. |
|
budget.go
|
feat: add V2 engine replication core (Phase 05 Slice 1)
|
3 days ago |
|
doc.go
|
fix: separate stable ReplicaID from Endpoint in registry
|
3 days ago |
|
go.mod
|
feat: add V2 engine replication core (Phase 05 Slice 1)
|
3 days ago |
|
history.go
|
fix: connect recovery decisions to RetainedHistory, fix rebuild source
|
3 days ago |
|
integration_test.go
|
feat: add integration closure and observability (Phase 05 Slice 4)
|
3 days ago |
|
observe.go
|
feat: add integration closure and observability (Phase 05 Slice 4)
|
3 days ago |
|
outcome.go
|
feat: add V2 engine replication core (Phase 05 Slice 1)
|
3 days ago |
|
ownership_test.go
|
fix: separate stable ReplicaID from Endpoint in registry
|
3 days ago |
|
rebuild.go
|
fix: correct catch-up entry counting and rebuild transfer gate
|
3 days ago |
|
recoverability_test.go
|
fix: connect recovery decisions to RetainedHistory, fix rebuild source
|
3 days ago |
|
recovery_test.go
|
fix: correct catch-up entry counting and rebuild transfer gate
|
3 days ago |
|
registry.go
|
fix: separate stable ReplicaID from Endpoint in registry
|
3 days ago |
|
sender.go
|
fix: add nil check for RetainedHistory in sender APIs
|
3 days ago |
|
session.go
|
fix: correct catch-up entry counting and rebuild transfer gate
|
3 days ago |
|
types.go
|
feat: add V2 engine replication core (Phase 05 Slice 1)
|
3 days ago |