feat(history): add fenced rollup and retention maintenance - #236
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review Please review exact W63 Slice 2 head |
d857046 to
d7541ef
Compare
|
@codex review Please re-review exact remediated W63 Slice 2 head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d7541ef7b2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
9e96b88 to
f1f4335
Compare
|
@codex review Please re-review exact remediated head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f1f4335e05
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
fd10f7d to
ea4fece
Compare
|
@codex review Please review canonical W63 Slice 2 head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ea4fece413
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
4d5988e to
5190a36
Compare
|
@codex review Please re-review canonical W63 Slice 2 head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5190a36c24
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
3d9b664 to
2523def
Compare
|
@codex review Please re-review exact canonical head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2523def677
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
6d564b5 to
0753ba1
Compare
|
@codex review Please re-review exact canonical head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0753ba1897
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
9a1374e to
61b7efe
Compare
|
@codex review Please review canonical exact head |
3de501e to
8f62a84
Compare
|
@codex review Please review final canonical exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8f62a84f02
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Refs #212 Signed-off-by: Ammar Heidari <ammar@arad-itc.org>
e2603e3 to
4876a55
Compare
|
@codex review Please review final canonical exact head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4876a55da9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| var sum = | ||
| group.Sum(row => row.Sum); | ||
| var count = | ||
| group.Sum(row => row.Count); |
There was a problem hiding this comment.
Prevent valid samples from overflowing rollup aggregation
Two raw samples can each pass HistoricalMetricSample.Validate() while their combined Count exceeds long.MaxValue; Enumerable.Sum then throws OverflowException here and rolls back the batch. Because every subsequent cycle selects the same oldest window, that valid input permanently blocks rollup processing for all later windows. Similarly, finite Sum values can combine into infinity, bypassing the finite-value invariant. Bound or safely validate accumulated aggregates before attempting the upsert.
Useful? React with 👍 / 👎.
Authority
W63 #212 Slice 1 provider/query foundation is complete and protected-main verified. This PR starts admitted W63 Slice 2 on protected-main
65725a1ab329921fad6dea7e930ba9151e4981c7.Scope
sqlite3_interrupt;Safety boundary
Exact head:
4876a55da9660657063ffb9fc4c808ab1590b2b8.Review remediation
Canonical resynchronization
4beeab13ab9d251024d95aa28bcf4c6b8f3e9f8a;8f62a84f0289b0adf507876656c75675fb243b06;Final exact-head reconciliation
4beeab13ab9d251024d95aa28bcf4c6b8f3e9f8a;4876a55da9660657063ffb9fc4c808ab1590b2b8;