Skip to content

fix: idle "waiting for your input" nag pings at default priority, not… #91

fix: idle "waiting for your input" nag pings at default priority, not…

fix: idle "waiting for your input" nag pings at default priority, not… #91

Workflow file for this run

name: Toast Native
# Real native desktop-notification coverage on Windows: fires the real BurntToast
# backend and reads the notification back out of the Windows push-notification
# store (wpndatabase.db) to prove the OS platform recorded the exact payload —
# layer 2, not just an exit-0 check. macOS delivery is proven by the toast-macos.yml
# lane (Notification Center DB capture).
on:
push:
branches: [main]
paths-ignore: ['**/*.md', 'docs/**', 'LICENSE', '.gitignore']
pull_request:
paths-ignore: ['**/*.md', 'docs/**', 'LICENSE', '.gitignore']
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
jobs:
toast-native:
name: Live Toast Native (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [windows-latest]
runs-on: ${{ matrix.os }}
env:
AAN_TOAST_LIVE: '1'
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 22
- run: npm install
- name: Install BurntToast (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: Install-Module -Name BurntToast -Force -Scope CurrentUser -AllowClobber
- name: Fire the real native toast backend and assert success (layer 1)
run: node --test tests/platforms.test.mjs
- name: Layer-2 read-back gate — toast recorded in wpndatabase.db (nonce in title + body)
if: runner.os == 'Windows'
env:
RENDER_OUT: ${{ runner.temp }}/win-readback-proof
run: node scripts/live-toast-windows.mjs
- name: Upload read-back evidence
if: always()
uses: actions/upload-artifact@v4
with:
name: win-readback-proof
path: ${{ runner.temp }}/win-readback-proof
if-no-files-found: warn