70 lines
3.5 KiB
Markdown
70 lines
3.5 KiB
Markdown
# Local Edge: gaps between cyclic images, 2026-09-15
|
||
|
||
Device: `g-box-8e6af561`, `192.168.0.110`, server device ID 4.
|
||
Installed client: **4.410.123**, stage **stage_itscreen 1.0.2**.
|
||
The Edge receipt identifies a local build, with no claimed published commit.
|
||
This task did not commit or push the changes.
|
||
|
||
## Findings and fixes
|
||
|
||
In `It-screenClient/LayoutControlSync.qml`, hourly playlist regeneration shifts
|
||
queue positions. The previous revision check compared the loaded media with the
|
||
item at its old array position. An unrelated item could therefore invalidate
|
||
unchanged playback, stop both player buffers, and leave a gap while the scheduler
|
||
waited for the next short clip. The check now uses component ID and media revision;
|
||
changed or removed media still invalidates playback.
|
||
|
||
`It-screenClient/mqtt_bridge_config.cpp` ran synchronous system commands in the
|
||
GUI thread every minute. Real helper calls on this Edge took about 1–2 seconds.
|
||
Checks now run in one background worker, with a consistent settings snapshot,
|
||
serialized subprocesses, coalesced changes, and no extra checks for unchanged
|
||
settings. Existing process timeouts and the periodic check remain bounded.
|
||
|
||
No changes to stage_env or the MQTT wire protocol were required.
|
||
|
||
## Verification
|
||
|
||
- Actual generator tested for all 24 hourly playlists. Seven index shifts
|
||
preserved unchanged media; changed/removed media still invalidated playback.
|
||
The previous implementation failed this regression at 02:00.
|
||
- Qt test on the Edge with a deliberately slow fake helper: previous code had
|
||
an 835 ms maximum heartbeat gap; final code had 23 ms. The test also verified
|
||
serialized calls and coalescing without modifying real MQTT configuration.
|
||
- 21 native Python contract tests, runtime Node test, 14 stage release tests,
|
||
and 10 display/installer tests passed.
|
||
- Physical X11 output sampled once per second for 300.2 seconds after installation:
|
||
300 samples, 21 image transitions, both images seen, zero blank samples.
|
||
The detector matched both light and dark application backgrounds, as well as
|
||
black/bright empty output. Minute-based MQTT checks ran during this observation.
|
||
- Server reported `410(build-4.410.123)` from `192.168.0.110`; service remained
|
||
active with zero automatic restarts.
|
||
|
||
The live observation covers five minutes, not a full hour. Hourly behavior was
|
||
checked using the generator/controller regression, without changing device time.
|
||
|
||
## Deployment and rollback material
|
||
|
||
Only the client binary was replaced on top of the installed stage 1.0.1; its
|
||
installer/display scripts are unchanged in 1.0.2. The stage receipt was recorded
|
||
through the existing stage version owner after validation.
|
||
|
||
New binary SHA-256:
|
||
`bd046e49f828d8416ab5460bb2c07a8664d82f7a4eab68cd674481cc825ed3c8`.
|
||
|
||
Previous binary and stage receipt are retained under
|
||
`/var/backups/iomatex-playback-20260915/` on the Edge. Reverting requires restoring
|
||
both the binary (using an atomic replacement) and its receipt, then restarting
|
||
`itscreen-x11`.
|
||
|
||
The same new binary, checksum, client version, stage manifest and release catalog
|
||
are prepared in the local repository. Temporary build sources, object files and
|
||
screen captures were removed from the Edge; no external packages were installed.
|
||
|
||
## Release publication, 2026-09-15
|
||
|
||
The Linux client sources are committed as `d49b91b` on `iomatex_dev`.
|
||
The stage 1.0.2 release carries build 4.410.123 and the verified checksum above.
|
||
It is published on the `ci-cd` branch with the stage release catalog.
|
||
The initial local-build observation and receipt described above are retained
|
||
as deployment history.
|