Skip to content

Output manager ignores requested port ID #8274

Closed as not planned
Closed as not planned

Description

@carloea2

Feature Summary

OutputManager.get_port ignores an explicit port ID and always returns the first output port. A worker with multiple output ports can therefore receive the wrong schema when it requests a nonfirst port. Unknown IDs are also silently treated as the first port.

Expected behavior: an explicit port ID returns that port and an unknown ID fails clearly.

Before: requesting port 1 returns port 0

After: requesting port 1 returns port 1

Reproduction evidence:

Add two output ports with distinct schemas, then call get_port with the second port ID. The returned worker port contains the first schema.

Version and commit evidence:

1.3.0-incubating-SNAPSHOT on main

Commit Hash (Optional)
50321e4

Browsers

Not browser specific

Relevant log output

Requested port 1 but received the schema registered for port 0.

Proposed Solution or Design

Expected behavior: an explicit port ID returns that port and an unknown ID fails clearly.

After: requesting port 1 returns port 1

Affected Area

Workflow Engine (Amber)

Activity

  1. added theissue type on Aug 31, 2026
  2. changed the issue type fromtoon Aug 31, 2026
  3. carloea2 commented on Sep 5, 2026

    @carloea2
    ContributorAuthor

    /take

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