mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-11-29 21:33:58 +01:00
Compare commits
No commits in common. "17930094495b931043c71e6b46fb8b48799751eb" and "a12fae96665e5959b3d1c88dd44e6f4ead48c665" have entirely different histories.
1793009449
...
a12fae9666
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
|
- uses: kuhyx/utils/flutter-setup@flutter-setup-v1
|
||||||
with:
|
with:
|
||||||
flutter-version: 3.50.1
|
flutter-version: 3.50.0
|
||||||
working-directory: phone_app
|
working-directory: phone_app
|
||||||
|
|
||||||
- name: Dart writes, Python replays, both must agree
|
- 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
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
flutter-version: 3.50.1
|
flutter-version: 3.50.0
|
||||||
channel: stable
|
channel: stable
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
|
|||||||
@ -227,22 +227,6 @@ PC (`events.jsonl` `event`): `fallback_tick` (only on decision change),
|
|||||||
`rtc_skip`, `firebase_unreachable`, `escape_seen`, `penalty_written`,
|
`rtc_skip`, `firebase_unreachable`, `escape_seen`, `penalty_written`,
|
||||||
`penalty_cancelled` (field `cause`: `escape` | `sick_day`), `audit_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)
|
## Verification status (2026-10-01)
|
||||||
|
|
||||||
- vmbox gate (`scripts/vmbox/harness.sh`, `guest_cases_v2.sh`): install,
|
- vmbox gate (`scripts/vmbox/harness.sh`, `guest_cases_v2.sh`): install,
|
||||||
|
|||||||
@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.2-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.1-all.zip
|
||||||
|
|||||||
@ -16,7 +16,7 @@ dependencies = [
|
|||||||
"freedays @ git+https://github.com/kuhyx/utils@freedays-v0.4.3#subdirectory=freedays",
|
"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
|
# Sick days stand the PC's enforcement down (_sick.py). Imported behind
|
||||||
# a guard: missing means "not sick", never a crashed tick.
|
# a guard: missing means "not sick", never a crashed tick.
|
||||||
"sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.6#subdirectory=sickdays",
|
"sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.5#subdirectory=sickdays",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Package discovery must be explicit: phone_app/ is a Flutter app, not a Python
|
# 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-sugar==1.1.1
|
||||||
pytest-xdist==3.8.0
|
pytest-xdist==3.8.0
|
||||||
ruff==0.17.6
|
ruff==0.17.6
|
||||||
sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.6#subdirectory=sickdays
|
sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.5#subdirectory=sickdays
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user