[BUG] Repeating stream delivery completion drops the installed proxy backend #11
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/launchd#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The semantic endpoint table permits
finishon a live inherited proxy after backend installation. The source column has already changed from the temporary factory capability to the retained lender alias. A repeated completion therefore drops the installed backend and leaves the live receiver without its forwarding authority. Source review found this lifecycle error while implementing recipient-view disposal; no public runtime route triggering the repetition has been demonstrated.Reproduction
In the semantic fixture, prepare an inherited proxy, install its received backend using
finish_inherited, then callfinishagain on the same original handle. The old source follows the Live branch and callsdrop_cap_until_absenton the reused source column. This is a source-derived reproduction sequence, not an executed test result. The authored regression asserts refusal before any native DROP and then uses the surviving proxy.Expected and actual behavior
Expected: once backend installation is complete, generic factory-source completion returns InvalidState without changing the backend or receiver. Ordinary unfinished factory cleanup may still use its documented retry behavior.
Actual in the reviewed source: the call returns success after deleting the proxy backend because the same ownership bit represents both successive uses of the source column. Subsequent forwarding cannot use that missing alias. This is a lifecycle/availability defect; no authority expansion is claimed.
Environment and identity
f9a7d21c30b6619512721769d6191d1de81f812d, branchfeature/posix-compat.Evidence and prior checks
Implemented in launchd
c0737afa: generic completion refuses an installed proxy backend before any DROP. The authored regression preserves the backend and exercises the surviving proxy. Implementation, source audit, test authoring, documentation and signed publication are complete; test execution is waived by user instruction, with no pass claimed.See the reviewed completion method and backend installation. A state guard and a regression control are being published. Tests, builds, lint checks and CI observation remain deferred by user instruction; no test pass is claimed.
Tracking
erikinkinen referenced this issue2026-09-29 04:41:12 +02:00
erikinkinen referenced this issue from erix/docs2026-09-29 04:41:13 +02:00