mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-11-28 19:49:14 +01:00
Compare commits
2 Commits
a12fae9666
...
1793009449
| Author | SHA1 | Date | |
|---|---|---|---|
| 1793009449 | |||
| ddc076ee51 |
2
.github/workflows/python-tests.yml
vendored
2
.github/workflows/python-tests.yml
vendored
@ -71,7 +71,7 @@ jobs:
|
||||
|
||||
- uses: kuhyx/utils/flutter-setup@flutter-setup-v1
|
||||
with:
|
||||
flutter-version: 3.50.0
|
||||
flutter-version: 3.50.1
|
||||
working-directory: phone_app
|
||||
|
||||
- name: Dart writes, Python replays, both must agree
|
||||
|
||||
2
.github/workflows/release-apk.yml
vendored
2
.github/workflows/release-apk.yml
vendored
@ -87,7 +87,7 @@ jobs:
|
||||
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: 3.50.0
|
||||
flutter-version: 3.50.1
|
||||
channel: stable
|
||||
cache: true
|
||||
|
||||
|
||||
@ -227,6 +227,22 @@ PC (`events.jsonl` `event`): `fallback_tick` (only on decision change),
|
||||
`rtc_skip`, `firebase_unreachable`, `escape_seen`, `penalty_written`,
|
||||
`penalty_cancelled` (field `cause`: `escape` | `sick_day`), `audit_written`.
|
||||
|
||||
## The desktop must come back after lockdown (2026-11-20)
|
||||
|
||||
The carrot assumes the PC has a desktop in the morning. On 2026-11-20 it did
|
||||
not: the nightly `auto-system-update` installed NVIDIA 620.73 and kernel 7.3.5
|
||||
while the PC sat in night lockdown. At 05:00 the unlock started lightdm, Xorg
|
||||
died on `NVRM: API mismatch`, lightdm hit `start-limit-hit`, and every later
|
||||
trigger logged "already UNLOCKED". kuhy saw only the text console.
|
||||
|
||||
The fix lives in digital-wellbeing (`lib/payloads/night-lockdown-gui-recover.sh`):
|
||||
a morning trigger that finds state UNLOCKED with lightdm down starts it again,
|
||||
after `reset-failed`. On a driver mismatch it reloads the NVIDIA modules. When
|
||||
the running kernel has no modules left, it reboots once that day. Boot units
|
||||
that raced DNS (`reflector`, `periodic-system-startup`) now retry
|
||||
(system-maintenance). Nothing in this repo changed: the morning session and
|
||||
its 11:00 deferral were fine; only the desktop was missing.
|
||||
|
||||
## Verification status (2026-10-01)
|
||||
|
||||
- vmbox gate (`scripts/vmbox/harness.sh`, `guest_cases_v2.sh`): install,
|
||||
|
||||
@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.1-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.2-all.zip
|
||||
|
||||
@ -16,7 +16,7 @@ dependencies = [
|
||||
"freedays @ git+https://github.com/kuhyx/utils@freedays-v0.4.3#subdirectory=freedays",
|
||||
# Sick days stand the PC's enforcement down (_sick.py). Imported behind
|
||||
# a guard: missing means "not sick", never a crashed tick.
|
||||
"sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.5#subdirectory=sickdays",
|
||||
"sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.6#subdirectory=sickdays",
|
||||
]
|
||||
|
||||
# Package discovery must be explicit: phone_app/ is a Flutter app, not a Python
|
||||
|
||||
@ -17,4 +17,4 @@ pytest-randomly==5.1.0
|
||||
pytest-sugar==1.1.1
|
||||
pytest-xdist==3.8.0
|
||||
ruff==0.17.6
|
||||
sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.5#subdirectory=sickdays
|
||||
sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.6#subdirectory=sickdays
|
||||
|
||||
Loading…
Reference in New Issue
Block a user