The dbus: check verb for OpenCharly — interact with D-Bus services inside a
running deployment (list, call, introspect, notify), served out-of-process
(verb:dbus).
The plugin is a standalone Go module the charly loader host-builds and serves
over go-plugin gRPC, so the D-Bus driver lives here, out of charly's core check
surface. It is EXEC-based: the host attaches its live deploy executor over
the reverse channel and this plugin dials back through the SDK to run gdbus
against the venue's session bus — it owns no podman/SSH machinery and no
godbus.
| Capability | Surface |
|---|---|
verb:dbus |
the declarative dbus: check step |
| Method | Fields | Meaning |
|---|---|---|
list |
— | list the registered D-Bus service names |
call |
dest, path, member |
invoke a method on a bus name |
introspect |
dest, path |
dump the introspection XML for an object |
notify |
text |
send a desktop notification |
member is the fully-qualified interface.Method a call invokes (renamed from
the former shared method step modifier). Typed arg values
(type:value — string/uint32/int32/int64/uint64/boolean/double) are converted to
GVariant text for gdbus. All the dbus-exclusive fields live in the plugin's own
#DbusInput (schema/dbus.cue); only the shared matchers (exit_status,
stdout, stderr) and description ride the base step op.
Compose the plugin candy in a box or check bed's candy: list:
- '@github.com/opencharly/plugin-dbus/candy/plugin-dbus:<tag>'Then author the verb in a plan:
- check: the session bus is reachable and lists its services
dbus: list
context: [runtime]candy/plugin-dbus/— the plugin module:plugin.go(the provider +NewProvider()/NewMeta()),provider.go(theInvokeverdict path),methods.go(the gdbus dispatch),schema/dbus.cue(the self-contained#DbusInput),params/cue_types_gen.go,methods_test.go,cmd/serve/main.go.charly.yml— the root project manifest (discover: candy)..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.
- Owning skill:
/charly-check:dbus— thedbus:verb reference. This candy carries noskill:entity of its own; the gap is tracked in opencharly/opencharly#291. /charly-check:check— the declarative check-step surface the verb is authored through.opencharly/charly— the charly CLI.