apache / apache/openwhisk-wskdeploy

Document "main" key support on Action

Open
#624 2 comments 0 reactions 0 assignees View on GitHub
enhancement priority: medium tests: integration tests: unit
Dominant language
Go
Stars
75
Forks
73
PR merge metrics
No merged PRs in 30d

Description

In theory, we support aliasing a function with a name other than "main" to "main" as this is what our runtime containers expect.

Verify this is supported (curosry look at code says we do), but should have unit tests for at least 2 languages (e.g., JS and Python and perhaps Java which was added recently).

In addition, we should have at least 1 integration test to prove it works.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Action aliases a function name to "main" and inspect the existing JavaScript, Python, and Java unit-test coverage. Add unit tests for at least two languages and one integration test demonstrating the aliasing behavior, then confirm the tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript, python
Domain
backend, testing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.