#778·Harmony

Evaluate notifications for patch installation, rebuild and removal

Author: pardeikeCreated Sep 8, 2026Updated Sep 8, 2026
Labelsenhancementneeds more info/work

Investigation for the Harmony 3 backlog.

Hosts may want to observe successful patch installation, rebuild and removal without polling GetPatchInfo or parsing log text. A later #586 comment proposes lifecycle observation, but the required behavior has not been designed.

Evaluate whether the logging integration callback can satisfy this need or whether a separate small notification API is justified.

Completion criteria:

  • Define what one event means, when state is visible, and how failed rebuilds, unpatching and multi-method class operations are represented.
  • Define target/owner identity, ordering, concurrency, subscription disposal and callback failure behavior.
  • Address coexistence of loaded Harmony copies and whether notifications cover only the emitting copy or shared state.
  • Avoid adding work to every patched method invocation.
  • Record a go/no-go decision with concrete host examples; keep any reactive adapter optional.

This concerns changes to installed patches, not per-call profiling.

Follow-up to the exploratory proposal in #586. Current lifecycle.