Skip to content

CLI: Run (Test) Command Exits W/O Error When Wrapper Not Found #1358

@dOrgJelli

Description

@dOrgJelli

Describe the bug
When a polywrap run loads a polywrap.test.yaml manifest that includes a wrapper URI that is not resolvable (doesn't exist), the command seems to exit prematurely w/o any error message.

Please provide the steps to reproduce and if possible a minimal demo of the problem.

  • Clone the toolchain repo
  • Build packages (so CLI is present)
  • cd ./packages/test-cases/cases/cli/run/001-yaml-workflow/
  • make sure ./packages/test-cases/cases/cli/run/run-test-wrapper/build doesn't exist
  • run ../../../../../cli/bin/polywrap run
  • The command exits w/o any error:
001-yaml-workflow % ../../../../../cli/bin/polywrap run
🔄 Manifest loaded from ./polywrap.test.yaml
✅ Manifest loaded from ./polywrap.test.yaml

If you now go and build the run-test-wrapper wrapper, the run command will succeed.

Expected behavior
There should be an error stating that the wrapper cannot be found.

Relevant environment details:

  • CLI Version: 0.9.3

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions