fix: hide experiment rows from control center summary#153
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0be06abc54
ℹ️ 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".
| for lane, label in lane_labels: | ||
| items = [item for item in queue if item.get("lane") == lane] | ||
| lane_items = [item for item in queue if item.get("lane") == lane] | ||
| items = [item for item in lane_items if _should_print_control_center_item(item)] |
There was a problem hiding this comment.
Filter the summary before hiding experiment rows
When the blocked/urgent pressure is caused by an experiment item, this filters only the lane rows after _print_control_center_summary has already printed the unfiltered operator_summary headline/what-to-do fields. In that case the default console can still announce live blocked/urgent work or recommend acting on the hidden experiment while showing no matching queue row, which defeats the new default-view suppression; the summary/handoff should be derived from the same visible queue or suppressed when its primary item is hidden.
Useful? React with 👍 / 👎.
Summary
Verification