Queue initial Discover refresh after resource model connection
This commit is contained in:
parent
382e670547
commit
fbe54854b8
3 changed files with 64 additions and 0 deletions
19
SERVICE.md
19
SERVICE.md
|
|
@ -1,5 +1,24 @@
|
|||
# archipelagod implementation checkpoint
|
||||
|
||||
## 2026-11-09 checkpoint (supersedes the historical status below)
|
||||
|
||||
The D-Bus images from run `20261109T113636Z` were published with an explicit
|
||||
one-run VM-acceptance waiver. This was not a successful full VM acceptance.
|
||||
|
||||
D-096 adds Manager API minor 2 `GetKernelArguments`/`ChangeKernelArguments`,
|
||||
dedicated Polkit authorization, native libostree argument parsing, staged edits
|
||||
and durable argument verification. Update and extension staging inherit the
|
||||
selected pending/booted arguments. Installed CLI is human-first with explicit
|
||||
`--json` and `--debug`; private logs retain operation/request identities.
|
||||
|
||||
Implementation sources are pushed; a new normal pipeline has been started for
|
||||
compilation, native/Rust checks and Core/GNOME/KDE acceptance. No passing result
|
||||
or publication is claimed yet. The previous waiver does not apply.
|
||||
Current workspace checkpoint: `IMPLEMENTATION-PLAN-KARGS-CLI.md`.
|
||||
Consumer audit: `infrastructure/pipeline/CLI-FORMATS.md`.
|
||||
|
||||
## Historical 2026-11-08 checkpoint
|
||||
|
||||
2026-11-08. D-092/D-093 are accepted; the full service migration is in progress.
|
||||
|
||||
**D-095 supersedes the PackageKit work below:** the backend, broker and store
|
||||
|
|
|
|||
|
|
@ -288,6 +288,10 @@ public:
|
|||
auto watcher = new QDBusServiceWatcher(busName, QDBusConnection::systemBus(),
|
||||
QDBusServiceWatcher::WatchForOwnerChange, this);
|
||||
connect(watcher, &QDBusServiceWatcher::serviceOwnerChanged, resource, [this] { resource->reload(); });
|
||||
// ResourcesModel connects progress signals only after construction and
|
||||
// initializes its aggregate at zero. Start asynchronously so startup
|
||||
// cannot remain at "fetching" without any actual refresh in flight.
|
||||
QTimer::singleShot(0, this, [this] { checkForUpdates(); });
|
||||
}
|
||||
bool isValid() const override {
|
||||
QFile purpose(QStringLiteral("/usr/lib/archipelago/purpose"));
|
||||
|
|
|
|||
41
integrations/discover/HARDWARE-20261109.md
Normal file
41
integrations/discover/HARDWARE-20261109.md
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Discover refresh diagnostic — 2026-11-09
|
||||
|
||||
User explicitly requested live diagnostics on the KDE host at 100.64.0.146.
|
||||
No OS/package installation, deployment mutation, restart or reboot was performed.
|
||||
Read-only update checks refresh metadata. Existing graphical Discover was left open.
|
||||
|
||||
Installed Discover: 6.8.2-1. Booted extension deployment:
|
||||
`989a2ed47293485753167d70b0dcc73a6d354dfd3bdd762b53ba648b6fa3ad6b.0`,
|
||||
managed base `ef711e2336cb1e9f36fd4f387b87ffe630931a7e2acf23e1db9609dbe51dbf05`.
|
||||
The native plugin loads with all shared-library dependencies resolved.
|
||||
|
||||
## Measured results
|
||||
|
||||
- Native Archipelago plugin, explicit Refresh through Discover: daemon operation
|
||||
`024318248ed4d7c6a30ee7e14d17e5d6` succeeded in 1.679 seconds; result current.
|
||||
Discover aggregate progress changed from 0 to 100, with no remaining source.
|
||||
- Flatpak plugin: explicit refresh completed in approximately four seconds and
|
||||
reported one update. No update was installed.
|
||||
- fwupd and KNewStuff plugins: progress 100 in the bounded diagnostic.
|
||||
- Native Archipelago plugin alone, no explicit refresh: aggregate progress stayed
|
||||
0 for all 15 observations although remainingDescription was empty and no daemon
|
||||
refresh was active. This reproduces a startup progress initialization defect,
|
||||
not a hung daemon transaction. Other backends can mask it by emitting progress.
|
||||
- Stock PackageKit backend/notifier cannot load because PackageKit is deliberately
|
||||
absent (D-095). This is a separate loader warning, not evidence of a stuck OS check.
|
||||
|
||||
## Method and limitations
|
||||
|
||||
Used the installed Discover `--test` QML facility to observe ResourcesModel progress
|
||||
and trigger only its refresh action. That switch forces `dummy-backend`, ignoring
|
||||
`--backends`; a temporary QT_PLUGIN_PATH alias pointed dummy-backend.so to each
|
||||
installed plugin in turn. Tests ran through the graphical user's systemd manager;
|
||||
a direct SSH-launched refresh was denied by session authorization. Separate D-Bus
|
||||
sessions isolated later checks from the user's newly opened Discover window.
|
||||
The alias does not replace installed files. Test mode uses test-mode QStandardPaths;
|
||||
results isolate backend behavior, not the exact state of the existing GUI window.
|
||||
|
||||
Source correction queues the initial check after construction, when ResourcesModel
|
||||
has connected progress signals. It has not been compiled/deployed or runtime-tested
|
||||
on this host. Full update/activation is outside this diagnostic. No claim that the
|
||||
user's original long check was conclusively caused by this isolated startup defect.
|
||||
Loading…
Add table
Reference in a new issue