refactor(api): remove public minimum log sequence (EN-1946) - #1881
Conversation
✅ Approve — automated reviewThe public minimum-log-sequence surface is removed consistently, including generated protobuf code and affected callers. No actionable correctness defects were found. No findings. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## test/en-1946-antithesis-projection-horizons #1881 +/- ##
===============================================================================
+ Coverage 77.37% 77.49% +0.12%
===============================================================================
Files 458 458
Lines 48632 48550 -82
===============================================================================
- Hits 37629 37626 -3
+ Misses 7839 7782 -57
+ Partials 3164 3142 -22
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
b7b8a57 to
c130267
Compare
c130267 to
7eb4e27
Compare
62ab75f to
b69d33d
Compare
7eb4e27 to
19c9259
Compare
NumaryBot
left a comment
There was a problem hiding this comment.
NumaryBot posted 1 new inline finding.
Summary: #1881 (comment)
NumaryBot
left a comment
There was a problem hiding this comment.
🛑 Changes requested — automated review
No runtime correctness defect was identified. The remaining issue is authoritative gRPC documentation that still describes the removed API.
Findings outside the diff
🟠 [major] Update the gRPC API documentation — misc/proto/common.proto:1846
Removing this field leaves docs/technical/architecture/subsystems/api/grpc-api.md:654-686 with an uncompilable example using ReadOptions.MinLogSequence and a false description of its consistency behavior. Update that authoritative API documentation as required by AGENTS.md:82-89.
Summary: #1881 (comment)
19c9259 to
a757c7b
Compare
b69d33d to
d41cd48
Compare
a757c7b to
5c0f688
Compare
d41cd48 to
1c626e5
Compare
NumaryBot
left a comment
There was a problem hiding this comment.
NumaryBot review complete: no remaining inline findings.
Resolved 1 stale NumaryBot review thread (1 fixed, 0 outdated).
Summary: #1881 (comment)
1c626e5 to
edfb40c
Compare
5c0f688 to
979f16b
Compare
NumaryBot
left a comment
There was a problem hiding this comment.
🛑 Changes requested — automated review
The implementation appears correct, but the authoritative gRPC documentation still describes and demonstrates the removed API field. This is a non-blocking documentation defect.
Findings outside the diff
🔴 [blocker] Update the gRPC guide for the removed field — misc/proto/common.proto:1763
Removing this field leaves docs/technical/architecture/subsystems/api/grpc-api.md:654-686 with an uncompilable MinLogSequence example and obsolete consistency semantics. Update that authoritative guide as required by AGENTS.md:82-89.
Summary: #1881 (comment)
NumaryBot
left a comment
There was a problem hiding this comment.
NumaryBot posted 1 new inline finding.
Summary: #1881 (comment)
|
This PR removes the public Recommendation: request changes (documentation-only fixes; no code changes required). Standards
Judgement-call candidates (duplicated barrier rationale across four files, the 60-file blast radius, the deleted Spec
Otherwise the spec is fully implemented: all five PR-body bullets were verified against the diff and checkout (field and error removal, gap-free renumbering without Reviewed independently by GLM (glm-5.3-flash) and Codex (gpt-5.6-sol) via Shipfox; verified and synthesized by GLM. |
|
This PR removes the public Standards
No other confirmed material standards finding. The protobuf renumbering, mock regeneration, error-code cleanup, and remaining Spec
All other spec bullets verified passing: full code removal of Reviewed independently by GLM (glm-5.3-flash) and Codex (gpt-5.6-sol) via Shipfox; verified and synthesized by GLM. |
979f16b to
5c6b43d
Compare
edfb40c to
7861115
Compare
NumaryBot
left a comment
There was a problem hiding this comment.
NumaryBot review complete: no remaining inline findings.
Resolved 1 stale NumaryBot review thread (0 fixed, 1 outdated).
Summary: #1881 (comment)
NumaryBot
left a comment
There was a problem hiding this comment.
NumaryBot review complete: no remaining inline findings.
Resolved 1 stale NumaryBot review thread (0 fixed, 1 outdated).
Summary: #1881 (comment)
|
This PR completes EN-1946 by removing the client-facing Standards[Minor] Stale "which wait" phrasing left in a comment this PR touched — No other standards finding: the 61-file blast radius is mandated by AGENTS.md's synchronized protobuf/generated-code/mocks/docs requirements, the renumbering follows the repo's no- SpecNo confirmed material finding. All five spec bullets were verified against the diff and the checkout: (1) Reviewed independently by GLM (glm-5.3-flash) and Codex (gpt-5.6-sol) via Shipfox; verified and synthesized by GLM. |
d5daab9 to
495e20f
Compare
Review summary — PR #1881 (remove public minimum log sequence, 81556e9 → 495e20f)This PR removes the client-facing Recommendation: approve with comments (single minor, non-blocking comment cleanup). StandardsMinor — stale code comment left behind by the interface change
All other documented standards check out: sequential proto realignment without SpecNo confirmed material finding. All requirements verified against the checkout:
Reviewed independently by GLM (glm-5.3-flash) and Codex (gpt-5.6-sol) via Shipfox; verified and synthesized by GLM. |
81556e9 to
0c81738
Compare
495e20f to
fccfa18
Compare
0c81738 to
ab0a18f
Compare
fccfa18 to
8730574
Compare
ab0a18f to
d0271c3
Compare
8730574 to
1f6effe
Compare
|
Both independent reviews of PR #1881 ("refactor(api): remove public minimum log sequence", EN-1946) were verified against Standards
No other Standards findings: the protobuf realignment, documentation updates, retained internal cursors, and deleted-test/driver cleanup were all verified compliant with the repo's documented standards. Spec
No other Spec findings: all five PR-body bullets were verified against the diff — the retained Reviewed independently by GLM (glm-5.3-flash) and Codex (gpt-5.6-sol) via Shipfox; verified and synthesized by GLM. |
d0271c3 to
4b00203
Compare
1f6effe to
2463e39
Compare
4b00203 to
3167247
Compare
2463e39 to
2734d75
Compare
Final review — formancehq/ledger PR #1881 (refactor(api): remove public minimum log sequence, EN-1946)This PR removes the public Standards
Spec
The non-authoritative Reviewed independently by GLM (glm-5.3-flash) and Codex (gpt-5.6-sol) via Shipfox; verified and synthesized by GLM. |
3167247 to
c7a907b
Compare
2734d75 to
1a88c77
Compare
|
This PR removes the client-facing StandardsNo confirmed material finding. The cross-file spread is the coordinated removal of one public API surface as prescribed by the repo's protobuf and docs-maintenance standards; protobuf renumbering is sequential with no SpecNo confirmed material finding. Every PR-body bullet is implemented: the field is gone from protobuf, HTTP/OpenAPI, CLI, routing, errors, tests, and authoritative docs; Reviewed independently by GLM (glm-5.3-flash) and Codex (gpt-5.6-sol) via Shipfox; verified and synthesized by GLM. |
1a88c77 to
7479249
Compare
|
This PR removes the client-facing Standards
Rejected from the candidate reports as lacking material impact: Spec
No missing or partial spec requirements and no scope creep were found. The renumbered wire tags, retained Reviewed independently by GLM (glm-5.3-flash) and Codex (gpt-5.6-sol) via Shipfox; verified and synthesized by GLM. |
c7a907b to
af5268e
Compare
7479249 to
b9cdf34
Compare
af5268e to
4710460
Compare
b9cdf34 to
4710460
Compare
02ca491 to
a94398c
Compare
a94398c to
f3983bf
Compare
|
Follow-up on
Validation on the final tree:
The previous unit failure was a runtime pprof heap-profile read racing with Sonic JIT module loading; the same parent package was green and the final HTTP package passed 5 targeted repetitions, 3 full-package repetitions, and the full race gate. The previous cluster timeout was an old follower-rejoin ListLedgers callback blocked on a stale gRPC call; the parent run and the final local cluster suite are green. A fresh CI run is now evaluating this head. |
|
Final review of PR #1881 (formancehq/ledger) — "refactor(api): remove public minimum log sequence (EN-1946)". I verified both prior reports against StandardsNo confirmed hard violation of the documented standards (protobuf renumbering policy, mock regeneration, documentation maintenance, and engineering conventions all verified against AGENTS.md / docs/technical/contributing/). Non-blocking observations (verified, no correctness/security/compatibility impact):
SpecNo confirmed material finding. All five PR-body commitments verified independently against the diff and checkout:
No missing/partial requirements, no scope creep, and no implemented-but-wrong behavior found. Reviewed independently by GLM (glm-5.3-flash) and DeepSeek (deepseek-v4-pro-0813) via Shipfox; verified and synthesized by GLM. |
Summary
Stack 7/7 for EN-1946. This final PR removes the unreleased client-facing min_log_sequence surface after the preceding stack has made Raft applied index the common projection horizon.
Stack
Jira: https://formance-team.atlassian.net/browse/EN-1946
Validation
Targeted Go 1.26 package tests, the complete Antithesis workload module, and scripts/agent-check pass on the reconstructed final tree. Fresh per-PR validation and review are being run after the split.
Scope notes
Usage projections remain deliberately eventual and outside the common horizon. The independent routing/receipt fixes from #1876 remain in the target branch.