Include flows spanning the full report time window

未关闭 适合新手
#306 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@somethingwithproof 已经在做这个了。

开始于 2026年11月8日。

  • #307 来自 @somethingwithproof —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
77/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
php
领域
backend

调研方向

从 Any Part in specified time span 筛选器以及 issue 中提到的 QueryBuilderTest 回归问题着手。更新时间重叠条件,使覆盖整个所选时间窗口的流也能被纳入,然后运行 QueryBuilderTest,并确认其对谓词和参数顺序的预期与新行为一致。

由索引模型根据 Issue 内容生成。

描述

Bug

The default Any Part in specified time span filter checks whether a flow start or end time falls inside the selected window. It omits flows whose start is before the window and whose end is after it, even though the flow overlaps the entire window.

Expected behavior

Include a flow whenever its interval overlaps the selected range: start_time is at or before the range end, and end_time is at or after the range start.

Validation

The QueryBuilderTest regression currently fails because it expects the existing BETWEEN predicate and parameter order.

主要语言
PHP
星标
21
派生
13
平均合并
1 天 15 小时
30 天内合并 PR
13

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Cacti/plugin_flowview 的其他 Issue

查看 Cacti/plugin_flowview 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。