getappmap / getappmap/appmap-js
Scanner fails with "Error: return #17000 is missing call #95"
Open
Nobody has claimed this yet.
bug
openapi
scanner
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 18
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Seen when running Analysis in GitHub Actions:
at /home/runner/.npm/_npx/5eabe842035cb8e3/node_modules/@appland/scanner/built/cli/scan.js:89:29
at Generator.next (<anonymous>)
at fulfilled (/home/runner/.npm/_npx/5eabe842035cb8e3/node_modules/@appland/scanner/built/cli/scan.js:5:58) {
[cause]: Error: return #17000 is missing call #95
at H.add (/home/runner/.npm/_npx/5eabe842035cb8e3/node_modules/@appland/models/dist/index.cjs:3:8115)
at Q.add (/home/runner/.npm/_npx/5eabe842035cb8e3/node_modules/@appland/models/dist/index.cjs:3:8525)
at /home/runner/.npm/_npx/5eabe842035cb8e3/node_modules/@appland/models/dist/index.cjs:3:9705
at Array.forEach (<anonymous>)
at Ee.source (/home/runner/.npm/_npx/5eabe842035cb8e3/node_modules/@appland/models/dist/index.cjs:3:9556)
at new Ee (/home/runner/.npm/_npx/5eabe842035cb8e3/node_modules/@appland/models/dist/index.cjs:3:9316)
at B (/home/runner/.npm/_npx/5eabe842035cb8e3/node_modules/@appland/models/dist/index.cjs:3:12413)
at /home/runner/.npm/_npx/5eabe842035cb8e3/node_modules/@appland/scanner/built/cli/scan.js:75:57
at Generator.next (<anonymous>)
at fulfilled (/home/runner/.npm/_npx/5eabe842035cb8e3/node_modules/@appland/scanner/built/cli/scan.js:5:58)
}
Same user also encountered the issue with a slightly different stack:
at H.add (/snapshot/appmap-js/packages/models/dist/index.cjs:3:8115)
at Q.add (/snapshot/appmap-js/packages/models/dist/index.cjs:3:8525)
at /snapshot/appmap-js/packages/models/dist/index.cjs:3:9705
at Array.forEach (<anonymous>)
at Ee.source (/snapshot/appmap-js/packages/models/dist/index.cjs:3:9556)
at parseHTTPServerRequests (/snapshot/appmap-js/packages/openapi/dist/parseHTTPServerRequests.js:5:48)
at OpenAPICommand.collectAppMap (/snapshot/appmap-js/packages/cli/built/cmds/openapi.js:84:51)
Contributor guide
No contributing guide indexed for this repository
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
Start by reproducing Analysis in GitHub Actions with the referenced AppMap JSON file. Read packages/models and the parseHTTPServerRequests entry point, then trace the scanner path through scan.js and OpenAPICommand.collectAppMap; done means the reported AppMap is processed without the missing-call error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100