You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: reduce active-event attribution before bounded hydration - #243
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
范围
Refs #236。针对 compat v1/native v2 的 text-only、proof-owner 集合可 ATTACH 的定点 active 查询,在 SQL 完成完整 coverage、全文调用栈归约和排名,仅补齐最终详情页来源。保持未来 free 证明、字面缺失栈标签与真正 missing 区别、静态/预存分类、top_n 后且 max_rows 前的百分比分母、精确分页标记。
ordered-frame extension 或 proof-owner 超过 ATTACH 上限时保持原有正确且计费的 fallback;不宣称所有高基数或无界输出均可在默认预算成功。有限详情页的大整数 coverage 使用精确求和,避免提前 int64 溢出。
验证
基线 main
ffa71df0ddf0fb5f17a904f4092898a27287d21e,审核 treeceb4921104f104d606dd6aa20553936b2c1f81d8。合成规模:1,500,000 events,3×500,000 分片,200,000 同时活跃 blocks。两布局的默认预算 page=20/exact_total 与 top_n=20 均成功,与 standalone 公共字段差分一致,源文件 hash 不变。20 万无界详情输出仍硬失败。
一次环境观测:v1 page/top 3.017s/1.692s;v2 3.267s/2.049s。page 收费 84 rows/~35KB,top 45 rows/~19KB。单次数据不是一般性能保证,benchmark 和确定性规模回归随 PR 提供。
门槛
原始记录、补源和最终输出仍按真实读取计费;SQLite 扫描仍受 deadline 约束,不承诺 RSS 或全临时盘上限。保留草稿,跟踪远端完整 CI;不自动合并。