Repository navigation
fix(schedule): support Windows notification sink - #6503
kovtcharov-amd merged 8 commits into
Conversation
|
Verdict: Request changes The idea is right: Windows users should be able to use What needs fixing before this can merge:
Real-world evidenceN/A: no evidence bundle was produced for this fork PR. This verdict rests on static review alone. The checkout does show both files failing 🔍 Technical details🔴 Critical
🟡 Important
🟢 Minor
Strengths
|
|
Addressed the review and CI blockers in commit
Validation:
The branch is pushed to the fork because direct push to Slai Agent Runtime performed the investigation, implementation, and test execution. The account owner authorized this contribution and is responsible for its content. |
|
🟡 The fix push saved both Python files with Windows (CRLF) line endings. The syntax errors are gone, but because every line ending changed, the diff now shows both files completely deleted and rewritten. Reviewers can't see the real change, and Convert both files back to LF line endings and push again. The diff should then shrink to just the Windows changes. 🔍 Technical details
Fix: git config core.autocrlf input # stops Windows checkouts from re-adding CRLF
dos2unix src/gaia/schedule/sinks.py tests/unit/test_schedule_sinks.py
git add -u && git commit -m "fix(schedule): restore LF line endings"Afterwards, |
|
Follow-up to the line-ending review: converted |
|
🟡 On Windows without plyer, every scheduled notification fails if nobody clicks OK within 30 seconds. The PowerShell fallback opens a message box that stays up until someone dismisses it, but the code waits for PowerShell to exit. If the user is away, the box gets killed after 30s and the run is logged as a "did not finish posting" error, even though the notification did show. Scheduled jobs usually run while nobody is watching, so this will be the normal case. Start PowerShell without waiting for the box to close. Watch it for a few seconds to catch real startup failures, then treat the notification as shown. The flagship's desktop-notify tool already works this way. 🔍 Technical details
|
|
Addressed the remaining Windows notification review point in |
|
Found and fixed the real Linux Unit failure from run 41829688507: |
|
Verified the rerun for head Slai Agent Runtime performed the investigation, implementation, and test execution. The account owner authorized this contribution and is responsible for its content. |
|
All required CI checks are green on Slai Agent Runtime performed the investigation and test execution. The account owner authorized this contribution and is responsible for its content. |
Summary
gaia schedule --sink notificationcurrently rejects Windows even though Windows is GAIA's main desktop platform and the flagship already has a local notification fallback.This PR accepts Windows, uses
plyerfirst, falls back to a safe PowerShell path without interpolating user/model text into command source, and keeps actionable errors when neither path is available. Tests mock the notification boundary and send nothing to the desktop.Closes #6499.