Skip to content

Fix suppressed alert cooldowns and battery time selection - #114

Merged
gitar-bot[bot] merged 2 commits into
mainfrom
fix/notification-battery-state
Oct 11, 2026
Merged

gitar-bot[bot] merged 2 commits into
mainfrom
fix/notification-battery-state

Conversation

@offyotto

Copy link
Copy Markdown
Owner

Apply policy, mute, and authorization before reserving notification cooldown; allow pending active alerts after delivery becomes eligible. Select IOPS TTF while charging and TTE while discharging; omit inactive/unknown estimates. Adds escalation, repeat, mute, and battery-state regressions. Follow-up only: v17.0.5 and its artifacts remain unchanged. Full macOS suite runs in CI.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T04:13:07.763161Z 099c24c PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gitar-bot
gitar-bot Bot enabled auto-merge (squash) October 11, 2026 04:12

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitar has auto-approved this PR (configure)

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Oct 11, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 099c24cfda

ℹ️ 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".

Comment thread Core-Monitor/AlertManager.swift Resolved
@gitar-bot

gitar-bot Bot commented Oct 11, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Alert cooldowns now depend on delivery eligibility, and battery estimates follow charge state; mistakes could suppress alerts or hide countdowns.

Reorders notification handling so delivery policy, mute, and authorization are applied before cooldown is reserved, and pending active alerts are re-evaluated once delivery becomes eligible. Battery estimates now use IOPS time-to-full while charging and time-to-empty while discharging, omitting inactive or unknown values. No issues found.

Auto-approved: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria.

Review coverage

🤖 Auto-approval Approved

📋 Rules No rules evaluated

🧪 Functional validation Not enabled · Set up

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Counting what did not apply, without listing it.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@gitar-bot
gitar-bot Bot merged commit 3d17cb1 into main Oct 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant