nodejs / nodejs/orchestrion-js
Improve handling when failing to inject
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 24
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Currently, if a config matches a module (name, version, file path), but it does not find a point to inject in the code, it:
- Fails without returning any kind of failure state
- Still injects the
diagnostics_channelrequire/import at the top of the file
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace the path used when a matching config cannot find an injection point. Determine how that path reports failure and how the diagnostics_channel require/import is added; done means a failure state is returned and the import is not added when no injection occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100