The GitHub Actions job "Backport Approval Check" on 
texera.git/fix/pyamber-output-get-port has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
d0268ac2fe1121fd187b4bec4a78d0a0751f29a1 / Matthew Ball <[email protected]>
fix(pyamber): resolve OutputManager.get_port by port id, guard empty

OutputManager.get_port takes an optional PortIdentity and returns the matching 
WorkerPort. When a port id is given it normalizes the unset id/internal 
defaults (id -> 0, internal -> False) and looks the port up in the _ports map, 
raising a KeyError that names the port when it is absent. When no port id is 
given it returns the first registered port, as the single-output callers rely 
on, but raises a KeyError when no output port has been added instead of 
indexing an empty list and throwing IndexError.

test_output_manager adds TestGetPort covering the first-port default, the 
empty-ports guard, lookup of a non-first port by id, normalization of an unset 
field before lookup, and the unknown-port error.

Report URL: https://github.com/apache/texera/actions/runs/44900228374

With regards,
GitHub Actions via GitBox

Reply via email to