Skip to content

Add PirProcessLifecycleObserver#8019

Merged
landomen merged 1 commit intodevelopfrom
feature/domen/pir-lifecycle-observer
Mar 19, 2026
Merged

Add PirProcessLifecycleObserver#8019
landomen merged 1 commit intodevelopfrom
feature/domen/pir-lifecycle-observer

Conversation

@landomen
Copy link
Contributor

@landomen landomen commented Mar 19, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/1210594645151737/task/1213720450436951?focus=true

Description

Adds a PirProcessLifecycleObserver similar to existing VpnProcessLifecycleObserver

Steps to test this PR

Nothing to test

UI changes

No UI changes


Note

Low Risk
Low risk: adds a new lifecycle observer interface and dispatch hook for the pir secondary process, mirroring existing VPN behavior without changing core app flows or data handling.

Overview
Adds support for a new pir secondary process lifecycle callback.

DuckDuckGoApplication now recognizes the pir process name and dispatches onPirProcessCreated() to a new PluginPoint<PirProcessLifecycleObserver>, alongside the existing VPN process handling. This PR also introduces the PirProcessLifecycleObserver interface and an Anvil ContributesPluginPoint (PirProcessLifecycleObserverPluginPoint) so features can register PIR process startup observers via DI.

Written by Cursor Bugbot for commit 63fd802. This will update automatically on new commits. Configure here.

@landomen landomen merged commit a927b34 into develop Mar 19, 2026
15 checks passed
@landomen landomen deleted the feature/domen/pir-lifecycle-observer branch March 19, 2026 07:34
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.

2 participants