Skip to content

Display log messages from Forklift version checks - #63

Merged
ethanjli merged 1 commit into
mainfrom
forklift-version-log-messages
Oct 1, 2026
Merged

ethanjli merged 1 commit into
mainfrom
forklift-version-log-messages

Conversation

@ethanjli

@ethanjli ethanjli commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

This PR is part of openUC2/os-rpi#316 and modifies the homepage to be able to display Forklift log messages (e.g. "To install update, run..." and "Because the pending version had already failed during a past boot attempt...") on the homepage by taking advantage of the new way of recording those log messages in /run/versioning/forklift.yml.

@ethanjli
ethanjli enabled auto-merge October 1, 2026 16:23
@ethanjli
ethanjli added this pull request to the merge queue Oct 1, 2026
Merged via the queue into main with commit 83b97b0 Oct 1, 2026
2 checks passed
@ethanjli
ethanjli deleted the forklift-version-log-messages branch October 1, 2026 16:28
ethanjli added a commit to openUC2/os-rpi that referenced this pull request Oct 1, 2026
Previously, if the Forklift version checks emitted an error, a log
message would be added to `/run/versioning/forklift.yml` as a YAML
comment, and machine-admin wouldn't be able to display it. Those
messages are very important - for example, the warning that the OS
booted into the previously-booted pallet, because the pending pallet
failed to be started correctly. This PR saves those log messages into
lists of strings in the Forklift versioning YAML file, and bumps
machine-admin to a version which displays those messages.

This PR integrates openUC2/machine-admin#63 .
@ethanjli

ethanjli commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator Author

Here's what it looks like:

image

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