The GitHub Actions job "Benchmarks" on texera.git/cov/workflow-resource has 
failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
f3c319e8c81b91df2bff9cf101bd2af6b266be45 / Xinyuan Lin <[email protected]>
test(amber): cover the workflow resource's permission and failure paths

WorkflowResource sat at 82.6% of lines. Its residue was entirely
permission-guard arms, exception paths, and one whole endpoint that had
never been called: cloneWorkflow. Every collaborator it reaches is
database-only, so MockTexeraDB is enough.

Adds 16 tests to the existing spec, taking lines to 100%.

Three claims are stated rather than implied, because reviewing my own
tests found them overclaiming: the duplicate-failure test pins the
exception wrapping but not transactionality, the delete test pins that an
undecodable URI is tolerated but not the cleanup tail it happens to
execute, and two assertions in the writer test are guards that already
hold before the call.

No production file is touched.

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

With regards,
GitHub Actions via GitBox

Reply via email to