Skip to content

test(hooks): spawned hook binaries fail when no managed daemon socket exists #894

Description

@ScriptedAlchemy

hooks_lsp_suite hook_lifecycle_lease_test::{native_host_hooks_do_not_create_a_missing_profile, native_hook_captures_only_bound_transport_spool_records} and hook_replay_test::replayed_provider_hooks_record_attributed_rows_and_bridge_to_analytics_events fail on Test Linux: the hook binaries exit 1 / emit non-empty additionalContext with daemon.sock is not available. No managed TraceDecay….

These drive the real tracedecay binary, unlike the in-process hook tests that cf6fee428 fixed by registering runtime ports (register_runtime_ports). Determine whether the spawned-binary composition root lacks the same port registration, or whether the fixtures must provision the managed daemon; fix the composition root, not the tests.

Found during the 2026-09-04 CI sweep; reported by the daemon_suite and product-surface lanes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions