Skip to content

RFC: Report pending app config changes in ZInfoApp - #158

Draft
christoph-zededa wants to merge 2 commits into
lf-edge:mainfrom
christoph-zededa:app_pending_changes
Draft

RFC: Report pending app config changes in ZInfoApp#158
christoph-zededa wants to merge 2 commits into
lf-edge:mainfrom
christoph-zededa:app_pending_changes

Conversation

@christoph-zededa

Copy link
Copy Markdown
Contributor

EVE stages some accepted config changes instead of applying them to a running app instance: since lf-edge/eve#6188 and lf-edge/eve#6433 a change to an app's virtual or passthrough network adapters no longer purges the app, but takes effect only on the next app restart.

The device acks the new config version in appVersion and keeps reporting the app as RUNNING, so the controller cannot distinguish "applied" from "accepted but staged until restart". Add a pending_changes list to ZInfoApp carrying a human-readable description of each staged change; an empty list means the running instance matches the current config. The description is wrapped in a message so the report can grow (kind, staged-since timestamp, required action) without claiming new ZInfoApp field tags.

Requested in
lf-edge/eve#6433 (comment)

EVE stages some accepted config changes instead of applying them to a
running app instance: since lf-edge/eve#6188 and lf-edge/eve#6433 a
change to an app's virtual or passthrough network adapters no longer
purges the app, but takes effect only on the next app restart.

The device acks the new config version in appVersion and keeps
reporting the app as RUNNING, so the controller cannot distinguish
"applied" from "accepted but staged until restart". Add a
pending_changes list to ZInfoApp carrying a human-readable description
of each staged change; an empty list means the running instance
matches the current config. The description is wrapped in a message so
the report can grow (kind, staged-since timestamp, required action)
without claiming new ZInfoApp field tags.

Requested in
lf-edge/eve#6433 (comment)

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
Signed-off-by: Christoph Ostarek <christoph@zededa.com>
@christoph-zededa christoph-zededa changed the title Report pending app config changes in ZInfoApp RFC: Report pending app config changes in ZInfoApp Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant