Skip to content

[Bug]: Callback Management #185

Closed
Closed

Description

@dkovba

Created from apple/container#167.

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

Not applicable.

Current behavior

Callback Management

  • There's potential for callbacks to be invoked in unexpected order
  • Some callbacks may never be called if a race condition occurs

Expected Behavior

Callback Invocation

  • Each callback should be invoked exactly once
  • Callbacks should occur even if the connection is terminated
  • Proper timeout and cancellation handling

Ordered Execution

  • Operations with dependencies should be executed in the correct order
  • Results should be delivered in a predictable sequence
  • Long-running operations shouldn't block critical path operations

Environment

Not applicable.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added theissue type on Jun 27, 2025
  2. dcantah commented on Jun 27, 2025

    @dcantah
    Contributor

    We don't use xpc in this project, that's solely a container surface

  3. reopened this on Jun 27, 2025
  4. dkovba commented on Jun 27, 2025

    @dkovba
    ContributorAuthor

    We don't use xpc in this project, that's solely a container surface

    Updated the problem description to remove the mentioning of XPC communication.

  5. dkovba commented on Jun 27, 2025

    @dkovba
    ContributorAuthor

    @adityaramani Could you please audit LinuxProcess class for the mentioned issues? Specifically, readabilityHandler.

  6. dcantah commented on Mar 8, 2026

    @dcantah
    Contributor

    If we find any issues related to this we can reopen. I don't like these "look for potential problems" issues

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions